/* Novative — refined UI tokens & components */
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@700&family=Nunito+Sans:wght@700&display=swap");

:root {
  --color-primary: #2388c7;
  --color-primary-hover: #1d7aaf;
  --color-primary-soft: rgba(35, 136, 199, 0.1);
  --btn-radius: 6px;
  --color-text: #2d2c2c;
  --color-muted: #5c5a5a;
  --color-muted-light: #8a8888;
  --color-bg: #ffffff;
  --color-page: #ffffff;
  --color-bg-soft: #f3f3f3;
  --color-border: rgba(15, 23, 42, 0.08);
  --color-border-strong: rgba(15, 23, 42, 0.12);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 20px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 14px 44px rgba(15, 23, 42, 0.1);
  --shadow-dropdown: 0 4px 6px rgba(15, 23, 42, 0.04), 0 16px 40px rgba(15, 23, 42, 0.1);
  --shadow-nav: 0 1px 0 rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.04);
  --font-heading: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --max-w: 82rem;
  /* Page shell — one column system for every page */
  --layout-shell-max: var(--max-w);
  --layout-gutter-x: clamp(1rem, 4vw, 1.75rem);
  --layout-readable: 70rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --section-pad-y: clamp(2.25rem, 4.5vw, 3.25rem);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  /* Pattern is pure CSS below — no separate file so it cannot 404 on static hosts (Vercel, etc.) */
  /* Type scale (shared) */
  --text-eyebrow: 0.8125rem;
  --text-label: 0.6875rem;
  --text-body-sm: 0.9375rem;
  --text-deck: clamp(1rem, 1.85vw, 1.125rem);
  --leading-snug: 1.25;
  --leading-body: 1.65;
  --leading-relaxed: 1.55;
  --measure-prose: 48rem;
  --measure-tight: 36rem;
  /* Blog — wide shell (listing + article pages) */
  --blog-max: min(92rem, 100%);
  /* Single post: main column width (wider than --measure-prose for long-form reading) */
  --blog-article-column: min(52rem, 100%);
  --blog-card-gap: clamp(0.65rem, 2vw, 1rem);
  /* Listing: sticky site header offset for in-page anchors and sidebar */
  --blog-sticky-header: 4.65rem;
  --blog-sticky-below-nav: var(--blog-sticky-header);
  /* Icon scale — sitewide (SVG boxes, PNG assets, footer social) */
  --icon-size: 3rem;
  --icon-size-svg: 1.5rem;
  --icon-size-md: 2.375rem;
  --icon-size-lg: 4rem;
  --icon-size-xl: 4.25rem;
  --icon-size-sm: 2.75rem;
  --icon-size-social: 2.75rem;
  --icon-size-social-svg: 0.875rem;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  /* Dot grid — pure CSS, no image URL (avoids 404 / path issues on static hosts) */
  background-image: radial-gradient(
    circle at 1.0625rem 1.0625rem,
    rgba(35, 136, 199, 0.045) 1.5px,
    transparent 1.6px
  );
  background-size: 34px 34px;
}

/* Home: cleaner white / #f3f3f3 bands without page-wide dot texture */
body.is-home::before,
body.page-outsourcing::before,
body.page-about::before {
  display: none;
}

.page-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::selection {
  background: var(--color-primary-soft);
  color: var(--color-text);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
}
h2 {
  font-size: clamp(1.35rem, 2.8vw, 2rem);
}
h3 {
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.15s var(--ease-out);
}
a:hover {
  color: var(--color-primary-hover);
}

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

.container {
  width: 100%;
  max-width: var(--layout-shell-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--layout-gutter-x);
  padding-right: var(--layout-gutter-x);
}

/* Language switcher (i18n Phase 1) */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lang-switcher__link {
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 0.2rem 0.15rem;
  border-radius: 0.25rem;
  transition: color 0.15s, background 0.15s;
}

.lang-switcher__link:hover {
  color: var(--color-primary);
}

.lang-switcher__link.is-active {
  color: var(--color-primary);
}

.lang-switcher__sep {
  color: var(--color-border);
  user-select: none;
}

.nav-mobile > .lang-switcher {
  margin: 0 0 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
  width: 100%;
}

.i18n-notice {
  background: #fff8e6;
  border-bottom: 1px solid #f0dfa0;
  padding: 0.75rem 0;
}

.i18n-notice p {
  max-width: var(--container-max, 72rem);
  margin: 0 auto;
  padding: 0 1.25rem;
  font-size: 0.9375rem;
  color: #6b5500;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: var(--shadow-nav);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  height: auto;
  padding: 0.35rem 0;
}

.site-header .nav-inner > .logo {
  margin-left: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  transition: opacity 0.15s;
}
.logo:hover {
  opacity: 0.88;
  color: var(--color-text);
}

.logo__img {
  display: block;
  height: 1.55rem;
  width: auto;
  max-width: 11.5rem;
  object-fit: contain;
}

.site-footer .logo__img {
  height: 1.8rem;
  max-width: 12.5rem;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.125rem 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Keep Hospitality/Mobile App only inside dropdown menus. */
.nav-desktop > a.nav-link[href$="hospitality.html"],
.nav-desktop > a.nav-link[href$="mobile-app.html"],
.nav-mobile > a.nav-link[href$="hospitality.html"],
.nav-mobile > a.nav-link[href$="mobile-app.html"] {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    gap: 0.125rem 0.65rem;
  }
}

@media (min-width: 768px) {
  .nav-inner {
    justify-content: flex-start;
  }

  .nav-desktop {
    display: flex;
    margin-left: auto;
    margin-right: auto;
  }
  .nav-toggle {
    display: none;
  }
}

.nav-link,
.nav-desktop .mega-link {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-text);
  text-decoration: none;
  display: inline-block;
  padding: 0.45rem 0.5rem;
  border-radius: var(--radius);
  transition: color 0.18s var(--ease-out), background 0.18s var(--ease-out);
}

.nav-desktop .nav-link:hover,
.nav-desktop .mega-link:hover {
  color: var(--color-primary);
  background: rgba(35, 136, 199, 0.06);
}

.nav-link.is-active,
.nav-desktop .mega-link.is-active {
  color: var(--color-primary);
  font-weight: 600;
}

.nav-desktop .nav-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.nav-dropdown__trigger:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown.is-active-branch > .nav-dropdown__trigger {
  color: var(--color-primary);
}

.nav-dropdown__trigger {
  background: none;
  border: none;
  font: inherit;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-text);
  cursor: pointer;
  padding: 0.45rem 0.5rem;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.18s var(--ease-out), background 0.18s var(--ease-out);
}

.nav-dropdown__trigger::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.42;
  margin-top: 1px;
  flex-shrink: 0;
  transition: transform 0.22s var(--ease-out), opacity 0.18s;
  transform-origin: 50% 35%;
}

.nav-dropdown__trigger:hover,
.nav-dropdown:hover .nav-dropdown__trigger,
.nav-dropdown.is-open .nav-dropdown__trigger {
  color: var(--color-primary);
  background: rgba(35, 136, 199, 0.06);
}

.nav-dropdown:hover .nav-dropdown__trigger::after,
.nav-dropdown:focus-within .nav-dropdown__trigger::after,
.nav-dropdown.is-open .nav-dropdown__trigger::after {
  transform: rotate(180deg);
  opacity: 0.55;
}

.nav-dropdown__panel {
  position: absolute;
  left: 0;
  top: calc(100% + 0.2rem);
  min-width: 14rem;
  padding: 0.55rem 0;
  background: var(--color-bg);
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-dropdown);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s var(--ease-out), visibility 0.2s, transform 0.22s var(--ease-out);
  z-index: 200;
}

/* Invisible bridge so moving pointer from trigger to menu doesn’t close the dropdown */
.nav-dropdown__panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 0.85rem;
}

.nav-dropdown__panel--offer::before {
  height: 1rem;
}

.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown:focus-within .nav-dropdown__panel,
.nav-dropdown.is-open .nav-dropdown__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown__panel:not(.nav-dropdown__panel--mega) .mega-link {
  display: block;
  margin: 0 0.35rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-lg);
}

.nav-dropdown__panel--mega .mega-link {
  margin: 0;
}

.nav-dropdown__panel--mega {
  display: grid;
  grid-template-columns: 1fr 1.35fr auto;
  gap: 0 0;
  min-width: min(92vw, 47rem);
  padding: 1.25rem 0;
  left: 50%;
  transform: translate(-50%, 4px);
}

.nav-dropdown:hover .nav-dropdown__panel--mega,
.nav-dropdown:focus-within .nav-dropdown__panel--mega,
.nav-dropdown.is-open .nav-dropdown__panel--mega {
  transform: translate(-50%, 0);
}

/* Single-column mega panel (HRMS Products dropdown) */
.nav-dropdown__panel--mega.nav-dropdown__panel--mega-hrms {
  grid-template-columns: 1fr;
  min-width: min(92vw, 28rem);
  max-width: 32rem;
  padding: 1rem 0;
}
.nav-dropdown__panel--mega.nav-dropdown__panel--mega-hrms > .mega-col {
  border-right: none;
}
@media (max-width: 1100px) {
  .nav-dropdown__panel--mega.nav-dropdown__panel--mega-hrms {
    left: auto;
    right: 0;
    transform: translateY(4px);
  }
  .nav-dropdown:hover .nav-dropdown__panel--mega.nav-dropdown__panel--mega-hrms,
  .nav-dropdown:focus-within .nav-dropdown__panel--mega.nav-dropdown__panel--mega-hrms,
  .nav-dropdown.is-open .nav-dropdown__panel--mega.nav-dropdown__panel--mega-hrms {
    transform: translateY(0);
  }
}

.nav-dropdown__panel--mega > .mega-col {
  padding: 0 1.35rem;
}

.nav-dropdown__panel--mega > .mega-col:not(:last-child) {
  border-right: 1px solid var(--color-border);
}

@media (max-width: 1100px) {
  .nav-dropdown__panel--mega {
    grid-template-columns: 1fr 1fr;
    left: auto;
    right: 0;
    transform: translateY(4px);
    padding: 1rem 0;
  }
  .nav-dropdown:hover .nav-dropdown__panel--mega,
  .nav-dropdown:focus-within .nav-dropdown__panel--mega,
  .nav-dropdown.is-open .nav-dropdown__panel--mega {
    transform: translateY(0);
  }
  .nav-dropdown__panel--mega > .mega-col {
    padding: 0 1.15rem;
  }
  .nav-dropdown__panel--mega > .mega-col:nth-child(1) {
    border-right: 1px solid var(--color-border);
    border-bottom: none;
  }
  .nav-dropdown__panel--mega > .mega-col:nth-child(2) {
    border-right: none;
  }
  .nav-dropdown__panel--mega > .mega-col.mega-col--single {
    grid-column: 1 / -1;
    border-right: none;
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
    margin-top: 0.25rem;
  }
  .mega-col--single {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1101px) {
  .nav-dropdown__panel--mega > .mega-col.mega-col--single {
    border-right: none;
  }
}

.mega-col {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mega-col--hrms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 0.85rem;
  align-items: start;
}

.mega-col--hrms .mega-heading,
.mega-col--hrms .mega-heading--link {
  grid-column: 1 / -1;
}

.mega-heading {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted-light);
  margin-bottom: 0.35rem;
}

a.mega-heading--link {
  text-decoration: none;
  color: inherit;
  cursor: default;
  pointer-events: none;
}

a.mega-heading--link:hover {
  color: inherit;
}

a.nav-mobile-heading--link {
  cursor: default;
  pointer-events: none;
}

.nav-desktop .mega-link {
  font-size: 0.875rem;
  padding: 0.4rem 0.5rem;
  white-space: nowrap;
  border-radius: var(--radius-lg);
}

.nav-desktop .mega-link:hover {
  background: var(--color-primary-soft);
}

.nav-desktop .mega-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}

.mega-col--single {
  justify-content: center;
  min-height: 100%;
  padding-left: 0;
  margin-left: 0;
  border-left: none;
}

@media (max-width: 1100px) {
  .mega-col--single {
    padding-left: 0;
    margin-left: 0;
    border-left: none;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
  }
}

.mega-col--single .mega-link {
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  background: var(--color-primary-soft);
  border-radius: var(--radius-lg);
  text-align: center;
}
.mega-col--single .mega-link:hover {
  background: rgba(35, 136, 199, 0.14);
}

.nav-mobile-details--nested {
  margin-top: 0.35rem;
}
.nav-mobile-details--nested > summary {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-muted);
  padding: 0.35rem 0;
}
.nav-mobile-details--nested .nav-mobile-sub {
  padding-left: 0.75rem;
  margin-bottom: 0.35rem;
}
.nav-mobile-app-link {
  display: block;
  margin-top: 0.5rem;
  font-weight: 600;
}

/* What We Offer — two-column mega menu (categories left, links right) */
.nav-dropdown__panel--offer {
  min-width: min(92vw, 40rem);
  padding: 0;
  left: 50%;
  transform: translate(-50%, 4px);
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.nav-dropdown:hover .nav-dropdown__panel--offer,
.nav-dropdown:focus-within .nav-dropdown__panel--offer,
.nav-dropdown.is-open .nav-dropdown__panel--offer {
  transform: translate(-50%, 0);
}

@media (max-width: 1100px) {
  .nav-dropdown__panel--offer {
    left: auto;
    right: 0;
    transform: translateY(4px);
  }
  .nav-dropdown:hover .nav-dropdown__panel--offer,
  .nav-dropdown:focus-within .nav-dropdown__panel--offer,
  .nav-dropdown.is-open .nav-dropdown__panel--offer {
    transform: translateY(0);
  }
}

.nav-offer-mega {
  display: grid;
  grid-template-columns: minmax(11.5rem, 13.25rem) minmax(16rem, 1fr);
  grid-template-rows: auto 1fr;
  align-items: stretch;
  min-height: 13.5rem;
  padding: 0;
}

.nav-offer-mega__tabs {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--color-bg);
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  padding: 0.4rem 0;
}

.nav-offer-mega__tab {
  flex: 0 0 auto;
  position: relative;
  padding: 0;
}

.nav-offer-mega__tab--outsourcing {
  border-right: none;
}

.nav-offer-mega__tab-trigger {
  width: 100%;
  margin: 0;
  padding: 0.72rem 1.1rem;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: #2d2c2c;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  transition: color 0.18s var(--ease-out), background 0.18s var(--ease-out);
}

.nav-offer-mega__tab-trigger::after {
  content: "›";
  width: auto;
  height: auto;
  border: none;
  font-size: 1.125rem;
  line-height: 1;
  opacity: 0.42;
  flex-shrink: 0;
  transform: none;
  transition: opacity 0.18s var(--ease-out);
}

.nav-offer-mega__tab:hover .nav-offer-mega__tab-trigger,
.nav-offer-mega__tab:focus-within .nav-offer-mega__tab-trigger {
  color: var(--color-primary);
  background: rgba(35, 136, 199, 0.05);
}

.nav-offer-mega__tab:hover .nav-offer-mega__tab-trigger::after,
.nav-offer-mega__tab:focus-within .nav-offer-mega__tab-trigger::after {
  opacity: 0.7;
  transform: none;
}

.nav-offer-mega__body {
  grid-column: 2;
  grid-row: 1 / -1;
  position: relative;
  min-height: 13.5rem;
  border-top: none;
  background: #f3f3f3;
  display: flex;
  align-items: flex-start;
}

.nav-offer-mega__body::before {
  display: none;
}

.nav-offer-mega__dropdown {
  display: none;
  width: 100%;
  padding: 0.85rem 0.45rem;
}

.nav-offer-mega__dropdown .mega-link {
  display: block;
  margin: 0 0.4rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #2d2c2c;
  border-radius: var(--radius-lg);
  white-space: nowrap;
}

.nav-offer-mega__dropdown .mega-link:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-primary);
}

.nav-offer-mega__dropdown--hrms {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0.12rem 0.45rem;
  padding: 0.85rem 0.35rem;
}

.nav-offer-mega__dropdown--hrms .mega-link {
  margin: 0 0.3rem;
}

.nav-offer-mega--tab-outsourcing .nav-offer-mega__dropdown--outsourcing {
  display: block;
}

.nav-offer-mega--tab-outsourcing .nav-offer-mega__dropdown--hrms {
  display: none;
}

.nav-offer-mega--tab-hrms .nav-offer-mega__dropdown--hrms {
  display: grid;
}

.nav-offer-mega--tab-hrms .nav-offer-mega__dropdown--outsourcing {
  display: none;
}

.nav-offer-mega--tab-hrms .nav-offer-mega__tab--hrms .nav-offer-mega__tab-trigger,
.nav-offer-mega--tab-outsourcing .nav-offer-mega__tab--outsourcing .nav-offer-mega__tab-trigger {
  color: var(--color-primary);
  background: rgba(35, 136, 199, 0.08);
}

.nav-offer-mega--tab-hrms .nav-offer-mega__tab--hrms .nav-offer-mega__tab-trigger::after,
.nav-offer-mega--tab-outsourcing .nav-offer-mega__tab--outsourcing .nav-offer-mega__tab-trigger::after {
  opacity: 0.75;
  transform: none;
}

.nav-offer-mega__app {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  display: block;
  margin: 0;
  padding: 0.7rem 1.1rem 0.9rem;
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: left;
  color: #2d2c2c;
  background: var(--color-bg);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0;
  transition: color 0.18s var(--ease-out), background 0.18s var(--ease-out);
}

.nav-offer-mega__app:hover {
  background: rgba(35, 136, 199, 0.05);
  color: var(--color-primary);
}

/* Sectors / Resources — single-panel dropdown (matches mega link column) */
.nav-dropdown__panel:not(.nav-dropdown__panel--offer):not(.nav-dropdown__panel--mega) {
  min-width: 14.5rem;
  padding: 0.65rem 0;
  background: #f3f3f3;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.nav-dropdown__panel:not(.nav-dropdown__panel--offer):not(.nav-dropdown__panel--mega) .mega-link {
  margin: 0 0.4rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #2d2c2c;
  border-radius: var(--radius-lg);
}

.nav-dropdown__panel:not(.nav-dropdown__panel--offer):not(.nav-dropdown__panel--mega) .mega-link:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-primary);
}

.nav-cta {
  margin-left: 0.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.625rem 1.375rem;
  min-height: 2.5rem;
  border-radius: var(--btn-radius);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.25;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.18s var(--ease-out), color 0.18s, border-color 0.18s, box-shadow 0.18s;
}

/* Header CTA: compact (Figma nav “Get Started” style) */
.site-header .nav-desktop .btn-primary.nav-cta {
  padding: 0.45rem 1rem;
  min-height: 2.125rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Hero row: slightly larger than default */
.hero-home .flex.flex-wrap > .btn {
  padding: 0.75rem 1.5rem;
  min-height: 2.625rem;
}

/* Feature cards: primary CTA spans card width (Figma service tiles) */
.card > .btn.btn-primary {
  width: 100%;
  justify-content: center;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Filled primary — solid brand blue, white label */
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: none;
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #fff;
}

/* Secondary — outline on light backgrounds */
.btn-outline {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary-soft);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* On blue / gradient sections: white fill, blue text */
.btn-light {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}
.btn-light:hover {
  background: #f4f8fb;
  color: var(--color-primary-hover);
  border-color: #f4f8fb;
}

/* On dark / gradient: ghost outline, white text */
.btn-ghost-on-brand {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-ghost-on-brand:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.nav-toggle {
  flex-shrink: 0;
  padding: 0.55rem;
  border-radius: var(--radius-lg);
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  transition: background 0.15s;
}
.nav-toggle:hover {
  background: var(--color-bg-soft);
}

.nav-mobile {
  display: none;
  padding: 1rem 0 1.35rem;
  border-top: 1px solid var(--color-border);
  flex-direction: column;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}
.nav-mobile.is-open {
  display: flex;
}
.nav-mobile a {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-text);
  padding: 0.5rem 0.35rem;
  border-radius: var(--radius-lg);
  transition: color 0.15s, background 0.15s;
}
.nav-mobile a:hover {
  color: var(--color-primary);
  background: rgba(35, 136, 199, 0.06);
}

.nav-mobile-details {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.35rem;
}

.nav-mobile-details summary {
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  padding: 0.55rem 0.35rem;
  margin: 0 -0.35rem;
  list-style: none;
  color: var(--color-text);
  border-radius: var(--radius-lg);
  transition: color 0.15s, background 0.15s;
}
.nav-mobile-details summary:hover {
  color: var(--color-primary);
  background: rgba(35, 136, 199, 0.06);
}

.nav-mobile-details summary::-webkit-details-marker {
  display: none;
}

.nav-mobile-details summary::after {
  content: " +";
  color: var(--color-muted-light);
  font-weight: 400;
}

.nav-mobile-details[open] summary::after {
  content: " −";
}

.nav-mobile-sub {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.4rem 0 0.75rem 0.75rem;
  font-size: 0.9rem;
  border-left: 2px solid var(--color-primary-soft);
  margin-left: 0.35rem;
}

.nav-mobile-sub a {
  padding: 0.3rem 0;
}

.nav-mobile-heading {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-muted-light);
  margin-top: 0.65rem;
  margin-bottom: 0.2rem;
}

.nav-mobile-heading:first-child {
  margin-top: 0;
}

a.nav-mobile-heading--link {
  text-decoration: none;
  color: var(--color-muted-light);
  display: block;
}

a.nav-mobile-heading--link:hover {
  color: var(--color-primary);
}

/* Sections */
.section {
  padding: var(--section-pad-y) 0;
}
.section-tight {
  padding: 2rem 0;
}
.bg-soft {
  background: var(--color-bg-soft);
}
.bg-white {
  background: var(--color-bg);
}

main > .section.bg-white,
main > .section:not(.bg-soft):not(.gradient-brand):not(.gradient-dark):not(.hero-gradient):first-of-type {
  background: var(--color-bg);
}

.hero-gradient {
  background: linear-gradient(165deg, #eef2f6 0%, #ffffff 52%, #fafbfc 100%);
}

/* Marketing / product shots — image only (no gray frame / letterboxing) */
.hero-visual {
  width: 100%;
}

.hero-visual__inner {
  width: 100%;
}

.hero-visual__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
}

/* Nova Smart NG module landing heroes — stacked title / CTAs / image, wide layout */
.module-hero {
  position: relative;
  overflow: hidden;
  /* Tighter than default .section top pad — less gap under the nav */
  padding-top: clamp(1rem, 2.5vw, 2rem);
  padding-bottom: 0;
}

.module-hero .hero-visual {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 0;
}

.module-hero .container.grid-2 {
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  row-gap: clamp(0.85rem, 2.2vw, 1.35rem);
  max-width: min(90rem, 100%);
}

.module-hero__copy {
  max-width: 58rem;
}

.module-hero__copy h1 {
  font-size: clamp(2rem, 4.7vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.module-hero__copy .text-lg {
  max-width: 54rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.2rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.module-hero .badge {
  margin-bottom: 1rem;
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
}

.module-hero__actions {
  justify-content: center;
  gap: 0.85rem;
}

.module-hero__actions .btn {
  border-radius: 9999px;
  min-width: 11rem;
  padding: 0.8rem 1.4rem;
}

.module-hero__actions .btn-primary {
  box-shadow: var(--shadow-sm);
}

.module-hero__actions .btn-outline {
  background: var(--color-bg);
}

.module-hero .hero-visual__inner {
  width: min(100%, 80rem);
  margin-left: auto;
  margin-right: auto;
}

.module-hero__image-card {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* HRMS split columns — same frameless treatment */
.hrms-split__visual .hero-visual .hero-visual__inner {
  width: 100%;
}

/* Nova Smart NG module pages — How It Works (4-step flow) */
.module-how-it-works.section {
  padding: clamp(2rem, 3.5vw, 2.75rem) 0;
}

.module-how-it-works__heading {
  margin: 0 0 clamp(0.85rem, 1.75vw, 1.15rem);
  text-align: center;
}

.module-how-it-works__grid {
  display: grid;
  gap: clamp(0.65rem, 1.25vw, 0.85rem);
  grid-template-columns: 1fr;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
}

@media (min-width: 640px) {
  .module-how-it-works__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .module-how-it-works__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.module-how-it-works__step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: clamp(0.65rem, 1.25vw, 0.85rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  height: 100%;
  justify-content: flex-start;
}

.module-how-it-works__step--num {
  align-items: center;
  text-align: center;
  gap: 0.2rem;
  justify-content: flex-start;
}

.module-how-it-works__step--num .module-how-it-works__num {
  flex-shrink: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  font-family: Nunito, "Nunito Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: #1886c0;
  display: block;
  margin: 0;
}

.module-how-it-works__step--num .module-how-it-works__title {
  margin: 0;
  width: 100%;
  text-align: center;
  min-height: 0;
}

.module-how-it-works__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--color-text);
}

.module-how-it-works__step--icon {
  align-items: center;
  text-align: center;
}

.module-how-it-works__icon {
  margin-bottom: 0.25rem;
}

/* Module pages — How it works step number icons */
.module-page .module-how-it-works__step--icon .icon-box.icon-box--img {
  width: var(--icon-size-xl);
  height: var(--icon-size-xl);
  margin-bottom: 0.35rem;
}

.module-page .module-how-it-works__step--icon .icon-box.icon-box--img img {
  width: var(--icon-size-xl);
  height: var(--icon-size-xl);
  max-width: none;
}

.module-page .module-how-it-works__step--icon {
  gap: 0.4rem;
}

/* Sector tabs — photo panels (replaces flow diagrams) */
.sector-tabs__visual--photo {
  padding: 0;
  border: none;
  background: transparent;
  min-height: 0;
}

.sector-tabs__media {
  width: 100%;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.sector-tabs__media-inner {
  width: 100%;
  padding: 0;
}

.sector-tabs__media-inner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
}

/* TBS partner — uniform cells so device photos align */
/* TBS partner — hero device image */
.tbs-hero .tbs-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.tbs-hero .tbs-hero__visual .hero-visual__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.tbs-hero .tbs-hero__visual .hero-visual__img {
  width: 100%;
  height: auto;
  max-height: clamp(15rem, 30vw, 24rem);
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-xl);
}

.tbs-hero .hero-home__lead {
  max-width: min(var(--measure-prose), 100%);
}

@media (min-width: 768px) {
  .tbs-hero .hero-home.grid-2 {
    align-items: center;
  }
}

.tbs-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1rem;
  align-items: stretch;
  justify-items: center;
  margin-top: 1.5rem;
}

.tbs-product-grid__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 12.5rem;
  padding: 0.85rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  box-sizing: border-box;
}

.tbs-product-grid__cell img {
  max-width: 100%;
  max-height: 11rem;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.tbs-product-grid--labeled {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-top: 0.5rem;
}

.tbs-product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.tbs-product-card__title {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.tbs-product-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 12.5rem;
  padding: 0.85rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  box-sizing: border-box;
}

.tbs-product-card__media img {
  max-width: 100%;
  max-height: 11rem;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.tbs-product-card__cta {
  min-width: 8.75rem;
  margin-top: 0.1rem;
  padding: 0.55rem 1.15rem;
  font-size: var(--text-body-sm);
}

.tbs-product-grid--single {
  grid-template-columns: minmax(0, 12.5rem);
  justify-content: center;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.tbs-product-section .h2-muted {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 700;
  color: #2d2c2c;
}

@media (max-width: 48rem) {
  .tbs-product-grid--labeled {
    grid-template-columns: 1fr;
    max-width: 18rem;
    margin-left: auto;
    margin-right: auto;
  }

  .tbs-product-grid--labeled.tbs-product-grid--single {
    max-width: 18rem;
  }
}

/* Split marketing heroes — slightly wider copy column; excludes home (uses .container > .grid-2) */
@media (min-width: 768px) {
  .hero-gradient .container.grid-2 {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    align-items: center;
  }

  /* Module heroes stay stacked on desktop (override split hero grid) */
  .module-hero .container.grid-2 {
    grid-template-columns: 1fr;
  }
}

.gradient-dark {
  background: linear-gradient(155deg, #0f1419 0%, #1e252d 50%, #252d36 100%);
  color: #f1f5f9;
}
.gradient-dark h2,
.gradient-dark h3 {
  color: #fff;
}
.gradient-dark a.btn-primary {
  color: #fff;
}

.gradient-brand {
  background: var(--color-primary);
  color: #fff;
}
.gradient-brand h1,
.gradient-brand h2,
.gradient-brand h3 {
  color: #fff;
}

/* HRMS module pages — final CTA supporting line */
.gradient-brand .module-cta-lede {
  margin: 0 auto 2rem;
  max-width: 36rem;
  font-size: clamp(1.0625rem, 2.1vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

/* Privacy / ISO policy heroes & CTAs — brand blues */
.gradient-brand--legal {
  background: var(--color-primary);
  color: #fff;
}
.gradient-brand--legal h1,
.gradient-brand--legal h2,
.gradient-brand--legal h3 {
  color: #fff;
}
.gradient-brand--legal a:not(.btn) {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-list {
  margin: 0;
  padding-left: 1.25rem;
  line-height: var(--leading-relaxed);
}
.legal-list li + li {
  margin-top: 0.65rem;
}

/* Legal pages (Privacy, ISO 27001) — same rhythm as module / sector pages */
.page-legal {
  --legal-max: min(72rem, 100%);
  --legal-column: min(52rem, 100%);
}

.page-legal .legal-page__hero {
  margin-left: auto;
  margin-right: auto;
}

/* Legal page heroes — brand blue (matches bottom contact card) */
.page-legal .legal-page__hero-section.gradient-brand--legal {
  background: var(--color-primary);
  color: #fff;
  padding-top: clamp(2rem, 4.5vw, 3.25rem);
  padding-bottom: clamp(2rem, 4.5vw, 3.25rem);
}

.page-legal .legal-page__hero-section .legal-page__breadcrumb,
.page-legal .legal-page__hero-section .legal-page__breadcrumb a {
  color: rgba(255, 255, 255, 0.82);
}

.page-legal .legal-page__hero-section .legal-page__breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.page-legal .legal-page__hero-section .legal-page__breadcrumb-current {
  color: #fff;
  font-weight: 600;
}

.page-legal .legal-page__hero-section .badge {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
  box-shadow: none;
}

.page-legal .legal-page__hero-section .text-muted {
  color: rgba(255, 255, 255, 0.9);
}

.page-legal .legal-page__hero-section .btn-primary {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

.page-legal .legal-page__hero-section .btn-primary:hover {
  background: #f4f8fb;
  color: var(--color-primary-hover);
  border-color: #f4f8fb;
}

.page-legal .legal-page__hero-section .btn-outline {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.page-legal .legal-page__hero-section .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.page-legal .legal-page__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.25rem 0.15rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.page-legal .legal-page__hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.page-legal .legal-page__breadcrumb a {
  color: var(--color-muted);
  text-decoration: none;
}

.page-legal .legal-page__breadcrumb a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.page-legal .legal-page__breadcrumb-current {
  color: var(--color-text);
  font-weight: 600;
}

.page-legal .legal-page__body {
  padding-top: clamp(1rem, 2.5vw, 1.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.page-legal .legal-page__layout {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  max-width: var(--legal-max);
  margin-left: auto;
  margin-right: auto;
}

.page-legal .legal-document {
  order: 2;
  width: 100%;
  padding: clamp(1.35rem, 3vw, 2rem);
  background: var(--color-bg);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.page-legal .legal-page__toc {
  order: 1;
  padding: clamp(1rem, 2.5vw, 1.25rem);
  background: var(--color-bg);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.page-legal .legal-page__toc-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--color-text);
}

.page-legal .legal-page__toc-lede {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.page-legal .legal-page__toc-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.page-legal .legal-page__toc-nav a {
  display: block;
  padding: 0.4rem 0.55rem;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--color-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background 0.15s var(--ease-out), color 0.15s var(--ease-out);
}

.page-legal .legal-page__toc-nav a:hover {
  color: var(--color-primary);
  background: rgba(22, 128, 179, 0.08);
}

.page-legal .legal-section {
  scroll-margin-top: 6.5rem;
}

.page-legal .legal-section + .legal-section {
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
  padding-top: clamp(1.75rem, 3.5vw, 2.5rem);
  border-top: 1px solid var(--color-border);
}

.page-legal .legal-section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary);
  margin: 0 0 1rem;
}

.page-legal .legal-section p.text-muted + p.text-muted {
  margin-top: 1rem;
}

.page-legal .legal-section p.text-muted + ul.legal-list {
  margin-top: 0.75rem;
}

.page-legal .legal-dl {
  margin: 0;
}

.page-legal .legal-dl dt {
  font-weight: 650;
  color: var(--color-text);
  margin-top: 1rem;
}

.page-legal .legal-dl dt:first-child {
  margin-top: 0;
}

.page-legal .legal-dl dd {
  margin: 0.4rem 0 0;
  color: var(--color-muted);
  line-height: var(--leading-relaxed);
}

.page-legal .legal-section a:not(.btn) {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-legal .legal-section a:not(.btn):hover {
  color: var(--color-primary-dark, #126a94);
}

.page-legal .legal-page__contact {
  padding-top: 0;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 1100px) {
  .page-legal .legal-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(16.5rem, 28%);
    align-items: start;
    gap: clamp(1.5rem, 3vw, 2.25rem);
  }

  .page-legal .legal-document {
    order: unset;
    grid-column: 1;
    grid-row: 1;
  }

  .page-legal .legal-page__toc {
    order: unset;
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 5.25rem;
    align-self: start;
  }
}

.gradient-brand--legal a:not(.btn):hover {
  color: #fff;
}

.card--static {
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card--static:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
  transform: none;
}

/* Home hero: balance columns & readable measure */
.hero-home__copy {
  min-width: 0;
  max-width: 100%;
}

.hero-home {
  align-items: center;
}
@media (min-width: 768px) {
  .hero-home.grid-2 {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 3.5rem);
  }
}
.hero-home__eyebrow {
  margin-bottom: clamp(1rem, 2.5vw, 1.35rem);
}
.hero-home__title {
  margin: 0 0 clamp(1rem, 2.5vw, 1.35rem);
  line-height: 1.12;
  text-wrap: balance;
}
@media (min-width: 48rem) {
  .hero-home__title {
    max-width: 16ch;
  }
}
@media (min-width: 768px) {
  .hero-home__copy {
    align-self: center;
  }
  .hero-home__video-wrap {
    align-self: center;
  }
}
.hero-home__lead {
  max-width: min(var(--measure-prose), 100%);
  text-wrap: pretty;
  font-size: clamp(1.0625rem, 2.1vw, 1.25rem);
  line-height: var(--leading-relaxed);
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
  text-align: left;
  color: var(--color-muted);
}
.hero-home__actions {
  margin-top: 0;
}
.section--stats {
  padding-top: clamp(2rem, 4vw, 2.75rem);
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
}
.stats-row__label {
  font-size: var(--text-body-sm);
  margin-top: 0.35rem;
}
.hero-home__video-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  background: #0f172a;
}
.hero-home__video-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
  display: block;
}

.hero-home__video-wrap .hero-home__media-img,
.hero-home__video-wrap img.hero-home__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tighter gap after hero — matches home .home-hero + .section--stats */
.section-after-hero {
  padding-top: clamp(2rem, 4vw, 2.75rem);
}

.stats-row .stat-metric,
.stats-row .stat-year {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--color-primary);
  font-family: var(--font-heading);
  line-height: 1.15;
}
.stats-row .stat-sub {
  font-size: clamp(0.8125rem, 1.4vw, 0.9375rem);
  color: var(--color-muted-light);
  margin-top: 0.35rem;
}

/* About: company stats — self-contained cards (aligned with Our Story) */
.about-company__intro {
  margin-bottom: clamp(2rem, 5vw, 2.75rem);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.about-company__intro h2 {
  color: var(--color-text);
}

.about-company__lead {
  margin: 0;
  text-wrap: balance;
}

.about-company__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.25rem);
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

.about-company-stat {
  display: grid;
  grid-template-rows: minmax(3.5rem, auto) 1fr;
  align-items: center;
  justify-items: center;
  text-align: center;
  gap: 0.5rem;
  min-height: 9.25rem;
  padding: 1.35rem 0.65rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.about-company-stat__figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.5rem;
  margin: 0;
}

.about-company-stat__value {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.125rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}

.about-company-stat__label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.5rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--color-text);
  text-wrap: balance;
}

@media (max-width: 64rem) {
  .about-company__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 42rem) {
  .about-company__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-company-stat {
    min-height: 8rem;
    padding: 1.1rem 0.65rem;
  }

  .about-company-stat__figure {
    min-height: 3rem;
  }

  .about-company-stat__value {
    font-size: clamp(1.75rem, 6vw, 2.125rem);
  }

  .about-company-stat__label {
    min-height: 2.25rem;
    font-size: 0.8125rem;
  }
}

@media (max-width: 22rem) {
  .about-company__stats {
    grid-template-columns: 1fr;
  }
}

/* About: Our history — horizontal interactive rail (year picker + detail) */
.about-history.section {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.about-history__intro {
  margin-bottom: clamp(0.65rem, 1.8vw, 1rem);
}
.about-history__detail {
  margin-top: clamp(0.65rem, 1.8vw, 1rem);
}
.about-history__milestones {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.about-history__year {
  color: #1886c0;
  font-weight: 800;
  font-family: var(--font-heading);
}

.about-history-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin: 0 0 0.5rem;
}
.about-history .about-history-heading {
  margin-bottom: 0.35rem;
}

/* About page — hero, mission cards, timeline (design brief) */
.about-page .home-hero {
  background: #ffffff;
}

.about-page .hero-home__lead {
  color: #5c5a5a;
}

.about-page .home-hero .hero-home__video-wrap {
  background: transparent;
  box-shadow: none;
}

/* HR Outsourcing — hero matches Home / About split layout */
.outsourcing-page .home-hero {
  background: #ffffff;
}

.outsourcing-page .hero-home__lead {
  color: #5c5a5a;
}

.outsourcing-page .home-hero .hero-home__video-wrap {
  background: transparent;
  box-shadow: none;
  aspect-ratio: auto;
}

.outsourcing-page .hero-home__video-wrap .hero-home__media-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about-mission-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.06),
    0 12px 28px rgba(15, 23, 42, 0.07);
}
.about-mission-card .icon-box--about-mission {
  background: var(--color-primary-soft);
  border: 1px solid rgba(22, 128, 179, 0.15);
  color: var(--color-primary);
  box-shadow: none;
}
.about-mission-card .icon-box--about-mission.icon-box--img {
  background: transparent;
  border: none;
  width: var(--icon-size);
  height: var(--icon-size);
  padding: 0;
}
.about-mission-card .icon-box--about-mission.icon-box--img img {
  width: var(--icon-size-md);
  height: var(--icon-size-md);
  object-fit: contain;
  display: block;
}
.about-history__support {
  margin-left: auto;
  margin-right: auto;
}

.about-who-we-serve .about-history-heading {
  margin-bottom: 1rem;
}

.about-page .history-rail__viewport {
  overflow: visible;
  padding: clamp(1.35rem, 3vw, 2rem) clamp(0.5rem, 1.5vw, 0.75rem);
}
.about-page .history-rail__track {
  overflow-x: auto;
  overflow-y: visible;
  padding: 0.35rem 0.25rem;
  gap: clamp(0.15rem, 1vw, 0.45rem);
}
.about-page .history-rail__chip {
  position: relative;
}
.about-page .history-rail__chip-year {
  display: none;
}
.about-page .history-rail__chip.is-active .history-rail__chip-year {
  display: block;
}
.about-page .history-rail__chip:not(.is-active)::after {
  content: "";
  position: absolute;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-primary);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px #ffffff;
  z-index: 1;
  transition: opacity 0.28s var(--history-ease), transform 0.28s var(--history-ease);
}
.about-page .history-rail__chip.is-active::after {
  content: none;
}
.about-page .history-rail__chip.is-far,
.about-page .history-rail__chip.is-near {
  background: #ffffff;
}
.about-page .history-rail__chip.is-far:hover {
  background: #f0f7fc;
}
.about-page .history-rail__chip.is-near:hover {
  background: #e8f4fb;
}

/* Our history rail — soft motion (no overshoot easing) */
.history-rail {
  --history-ease: cubic-bezier(0.45, 0.05, 0.15, 1);
  --history-duration: 0.32s;
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.25rem);
  width: 100%;
  max-width: min(60rem, 100%);
  margin: 0 auto;
}

.history-rail__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: var(--radius-md, 6px);
  background: var(--color-primary);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.65s var(--history-ease),
    transform 0.85s var(--history-ease),
    box-shadow 0.65s ease;
  box-shadow: 0 2px 8px rgba(35, 136, 199, 0.25);
}

.history-rail__arrow:hover {
  background: var(--color-primary-hover);
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(35, 136, 199, 0.35);
}

.history-rail__arrow:active:not(:disabled) {
  transform: scale(0.98);
  transition-duration: 0.35s;
}

.history-rail__arrow:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.history-rail__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.history-rail__viewport {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: clamp(2rem, 4vw, 3.25rem) 0;
}

@keyframes history-line-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.history-rail__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: var(--color-primary);
  background-size: 100% 100%;
  animation: none;
  border-radius: 2px;
  opacity: 0.92;
  z-index: 0;
  pointer-events: none;
}

.history-rail__track {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(0.25rem, 1.4vw, 0.85rem);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 0.45rem 0.35rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.history-rail__chip {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  padding: 0;
  scroll-snap-align: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    width var(--history-duration) var(--history-ease),
    height var(--history-duration) var(--history-ease),
    background 0.28s var(--history-ease),
    color 0.28s var(--history-ease),
    border-color 0.28s var(--history-ease),
    box-shadow 0.3s ease,
    transform 0.3s var(--history-ease),
    font-size 0.28s var(--history-ease),
    opacity 0.28s var(--history-ease);
}

.history-rail__chip:focus-visible {
  outline: 3px solid rgba(35, 136, 199, 0.45);
  outline-offset: 4px;
  z-index: 3;
}

/* Distant years — hollow rings */
.history-rail__chip.is-far {
  width: 2.85rem;
  height: 2.85rem;
  font-size: 0.62rem;
  color: var(--color-muted);
  opacity: 0.95;
  border-width: 2px;
  box-shadow: 0 2px 8px rgba(35, 136, 199, 0.08);
}

.history-rail__chip.is-far:hover {
  opacity: 1;
  transform: scale(1.02);
  border-color: var(--color-primary-hover);
  background: rgba(35, 136, 199, 0.08);
  box-shadow: 0 8px 22px rgba(35, 136, 199, 0.18);
  z-index: 2;
}

.history-rail__chip.is-far:active {
  transform: scale(1.02);
}

/* Adjacent to selection — medium rings */
.history-rail__chip.is-near {
  width: 4.5rem;
  height: 4.5rem;
  font-size: clamp(0.72rem, 1.2vw, 0.82rem);
  color: var(--color-muted);
  border-width: 2px;
  box-shadow: 0 3px 14px rgba(35, 136, 199, 0.12);
}

.history-rail__chip.is-near:hover {
  transform: scale(1.02);
  border-color: var(--color-primary-hover);
  background: rgba(35, 136, 199, 0.1);
  box-shadow: 0 12px 32px rgba(35, 136, 199, 0.22);
  z-index: 2;
}

.history-rail__chip.is-near:active {
  transform: scale(1.02);
}

@keyframes history-rail-active-pulse {
  0%,
  100% {
    box-shadow:
      0 6px 24px rgba(35, 136, 199, 0.32),
      0 0 0 4px rgba(35, 136, 199, 0.09);
  }
  50% {
    box-shadow:
      0 10px 36px rgba(35, 136, 199, 0.42),
      0 0 0 8px rgba(35, 136, 199, 0.12);
  }
}

/* Selected — focal circle (still largest; not full-viewport) */
.history-rail__chip.is-active {
  width: 7.5rem;
  height: 7.5rem;
  font-size: clamp(0.92rem, 1.85vw, 1.15rem);
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  border-width: 2px;
  transform: scale(1);
  box-shadow:
    0 6px 24px rgba(35, 136, 199, 0.32),
    0 0 0 4px rgba(35, 136, 199, 0.09);
  z-index: 2;
  animation: history-rail-active-pulse 6s ease-in-out infinite;
}

.history-rail__chip.is-active:hover {
  transform: scale(1.02);
  box-shadow:
    0 10px 32px rgba(35, 136, 199, 0.38),
    0 0 0 6px rgba(35, 136, 199, 0.07);
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.history-rail__chip.is-active:active {
  transform: scale(1);
}

.about-page .history-rail__chip.is-active {
  animation: none;
  box-shadow: none;
}

.about-page .history-rail__chip.is-active:hover {
  box-shadow: none;
}

@keyframes history-detail-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.history-rail__detail {
  max-width: min(42rem, 100%);
  transition: opacity 0.25s var(--history-ease);
}

.history-rail__detail.is-updating {
  opacity: 0.35;
  transition-duration: 0.18s;
}

.about-history .history-rail__detail-year {
  margin: 0 0 0.2rem;
}
.history-rail__detail-year {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.about-history .history-rail__detail-title {
  margin: 0 0 0.35rem;
}
.history-rail__detail-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 650;
  color: var(--color-text);
}

.history-rail__detail-copy {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}

.history-rail__detail.history-rail__detail--enter .history-rail__detail-year {
  animation: history-detail-fade 0.28s var(--history-ease) both;
}

.history-rail__detail.history-rail__detail--enter .history-rail__detail-title {
  animation: history-detail-fade 0.32s var(--history-ease) 0.03s both;
}

.history-rail__detail.history-rail__detail--enter .history-rail__detail-copy {
  animation: history-detail-fade 0.35s var(--history-ease) 0.05s both;
}

@media (prefers-reduced-motion: reduce) {
  .history-rail__line {
    animation: none;
    background: var(--color-primary);
    background-size: auto;
  }

  .history-rail__chip.is-active {
    animation: none;
  }

  .about-page .history-rail__chip.is-active {
    animation: none;
  }

  .history-rail__detail.history-rail__detail--enter .history-rail__detail-year,
  .history-rail__detail.history-rail__detail--enter .history-rail__detail-title,
  .history-rail__detail.history-rail__detail--enter .history-rail__detail-copy {
    animation: none;
  }

  .history-rail__detail.is-updating {
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .history-rail__chip.is-active {
    width: 6.5rem;
    height: 6.5rem;
    font-size: clamp(0.88rem, 2.8vw, 1.05rem);
  }
  .history-rail__chip.is-near {
    width: 4rem;
    height: 4rem;
    font-size: 0.74rem;
  }
  .history-rail__chip.is-far {
    width: 2.7rem;
    height: 2.7rem;
    font-size: 0.58rem;
  }
}

@media (max-width: 520px) {
  .history-rail {
    gap: 0.35rem;
  }
  .history-rail__arrow {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.1rem;
  }
  .history-rail__viewport {
    padding: clamp(1.65rem, 5vw, 2.5rem) 0;
  }
  .history-rail__chip.is-active {
    width: 5.5rem;
    height: 5.5rem;
    font-size: clamp(0.82rem, 4vw, 0.98rem);
  }
  .history-rail__chip.is-near {
    width: 3.6rem;
    height: 3.6rem;
    font-size: 0.68rem;
  }
  .history-rail__chip.is-far {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 0.52rem;
  }
}

.h2-muted {
  color: var(--color-muted);
  font-weight: 700;
}

.icon-box--img {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.icon-box.icon-box--img img {
  width: var(--icon-size);
  height: var(--icon-size);
  max-width: var(--icon-size);
  max-height: var(--icon-size);
  object-fit: contain;
  display: block;
}

/* PNG assets with extra padding around the artwork */
.icon-box.icon-box--img.icon-box--img--padded img {
  width: var(--icon-size-lg);
  height: var(--icon-size-lg);
  max-width: var(--icon-size-lg);
  max-height: var(--icon-size-lg);
}

.grid-modules {
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .grid-modules {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.module-card__icon {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  flex-shrink: 0;
}
.module-card__icon-graphic {
  display: block;
  width: var(--icon-size-md);
  height: var(--icon-size-md);
  flex-shrink: 0;
}
.module-card__icon-graphic svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.module-card__icon-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.25;
  color: var(--color-text);
}
.hrms-page .grid-modules .card .module-card__icon-title {
  margin-bottom: 0;
}

/* Centered module icon block (module landing heroes) */
.module-card__icon.module-card__icon--hero {
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.module-card__icon.module-card__icon--hero .module-card__icon-title {
  text-align: center;
}

/* Trust pill (HRMS grid + module landing heroes) */
.module-card__node {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 0.75rem;
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--color-primary);
  background: rgba(35, 136, 199, 0.12);
  border: 1px solid rgba(35, 136, 199, 0.35);
  border-radius: 9999px;
}

/* Module landing hero: single pill above page title (centered) */
.module-card__node--hero {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  display: inline-block;
}

.hrms-split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hrms-split {
    grid-template-columns: 1fr 1fr;
  }
  .hrms-split.hrms-split--reverse .hrms-split__visual {
    order: -1;
  }
}
.hrms-split__visual > img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

/* HRMS page: light layout enhancement (no structure change) */
.hrms-page #modules .max-w-prose {
  max-width: 44rem;
}

.hrms-page .grid-modules .card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, #ffffff 0%, #fafbfc 100%);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out);
}

.hrms-page .grid-modules .card h3:not(.module-card__icon-title) {
  margin-bottom: 0.5rem;
}

.hrms-page .grid-modules .card p.text-muted {
  line-height: 1.55;
}

.hrms-page .grid-modules .card .mt-4 {
  margin-top: auto;
  padding-top: 0.6rem;
}

.hrms-page .hrms-split > div:not(.hrms-split__visual) {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(1rem, 2.2vw, 1.35rem);
}

/* HRMS feature rows — image + copy side-by-side panels */
.hrms-feature-row {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: stretch;
}

@media (min-width: 900px) {
  .hrms-feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hrms-feature-row--media-end .hrms-feature-panel--media {
    order: 2;
  }

  .hrms-feature-row--media-end .hrms-feature-panel--content {
    order: 1;
  }
}

.hrms-feature-panel {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.hrms-feature-section.bg-soft .hrms-feature-panel {
  background: var(--color-bg);
}

.hrms-feature-section.bg-white .hrms-feature-panel {
  background: var(--color-bg-soft);
}

.hrms-feature-panel--media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 2.2vw, 1.5rem);
  min-height: 12rem;
}

.hrms-feature-panel--media img {
  width: 100%;
  max-width: 22rem;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

.hrms-feature-panel--content {
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 2.8vw, 2rem);
}

.hrms-feature-panel__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: var(--leading-snug);
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.hrms-feature-panel__lead {
  margin: 0 0 1.25rem;
  font-size: var(--text-deck);
  line-height: var(--leading-relaxed);
  color: var(--color-muted);
}

.hrms-feature-panel__list {
  margin-bottom: 1.5rem;
}

.hrms-feature-panel__cta {
  margin-top: auto;
  align-self: flex-start;
}

/* HRMS module pages (Absence, Recruitment, etc.) */
.module-page .section.bg-white .module-feature-card,
.module-page .section.bg-white .module-certifications__card {
  background: var(--color-bg-soft);
  border-color: var(--color-border);
}

.module-page .section.bg-soft .module-how-it-works__step,
.module-page .section.bg-soft .faq-item {
  background: var(--color-bg);
}

.module-page .section.bg-white .module-how-it-works__step {
  background: var(--color-bg-soft);
  border-color: rgba(0, 0, 0, 0.06);
}

.module-page .section.bg-soft .module-feature-card {
  background: var(--color-bg);
  border-color: var(--color-border);
}

.module-page .section.bg-white .faq-item {
  background: var(--color-bg-soft);
  border-color: rgba(0, 0, 0, 0.06);
}

.module-video-section__player {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.module-video-section .section-intro {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.module-page .section.bg-white.module-key-features .section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.module-feature-grid {
  align-items: stretch;
}

.module-feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.module-feature-card__icon {
  margin-bottom: 1rem;
}

/* Uniform key-feature icon slots (SVG + PNG assets) */
.module-key-features .module-feature-card__icon.icon-box--img {
  width: var(--icon-size);
  height: var(--icon-size);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}
.module-key-features .module-feature-card__icon.icon-box--img img {
  width: var(--icon-size);
  height: var(--icon-size);
  max-width: var(--icon-size);
  max-height: var(--icon-size);
  object-fit: contain;
}

.module-feature-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--color-text);
}

.module-page .site-cta.gradient-dark {
  background: linear-gradient(155deg, #0f1419 0%, #1e252d 50%, #252d36 100%);
  color: #f1f5f9;
}

.module-page .site-cta.gradient-dark .home-cta-band {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.module-page .site-cta.gradient-dark .home-cta-band__title {
  color: #fff;
}

.module-page .site-cta.gradient-dark .home-cta-band__lede {
  color: rgba(255, 255, 255, 0.82);
}

.module-page .site-cta.gradient-dark .btn-primary {
  color: #fff;
}

.hrms-page .hrms-highlight-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.hrms-page .hrms-highlight-list__item {
  position: relative;
  padding: 0.8rem 0.9rem 0.8rem 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.86);
  color: var(--color-muted);
  line-height: 1.45;
}

.hrms-page .hrms-highlight-list__item::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  width: 1.35rem;
  height: 1.35rem;
  border: none;
  border-radius: 0;
  background: url("../Assets/Icons/Icon%20for%20all%20points.svg") center / contain
    no-repeat;
  transform: translateY(-50%);
}

@media (min-width: 700px) {
  .hrms-page .hrms-highlight-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hrms-page .hrms-highlight-list--five .hrms-highlight-list__item:last-child {
    grid-column: 1 / -1;
  }
}

/* HRMS products — hero, jump nav, module cards */
.hrms-hero {
  position: relative;
}

.hrms-under-hero {
  padding-top: 0;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.hrms-under-hero__visual {
  max-width: min(90rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

.hrms-hero .container {
  position: relative;
  z-index: 1;
}
.hrms-hero__intro {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.hrms-hero__title {
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
}
.hrms-hero__lead {
  margin: 0 0 1rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 650;
  color: var(--color-text);
  line-height: 1.35;
}
.hrms-hero__actions {
  margin-top: 1.75rem;
}

.hrms-module-nav {
  position: sticky;
  top: 4.65rem;
  z-index: 40;
  background: rgba(250, 251, 252, 0.92);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.hrms-module-nav__inner {
  display: flex;
  align-items: center;
  gap: 0.85rem 1rem;
  padding: 0.65rem 0;
  flex-wrap: nowrap;
}
.hrms-module-nav__label {
  flex-shrink: 0;
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted-light);
}
.hrms-module-nav__list {
  list-style: none;
  margin: 0;
  padding: 0 0.25rem 0.15rem 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  mask-image: linear-gradient(to right, #000 92%, transparent 100%);
}
.hrms-module-nav__list::-webkit-scrollbar {
  height: 4px;
}
.hrms-module-nav__list::-webkit-scrollbar-thumb {
  background: rgba(35, 136, 199, 0.25);
  border-radius: 9999px;
}
.hrms-module-nav__list a {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.9);
  transition: background 0.15s var(--ease-out), border-color 0.15s var(--ease-out),
    color 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out);
}
.hrms-module-nav__list a:hover {
  border-color: rgba(35, 136, 199, 0.35);
  color: var(--color-primary);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 1px 0 rgba(35, 136, 199, 0.12);
}
.hrms-module-nav__list a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.hrms-page > .section[id],
.hrms-page #modules {
  scroll-margin-top: 6.75rem;
}
.hrms-page .grid-modules .card[id] {
  scroll-margin-top: 7rem;
}

.hrms-page .grid-modules .card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(35, 136, 199, 0.22);
}
.hrms-page .grid-modules .module-card__icon-graphic {
  padding: 0.65rem;
  border-radius: var(--radius-xl);
  background: var(--color-primary-soft);
  border: 1px solid rgba(35, 136, 199, 0.18);
  box-shadow: 0 1px 2px rgba(35, 136, 199, 0.06);
}
.hrms-page .grid-modules .module-card__icon-graphic.icon-box--img {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hrms-page .grid-modules .module-card__icon-graphic.icon-box--img img {
  width: var(--icon-size-md);
  height: var(--icon-size-md);
  max-width: var(--icon-size-md);
  max-height: var(--icon-size-md);
}
.hrms-module-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  transition: color 0.15s ease, gap 0.15s var(--ease-out);
}
.hrms-module-card__link:hover {
  color: var(--color-primary-hover);
  gap: 0.35rem;
}

@media (prefers-reduced-motion: reduce) {
  .hrms-page .grid-modules .card {
    transition: none;
  }
  .hrms-page .grid-modules .card:hover {
    transform: none;
  }
  .hrms-module-card__link {
    transition: none;
  }
  .hrms-module-card__link:hover {
    gap: 0.2rem;
  }
}

@media (max-width: 639px) {
  .hrms-module-nav__inner {
    flex-wrap: wrap;
  }
  .hrms-module-nav {
    top: 4.35rem;
  }
}

.location-card {
  position: relative;
  padding-top: 2.5rem;
}
.location-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  border: 1px solid rgba(22, 128, 179, 0.2);
}

.contact-main {
  padding-top: clamp(2rem, 5vw, 3.5rem);
}
.contact-form-wrap {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.badge {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: var(--color-primary-soft);
  border: 1px solid rgba(22, 128, 179, 0.12);
  border-radius: 9999px;
  color: var(--color-primary);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 2px rgba(35, 136, 199, 0.06);
}

/* Sitewide — section rhythm & type (aligned with sector pages) */
.text-lg {
  font-size: clamp(1.0625rem, 2vw, 1.125rem);
  line-height: 1.65;
  letter-spacing: 0.01em;
}

.text-lg.mb-6 {
  margin-bottom: 1.25rem;
}

main h1.mb-4 {
  margin-bottom: 0.85rem;
}

.section-intro {
  margin-bottom: clamp(1.35rem, 2.8vw, 1.85rem);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-intro--tight {
  margin-bottom: clamp(1.15rem, 2.5vw, 1.65rem);
}

.section-intro--tight .section-deck {
  margin-top: 0.4rem;
}

.section-intro .section-title,
.section-intro .section-title.mb-4 {
  margin-bottom: 0.65rem;
}

.section-label {
  display: block;
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 0.3rem;
}

.section-title {
  margin: 0 0 0.5rem;
  color: var(--color-text);
  line-height: var(--leading-snug);
  letter-spacing: 0.01em;
}

.section-deck {
  margin: 0;
  font-size: var(--text-deck);
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: var(--color-muted);
  max-width: var(--measure-prose);
  margin-left: auto;
  margin-right: auto;
}

/* Center prose blocks in main content unless explicitly left-aligned */
main > .section > .container.max-w-prose:not(.text-start):not(:has(.faq-item)),
main > .section > .container.section-intro:not(.text-start) {
  text-align: center;
}

.text-start {
  text-align: left;
}
.text-sm,
.text-muted.text-sm {
  font-size: 0.875rem;
  line-height: 1.45;
}

.text-muted {
  color: var(--color-muted);
}
.text-center {
  text-align: center;
}
.max-w-prose {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mb-0 {
  margin-bottom: 0;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-12 {
  margin-bottom: 3rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}

.grid-2 {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.25rem);
}
@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
.grid-3 {
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.75rem);
}
@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.5rem);
}
@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Global Payroll page — wider readable column, type, map */
.payroll-page > .section > .container,
.payroll-page__section > .container {
  max-width: min(90rem, 100%);
}

.payroll-page .section-intro,
.payroll-page .section-intro.max-w-prose,
.payroll-page .container.max-w-prose,
.payroll-page .payroll-contact__intro {
  max-width: min(64rem, 100%);
}

.payroll-page .section-title {
  font-size: clamp(1.5rem, 2.75vw, 2rem);
  line-height: 1.2;
}

.payroll-page .section-title--subsection {
  font-size: clamp(1.25rem, 2.35vw, 1.5rem);
}

.payroll-page .section-deck,
.payroll-page .payroll-page__pillar-lead,
.payroll-page .text-muted.payroll-page__hero-deck {
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: min(58rem, 100%);
}

.payroll-page__section > .container.grid-4 {
  max-width: min(90rem, 100%);
}

.payroll-page__hero .container {
  max-width: min(64rem, 100%);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Global Payroll page — hero matches other marketing pages (white, no gradient) */
.payroll-page__hero--standard {
  background: #ffffff;
}

.payroll-page__hero-badge {
  margin-bottom: 0.5rem;
}

.payroll-page__hero-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.6vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.payroll-page__hero-deck {
  max-width: min(58rem, 100%);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin: 0 auto 1.5rem;
}

.payroll-page__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.payroll-contact-band {
  position: relative;
  background: var(--color-bg-soft);
  overflow: hidden;
}

.payroll-contact-band::before {
  content: none;
}

.payroll-contact__intro {
  position: relative;
  z-index: 1;
}

.payroll-contact-band .payroll-contact__intro.section-intro {
  margin-bottom: clamp(1.25rem, 3vw, 1.85rem);
}

.payroll-contact__card-shell {
  position: relative;
  z-index: 1;
  max-width: min(52rem, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border-strong);
  background: transparent;
  box-shadow: var(--shadow-md);
}

.payroll-contact__card {
  border-radius: calc(var(--radius-2xl) - 1px);
  background: var(--color-bg);
  padding: clamp(1.5rem, 3.5vw, 2.125rem);
}

.payroll-contact__form .btn-primary {
  box-shadow: 0 4px 14px rgba(35, 136, 199, 0.28);
}

.payroll-page__pillar-lead {
  font-weight: 650;
  color: var(--color-text);
  letter-spacing: -0.015em;
}

.payroll-page__feature-grid {
  align-items: stretch;
  gap: clamp(0.75rem, 2vw, 1.125rem);
}

.payroll-feature-card__title {
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.35;
}

.payroll-page .payroll-map__stage {
  border-color: rgba(35, 136, 199, 0.14);
  box-shadow:
    var(--shadow-sm),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  background: var(--color-bg);
}

.payroll-feature-card {
  height: 100%;
  border-radius: var(--radius-xl);
}

.payroll-page .section.bg-white .payroll-feature-card,
.payroll-page .section.bg-white .payroll-trust-strip__card,
.payroll-page .section.bg-white .payroll-coverage__links a,
.payroll-page .section.bg-white.payroll-faq-section .faq-item {
  background: var(--color-bg-soft);
}

.payroll-page .section.bg-soft .payroll-feature-card,
.payroll-page .section.bg-soft .payroll-coverage__links a {
  background: var(--color-bg);
}

.payroll-page .payroll-feature-card:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
  transform: none;
}

.payroll-feature-card .icon-box {
  background: var(--color-primary-soft);
  border-color: rgba(35, 136, 199, 0.15);
  color: var(--color-primary);
}

.payroll-feature-card .icon-box.icon-box--img {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  width: auto;
  height: auto;
}

.payroll-feature-card .icon-box.icon-box--img img {
  width: var(--icon-size);
  height: var(--icon-size);
  max-width: var(--icon-size);
  max-height: var(--icon-size);
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.payroll-feature-card--minimal {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.payroll-trust-strip {
  padding-top: clamp(2.25rem, 5vw, 3rem);
  padding-bottom: clamp(2.25rem, 5vw, 3rem);
}

.payroll-trust-strip__grid {
  max-width: min(72rem, 100%);
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
}

.payroll-page .payroll-faq-section .container.max-w-prose {
  max-width: min(58rem, 100%);
}

@media (min-width: 900px) {
  .payroll-page .grid-4 {
    gap: 0.85rem;
  }
}

.payroll-trust-strip__card {
  border-color: rgba(35, 136, 199, 0.12);
}

.payroll-trust-strip__value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.125rem, 2.2vw, 1.35rem);
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.payroll-trust-strip__label {
  font-size: 0.875rem;
  color: var(--color-muted);
}

.payroll-faq-section details.faq-item {
  border-color: rgba(35, 136, 199, 0.1);
}

.payroll-faq-section details.faq-item summary:hover {
  color: var(--color-primary);
}

@media (prefers-reduced-motion: reduce) {
  .payroll-feature-card:hover {
    transform: none;
  }
}

.payroll-coverage-regions {
  display: grid;
  gap: 2rem 2.5rem;
  max-width: min(90rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .payroll-coverage-regions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .payroll-coverage-regions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.payroll-coverage-region__title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 0.75rem;
  text-align: center;
}

.payroll-coverage-region .payroll-coverage__links {
  justify-content: center;
}

.payroll-coverage__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
  justify-content: center;
}

.payroll-coverage__links a {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.payroll-coverage__links a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-soft);
}

/* HR Outsourcing page */
.outsourcing-page .section-intro,
.outsourcing-page .section-intro.max-w-prose {
  max-width: min(56rem, 100%);
}

.outsourcing-page .section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-text);
}

.outsourcing-page .section-label {
  margin-bottom: 0.2rem;
}

.outsourcing-page .section-deck,
.outsourcing-page .text-muted {
  color: var(--color-muted);
}

.outsourcing-page__card-grid {
  gap: clamp(0.75rem, 2vw, 1.125rem);
}

.outsourcing-card__title {
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--color-text);
  margin: 0 0 0.75rem;
}

.outsourcing-page #what-we-do .module-feature-card > .text-muted {
  margin-top: 0;
  line-height: 1.55;
}

.outsourcing-pillar-card {
  padding-top: 1.35rem;
  padding-bottom: 1.35rem;
}

.outsourcing-page .icon-box.icon-box--img {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  width: auto;
  height: auto;
}

.outsourcing-page .icon-box.icon-box--img img {
  width: var(--icon-size);
  height: var(--icon-size);
  max-width: var(--icon-size);
  max-height: var(--icon-size);
  object-fit: contain;
  display: block;
}

.outsourcing-pillar-card__label {
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--color-text);
}

.outsourcing-page .section.bg-white .card.card--static {
  background: var(--color-bg-soft);
}

.outsourcing-page .section.bg-soft .card.card--static {
  background: var(--color-bg);
}

.outsourcing-page .site-cta.gradient-dark {
  background: linear-gradient(155deg, #0f1419 0%, #1e252d 50%, #252d36 100%);
  color: #f1f5f9;
}

.outsourcing-page .site-cta.gradient-dark .home-cta-band__title {
  color: #fff;
}

.outsourcing-page .site-cta.gradient-dark .home-cta-band__lede {
  color: rgba(255, 255, 255, 0.82);
}

.outsourcing-page .outsourcing-faq-section .container.max-w-prose {
  max-width: min(58rem, 100%);
}

.outsourcing-faq-section details.faq-item {
  border-color: rgba(35, 136, 199, 0.1);
}

.outsourcing-faq-section details.faq-item summary:hover {
  color: var(--color-primary);
}

.payroll-map {
  position: relative;
  max-width: min(90rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

.payroll-map__stage {
  position: relative;
  min-height: 22rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.payroll-map__world {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  opacity: 0.32;
  filter: hue-rotate(185deg) saturate(0.7) brightness(1.05);
  pointer-events: none;
}

.payroll-map__dot {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 0;
  transition: transform 0.15s;
  z-index: 2;
}

.payroll-map__dot:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.payroll-map__dot-core {
  display: block;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 9999px;
  border: 2px solid #fff;
  background: var(--color-primary);
  box-shadow: 0 0 0 0.35rem rgba(35, 136, 199, 0.14);
}

.payroll-map__dot-label {
  position: absolute;
  left: 50%;
  top: -0.65rem;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #356f91;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  padding: 0.16rem 0.48rem;
}

.payroll-map__dot.is-active .payroll-map__dot-core {
  background: #0f6f9f;
  box-shadow: 0 0 0 0.45rem rgba(35, 136, 199, 0.18);
}

.payroll-map__dot.is-active .payroll-map__dot-label {
  color: var(--color-primary);
  border-color: rgba(35, 136, 199, 0.35);
  box-shadow: var(--shadow-sm);
}

/* Do not set display:grid on the base rule — it overrides the [hidden] attribute and leaves an empty modal visible. */
.payroll-map-popup {
  position: fixed;
  inset: 0;
  z-index: 1200;
  padding: 1rem;
}

.payroll-map-popup[hidden] {
  display: none !important;
}

.payroll-map-popup:not([hidden]) {
  display: grid;
  place-items: center;
}

.payroll-map-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 30, 42, 0.42);
}

.payroll-map-popup__dialog {
  position: relative;
  width: min(38rem, 100%);
  max-height: min(80vh, 40rem);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1rem 1rem;
  z-index: 1;
}

.payroll-map-popup__dialog h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #356f91;
}

.payroll-map-popup__close {
  position: absolute;
  right: 0.5rem;
  top: 0.4rem;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.45rem;
}

.payroll-map-popup__close:hover {
  color: var(--color-primary);
}

.payroll-map-popup__content {
  min-height: 3rem;
}

@media (min-width: 56.25rem) {
  .payroll-map__stage {
    min-height: 24rem;
  }
}

@media (max-width: 47.99rem) {
  .payroll-map__stage {
    min-height: 14rem;
  }

  .payroll-map__dot-label {
    display: none;
  }
}

/* Payroll Software page — 8 key feature tiles */
.payroll-features-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.25rem);
  grid-template-columns: 1fr;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) {
  .payroll-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .payroll-features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 1.5rem 1.625rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease-out);
}

/* Keep branded CTA cards from inheriting default white card skin */
.card.gradient-brand {
  background: var(--color-primary);
  color: #fff;
  border-color: transparent;
}

.card.gradient-brand h1,
.card.gradient-brand h2,
.card.gradient-brand h3,
.card.gradient-brand p {
  color: #fff;
}

.card.gradient-brand a:not(.btn) {
  color: rgba(255, 255, 255, 0.95);
}

.card-hover:hover {
  border-color: rgba(22, 128, 179, 0.22);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Home — Global HR Services: readable intro width, compact equal-height cards */
.home-services.section {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.home-services__intro {
  max-width: min(68rem, 100%);
  margin-bottom: clamp(0.85rem, 2vw, 1.15rem);
}
.home-services__intro .section-title {
  margin-bottom: 0.45rem;
}
.home-services__grid.grid-3 {
  gap: clamp(0.85rem, 2vw, 1.15rem);
}
.home-services__lead {
  color: var(--color-muted);
  font-size: var(--text-deck);
  line-height: var(--leading-relaxed);
  margin: 0 auto;
  max-width: min(56rem, 100%);
}
.home-services__card--link {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease-out);
}
.home-services__card--link:hover {
  border-color: rgba(35, 136, 199, 0.22);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.home-services__card--link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.icon-box--centered {
  margin-left: auto;
  margin-right: auto;
}
.home-services__grid {
  align-items: stretch;
}
.home-services__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 0.95rem 1rem 0.9rem;
  background: rgba(243, 243, 243, 0.42);
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: none;
}
.home-band--alt .home-pillar-card {
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: none;
}
.home-band .testimonial-card {
  background: rgba(243, 243, 243, 0.42);
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: none;
  text-align: center;
  align-items: center;
}
.home-services__card .icon-box {
  margin-bottom: 0.45rem;
}
.home-services__card h3 {
  margin: 0 0 0.2rem;
  font-size: 1.125rem;
}
.home-services__card-text {
  flex: 0 0 auto;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  width: 100%;
  max-width: 20rem;
}

/* Home — demo / contact modal */
.home-contact-dialog {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: min(28rem, calc(100vw - 2rem));
  background: var(--color-bg);
  box-shadow: var(--shadow-lg);
}
.home-contact-dialog::backdrop {
  background: rgba(15, 23, 42, 0.5);
}
.home-contact-dialog__inner {
  padding: 1.5rem 1.5rem 1.35rem;
}
.home-contact-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.home-contact-dialog__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: var(--leading-snug);
}
.home-contact-dialog__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  border-radius: var(--radius-md);
  background: var(--color-bg-soft);
  color: var(--color-muted);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.home-contact-dialog__close:hover {
  color: var(--color-text);
  background: var(--color-border);
}
.home-contact-dialog__form {
  display: grid;
  gap: 0.85rem;
}
.home-contact-dialog__form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--color-text);
}
.home-services__card .btn.btn-primary {
  margin-top: 1rem;
  flex-shrink: 0;
}

.home-pillars {
  align-items: stretch;
}
.home-pillar-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.home-pillar-card .icon-box {
  margin-bottom: 1rem;
}
.home-pillar-card__title {
  margin: 0 0 0.65rem;
}

/* Testimonials */
.home-testimonials {
  align-items: stretch;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
}
.testimonial-card__logo-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 8rem;
  margin: 0 0 1.25rem;
  padding: 0.65rem 1rem;
}
.testimonial-card__logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 7.5rem;
  max-width: min(100%, 22rem);
  object-fit: contain;
  object-position: center;
  margin: 0;
}
.testimonial-card__quote {
  margin: 0 0 1.25rem;
  padding: 0;
  border: none;
  flex: 1 1 auto;
  width: 100%;
  text-align: center;
}
.testimonial-card__quote p {
  margin: 0;
  font-size: var(--text-body-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-muted);
  font-style: italic;
}
.testimonial-card__byline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  width: 100%;
  text-align: center;
}
.testimonial-card__byline strong {
  font-weight: 650;
  color: var(--color-text);
}
@media (min-width: 768px) and (max-width: 62.99rem) {
  .home-testimonials.grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 63rem) {
  .home-testimonials.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Client logo marquee (home) */
.logo-marquee {
  overflow: hidden;
  width: 100%;
  margin-top: 0.25rem;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}
.logo-marquee__track {
  display: flex;
  width: max-content;
  animation: logo-marquee-scroll 50s linear infinite;
}
.logo-marquee__track:hover {
  animation-play-state: paused;
}
.logo-marquee__group {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  padding-right: 1rem;
  flex-shrink: 0;
}
@keyframes logo-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .logo-marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    gap: 0.85rem;
  }
  .logo-marquee__group[aria-hidden="true"] {
    display: none;
  }
}
.logo-marquee__cell {
  flex: 0 0 auto;
  width: 15rem;
  min-width: 0;
  min-height: 7.5rem;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.15rem;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.home-band--alt .logo-marquee__cell {
  background: transparent;
}

.card.logo-marquee__cell,
.card.logo-marquee__cell.card--static {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}


.logo-marquee__logo {
  max-height: 6.75rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Certifications & partners (home) */
.cert-grid,
.partner-grid {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
}
.cert-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
  padding: 1.5rem;
}
.cert-card--link {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease-out);
}
.cert-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 7.25rem;
  margin-bottom: 1rem;
}
.cert-card__img {
  max-height: 6rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.cert-card__name {
  font-size: var(--text-body-sm);
  font-weight: 650;
  color: var(--color-text);
  margin: 0 0 0.5rem;
}
.cert-card__text {
  font-size: 0.875rem;
  line-height: var(--leading-relaxed);
  color: var(--color-muted);
  margin: 0;
  flex: 1 1 auto;
}
.cert-card__cta {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}
.partner-card {
  min-height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.partner-card__img {
  max-height: 5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.partner-card--link {
  text-decoration: none;
  color: inherit;
}

/* Home — partners: larger logos, tighter cards */
.home-page .home-partners__grid {
  gap: clamp(0.75rem, 2vw, 1.25rem);
}
.home-page .home-partners .partner-card {
  min-height: 0;
  padding: 0.5rem 0.65rem;
}
.home-page .home-partners .partner-card__img {
  max-height: 6.75rem;
}

/* Home — bottom CTA band (light on home; dark sections override below) */
.home-cta-band__title {
  margin: 0 0 1rem;
  color: var(--color-text);
}
.home-cta-band__lede {
  margin: 0 0 2rem;
  font-size: var(--text-deck);
  line-height: var(--leading-relaxed);
  color: #5c5a5a;
}
.gradient-dark .home-cta-band__title,
.gradient-brand .home-cta-band__title {
  color: #fff;
}
.gradient-dark .home-cta-band__lede,
.gradient-brand .home-cta-band__lede {
  color: rgba(255, 255, 255, 0.82);
}

/* Sitewide CTA band (dark) */
.site-cta {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.site-cta .home-cta-band__title {
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  line-height: 1.2;
}
.site-cta .btn-primary {
  min-width: 12.5rem;
}

.site-cta.gradient-dark {
  background: linear-gradient(155deg, #0f1419 0%, #1e252d 50%, #252d36 100%);
}

.site-cta.gradient-dark .home-cta-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.site-cta .home-cta-band__title {
  white-space: nowrap;
  max-width: none;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  letter-spacing: -0.015em;
}
.site-cta .home-cta-band__lede {
  max-width: min(58rem, 96%);
  width: 100%;
  margin: 0 auto 2rem;
  text-align: center;
  text-wrap: balance;
}
.site-cta .home-cta-band .btn-primary {
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 62rem) {
  .site-cta .home-cta-band__title {
    white-space: normal;
    width: auto;
    text-wrap: balance;
    font-size: clamp(1.45rem, 4.2vw, 1.85rem);
  }
  .site-cta .home-cta-band__lede {
    max-width: min(36rem, 100%);
  }
}

/* Home page — white / #f3f3f3 section bands, unified body color */
.home-band {
  background: #ffffff;
}
.home-band--alt {
  background: #f3f3f3;
}

/* Clients: grey section band, white logo cells (inverse of partners) */
.home-page .home-clients {
  background: #f3f3f3;
}
.home-page .home-clients .logo-marquee__cell,
.home-page .home-clients .card.logo-marquee__cell,
.home-page .home-clients .card.logo-marquee__cell.card--static {
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: none;
}

/* Partners: grey section band, white partner cells (same as Clients) */
.home-page .home-partners {
  background: #f3f3f3;
}
.home-page .home-partners .partner-card,
.home-page .home-partners .partner-card.card,
.home-page .home-partners .partner-card.card--static,
.home-page .home-partners a.partner-card.card,
.home-page .home-partners a.partner-card.card-hover {
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: none;
}
.home-page .home-partners a.partner-card.card-hover:hover {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: none;
  transform: none;
}

.home-page .home-hero {
  background: #ffffff;
}

.home-page .hero-home__lead,
.home-page .home-services__lead,
.home-page .section-deck,
.home-page .testimonial-card__quote p,
.home-page .cert-card__text,
.home-page .stats-row__label,
.home-page .testimonial-card__byline .text-muted,
.home-page .home-pillar-card .text-muted {
  color: #5c5a5a;
}

.home-page .section-title,
.home-page .stat-metric,
.home-page .testimonial-card__byline strong {
  color: #2d2c2c;
}

.stats-row__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}
.stats-row__icon svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.home-services__icon-wrap.icon-box {
  width: var(--icon-size-md);
  height: var(--icon-size-md);
  background: rgba(255, 255, 255, 0.28);
  border: none;
  box-shadow: none;
  padding: 0.25rem;
  margin-bottom: 0.45rem;
}
.home-services__icon-wrap img {
  width: var(--icon-size-md);
  height: var(--icon-size-md);
  max-width: var(--icon-size-md);
  max-height: var(--icon-size-md);
  object-fit: contain;
}

.testimonial-card__quote-icon {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 0.35rem;
  color: var(--color-primary);
  opacity: 0.9;
}
.testimonial-card__quote-icon svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.home-page .home-pillar-card .icon-box.icon-box--img {
  width: var(--icon-size-lg);
  height: var(--icon-size-lg);
  margin-bottom: 0.85rem;
  background: rgba(255, 255, 255, 0.28);
  border: none;
  box-shadow: none;
  padding: 0.5rem;
}
.home-pillar-card__icon-wrap img {
  width: var(--icon-size-lg);
  height: var(--icon-size-lg);
  max-width: var(--icon-size-lg);
  max-height: var(--icon-size-lg);
  object-fit: contain;
}
.home-page .home-pillar-card .icon-box svg {
  width: 1.35rem;
  height: 1.35rem;
}

.icon-box {
  width: var(--icon-size);
  height: var(--icon-size);
  background: var(--color-primary-soft);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.icon-box:not(.footer-social__link) svg {
  width: var(--icon-size-svg);
  height: var(--icon-size-svg);
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 2;
}

/* Must follow .icon-box — image icons/logos stay transparent */
.icon-box.icon-box--img {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.module-page .module-feature-card__icon.icon-box--img,
.module-page .module-how-it-works__icon.icon-box--img {
  background: transparent;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.15rem;
  background: url("../Assets/Icons/Icon%20for%20all%20points.svg") center / contain
    no-repeat;
}
.check-list li > svg:first-child {
  display: none;
}
.check-list svg {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  stroke: var(--color-primary);
  margin-top: 0.2rem;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #f8f9fb 0%, #f1f3f6 100%);
  border-top: 1px solid var(--color-border);
  padding: clamp(3rem, 5vw, 4rem) 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 2.5rem;
  align-items: start;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.5vw, 2rem);
  }
}
.footer-col--brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
  overflow: visible;
  min-width: 0;
}
.footer-brand__logo.logo {
  margin-bottom: 0;
}
.footer-col--brand .footer-lede {
  margin: 0;
  max-width: 100%;
  width: 100%;
  font-size: var(--text-body-sm);
  line-height: var(--leading-relaxed);
  overflow-wrap: break-word;
}
.footer-social-icons {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0 0 0.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  overflow: visible;
}
.footer-social-icons li {
  display: flex;
  align-items: center;
  overflow: visible;
  flex: 0 0 auto;
}
.footer-col--brand .footer-social-icons {
  justify-content: flex-start;
}
.footer-address {
  line-height: var(--leading-relaxed);
}
.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--color-muted);
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem 1.5rem;
  justify-content: center;
}
.footer-links a {
  color: var(--color-muted);
  transition: color 0.18s var(--ease-out);
}
.footer-links a:hover {
  color: var(--color-primary);
}
.footer-links__placeholder {
  color: var(--color-muted-light);
  font-size: inherit;
  cursor: default;
}
.footer-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted-light);
  margin: 0 0 1.1rem;
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-list li {
  margin-bottom: 0.65rem;
}
.footer-list a {
  color: var(--color-muted);
  font-size: var(--text-body-sm);
  transition: color 0.18s var(--ease-out);
}
.footer-list a:hover {
  color: var(--color-primary);
}
.footer-list--contact a {
  text-decoration: none;
}
.footer-list--contact a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-social__link.icon-box {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--icon-size-social);
  height: var(--icon-size-social);
  min-width: var(--icon-size-social);
  min-height: var(--icon-size-social);
  aspect-ratio: 1;
  margin-bottom: 0;
  line-height: 0;
  overflow: visible;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(15, 53, 85, 0.07);
  color: var(--color-primary);
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.22s var(--ease-out),
    background 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out);
}
.footer-social__link.icon-box:hover,
.footer-social__link.icon-box:focus-visible {
  transform: translateY(-2px);
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(35, 136, 199, 0.28);
}
.footer-social__link.icon-box:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
.footer-social__link.icon-box svg {
  width: var(--icon-size-social-svg);
  height: var(--icon-size-social-svg);
  max-width: 100%;
  max-height: 100%;
  flex: 0 0 auto;
  fill: currentColor;
  stroke: none;
  display: block;
  overflow: visible;
  pointer-events: none;
}

/* Forms */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-bg);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-muted-light);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}
label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-text);
}

/* Progress bars */
.progress-bar {
  height: 0.45rem;
  background: var(--color-bg-soft);
  border-radius: 9999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 9999px;
}

/* Main — full-width column so every page stacks sections the same way */
main {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Utility */
.flex {
  display: flex;
}
.flex-wrap {
  flex-wrap: wrap;
}
.gap-4 {
  gap: 1rem;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.rounded-xl {
  border-radius: var(--radius-xl);
}
.shadow {
  box-shadow: var(--shadow-lg);
}
.overflow-hidden {
  overflow: hidden;
}
.aspect-video {
  aspect-ratio: 16 / 9;
}

/* Country payroll guide (from source documents) */
.country-content {
  max-width: min(var(--layout-readable), 100%);
  margin-inline: auto;
}
.usa-page .country-content {
  max-width: min(var(--layout-readable), 100%);
}
.country-hero .container {
  max-width: min(var(--layout-readable), 100%);
}
.usa-page .country-hero .container {
  max-width: min(var(--layout-readable), 100%);
}
.country-hero__heading {
  margin-bottom: 1rem;
}
.country-hero__flag {
  display: inline;
  vertical-align: middle;
  margin-right: 0.65rem;
  font-size: clamp(2.25rem, 3.5vw, 2.75rem);
  line-height: 1;
}
.country-hero__title {
  display: inline;
  margin: 0;
  color: var(--color-text);
}
.country-hero__lede {
  color: var(--color-muted);
  max-width: 48rem;
  margin: 0;
}
.country-hero__backlink {
  margin-bottom: 0;
}
.country-hero__backlink a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.country-hero__backlink a:hover {
  color: var(--color-primary-hover);
}
.country-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(26, 134, 192, 0.1);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.country-hero__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
  max-width: 50rem;
}
.country-hero__metric {
  padding: 0.95rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-sm);
}
.country-hero__metric strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--color-text);
  font-size: 1rem;
}
.country-hero__metric span {
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}
.country-guide {
  position: relative;
}
.country-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
}
.country-section-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.76);
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.country-section-nav a:hover {
  color: var(--color-primary);
  border-color: rgba(35, 136, 199, 0.3);
}
.country-panel {
  padding: clamp(1.15rem, 2vw, 1.5rem);
  margin-bottom: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
}
.country-panel > :last-child {
  margin-bottom: 0;
}
.country-panel__intro {
  margin-bottom: 1.25rem;
}
.country-panel__eyebrow {
  display: inline-block;
  margin: 0 0 0.5rem;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.country-panel__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.2;
  color: var(--color-text);
}
.country-panel__lede {
  margin: 0;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.65;
}
.country-panel .country-content__h:first-child {
  margin-top: 0;
}

/* USA page — layout polish (no content changes) */
.country-page .country-guide {
  padding-top: clamp(2rem, 4vw, 3rem);
}
.country-page .country-section-nav {
  position: sticky;
  top: 5.25rem;
  z-index: 20;
  padding: 0.6rem;
  border-radius: 999px;
  background: rgba(241, 243, 245, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.9rem;
}
.country-page .country-section-nav a {
  background: rgba(255, 255, 255, 0.92);
  padding: 0.62rem 0.95rem;
  text-decoration: none;
}
.country-page .country-section-nav a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.country-page .country-section-nav a:hover {
  text-decoration: none;
}
.country-page .country-panel {
  padding: clamp(1.4rem, 2.2vw, 1.85rem);
  margin-bottom: 1.6rem;
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.78);
}
.country-page .country-panel .country-content__h + .country-content__h {
  margin-top: 0.9rem;
  font-size: 0.98rem;
  opacity: 0.9;
}
.country-page .table-wrap {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem;
}
.country-page .country-table th,
.country-page .country-table td {
  border-color: rgba(15, 23, 42, 0.09);
}
.country-page .country-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
}
.country-page .country-table tbody tr:nth-child(even) td,
.country-page .country-table tbody tr:nth-child(even) th {
  background: rgba(241, 243, 245, 0.55);
}
.country-page .country-table tbody tr:hover td,
.country-page .country-table tbody tr:hover th {
  background: rgba(35, 136, 199, 0.06);
}
.country-page .country-content__p {
  line-height: 1.78;
  margin-bottom: 1.15rem;
}
.country-page .country-content__h {
  margin-top: 2rem;
  margin-bottom: 0.85rem;
}
.country-page .country-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.country-page .country-summary li {
  padding: 1.15rem 1.1rem 1.2rem;
}
.country-page .country-summary li:nth-child(2) {
  grid-column: span 2;
}
.country-page .country-services {
  gap: 0.9rem;
}
.country-page .country-services li {
  padding-top: 1.1rem;
  padding-bottom: 1.05rem;
}
.country-page .country-panel--emphasis {
  border-color: rgba(35, 136, 199, 0.2);
  background: var(--color-primary-soft);
}
.country-page .country-panel--emphasis .country-services__cta {
  display: flex;
  justify-content: center;
}
.country-page .country-panel--emphasis .country-services__cta .btn {
  padding-inline: 1.25rem;
}
.country-highlight-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.85rem;
  margin: 0 0 1.25rem;
}
.country-highlight-bar__item {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  border: 1px solid rgba(35, 136, 199, 0.14);
}
.country-highlight-bar__item strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--color-text);
}
.country-highlight-bar__item span {
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}
.country-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.country-content a:hover {
  color: var(--color-primary-hover);
}
.country-content__title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 1.5rem;
  color: var(--color-text);
  line-height: 1.25;
}
.country-content__p {
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0 0 1rem;
  font-size: 0.9375rem;
}
.country-content__h {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 1.75rem 0 0.65rem;
  color: var(--color-text);
  line-height: 1.35;
}
.country-content__h:first-child,
.country-content__title + .country-content__h {
  margin-top: 0;
}

.country-content__list {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.country-content__list li {
  margin-bottom: 0.45rem;
}
.country-content__list strong {
  color: var(--color-text);
  font-weight: 650;
}
.country-summary {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.75rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.country-summary li {
  margin: 0;
  padding: 1rem 1rem 1.05rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}
.country-summary strong {
  display: block;
  margin-bottom: 0.35rem;
}
.country-content__callout {
  padding: 0.95rem 1rem;
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(33, 95, 154, 0.08);
  color: var(--color-text);
}
.country-content__callout strong {
  color: var(--color-text);
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.25rem;
  -webkit-overflow-scrolling: touch;
}
.country-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  line-height: 1.4;
}
.country-table th,
.country-table td {
  border: 1px solid var(--color-border);
  padding: 0.5rem 0.65rem;
  text-align: left;
  vertical-align: top;
}
.country-table th {
  background: var(--color-bg-soft);
  font-weight: 650;
  color: var(--color-text);
}
.country-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 650;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}
.country-services {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.country-services li {
  position: relative;
  margin: 0;
  padding: 0.95rem 1rem 0.95rem 2.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
}
.country-services li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.1rem;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(33, 95, 154, 0.12);
}
.country-services__cta {
  margin-top: 1rem;
}

/* FAQ */
details.faq-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 0.45rem;
  box-shadow: var(--shadow-sm);
}
details.faq-item summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 650;
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
}
details.faq-item summary::-webkit-details-marker {
  display: none;
}
details.faq-item summary::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease-out);
  flex-shrink: 0;
}
details.faq-item[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}
details.faq-item .faq-body {
  padding: 0 1.25rem 1.1rem;
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  text-align: left;
}

/* FAQ sections — centered title, left-aligned accordion list (sitewide) */
.site-faq-section .container.max-w-prose,
main > .section > .container.max-w-prose:has(.faq-item) {
  text-align: left;
  max-width: min(58rem, 100%);
}

.site-faq-section .section-intro {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.site-faq-section details.faq-item,
.site-faq-section details.faq-item summary,
.site-faq-section details.faq-item .faq-body {
  text-align: left;
}

.site-faq-section details.faq-item summary:hover {
  color: var(--color-primary);
}

/* Sector pages — centered hero (vertical spacing comes from .section only) */
.sector-page-hero {
  text-align: center;
}

.sector-page-hero .max-w-prose {
  margin-inline: auto;
}

/* Sector pages — tabbed feature block */
.sector-tabs {
  position: relative;
  max-width: var(--layout-shell-max);
  margin-inline: auto;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg);
  box-shadow: 0 8px 32px rgba(15, 53, 85, 0.08);
}

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

.sector-tabs__bar {
  display: flex;
  flex-wrap: wrap;
  background: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
}

.sector-tabs__btn {
  flex: 1 1 min(11rem, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.85rem 0.75rem;
  font-weight: 650;
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  line-height: 1.3;
  cursor: pointer;
  border: none;
  border-right: 2px solid var(--color-primary);
  border-radius: 0;
  background: var(--color-primary);
  color: #fff;
  margin: 0;
  transition: background 0.15s var(--ease-out), color 0.15s var(--ease-out);
}

.sector-tabs__btn:last-child {
  border-right: none;
}

#hospitality-tab-1:checked ~ .sector-tabs__bar .sector-tabs__btn[for="hospitality-tab-1"],
#hospitality-tab-2:checked ~ .sector-tabs__bar .sector-tabs__btn[for="hospitality-tab-2"],
#hospitality-tab-3:checked ~ .sector-tabs__bar .sector-tabs__btn[for="hospitality-tab-3"],
#manufacturing-tab-1:checked ~ .sector-tabs__bar .sector-tabs__btn[for="manufacturing-tab-1"],
#manufacturing-tab-2:checked ~ .sector-tabs__bar .sector-tabs__btn[for="manufacturing-tab-2"],
#manufacturing-tab-3:checked ~ .sector-tabs__bar .sector-tabs__btn[for="manufacturing-tab-3"],
#retail-tab-1:checked ~ .sector-tabs__bar .sector-tabs__btn[for="retail-tab-1"],
#retail-tab-2:checked ~ .sector-tabs__bar .sector-tabs__btn[for="retail-tab-2"],
#retail-tab-3:checked ~ .sector-tabs__bar .sector-tabs__btn[for="retail-tab-3"],
#recruitment-tab-1:checked ~ .sector-tabs__bar .sector-tabs__btn[for="recruitment-tab-1"],
#recruitment-tab-2:checked ~ .sector-tabs__bar .sector-tabs__btn[for="recruitment-tab-2"],
#recruitment-tab-3:checked ~ .sector-tabs__bar .sector-tabs__btn[for="recruitment-tab-3"] {
  background: #fff;
  color: var(--color-primary);
  position: relative;
  z-index: 1;
}

#hospitality-tab-1:checked ~ .sector-tabs__bar .sector-tabs__btn[for="hospitality-tab-1"],
#manufacturing-tab-1:checked ~ .sector-tabs__bar .sector-tabs__btn[for="manufacturing-tab-1"],
#retail-tab-1:checked ~ .sector-tabs__bar .sector-tabs__btn[for="retail-tab-1"],
#recruitment-tab-1:checked ~ .sector-tabs__bar .sector-tabs__btn[for="recruitment-tab-1"] {
  border-top-left-radius: calc(var(--radius-lg) - 2px);
}

#hospitality-tab-3:checked ~ .sector-tabs__bar .sector-tabs__btn[for="hospitality-tab-3"],
#manufacturing-tab-3:checked ~ .sector-tabs__bar .sector-tabs__btn[for="manufacturing-tab-3"],
#retail-tab-3:checked ~ .sector-tabs__bar .sector-tabs__btn[for="retail-tab-3"],
#recruitment-tab-3:checked ~ .sector-tabs__bar .sector-tabs__btn[for="recruitment-tab-3"] {
  border-top-right-radius: calc(var(--radius-lg) - 2px);
}

.sector-tabs__panel {
  display: none;
  border: none;
  border-radius: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--color-bg);
  box-shadow: none;
}

#hospitality-tab-1:checked ~ #hospitality-panel-1,
#hospitality-tab-2:checked ~ #hospitality-panel-2,
#hospitality-tab-3:checked ~ #hospitality-panel-3,
#manufacturing-tab-1:checked ~ #manufacturing-panel-1,
#manufacturing-tab-2:checked ~ #manufacturing-panel-2,
#manufacturing-tab-3:checked ~ #manufacturing-panel-3,
#retail-tab-1:checked ~ #retail-panel-1,
#retail-tab-2:checked ~ #retail-panel-2,
#retail-tab-3:checked ~ #retail-panel-3,
#recruitment-tab-1:checked ~ #recruitment-panel-1,
#recruitment-tab-2:checked ~ #recruitment-panel-2,
#recruitment-tab-3:checked ~ #recruitment-panel-3 {
  display: block;
}

.sector-tabs__grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}

@media (min-width: 48rem) {
  .sector-tabs__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sector-tabs__kicker {
  display: none;
}

.h3-sector {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--color-text);
}

.sector-tabs__visual {
  min-height: 12rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
}

.sector-tabs__visual.sector-tabs__visual--photo {
  padding: 0;
  border: none;
  background: transparent;
  min-height: 0;
}

@media (min-width: 48rem) {
  .sector-tabs--hospitality .sector-tabs__grid,
  .sector-tabs--manufacturing .sector-tabs__grid,
  .sector-tabs--retail .sector-tabs__grid,
  .sector-tabs--recruitment .sector-tabs__grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  }
}

.sector-tabs__visual.sector-tabs__visual--photo .sector-tabs__media-inner {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.sector-tabs__visual.sector-tabs__visual--photo .sector-tabs__media-inner img {
  transform: scale(1.12);
  transform-origin: center center;
}

.sector-tabs__visual--simple {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sector-flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  max-width: 28rem;
  margin-inline: auto;
}

.sector-flow__row {
  display: grid;
  gap: 0.5rem;
}

.sector-flow__row--3 {
  grid-template-columns: repeat(3, 1fr);
}

.sector-flow__row--2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 36rem) {
  .sector-flow__row--3 {
    grid-template-columns: 1fr;
  }
}

.sector-flow__join {
  height: 1.25rem;
  margin: 0.15rem 0;
  background: linear-gradient(
    var(--color-primary) 0,
    var(--color-primary) 2px,
    transparent 2px
  ),
    linear-gradient(90deg, transparent calc(16.66% - 1px), var(--color-primary) calc(16.66% - 1px), var(--color-primary) calc(16.66% + 1px), transparent calc(16.66% + 1px)),
    linear-gradient(90deg, transparent calc(50% - 1px), var(--color-primary) calc(50% - 1px), var(--color-primary) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(90deg, transparent calc(83.33% - 1px), var(--color-primary) calc(83.33% - 1px), var(--color-primary) calc(83.33% + 1px), transparent calc(83.33% + 1px));
  background-repeat: no-repeat;
  background-size: 100% 2px, 100% 100%, 100% 100%, 100% 100%;
  background-position: center top, 0 0, 0 0, 0 0;
  opacity: 0.45;
}

.sector-flow__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 0.4rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 650;
  line-height: 1.25;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.sector-flow__icon {
  font-size: 1.25rem;
  line-height: 1;
}

.sector-flow--simple {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: none;
}

.sector-flow--simple .sector-flow__box {
  flex: 1 1 5rem;
  min-width: 5rem;
  max-width: 8rem;
}

.sector-tabs__fab {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: var(--shadow-md);
  z-index: 2;
  transition: transform 0.15s var(--ease-out), background 0.15s;
}

.sector-tabs__fab:hover {
  background: var(--color-primary-hover);
  transform: scale(1.05);
}

@media (max-width: 47.99rem) {
  .sector-tabs__fab {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
  }
}

/* Mobile App landing */
.mobile-app-hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.mobile-app-hero__copy {
  text-align: center;
}

.mobile-app-hero__lede {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.mobile-app-hero__cta {
  margin-top: 2rem;
}

@media (min-width: 56.25rem) {
  .mobile-app-hero__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
  }

  .mobile-app-hero__copy {
    text-align: left;
  }

  .mobile-app-hero__lede {
    margin-left: 0;
    margin-right: 0;
    max-width: 36rem;
  }

  .mobile-app-hero__visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    padding: 0.5rem;
    border-radius: var(--radius-xl);
    background: radial-gradient(
      ellipse 85% 70% at 50% 85%,
      rgba(22, 128, 179, 0.12),
      transparent 55%
    );
  }

  .mobile-app-hero__visual .mobile-showcase {
    margin-top: 0;
  }
}

.mobile-showcase {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.35rem, 2.5vw, 1.75rem);
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: 0.5rem;
  flex-wrap: wrap;
}

.phone-mock {
  flex: 0 0 auto;
  width: clamp(6.5rem, 20vw, 10.5rem);
  transition: transform 0.2s var(--ease-out);
}

.phone-mock--tilt-left {
  transform: rotate(-7deg) translateY(0.35rem);
}

.phone-mock--center {
  transform: scale(1.06);
  z-index: 1;
}

.phone-mock--tilt-right {
  transform: rotate(7deg) translateY(0.35rem);
}

.phone-mock__frame {
  border-radius: 1.35rem;
  border: 3px solid #1e293b;
  background: linear-gradient(145deg, #334155, #0f172a);
  padding: 0.3rem;
  aspect-ratio: 9 / 19;
  box-shadow: var(--shadow-lg);
}

.phone-mock__screen {
  height: 100%;
  border-radius: 1.05rem;
  overflow: hidden;
  position: relative;
}

.phone-mock__screen--app-img {
  background: #f8fafc;
}

.phone-mock__screen--app-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

/* App screenshots already include device chrome — minimal outer frame */
.phone-mock--app-shot {
  width: 100%;
}

.phone-mock--app-shot .phone-mock__frame {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14);
  aspect-ratio: 1050 / 1920;
}

.phone-mock--app-shot .phone-mock__screen {
  border-radius: 1.35rem;
  background: #fff;
}

.phone-mock--app-shot .phone-mock__screen--app-img img {
  border-radius: 1.35rem;
}

.phone-mock__screen--login {
  background: #e0f2fe;
}

.phone-mock__screen--login::after {
  content: "";
  position: absolute;
  inset: 28% 18%;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 0.35rem;
}

.phone-mock__screen--dash {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

.phone-mock__screen--dash::before {
  content: "";
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--color-primary-soft);
  border: 2px solid var(--color-primary);
}

.phone-mock__screen--dash::after {
  content: "";
  position: absolute;
  bottom: 18%;
  left: 12%;
  right: 12%;
  height: 32%;
  background: var(--color-primary);
  opacity: 0.2;
  border-radius: 0.25rem;
}

.phone-mock__screen--time {
  background: #dbeafe;
}

.phone-mock__screen--time::before {
  content: "";
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9);
}

.phone-mock__screen--time::after {
  content: "";
  position: absolute;
  top: 38%;
  left: 50%;
  width: 2px;
  height: 1rem;
  background: rgba(255, 255, 255, 0.95);
  transform-origin: bottom center;
  transform: translate(-50%, -100%) rotate(45deg);
}

.mobile-icon-bar {
  list-style: none;
  margin: 0;
  padding: 1.25rem 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: start;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 52rem) {
  .mobile-icon-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mobile-icon-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--color-text);
}

.mobile-icon-bar__icon {
  display: flex;
  color: var(--color-primary);
}

.mobile-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 1.5rem);
}

.page-mobile-app #mobile-app-features .section-intro {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

@media (max-width: 56rem) {
  .mobile-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 30rem) {
  .mobile-feature-grid {
    grid-template-columns: 1fr;
  }
}

.mobile-feature-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 0;
  padding: 1.2rem 1.25rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.mobile-feature-card__icon {
  flex-shrink: 0;
  color: var(--color-primary);
}

.mobile-feature-card__icon.icon-box--img,
.mobile-icon-bar__icon.icon-box--img,
.mobile-security-card__icon.icon-box--img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.module-key-features .mobile-feature-card__icon.icon-box--img {
  width: var(--icon-size);
  height: var(--icon-size);
}

.module-key-features .mobile-feature-card__icon.icon-box--img img {
  width: var(--icon-size);
  height: var(--icon-size);
  max-width: var(--icon-size);
  max-height: var(--icon-size);
  object-fit: contain;
}

.mobile-icon-bar__icon.icon-box--img {
  width: var(--icon-size-md);
  height: var(--icon-size-md);
}

.mobile-icon-bar__icon.icon-box--img img {
  width: var(--icon-size-md);
  height: var(--icon-size-md);
  max-width: var(--icon-size-md);
  max-height: var(--icon-size-md);
  object-fit: contain;
}

.mobile-security-card__icon.icon-box--img {
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
  margin: 0 auto 1rem;
}

.mobile-security-card__icon.icon-box--img img {
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
  max-width: var(--icon-size-sm);
  max-height: var(--icon-size-sm);
  object-fit: contain;
}

.mobile-feature-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--color-text);
}

.mobile-feature-card--stack {
  flex-direction: column;
  align-items: stretch;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease-out);
}
.mobile-feature-card--stack:hover {
  border-color: rgba(22, 128, 179, 0.22);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.mobile-feature-card__head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.mobile-feature-card__list {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.55;
}
.mobile-feature-card__list li {
  margin-bottom: 0.25rem;
}

.phone-mock--compact {
  width: clamp(5.5rem, 16vw, 8.5rem);
}
.phone-mock--compact.phone-mock--tilt-left,
.phone-mock--compact.phone-mock--tilt-right,
.phone-mock--compact.phone-mock--center {
  transform: none;
}

/* Mobile app hero — centered brief layout + floating handset row */
.mobile-app-hero .mobile-app-hero__inner {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.mobile-app-hero .mobile-app-hero__lede {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.mobile-app-hero .mobile-showcase {
  margin-top: clamp(2rem, 6vw, 3.5rem);
  justify-content: center;
}
.mobile-app-hero .phone-mock--app-shot.phone-mock--compact {
  width: clamp(6.75rem, 18vw, 9.25rem);
}

.mobile-app-hero .phone-mock--compact.phone-mock--tilt-left {
  transform: rotate(-7deg) translateY(0.45rem);
}
.mobile-app-hero .phone-mock--compact.phone-mock--center {
  transform: scale(1.08);
  z-index: 1;
}
.mobile-app-hero .phone-mock--compact.phone-mock--tilt-right {
  transform: rotate(7deg) translateY(0.45rem);
}

.mobile-app-security {
  background: var(--color-bg);
}

.phone-mock__screen--leave {
  background: linear-gradient(180deg, #ecfdf5 0%, #a7f3d0 100%);
}
.phone-mock__screen--leave::after {
  content: "";
  position: absolute;
  bottom: 22%;
  left: 14%;
  right: 14%;
  height: 28%;
  background: rgba(16, 185, 129, 0.25);
  border-radius: 0.25rem;
}

.phone-mock__screen--payslip {
  background: linear-gradient(165deg, #fff7ed 0%, #fed7aa 100%);
}
.phone-mock__screen--payslip::after {
  content: "";
  position: absolute;
  top: 38%;
  left: 18%;
  right: 18%;
  height: 3px;
  background: rgba(234, 88, 12, 0.35);
  border-radius: 2px;
  box-shadow: 0 10px 0 rgba(234, 88, 12, 0.2), 0 20px 0 rgba(234, 88, 12, 0.15);
}

.phone-mock__screen--profile {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}
.phone-mock__screen--profile::before {
  content: "";
  position: absolute;
  top: 14%;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-primary-soft);
  border: 2px solid var(--color-primary);
}

.mobile-screen-showcase-wrap {
  overflow: hidden;
}
.mobile-screen-showcase {
  display: flex;
  gap: clamp(1rem, 3vw, 1.75rem);
  overflow-x: auto;
  padding: 0.75rem max(1.25rem, calc((100% - clamp(9.5rem, 36vw, 12.5rem)) / 2)) 1.25rem;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(1.25rem, calc((100% - clamp(9.5rem, 36vw, 12.5rem)) / 2));
  -webkit-overflow-scrolling: touch;
}
.mobile-screen-showcase__item {
  flex: 0 0 clamp(9.5rem, 36vw, 12.5rem);
  scroll-snap-align: center;
  margin: 0;
}
.mobile-screen-showcase__cap {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--color-muted);
  margin-top: 0.5rem;
}

@media (min-width: 56rem) {
  .mobile-webinar .grid-2 {
    grid-template-columns: 1fr 1.1fr;
  }
}

.mobile-security-grid {
  align-items: stretch;
}

.mobile-security-card__icon {
  display: flex;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.mobile-security-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.mobile-app-hero__title {
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--color-text);
}

.mobile-app-hero__eyebrow {
  margin-bottom: 0.75rem;
}

.mobile-app-platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.mobile-app-platforms__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 650;
  color: #356f91;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(35, 136, 199, 0.2);
}

.mobile-app-platforms__pill svg {
  flex-shrink: 0;
  opacity: 0.95;
}

.mobile-app-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
}

.mobile-app-hero__note {
  margin-top: 1.25rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

@media (min-width: 56.25rem) {
  .mobile-app-hero__note {
    margin-left: 0;
    margin-right: 0;
  }
}

.mobile-app-hero__note a {
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}
.mobile-app-hero__note a:hover {
  text-decoration: underline;
}

.mobile-screen-showcase-wrap--fade {
  position: relative;
}
.mobile-screen-showcase-wrap--fade::before,
.mobile-screen-showcase-wrap--fade::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 1.5rem;
  width: 2rem;
  z-index: 1;
  pointer-events: none;
}
.mobile-screen-showcase-wrap--fade::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-bg) 0%, transparent 100%);
}
.mobile-screen-showcase-wrap--fade::after {
  right: 0;
  background: linear-gradient(270deg, var(--color-bg) 0%, transparent 100%);
}

.mobile-app-factsheet-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: var(--color-bg);
}

.mobile-app-factsheet-card__inner {
  padding: clamp(2rem, 5vw, 2.75rem) clamp(1.25rem, 4vw, 2rem);
}

.mobile-app-factsheet-card__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}
.mobile-app-factsheet-card__icon svg {
  width: 2rem;
  height: 2rem;
}

/* Webinar block — text left, embedded video right (sitewide) */
.webinar-section {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.webinar-section.section {
  background: #ffffff;
}

.webinar-section.section::before,
.webinar-section.section::after {
  display: none;
}

.webinar-block {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

.webinar-block__header {
  margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.webinar-block__badge {
  margin: 0;
}

.webinar-block__title {
  margin: 0;
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.webinar-block__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  align-items: center;
  padding: clamp(1.35rem, 3.5vw, 2.25rem);
  background: var(--color-bg);
  border: 1px solid rgba(35, 136, 199, 0.14);
  border-radius: var(--radius-xl);
  box-shadow:
    0 4px 24px rgba(15, 45, 74, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

@media (min-width: 48rem) {
  .webinar-block__grid.grid-2 {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 3rem);
  }
}

.webinar-block__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.webinar-block__lede {
  margin: 0 0 1.5rem;
  font-size: clamp(1.0625rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 34rem;
}

.webinar-block__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
}

.webinar-block__actions .btn-primary {
  min-width: 11.5rem;
  box-shadow: 0 6px 18px rgba(35, 136, 199, 0.28);
}

.webinar-block__perks {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--color-muted);
  opacity: 0.92;
}

.webinar-block__video {
  position: relative;
}

.webinar-block__embed {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 12px 40px rgba(15, 45, 74, 0.18);
}

.webinar-block__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 47.99rem) {
  .webinar-block__copy {
    align-items: center;
    text-align: center;
  }

  .webinar-block__lede {
    max-width: none;
  }

  .webinar-block__actions {
    align-items: center;
  }
}

/* Legacy aliases (mobile-app) */
.mobile-webinar-block__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
}

@media (min-width: 48rem) {
  .mobile-webinar-block__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.mobile-webinar-block__embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #0f172a;
  box-shadow: var(--shadow-lg);
}

.mobile-webinar-block__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.mobile-app-final-cta__inner {
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.mobile-app-final-cta__lede {
  margin: 0 auto 2rem;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: var(--leading-relaxed);
}

.mobile-app-cta-row--on-dark {
  justify-content: center;
}

/* App screenshots — full phone captures, no nested mock frame */
.app-screen-shot {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 1.15rem;
}

.mobile-app-hero__image {
  display: block;
  width: 100%;
  max-width: min(100%, 36rem);
  height: auto;
  margin: clamp(2rem, 5vw, 3rem) auto 0;
  object-fit: contain;
  object-position: center bottom;
}

@media (min-width: 56.25rem) {
  .mobile-app-hero__image {
    max-width: 44rem;
    margin: 0 0 0 auto;
  }
}

/* Single-screen app carousel (no horizontal scrollbar) */
.app-screen-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "prev screen next"
    "dots dots dots"
    "hint hint hint";
  align-items: center;
  gap: 0.85rem 1rem;
  max-width: min(100%, 22rem);
  margin: 0 auto;
  padding: 0 0.5rem;
}

.app-screen-carousel__viewport {
  grid-area: screen;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.app-screen-carousel__track {
  position: relative;
}

.app-screen-carousel__slide {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s;
}

.app-screen-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  height: auto;
  overflow: visible;
}

.app-screen-carousel__slide .app-screen-shot {
  width: 100%;
  max-height: min(70vh, 520px);
  object-fit: contain;
  object-position: center top;
}

.app-screen-carousel__caption {
  margin: 0.85rem 0 0;
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--color-muted);
  text-align: center;
}

.app-screen-carousel__nav {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-primary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}

.app-screen-carousel__nav--prev {
  grid-area: prev;
}

.app-screen-carousel__nav--next {
  grid-area: next;
}

.app-screen-carousel__nav:hover {
  background: rgba(35, 136, 199, 0.08);
  border-color: rgba(35, 136, 199, 0.28);
}

.app-screen-carousel__nav:active {
  transform: scale(0.96);
}

.app-screen-carousel__dots {
  grid-area: dots;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.app-screen-carousel__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(35, 136, 199, 0.28);
  cursor: pointer;
  transition: width 0.2s, background 0.2s;
}

.app-screen-carousel__dot.is-active {
  width: 1.25rem;
  background: var(--color-primary);
}

.app-screen-carousel__hint {
  grid-area: hint;
  margin: 0;
  text-align: center;
}

/* Mobile App page UX enhancements */
.page-mobile-app {
  scroll-behavior: smooth;
}

.mobile-app-anchor,
.module-page-anchor {
  scroll-margin-top: 6.5rem;
}

.page-mobile-app .mobile-app-anchor {
  scroll-margin-top: 8.25rem;
}

.mobile-app-hero .btn-outline {
  background: var(--color-bg);
}

.page-mobile-app .module-hero .mobile-app-platforms {
  justify-content: center;
  margin: 0 0 1.5rem;
}

.page-mobile-app .module-hero .hero-visual__inner {
  width: min(100%, 52rem);
}

.page-mobile-app .module-hero .hero-visual__img {
  max-width: min(100%, 40rem);
  margin-left: auto;
  margin-right: auto;
}

.module-page-jump,
.mobile-app-jump {
  position: sticky;
  top: 4.15rem;
  z-index: 90;
  background: linear-gradient(180deg, #eef4f8 0%, #f6f8fa 100%);
  border-bottom: 1px solid rgba(15, 53, 85, 0.1);
  box-shadow: 0 6px 24px rgba(15, 53, 85, 0.06);
  padding: 0.9rem 0 1.1rem;
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
}

.module-page-jump__panel {
  background: #fff;
  border: 1px solid rgba(15, 53, 85, 0.1);
  border-radius: var(--radius-xl);
  padding: 0.8rem 0.9rem 0.9rem;
  box-shadow: 0 4px 18px rgba(15, 53, 85, 0.07);
}

.module-page-jump__label {
  margin: 0 0 0.6rem;
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-primary);
}

.module-page-jump__inner,
.mobile-app-jump__inner {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  justify-content: flex-start;
}

.module-page-jump__inner::-webkit-scrollbar,
.mobile-app-jump__inner::-webkit-scrollbar {
  display: none;
}

.module-page-jump__link,
.mobile-app-jump__link {
  flex: 0 0 auto;
  padding: 0.55rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border-strong);
  box-shadow: 0 1px 2px rgba(15, 53, 85, 0.04);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s, background 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.module-page-jump__link:hover,
.mobile-app-jump__link:hover {
  color: var(--color-primary);
  background: var(--color-primary-soft);
  border-color: rgba(35, 136, 199, 0.28);
}

.module-page-jump__link.is-active,
.mobile-app-jump__link.is-active {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(35, 136, 199, 0.32);
}

@media (min-width: 48rem) {
  .module-page-jump__inner,
  .mobile-app-jump__inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
    justify-content: stretch;
  }

  .module-page-jump__link,
  .mobile-app-jump__link {
    text-align: center;
    padding-inline: 0.65rem;
  }
}

/* HRMS module crosslinks — two-column grid on module pages (mobile) */
.module-crosslinks {
  display: none;
}

@media (max-width: 47.99rem) {
  .module-crosslinks {
    display: block;
    padding: 0.35rem 0 1rem;
    border-bottom: 1px solid rgba(15, 53, 85, 0.08);
  }

  .module-crosslinks__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 1.35rem;
    align-items: start;
  }

  .module-crosslinks__link {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-text);
    text-decoration: none;
    padding: 0.3rem 0;
    transition: color 0.15s;
  }

  .module-crosslinks__link:hover {
    color: var(--color-primary);
  }

  .module-crosslinks__link.is-active {
    color: var(--color-primary);
  }

  /* Mobile nav — HRMS Products submenu matches two-column module list */
  .nav-mobile-details > .nav-mobile-sub > .nav-mobile-details--nested:nth-of-type(2) > .nav-mobile-sub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 1.35rem;
    padding: 0.35rem 0 0.5rem;
    margin-left: 0;
    border-left: none;
  }

  .nav-mobile-details > .nav-mobile-sub > .nav-mobile-details--nested:nth-of-type(2) > .nav-mobile-sub a {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--color-text);
    padding: 0.3rem 0;
  }

  .nav-mobile-details > .nav-mobile-sub > .nav-mobile-details--nested:nth-of-type(2) > .nav-mobile-sub a:hover {
    color: var(--color-primary);
  }
}

.mobile-icon-bar__item {
  transition: transform 0.2s var(--ease-out);
}

.mobile-icon-bar__item:hover {
  transform: translateY(-2px);
}

.mobile-feature-card--tile {
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 1.25rem 1.25rem 1.35rem;
  gap: 0;
}

.mobile-feature-card--tile .mobile-feature-card__icon.icon-box--img {
  margin-bottom: 0.75rem;
}

.mobile-feature-card--tile .mobile-feature-card__title {
  margin-bottom: 0.125rem;
  line-height: 1.25;
}

.mobile-feature-card--tile > p {
  margin-top: 0;
}

.mobile-security-card {
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease-out);
}

.mobile-security-card:hover {
  border-color: rgba(22, 128, 179, 0.22);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.mobile-screen-showcase-wrap {
  position: relative;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}

.mobile-screen-showcase__item .phone-mock--app-shot .phone-mock__frame {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.mobile-screen-showcase__controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.mobile-screen-showcase__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-primary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}

.mobile-screen-showcase__btn:hover {
  background: rgba(35, 136, 199, 0.08);
  border-color: rgba(35, 136, 199, 0.25);
}

.mobile-screen-showcase__btn:active {
  transform: scale(0.96);
}

.mobile-screen-showcase__dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.mobile-screen-showcase__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(35, 136, 199, 0.25);
  cursor: pointer;
  transition: width 0.2s, background 0.2s;
}

.mobile-screen-showcase__dot.is-active {
  width: 1.35rem;
  background: var(--color-primary);
}

.page-mobile-app .site-cta .home-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.page-mobile-app .site-cta .home-cta-band__btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.page-mobile-app .site-cta .home-cta-band__btn-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.75);
}

@media (prefers-reduced-motion: reduce) {
  .page-mobile-app {
    scroll-behavior: auto;
  }

  .mobile-icon-bar__item:hover,
  .mobile-feature-card--tile:hover,
  .mobile-security-card:hover {
    transform: none;
  }
}

.dashboard-mock {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-bg);
}

.dashboard-mock__header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
}

.dashboard-mock__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #cbd5e1;
}

.dashboard-mock__title {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.dashboard-mock__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.25rem;
}

@media (max-width: 40rem) {
  .dashboard-mock__body {
    grid-template-columns: 1fr;
  }
}

.dashboard-mock__chart {
  background: var(--color-primary-soft);
  border-radius: var(--radius);
  min-height: 9rem;
  padding: 1rem;
  display: flex;
  align-items: flex-end;
}

.dashboard-mock__bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.4rem;
  width: 100%;
  height: 7.5rem;
}

.dashboard-mock__bars span {
  flex: 1;
  min-width: 0;
  background: var(--color-primary);
  border-radius: 2px 2px 0 0;
  opacity: 0.88;
}

.dashboard-mock__chart--line {
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.dashboard-mock__chart--line svg {
  width: 100%;
  height: auto;
  min-height: 6rem;
  display: block;
}

.dashboard-mock__chart--line path {
  stroke: currentColor;
}

/* Embedded content */
iframe {
  border-radius: var(--radius-xl);
}

/* ——— Mobile & small viewports ——— */
@media (max-width: 47.99rem) {
  .section {
    padding: clamp(2.25rem, 5.5vw, 3.25rem) 0;
  }

  .nav-inner {
    gap: 0.5rem;
    min-height: 3.6rem;
  }

  .logo__img {
    height: 1.7rem;
    max-width: min(9.75rem, 46vw);
  }

  .site-footer .logo__img {
    height: 2rem;
    max-width: 10.5rem;
  }

  .nav-mobile.is-open {
    max-height: min(78vh, calc(100dvh - 4rem));
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }

  .site-header .container.nav-inner {
    padding-top: max(0.2rem, env(safe-area-inset-top, 0px));
  }

  .hero-home__lead {
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
  }

  .hero-home h1.hero-home__title {
    margin-bottom: 1rem;
  }

  .hero-home__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-home__actions > .btn {
    width: 100%;
    justify-content: center;
    min-height: 2.75rem;
  }

  .hero-home__video-wrap {
    margin-top: 0.25rem;
  }

  .card {
    padding: 1.25rem 1.2rem;
  }

  .section-intro {
    margin-bottom: clamp(1.35rem, 2.8vw, 1.85rem);
  }

  .country-hero__flag {
    margin-right: 0.5rem;
  }

  .country-hero__metrics,
  .country-highlight-bar {
    grid-template-columns: 1fr;
  }

  .country-summary,
  .country-services {
    grid-template-columns: 1fr;
  }

  .country-page .country-summary {
    grid-template-columns: 1fr;
  }

  .country-page .country-summary li:nth-child(2) {
    grid-column: auto;
  }

  .country-section-nav {
    gap: 0.5rem;
  }

  .country-section-nav a {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    gap: 2rem;
  }
}

@media (max-width: 22rem) {
  .logo__img {
    height: 1.75rem;
    max-width: min(8.5rem, 44vw);
  }
}

/* Utilities */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.container--narrow {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

/* Services page */
.services-pillars {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}
.services-pillar__title {
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  margin: 0 0 0.75rem;
  line-height: var(--leading-snug);
}
.services-pillar__lead {
  margin: 0 0 1.25rem;
  line-height: var(--leading-relaxed);
}
.services-pillar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.5rem;
  align-items: center;
}

/* Contact page — locations directory */
.contact-locations-hero {
  background: var(--color-bg-soft);
  padding-top: clamp(2.5rem, 5vw, 3.75rem);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid var(--color-border);
}
.contact-locations-hero__container {
  text-align: center;
  max-width: var(--measure-prose);
  margin-left: auto;
  margin-right: auto;
}
.contact-locations-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  color: var(--color-text);
  letter-spacing: -0.02em;
}
.contact-locations-hero__deck {
  max-width: 38rem;
  margin: 0 auto;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: var(--leading-relaxed);
}
.contact-filter-meta {
  margin: 0.85rem 0 0;
  font-size: 0.8125rem;
}
.contact-region-filters {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem;
  border-radius: 0.85rem;
  background: #f2f4f7;
  border: 1px solid #e7ebf0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.contact-region-filter {
  appearance: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  padding: 0.55rem 1.05rem;
  border-radius: 0.65rem;
  border: 1px solid transparent;
  background: #fff;
  color: var(--color-muted);
  min-width: 6.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out), border-color 0.18s var(--ease-out),
    box-shadow 0.18s var(--ease-out);
}
.contact-region-filter__label {
  white-space: nowrap;
}
.contact-region-filter__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 9999px;
  background: #eef2f6;
  color: #627081;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}
.contact-region-filter:hover {
  border-color: #d9e0e8;
  color: #253041;
}
.contact-region-filter:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 134, 192, 0.18);
}
.contact-region-filter.is-active {
  background: #1a86c0;
  border-color: #1a86c0;
  color: #fff;
  box-shadow: 0 2px 5px rgba(26, 134, 192, 0.25);
}
.contact-region-filter.is-active .contact-region-filter__count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
@media (max-width: 540px) {
  .contact-region-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
  }
  .contact-region-filter {
    min-width: 0;
    width: 100%;
  }
}
.contact-locations-section {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

/* Contact: map + searchable sidebar */
.contact-map-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 0;
  height: min(520px, 70vh);
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
.location-sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #eef1f5;
  border-right: 1px solid var(--color-border);
}
.location-sidebar__brand-bar {
  height: 0.35rem;
  flex-shrink: 0;
  background: var(--color-primary);
}
.location-sidebar__search {
  flex-shrink: 0;
  padding: 0.75rem 0.85rem 1rem;
  background: #0f3555;
}
.location-sidebar__search-field {
  position: relative;
  display: flex;
  align-items: center;
}
.location-sidebar__input {
  width: 100%;
  padding: 0.65rem 2.5rem 0.65rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.45rem;
  font: inherit;
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-text);
}
.location-sidebar__input::placeholder {
  color: #8896a8;
}
.location-sidebar__input:focus {
  outline: none;
  border-color: rgba(26, 134, 192, 0.65);
  box-shadow: 0 0 0 3px rgba(26, 134, 192, 0.2);
}
.location-sidebar__search-icon {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  color: #627081;
  pointer-events: none;
}
.location-sidebar__list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.35rem 0;
  -webkit-overflow-scrolling: touch;
}
.location-sidebar-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  width: 100%;
  text-align: left;
  padding: 0.85rem 0.9rem;
  margin: 0;
  border: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition: background 0.15s var(--ease-out);
}
.location-sidebar-item:last-child {
  border-bottom: none;
}
.location-sidebar-item:hover {
  background: rgba(255, 255, 255, 0.65);
}
.location-sidebar-item:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--color-primary);
  z-index: 1;
}
.location-sidebar-item.is-active {
  background: #e2e8f0;
}
.location-sidebar-item[hidden] {
  display: none !important;
}
.location-sidebar-item__flag {
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1.1;
}
.location-sidebar-item__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.location-sidebar-item__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: var(--leading-snug);
}
.location-sidebar-item__address {
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.45;
}
.location-sidebar__empty {
  padding: 0.75rem 0.9rem 1rem;
  margin: 0;
  flex-shrink: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  line-height: 1.45;
}
.location-sidebar__empty a {
  font-weight: 600;
}
.contact-locations-map-wrap {
  height: 100%;
  position: relative;
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.locations-map-embed,
.locations-map-canvas {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  display: block;
  flex: 1;
  z-index: 0;
}

.locations-map-canvas {
  background: #e8eef3;
}

.contact-locations-map-wrap .leaflet-container {
  font-family: var(--font-body);
}

.locations-map-pin.is-active {
  filter: drop-shadow(0 2px 6px rgba(35, 136, 199, 0.45));
}

/* Leaflet office / coverage map popups */
.leaflet-popup.location-map-popup-shell {
  margin-bottom: 12px;
}
.leaflet-popup.location-map-popup-shell .leaflet-popup-content-wrapper {
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
}
.leaflet-popup.location-map-popup-shell .leaflet-popup-content {
  margin: 0;
  width: 232px !important;
  line-height: 1.35;
}
.leaflet-popup.location-map-popup-shell .leaflet-popup-tip {
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}
.leaflet-popup.location-map-popup-shell .leaflet-popup-close-button {
  top: 6px;
  right: 8px;
  width: 24px;
  height: 24px;
  padding: 0;
  font-size: 1.15rem;
  line-height: 1;
  color: #6b7280;
  z-index: 2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}
.leaflet-popup.location-map-popup-shell .leaflet-popup-close-button:hover {
  color: #111827;
  background: #fff;
}
.location-map-popup__flag-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.7rem;
  line-height: 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.location-map-popup__flag {
  display: block;
  width: 5rem;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 0.3rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  background: #fff;
}
.location-map-popup__title {
  margin: 0;
  padding: 0.45rem 0.7rem 0.15rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
}
.location-map-popup__row {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0;
  padding: 0.15rem 0.7rem;
}
.location-map-popup__row:last-child {
  padding-bottom: 0.5rem;
}
.location-map-popup__icon {
  flex-shrink: 0;
  margin-top: 0.05rem;
  color: #9ca3af;
  display: inline-flex;
}
.location-map-popup__icon svg {
  width: 14px;
  height: 14px;
}
.location-map-popup__text {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.35;
}
.location-map-popup__text br {
  line-height: 1.25;
}
.location-map-popup__email,
.location-map-popup__phone {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-primary);
  text-decoration: none;
  word-break: break-word;
}
.location-map-popup__email:hover,
.location-map-popup__phone:hover {
  text-decoration: underline;
}
.location-map-popup__guide {
  margin: 0;
  padding: 0.1rem 0.7rem 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.35;
}
.location-map-popup__guide a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}
.location-map-popup__guide a:hover {
  text-decoration: underline;
}

.location-sidebar-item__link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.location-sidebar-item__link:hover {
  text-decoration: underline;
}

.payroll-coverage-search-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.payroll-coverage-search {
  width: 100%;
  max-width: 32rem;
}
.payroll-coverage-search__field {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.35rem;
  border-radius: 0.85rem;
  background: #f2f4f7;
  border: 1px solid #e7ebf0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.payroll-coverage-search__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #627081;
  pointer-events: none;
  display: flex;
}
.payroll-coverage-search__input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.75rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  background: #fff;
  color: var(--color-text);
  transition: border-color 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
}
.payroll-coverage-search__input::placeholder {
  color: #8896a8;
  font-weight: 400;
}
.payroll-coverage-search__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 134, 192, 0.18);
}
.payroll-page__section .payroll-coverage-search-wrap {
  margin-bottom: 0.75rem;
}

.payroll-page__section .contact-filter-meta {
  margin-bottom: 1rem;
}

/* Payroll coverage — compact layout, soft country selection */
.payroll-coverage-section.section {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.payroll-coverage-section__intro {
  margin-bottom: clamp(0.75rem, 2vw, 1.15rem) !important;
}
.payroll-coverage-section__intro .section-title.mb-2 {
  margin-bottom: 0.45rem;
}
.payroll-coverage-section .contact-region-filters-wrap {
  margin-bottom: 0.65rem;
}
.payroll-coverage-section__count {
  margin-bottom: 0.65rem !important;
}
.payroll-coverage-section .contact-map-layout {
  height: min(460px, 62vh);
}
.payroll-coverage-section .location-sidebar__search {
  padding: 0.6rem 0.75rem 0.7rem;
}
.payroll-coverage-section .location-sidebar__list {
  scroll-behavior: smooth;
  padding: 0.2rem 0;
}
.payroll-coverage-section .location-sidebar-item {
  padding: 0.65rem 0.8rem;
  gap: 0.6rem;
  transition:
    background 0.55s cubic-bezier(0.45, 0.05, 0.15, 1),
    box-shadow 0.55s cubic-bezier(0.45, 0.05, 0.15, 1);
}
.payroll-coverage-section .location-sidebar-item__body {
  gap: 0.12rem;
}
.payroll-coverage-section .location-sidebar-item.is-active {
  background: #e2e8f0;
  box-shadow: inset 3px 0 0 var(--color-primary);
}
.payroll-coverage-section .locations-map-pin.is-active {
  transition: filter 0.55s ease;
}
.payroll-coverage-section__hint {
  margin-top: clamp(0.65rem, 1.5vw, 1rem) !important;
}
@media (prefers-reduced-motion: reduce) {
  .payroll-coverage-section .location-sidebar-item {
    transition: none;
  }
  .payroll-coverage-section .location-sidebar__list {
    scroll-behavior: auto;
  }
}
.payroll-map--contact {
  max-width: none;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.payroll-map--contact .payroll-map__stage {
  flex: 1;
  min-height: 0;
}
@media (max-width: 900px) {
  .contact-map-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .location-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    max-height: 320px;
  }
  .contact-locations-map-wrap {
    min-height: 280px;
  }
  .payroll-map--contact {
    min-height: 340px;
  }
  .payroll-map--contact .payroll-map__stage {
    min-height: 14rem;
  }
}

.contact-locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .contact-locations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }
}
@media (min-width: 1024px) {
  .contact-locations-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
.location-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.35rem 1.25rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--color-border);
  border-radius: 0.95rem;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.location-card.is-filtered-out {
  opacity: 0;
  transform: translateY(6px) scale(0.985);
  filter: grayscale(0.2);
  pointer-events: none;
}
.location-card[hidden] {
  display: none !important;
}
.location-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26, 134, 192, 0.22);
}
.location-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  min-height: 2rem;
}
.location-card__flag {
  font-size: 1.6rem;
  line-height: 1;
}
.location-card__badge {
  flex-shrink: 0;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 9999px;
  line-height: 1.2;
}
.location-card__badge--hq {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}
.location-card__badge--rhq {
  background: rgba(26, 134, 192, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(26, 134, 192, 0.2);
}
.location-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  line-height: var(--leading-snug);
  color: var(--color-text);
}
.location-card__address {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.55;
  margin: 0 0 0.75rem;
}
.location-card__phone {
  margin: auto 0 0;
  padding-top: 0.35rem;
}
.location-card__phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  padding: 0.2rem 0.1rem 0.2rem 0;
  border-radius: 0.35rem;
}
.location-card__phone-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.location-card__phone-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 134, 192, 0.18);
}
.location-card__phone-icon {
  flex-shrink: 0;
  opacity: 0.9;
}
.section--contact-form .section-intro {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}
@media (max-width: 768px) {
  .contact-locations-hero {
    padding-top: 2rem;
  }
  .location-card {
    padding: 1.15rem 1.1rem 1.05rem;
  }
  .location-card__title {
    font-size: 1rem;
  }
  .location-card__address {
    font-size: 0.84rem;
  }
}

/* Insights */
.insights-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  color: var(--color-muted-light);
  margin-bottom: 0.75rem;
}
.insights-meta time {
  color: var(--color-muted);
}
.insights-meta__read {
  margin-left: 0.25rem;
}
.insights-meta .badge {
  margin-bottom: 0;
}
.badge.badge--muted {
  background: var(--color-bg-soft);
  color: var(--color-muted);
  border-color: var(--color-border);
  font-weight: 600;
}
.text-link {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.text-link:hover {
  color: var(--color-primary-hover);
}
.font-semibold {
  font-weight: 600;
}
.blog-post-list .blog-post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-post-card h3 a {
  color: inherit;
  text-decoration: none;
}
.blog-post-card h3 a:hover {
  color: var(--color-primary);
}
.insights-featured__title a {
  color: inherit;
  text-decoration: none;
}
.insights-featured__title a:hover {
  color: var(--color-primary);
}

/* Blog page layout */
.blog-page-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(0.5rem, 2vw, 1.25rem);
}

.blog-page-hero--compact {
  padding-top: clamp(1rem, 2.5vw, 1.5rem);
  padding-bottom: clamp(0.35rem, 1vw, 0.65rem);
}

.blog-page-hero--compact .blog-page-hero__title {
  margin: 0;
}
.blog-page-hero::before {
  content: none;
}
.blog-page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--color-border);
  pointer-events: none;
}
.blog-page-hero .container {
  position: relative;
  z-index: 1;
}
.blog-page-hero .blog-page-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(0.5rem, 2vw, 1rem);
}
.blog-page-hero__copy {
  max-width: min(52rem, 100%);
}
.blog-page-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: clamp(1rem, 2.5vw, 1.35rem);
  width: 100%;
  max-width: min(var(--layout-readable), 100%);
}
.blog-stat {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  padding: 1.15rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.blog-stat:hover {
  border-color: rgba(35, 136, 199, 0.2);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}
.blog-stat__value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1.2;
}
.blog-stat__label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-top: 0.35rem;
  line-height: 1.35;
}
.blog-stat__link {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary);
  text-decoration: none;
}
.blog-stat__link:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

/* Blog listing — hero copy, quick nav, footer CTA */
.blog-page-hero__crumb a {
  color: var(--color-muted);
  text-decoration: none;
  font-weight: 500;
}
.blog-page-hero__crumb a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}
.blog-page-hero__title {
  margin: 0 0 0.65rem;
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.blog-page-hero__lead {
  margin: 0 0 0.85rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 650;
  color: var(--color-text);
  line-height: 1.35;
}
.blog-page-hero__deck {
  margin: 0 auto;
  max-width: 40rem;
  font-size: var(--text-deck);
  line-height: var(--leading-relaxed);
}
.blog-page-hero__actions {
  margin-top: 1.75rem;
}

.blog-page #articles {
  scroll-margin-top: var(--blog-sticky-below-nav);
}

@media (max-width: 639px) {
  :root {
    --blog-sticky-header: 4.35rem;
  }
}

.blog-section {
  padding-top: clamp(2.25rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  position: relative;
}
.blog-section .section-intro {
  margin-bottom: clamp(1.35rem, 3vw, 2rem);
  padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.25rem, 3vw, 2rem);
  text-align: center;
  background: var(--color-bg);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.blog-section .section-intro .section-label {
  color: var(--color-primary);
}
.blog-section .section-intro .section-title {
  margin-bottom: 0.5rem;
}
.blog-section .section-intro .section-deck {
  margin-bottom: 0;
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}
.blog-section .section-intro.blog-section__intro--no-deck {
  margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
  padding: clamp(1.1rem, 2.5vw, 1.45rem) clamp(1.25rem, 3vw, 2rem);
}
.blog-section .section-intro.blog-section__intro--no-deck .section-title {
  margin-bottom: 0;
}
/* Single blog post (generated under blog/*.html) */
/* Tighter than default .section — avoids huge gap above title and before body */
.blog-article__header.section {
  padding-top: clamp(1.35rem, 3vw, 2rem);
  padding-bottom: clamp(1.25rem, 3vw, 1.85rem);
  border-bottom: 1px solid var(--color-border);
}

.blog-article-page-hero.blog-article__header.section {
  position: relative;
  overflow: hidden;
  border-bottom: none;
  padding-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
}
.blog-article-page-hero.blog-article__header.section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--color-border);
  pointer-events: none;
}
.blog-article-page-hero.blog-article__header.section::before {
  content: none;
}
.blog-article-page-hero .container {
  position: relative;
  z-index: 1;
}
.blog-article__hero-actions {
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
  justify-content: flex-start;
}
.blog-article-page-hero .blog-article__title {
  font-size: clamp(1.65rem, 3.8vw, 2.35rem);
  margin-bottom: 0.65rem;
}
.blog-article-page-hero .blog-article__meta {
  align-items: center;
  padding-top: 0.35rem;
}

.blog-article__content-section.bg-soft {
  background: var(--color-bg-soft);
}

.blog-article__body-card {
  width: 100%;
  max-width: var(--blog-article-column);
  padding: clamp(1.35rem, 3vw, 1.85rem);
  background: var(--color-bg);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.blog-article__nav.blog-article__nav-card {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding: clamp(1.15rem, 2.5vw, 1.5rem) clamp(1.25rem, 3vw, 1.75rem);
  background: var(--color-bg);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  justify-content: center;
  border-top: none;
}
.blog-article__nav.blog-article__nav-card .blog-article__back--text {
  font-size: 1rem;
}

.blog-article .container {
  max-width: var(--blog-max);
}
.blog-article__breadcrumb a {
  color: var(--color-muted);
  text-decoration: none;
}
.blog-article__breadcrumb a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}
.blog-article__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.15rem;
}
.blog-article__breadcrumb-current {
  color: var(--color-text);
  font-weight: 600;
}
.blog-article__header-inner.max-w-prose {
  max-width: var(--blog-article-column);
  margin-left: auto;
  margin-right: auto;
}
.blog-article__title {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 0.85rem;
  color: var(--color-text);
  max-width: 100%;
}
.blog-article__meta {
  font-size: 0.9375rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  padding-top: 0.5rem;
}
.blog-article__content-section {
  padding-top: clamp(1rem, 2.5vw, 1.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  overflow-x: clip;
}
.blog-article__container {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.blog-article__container > .blog-article__source-note,
.blog-article__container > .blog-article__nav {
  width: 100%;
  max-width: var(--blog-article-column);
}
/* Featured image from blog-posts.json — first block under title, above body */
.blog-article__container > .blog-article__featured {
  width: 100%;
  max-width: var(--blog-article-column);
  margin: 0 0 clamp(1rem, 2.5vw, 1.5rem);
  padding: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-md);
  background: var(--color-bg-soft);
}
.blog-article__featured-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.blog-article__figure {
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background: var(--color-bg-soft);
}
.blog-article__image {
  display: block;
  width: 100%;
  height: auto;
}
.blog-article__body {
  max-width: 100%;
}
.prose-readable {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text);
}
.blog-article__lead {
  margin: 0 0 1.25rem;
  color: var(--color-muted);
}
.blog-article__cta-wrap {
  margin: 0 0 1.25rem;
}
.blog-article__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}
@media (max-width: 520px) {
  .blog-article__nav {
    flex-direction: column;
    align-items: stretch;
  }
  .blog-article__nav .btn {
    width: 100%;
    justify-content: center;
  }
}
.blog-article__back {
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}
.blog-article__back--text {
  background: none;
  border: none;
  padding: 0;
  font-weight: 600;
}
.blog-article__back:hover {
  text-decoration: underline;
}
.blog-article__source-note {
  margin: 1.5rem 0 0;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg-soft);
  line-height: 1.55;
}
.blog-article__source-note a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}
.blog-article__source-note a:hover {
  text-decoration: underline;
}

/* Imported WordPress / Elementor body — reset nested layout so it reads as one column */
.blog-article__wp.blog-wp-content {
  width: 100%;
  max-width: var(--blog-article-column);
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.0625rem, 1.35vw, 1.125rem);
  line-height: 1.72;
  font-weight: 400;
  color: var(--color-text);
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding: clamp(1.1rem, 2.5vw, 1.65rem) clamp(1.15rem, 3vw, 1.75rem)
    clamp(1.5rem, 3vw, 2.25rem);
  background: var(--color-bg);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}
.blog-wp-content .elementor {
  width: 100% !important;
  max-width: 100% !important;
}
.blog-wp-content .e-con,
.blog-wp-content .e-con-inner,
.blog-wp-content .elementor-element,
.blog-wp-content .elementor-widget-wrap {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.blog-wp-content .e-con-inner > .elementor-element {
  margin-bottom: 0.5rem;
}
.blog-wp-content .elementor-widget-container {
  padding: 0 !important;
}
.blog-wp-content .elementor-widget-spacer .elementor-spacer-inner {
  height: 1rem !important;
  max-height: 1.5rem !important;
}

.blog-wp-content .ue-table,
.blog-wp-content .ue-table__container,
.blog-wp-content .ue-table__templates-container {
  min-height: 0 !important;
  height: auto !important;
}

.blog-wp-content .ue-table:has(.ue-table__container:empty) {
  display: none !important;
}

.blog-wp-content .e-con,
.blog-wp-content .e-con-inner,
.blog-wp-content .elementor-section {
  min-height: 0 !important;
  height: auto !important;
}

.blog-wp-content img[data-lazy-src][src^="data:image/svg"] {
  width: 100%;
  max-width: 40rem;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.blog-wp-content .elementor-heading-title {
  font-family: var(--font-heading);
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 1.35rem 0 0.65rem;
  line-height: 1.28;
}
.blog-wp-content .elementor-element:first-child .elementor-heading-title,
.blog-wp-content .elementor-widget-text-editor:first-of-type {
  margin-top: 0;
}
.blog-wp-content h2.elementor-heading-title {
  font-size: clamp(1.28rem, 2.8vw, 1.55rem);
}
.blog-wp-content h3.elementor-heading-title {
  font-size: clamp(1.1rem, 2.2vw, 1.28rem);
}
.blog-wp-content p {
  margin: 0 0 1rem;
  text-align: start !important;
}
.blog-wp-content ul,
.blog-wp-content ol {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}
.blog-wp-content li {
  margin-bottom: 0.35rem;
}
.blog-wp-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(35, 136, 199, 0.38);
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.blog-wp-content a:hover {
  color: var(--color-primary-hover);
  text-decoration-color: var(--color-primary-hover);
}
.blog-wp-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}
.blog-wp-content figure {
  margin: 1rem 0;
}
.blog-wp-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.blog-wp-content blockquote {
  margin: 1.25rem 0;
  padding: 0.75rem 0 0.75rem 1rem;
  border-left: 4px solid var(--color-primary);
  background: var(--color-bg-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.blog-wp-content .elementor-widget-social-icons {
  margin: 0 0 1rem;
  padding: 0 0 0.95rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}
/* Elementor bundles this in their CSS; without it, a11y labels show as visible text and overlap icons */
.blog-wp-content .elementor-screen-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.blog-wp-content .elementor-social-icons-wrapper {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center !important;
  gap: 0.5rem 0.65rem;
  justify-content: flex-start;
}
.blog-wp-content .elementor-social-icons-wrapper .elementor-grid-item {
  display: flex !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  min-width: 0;
}
.blog-wp-content .elementor-social-icons-wrapper::before {
  content: "Share";
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-right: 0.15rem;
}
.blog-wp-content .elementor-social-icon {
  position: relative !important;
  flex-shrink: 0 !important;
  width: 2.625rem !important;
  height: 2.625rem !important;
  min-width: 2.625rem !important;
  min-height: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease,
    box-shadow 0.18s ease, transform 0.18s ease;
}
.blog-wp-content .elementor-social-icon:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.blog-wp-content .elementor-social-icon svg {
  width: 1.2rem !important;
  height: 1.2rem !important;
  font-size: 1.2rem;
  display: block;
  fill: currentColor;
}
.blog-wp-content .elementor-social-icon svg path {
  fill: currentColor;
}
/* LinkedIn */
.blog-wp-content .elementor-social-icon-linkedin {
  background: rgba(10, 102, 194, 0.1) !important;
  color: #0a66c2 !important;
  border-color: rgba(10, 102, 194, 0.2) !important;
}
.blog-wp-content .elementor-social-icon-linkedin:hover {
  background: #0a66c2 !important;
  color: #fff !important;
  border-color: #0a66c2 !important;
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.35);
  transform: translateY(-2px);
}
/* X / Twitter (legacy class name from Elementor) */
.blog-wp-content .elementor-social-icon-twitter {
  background: rgba(15, 23, 42, 0.06) !important;
  color: #0f1419 !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
}
.blog-wp-content .elementor-social-icon-twitter:hover {
  background: #0f1419 !important;
  color: #fff !important;
  border-color: #0f1419 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
  transform: translateY(-2px);
}
/* Facebook */
.blog-wp-content .elementor-social-icon-facebook {
  background: rgba(24, 119, 242, 0.1) !important;
  color: #1877f2 !important;
  border-color: rgba(24, 119, 242, 0.22) !important;
}
.blog-wp-content .elementor-social-icon-facebook:hover {
  background: #1877f2 !important;
  color: #fff !important;
  border-color: #1877f2 !important;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.38);
  transform: translateY(-2px);
}
/* Other networks if present in imports */
.blog-wp-content .elementor-social-icon-youtube {
  background: rgba(255, 0, 0, 0.08) !important;
  color: #ff0000 !important;
  border-color: rgba(255, 0, 0, 0.2) !important;
}
.blog-wp-content .elementor-social-icon-youtube:hover {
  background: #ff0000 !important;
  color: #fff !important;
  border-color: #ff0000 !important;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.35);
  transform: translateY(-2px);
}
.blog-wp-content .elementor-social-icon-instagram {
  background: linear-gradient(
      205deg,
      rgba(225, 48, 108, 0.12) 0%,
      rgba(253, 29, 29, 0.1) 45%,
      rgba(245, 96, 64, 0.1) 100%
    )
    !important;
  color: #e4405f !important;
  border-color: rgba(228, 64, 95, 0.25) !important;
}
.blog-wp-content .elementor-social-icon-instagram:hover {
  background: linear-gradient(
      205deg,
      #f09433 0%,
      #e6683c 25%,
      #dc2743 50%,
      #cc2366 75%,
      #bc1888 100%
    )
    !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(188, 24, 136, 0.35);
  transform: translateY(-2px);
}
.blog-wp-content iframe,
.blog-wp-content video {
  max-width: 100%;
}
.blog-wp-content .elementor-widget-image img {
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.blog-container {
  max-width: var(--blog-max);
}

/* Blog listing — main feed (left) + sidebar (right on desktop) */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  align-items: start;
  width: 100%;
}

@media (min-width: 1024px) {
  .blog-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: clamp(1.75rem, 3vw, 2.75rem);
  }

  .blog-layout__main {
    grid-column: 1;
    grid-row: 1;
  }

  .blog-sidebar {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: var(--blog-sticky-below-nav);
    z-index: 35;
    align-self: start;
    max-height: calc(100vh - var(--blog-sticky-below-nav) - 1.25rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 0.25rem;
  }
}

@media (max-width: 1023px) {
  .blog-layout__main {
    order: 1;
  }

  .blog-sidebar {
    order: 2;
  }
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  min-width: 0;
}

.blog-sidebar__block {
  background: var(--color-bg);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow-sm);
}

.blog-sidebar__heading {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
  color: var(--color-text);
}

.blog-sidebar__lede {
  font-size: 0.875rem;
  margin: 0 0 0.8rem;
  line-height: 1.45;
}

.blog-sidebar__form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.blog-sidebar__submit {
  width: 100%;
}

.blog-sidebar__note {
  margin-top: 0.55rem;
  font-size: 0.75rem;
  line-height: 1.4;
}

.blog-sidebar__dropdown {
  width: 100%;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
}

.blog-sidebar__block--toc .blog-sidebar__heading {
  display: block;
  margin-bottom: 0.65rem;
}

/* Blog article — collapsible table of contents */
.blog-toc-dropdown {
  margin: 0;
}

.blog-toc-dropdown__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  padding: 0.15rem 0;
  user-select: none;
}

.blog-toc-dropdown__summary::-webkit-details-marker {
  display: none;
}

.blog-toc-dropdown__summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg);
  margin-top: -0.2rem;
  transition: transform 0.2s var(--ease-out);
}

.blog-toc-dropdown[open] > .blog-toc-dropdown__summary::after {
  transform: rotate(-135deg);
  margin-top: 0.15rem;
}

.blog-toc-dropdown[open] > .blog-toc-dropdown__panel {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}

.blog-article__sidebar .blog-toc-dropdown--sidebar {
  width: 100%;
}

.blog-toc-dropdown--mobile.card {
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
}

/* Blog article — newsletter before Contents (main on mobile, sidebar on desktop) */
.blog-article-page--aihr .blog-article__newsletter--main {
  display: block;
  margin-bottom: 1.25rem;
}

.blog-article-page--aihr .blog-article__newsletter--sidebar {
  display: none;
  margin-bottom: 1rem;
}

.blog-article-page--aihr .blog-article__sidebar.card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.blog-article-page--aihr .blog-article__sidebar .blog-sidebar__block--newsletter,
.blog-article-page--aihr .blog-article__sidebar .blog-toc-dropdown--sidebar {
  background: var(--color-bg);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: clamp(1rem, 2.5vw, 1.35rem);
}

@media (min-width: 1100px) {
  .blog-article-page--aihr .blog-article__newsletter--main {
    display: none;
  }

  .blog-article-page--aihr .blog-article__newsletter--sidebar {
    display: block;
  }
}

.blog-sidebar__toc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.blog-sidebar__toc a {
  display: block;
  padding: 0.45rem 0;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: var(--radius);
  margin: 0 -0.25rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.blog-sidebar__toc a:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary-hover);
}

.blog-sidebar__recommended {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.blog-sidebar__rec {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  text-decoration: none;
  color: var(--color-text);
  transition: color 0.15s ease;
}

.blog-sidebar__rec:hover {
  color: var(--color-primary);
}

.blog-sidebar__rec:hover .blog-sidebar__rec-img {
  border-color: rgba(35, 136, 199, 0.35);
}

.blog-sidebar__rec-img {
  width: 88px;
  height: 55px;
  object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  border: 1px solid var(--color-border);
  transition: border-color 0.15s ease;
}

.blog-sidebar__rec-title {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
}

.blog-layout__main {
  min-width: 0;
  width: 100%;
}
.blog-layout__main .insights-featured {
  max-width: none;
}
.blog-layout__main .insights-articles {
  max-width: none;
}
/* Not sticky: a sticky toolbar sits in the same column as the feed and cards scroll underneath it */
.blog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: clamp(1.5rem, 3.5vw, 2rem);
  padding: clamp(1.1rem, 2.5vw, 1.35rem) clamp(1.15rem, 2.5vw, 1.5rem);
  background: var(--color-bg);
  border: 1px solid rgba(35, 136, 199, 0.16);
  border-radius: var(--radius-xl);
  box-shadow: 0 6px 32px rgba(15, 23, 42, 0.07);
  position: relative;
  z-index: 1;
}
@media (min-width: 640px) {
  .blog-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .blog-toolbar__search-wrap {
    flex: 1;
    min-width: 0;
    max-width: none;
  }
}
.blog-toolbar__input {
  width: 100%;
  margin: 0;
}
.blog-toolbar__meta {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-muted);
  white-space: nowrap;
}

/* Pagination (blog listing pages) */
.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin: clamp(1.25rem, 3vw, 1.75rem) 0 0;
  padding: 1rem 1.15rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.blog-pagination__status {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-text);
  order: 0;
}

.blog-pagination__link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(35, 136, 199, 0.25);
  background: #fff;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.blog-pagination__link:hover:not(.is-disabled) {
  background: var(--color-primary-soft);
  border-color: var(--color-primary);
  color: var(--color-primary-hover);
}

.blog-pagination__link.is-disabled {
  color: var(--color-muted-light);
  border-color: var(--color-border);
  background: var(--color-bg-soft);
  cursor: default;
}

@media (min-width: 520px) {
  .blog-pagination {
    justify-content: space-between;
  }

  .blog-pagination__prev {
    order: 1;
  }

  .blog-pagination__status {
    order: 2;
  }

  .blog-pagination__next {
    order: 3;
  }
}

/* Blog feed — stacked cards (image | content) */
.blog-feed {
  display: flex;
  flex-direction: column;
  gap: var(--blog-card-gap);
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
.blog-feed__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: clamp(1.35rem, 2.8vw, 1.85rem) clamp(1.15rem, 2.5vw, 1.65rem);
  align-items: start;
  background: var(--color-bg);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.blog-feed__item--featured {
  position: relative;
  padding-left: calc(clamp(1.15rem, 2.5vw, 1.65rem) + 10px);
  background: var(--color-bg);
  border-color: rgba(35, 136, 199, 0.28);
  box-shadow: 0 8px 36px rgba(35, 136, 199, 0.1);
}
.blog-feed__item--featured::before {
  content: "";
  position: absolute;
  left: 0.65rem;
  top: 1rem;
  bottom: 1rem;
  width: 4px;
  border-radius: 4px;
  background: var(--color-primary);
}
@media (min-width: 768px) {
  .blog-feed__item {
    grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
    gap: clamp(1.35rem, 3vw, 2.25rem);
    align-items: start;
    min-width: 0;
  }
}
@media (min-width: 1200px) {
  .blog-feed__item {
    grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }
}
.blog-feed__item:hover {
  border-color: rgba(35, 136, 199, 0.22);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.blog-feed__item--featured:hover {
  box-shadow: 0 12px 40px rgba(35, 136, 199, 0.14);
}
/* Natural photo proportions: column width + intrinsic aspect ratio (no forced 16:9 box) */
.blog-feed__thumb {
  position: relative;
  display: block;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(145deg, var(--color-bg-soft) 0%, #e8eef3 100%);
  border: 1px solid var(--color-border-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  box-sizing: border-box;
  padding: clamp(0.25rem, 1vw, 0.45rem);
  flex-shrink: 0;
  align-self: start;
  line-height: 0;
}
.blog-feed__img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out, ease);
}
.blog-feed__item:hover .blog-feed__img {
  opacity: 0.97;
  transform: scale(1.008);
}
.blog-feed__thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 10rem;
  aspect-ratio: 16 / 9;
  background: var(--color-primary-soft);
  text-decoration: none;
}
.blog-feed__thumb-placeholder {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  opacity: 0.85;
}
.blog-feed__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.blog-feed__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.08rem, 2.4vw, 1.4rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.22;
  color: var(--color-text);
}
.blog-feed__title a {
  color: inherit;
  text-decoration: none;
}
.blog-feed__title a:hover {
  color: var(--color-primary);
}
.blog-feed__meta {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}
.blog-feed__meta-cat {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  line-height: 1.3;
}
.blog-feed__dot {
  margin: 0 0.35rem;
  opacity: 0.65;
}
.blog-feed__meta-comment {
  color: var(--color-muted);
  text-decoration: none;
  font-weight: 500;
}
.blog-feed__meta-comment:hover {
  color: var(--color-primary);
  text-decoration: underline;
}
.blog-feed__excerpt {
  margin: 0.35rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.68;
  color: var(--color-muted);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-feed__details {
  margin-top: 0.5rem;
  align-self: flex-start;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(35, 136, 199, 0.35);
  background: rgba(35, 136, 199, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.blog-feed__details:hover {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.blog-feed__details-icon {
  font-size: 0.85em;
  opacity: 0.85;
}
.blog-layout__main .blog-post-card.blog-feed__item {
  /* Inherit stacked-card rules from .blog-feed__item; only neutralize generic .card-hover */
  transform: none;
}
.blog-layout__main .blog-post-card.blog-feed__item:hover {
  transform: translateY(-2px);
}

.insights-event-card__title {
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}
.insights-events {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}
.insights-featured {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.insights-featured__inner {
  padding: 0.25rem 0.15rem 0;
}
.insights-featured__title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin: 0 0 0.65rem;
  line-height: var(--leading-snug);
}
.insights-featured__deck {
  margin: 0;
  line-height: var(--leading-relaxed);
}
.insights-articles {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}
.insights-articles h3 {
  font-size: 1.0625rem;
}
.insights-subscribe {
  position: relative;
  padding-top: clamp(3rem, 6vw, 4.25rem);
  padding-bottom: clamp(1.75rem, 4vw, 2.5rem);
  overflow: hidden;
  background: linear-gradient(155deg, #0f1419 0%, #171e26 48%, #1e252d 100%);
}

.insights-subscribe::before {
  content: none;
}

.insights-subscribe .container {
  position: relative;
  z-index: 1;
}

.insights-subscribe__panel {
  position: relative;
  display: grid;
  gap: 1.35rem;
  align-items: center;
  max-width: min(56rem, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--color-bg);
  border: 1px solid rgba(35, 136, 199, 0.2);
  border-radius: var(--radius-2xl);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  overflow: hidden;
}

.insights-subscribe__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary);
}

.insights-subscribe__panel::after {
  content: "No spam · Unsubscribe anytime";
  grid-column: 1 / -1;
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: var(--color-muted);
  text-align: center;
  letter-spacing: 0.01em;
}

@media (min-width: 768px) {
  .insights-subscribe__panel {
    grid-template-columns: 1fr minmax(14rem, 22rem);
    gap: 1.75rem 2.25rem;
    align-items: center;
  }

  .insights-subscribe__panel::after {
    text-align: left;
    margin-top: -0.35rem;
  }
}

.insights-subscribe__copy {
  position: relative;
  padding-left: 3.5rem;
}

.insights-subscribe__copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  border: 1px solid rgba(35, 136, 199, 0.22);
  background-color: var(--color-primary-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%232388c7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.2rem;
  box-shadow: 0 4px 14px rgba(35, 136, 199, 0.12);
}

.insights-subscribe.gradient-dark .insights-subscribe__panel .insights-subscribe__title {
  color: var(--color-text);
}

.insights-subscribe__title {
  font-size: clamp(1.3rem, 2.4vw, 1.55rem);
  margin: 0 0 0.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.insights-subscribe.gradient-dark .insights-subscribe__panel .text-muted {
  color: var(--color-muted);
}

.insights-subscribe__title::before {
  content: "Stay informed";
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.insights-subscribe__copy p.text-muted {
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 36rem;
}

@media (max-width: 479px) {
  .insights-subscribe__copy {
    padding-left: 0;
    padding-top: 3rem;
  }

  .insights-subscribe__copy::before {
    left: 0;
    top: 0;
  }
}

.insights-subscribe__form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.insights-subscribe__form .form-input {
  border-radius: 999px;
  padding: 0.8rem 1.15rem;
  border-color: rgba(35, 136, 199, 0.28);
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 53, 85, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.insights-subscribe__form .form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(35, 136, 199, 0.14);
}

.insights-subscribe__form .btn-primary {
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(35, 136, 199, 0.28);
}

@media (min-width: 480px) {
  .insights-subscribe__form {
    flex-direction: row;
    align-items: stretch;
  }

  .insights-subscribe__form .form-input {
    flex: 1 1 auto;
    min-width: 0;
  }

  .insights-subscribe__form .btn {
    flex-shrink: 0;
  }
}

.insights-subscribe__note {
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.72);
}

/* Newsletter sits above sitewide CTA — keep CTA block unchanged */
.insights-subscribe + .site-cta.gradient-dark {
  padding-top: clamp(2.25rem, 4.5vw, 3.25rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Shared placeholders for pending design assets/content updates */
.placeholder-image {
  width: 100%;
  min-height: clamp(180px, 32vw, 320px);
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(35, 136, 199, 0.5);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.placeholder-image--small {
  min-height: clamp(130px, 24vw, 220px);
}

.icon-placeholder-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.85rem;
}

.icon-placeholder {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px dashed rgba(35, 136, 199, 0.45);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  background: #fff;
  color: var(--color-primary);
  font-size: 0.8125rem;
  font-weight: 600;
}

.icon-placeholder__dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--color-primary);
  opacity: 0.8;
}

.doc-pending-note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
  text-align: center;
}

/* ========== Site plan: tokens, layouts, blog, payroll, sectors ========== */

/* About timeline: flat year chips (no drop shadow) */
.about-page .history-rail__chip:not(.is-active) {
  box-shadow: 0 0 0 3px var(--color-bg-soft);
}
.about-page .history-rail__chip.is-far,
.about-page .history-rail__chip.is-far:hover {
  box-shadow: 0 0 0 3px var(--color-bg-soft);
}
.about-page .history-rail__chip.is-near,
.about-page .history-rail__chip.is-near:hover {
  box-shadow: 0 0 0 4px var(--color-bg-soft);
}

/* Home hero: optional stacked / centered layout */
@media (min-width: 900px) {
  .hero-home.hero-home--stacked.grid-2 {
    grid-template-columns: 1fr;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    gap: clamp(1.5rem, 4vw, 2.25rem);
  }
  .hero-home.hero-home--stacked .hero-home__copy {
    text-align: center;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-home.hero-home--stacked .hero-home__title {
    max-width: none;
  }
  .hero-home.hero-home--stacked .hero-home__lead {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-home.hero-home--stacked .hero-home__actions {
    justify-content: center;
  }
}

.home-learnmore-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-muted);
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--btn-radius);
  cursor: default;
  user-select: none;
}

.home-page .testimonial-card__quote-icon {
  display: none;
}

.home-page .testimonial-card__logo-zone {
  min-height: 9rem;
  padding: 0.75rem 1.15rem;
}
.home-page .testimonial-card__logo {
  max-height: 8.5rem;
  max-width: min(100%, 24rem);
}

.logo-marquee__cell {
  padding: 1rem 1.15rem;
  min-height: 7.75rem;
  width: 15.5rem;
}
.logo-marquee__logo {
  max-height: 7rem;
}

.sector-hero-centered .sector-hero-centered__inner {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

/* HRMS marketing hero: remove large decorative orbs */
.hrms-hero::before,
.hrms-hero::after {
  display: none;
}

/* Payroll country guides: content + sticky contact column */
.country-page {
  --country-layout-max: min(100rem, calc(100vw - var(--layout-gutter-x) * 2));
}
.country-page__layout {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
  width: 100%;
  max-width: var(--country-layout-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(0.75rem, 2vw, 1.25rem);
  padding-right: clamp(0.75rem, 2vw, 1.25rem);
}
.country-page__layout .country-guide {
  flex: 1;
  min-width: 0;
}
.country-page__contact-aside {
  flex: 0 0 auto;
  width: 100%;
}
@media (min-width: 1024px) {
  .country-page__layout {
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(1.75rem, 3vw, 2.5rem);
  }
  .country-page__layout .country-guide {
    flex: 1 1 0;
    min-width: 0;
  }
  .country-page__contact-aside {
    flex: 0 0 clamp(26rem, 36vw, 32rem);
    width: clamp(26rem, 36vw, 32rem);
    max-width: 32rem;
    position: sticky;
    top: 5.25rem;
  }
  .country-page__contact-aside .section {
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* Country guides: full-width hero + content column in sidebar layout */
.country-page .country-hero .container {
  max-width: var(--country-layout-max);
}
.country-page__layout .country-guide .container.country-content,
.country-page__layout .country-content {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  padding-inline: 0;
}
.country-page__layout .country-guide.section {
  padding-top: clamp(2rem, 4vw, 2.75rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
.country-page__contact-aside .container {
  max-width: none;
  padding-inline: 0;
}
.country-page__contact-aside .card {
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
}
@media (min-width: 1280px) {
  .country-page {
    --country-layout-max: min(108rem, calc(100vw - var(--layout-gutter-x) * 2));
  }
  .country-page__layout {
    gap: clamp(2rem, 3.5vw, 3rem);
  }
  .country-page__contact-aside .card {
    padding: clamp(1.5rem, 2.5vw, 2rem);
  }
}
.country-contact-form {
  display: grid;
  gap: 1rem;
}
.country-contact-form__submit {
  width: 100%;
}
.country-page .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.country-page .country-table {
  min-width: 32rem;
}

/* Country article layout (e.g. Singapore — guide + sticky contact) */
.country-page--article .country-hero {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.country-page--article .country-page__layout {
  background: var(--color-bg-soft);
  border-radius: var(--radius-2xl);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-top: clamp(0.5rem, 1.5vw, 1rem);
}
.country-page--article .country-guide {
  background: transparent;
  padding-top: 0;
  padding-bottom: 0;
}
.country-page--article .country-hero + .country-page__layout .country-guide {
  padding-top: 0;
}
.country-page--article .country-article {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.country-page--article .country-page__title {
  margin: 0 0 1.75rem;
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  line-height: 1.2;
  color: var(--color-text);
}
.country-page--article .country-article > .country-content__h {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid rgba(35, 136, 199, 0.14);
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  color: var(--color-text);
}
.country-page--article .country-content__h--lead,
.country-page--article .country-article > .country-content__h:first-of-type {
  margin-top: 0;
}
.country-page--article .country-content__h--sub {
  margin-top: 1.35rem;
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
  font-weight: 650;
  border-bottom: none;
  padding-bottom: 0;
}
.country-page--article h3.country-content__h:not(.country-agency-card__title) {
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0;
  border-bottom: none;
  font-size: 1.1rem;
}
.country-page--article .country-facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: 0.85rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}
.country-page--article .country-facts > li {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  line-height: 1.6;
  font-size: 0.9rem;
  color: var(--color-muted);
}
.country-page--article .country-facts > li strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-text);
  font-size: 0.9375rem;
}
.country-page--article .country-facts > li ul {
  margin-top: 0.5rem;
  margin-bottom: 0;
  padding-left: 1.1rem;
}
.country-agency-cards {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .country-agency-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.country-agency-card {
  padding: 1.15rem 1.2rem 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
}
.country-agency-card__title {
  margin: 0 0 0.65rem;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-primary);
}
.country-agency-card .country-content__p {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}
.country-agency-card .country-content__p:last-child,
.country-agency-card .country-content__list:last-child {
  margin-bottom: 0;
}
.country-agency-card .country-content__list {
  font-size: 0.875rem;
}
.country-page--article .country-content__callout {
  border-radius: var(--radius-lg);
  background: var(--color-primary-soft);
}
.country-page--article .table-wrap {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg-soft);
  padding: 0.65rem;
  margin: 1.25rem 0 1.5rem;
}
.country-page--article .country-table thead th {
  background: rgba(35, 136, 199, 0.1);
  color: var(--color-text);
}
.country-article__highlight {
  margin-top: 2.5rem;
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(35, 136, 199, 0.16);
  background: var(--color-bg-soft);
  box-shadow: var(--shadow-sm);
}
.country-article__highlight .country-content__h {
  margin-top: 0;
  border-bottom: none;
  padding-bottom: 0;
}
.country-article__highlight .country-content__h:not(:first-child) {
  margin-top: 1.5rem;
  font-size: 1.15rem;
  border-bottom: none;
}
.country-page--article .country-article-services-list {
  margin: 0 0 1.25rem;
}
.country-page--article .country-article-services-list li {
  color: var(--color-text);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-bottom: 0.75rem;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  transform: none;
}
.country-page--article .country-article-services-list li:last-child {
  margin-bottom: 0;
}
.country-page--article .country-article-services-list li::before {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
}
.country-page--article .country-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-left: 0;
  list-style: none;
  margin-bottom: 0;
}
.country-page--article .country-sources li {
  margin: 0;
}
.country-page--article .country-sources a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-soft);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: background 0.15s var(--ease-out), border-color 0.15s;
}
.country-page--article .country-sources a:hover {
  background: rgba(35, 136, 199, 0.1);
  border-color: rgba(35, 136, 199, 0.25);
  color: var(--color-primary-hover);
}
.country-page--article .country-content__list:not(.check-list):not(.country-facts):not(.country-sources) {
  padding-left: 1.25rem;
  list-style: disc;
}
.country-page--article .country-facts.country-content__list {
  padding-left: 0;
  list-style: none;
}
.country-page--article .country-content__p {
  max-width: none;
  color: var(--color-muted);
}
.country-page--article .country-content a:not(.btn) {
  font-weight: 500;
}
.country-page--article .country-content a.btn {
  color: #fff;
  text-decoration: none;
}
.country-page--article .country-content a.btn:hover {
  color: #fff;
}
.country-article-cta {
  margin: 0.5rem 0 0;
}
.country-article-cta .btn {
  display: inline-flex;
  padding-inline: 1.5rem;
}
.country-page--article .country-page__contact-aside .card {
  background: var(--color-bg);
  border-color: rgba(35, 136, 199, 0.2);
  box-shadow: var(--shadow-lg);
}
.country-page--article .country-page__contact-aside .form-input,
.country-page--article .country-page__contact-aside .form-textarea {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.12);
}
.country-page--article .country-page__contact-aside .form-input:focus,
.country-page--article .country-page__contact-aside .form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(35, 136, 199, 0.12);
}
.country-contact__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.3;
  color: var(--color-text);
}
@media (max-width: 767px) {
  .country-page--article .country-page__layout {
    padding: 1rem;
    border-radius: var(--radius-xl);
  }
  .country-page--article .country-article {
    padding: 1.25rem 1.15rem;
  }
  .country-page--article .country-facts {
    grid-template-columns: 1fr;
  }
}
.country-contact-form__privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.5;
  cursor: pointer;
}
.country-contact-form__privacy input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.blog-article__sidebar {
  padding: clamp(1rem, 2.5vw, 1.35rem);
  font-size: 0.9375rem;
}
.blog-article__sidebar .blog-sidebar__heading {
  margin-top: 0;
}

@media (min-width: 1100px) {
  .blog-article-page .blog-article__container.blog-article__container--with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(17.5rem, 28%);
    gap: clamp(1.5rem, 3vw, 2.25rem);
    align-items: start;
    justify-items: stretch;
    max-width: var(--blog-max);
  }
  .blog-article-page .blog-article__container.blog-article__container--with-sidebar > .blog-article__featured,
  .blog-article-page .blog-article__container.blog-article__container--with-sidebar > .blog-article__wp,
  .blog-article-page .blog-article__container.blog-article__container--with-sidebar > .blog-article__contact,
  .blog-article-page .blog-article__container.blog-article__container--with-sidebar > .blog-article__source-note,
  .blog-article-page .blog-article__container.blog-article__container--with-sidebar > .blog-article__nav {
    grid-column: 1;
    max-width: none;
    width: 100%;
  }
  .blog-article-page .blog-article__container.blog-article__container--with-sidebar > .blog-article__sidebar {
    grid-column: 2;
    grid-row: 1 / span 6;
    position: sticky;
    top: 5.25rem;
    align-self: start;
  }
}

.blog-article__meta .blog-feed__meta-cat {
  display: none;
}
.blog-article__meta .blog-feed__dot:first-of-type {
  display: none;
}

/* Blog article — AIHR-inspired single post layout */
.blog-article-page--aihr .blog-article-hero {
  padding-top: clamp(1.5rem, 3.5vw, 2.25rem);
  padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
  border-bottom: 1px solid var(--color-border);
}

.blog-article-page--aihr .blog-article-hero__container {
  max-width: min(48rem, 100%);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.blog-article-page--aihr .blog-article__breadcrumb {
  justify-content: center;
  margin-bottom: 0.85rem;
}

.blog-article-page--aihr .blog-article__category {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  text-decoration: none;
}

.blog-article-page--aihr .blog-article__category:hover {
  text-decoration: underline;
}

.blog-article-page--aihr .blog-article-hero .blog-article__title {
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  line-height: 1.12;
  margin-bottom: 1rem;
  max-width: 100%;
}

.blog-article-page--aihr .blog-article__meta-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.blog-article-page--aihr .blog-article__byline-label {
  font-weight: 500;
}

.blog-article-page--aihr .blog-article__byline-item strong {
  color: var(--color-text);
  font-weight: 650;
}

.blog-article-page--aihr .blog-article__byline-item:not(:first-child)::before {
  content: "·";
  margin: 0 0.65rem 0 0;
  color: var(--color-muted-light);
}

.blog-article-page--aihr .blog-article__container {
  align-items: start;
  width: 100%;
  max-width: var(--blog-max);
}

.blog-article-page--aihr .blog-article__main {
  min-width: 0;
  width: 100%;
  max-width: none;
}

.blog-article-page--aihr .blog-article__main > .blog-article__featured,
.blog-article-page--aihr .blog-article__main > .blog-toc-dropdown--mobile,
.blog-article-page--aihr .blog-article__main > .blog-article__toc-mobile,
.blog-article-page--aihr .blog-article__main > .blog-article__lead,
.blog-article-page--aihr .blog-article__main > .blog-article__wp,
.blog-article-page--aihr .blog-article__main > .blog-article__body-card,
.blog-article-page--aihr .blog-article__main > .blog-article__source-note,
.blog-article-page--aihr .blog-article__main > .blog-article__recommended,
.blog-article-page--aihr .blog-article__main > .blog-article__nav {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.blog-article-page--aihr .blog-article__recommended--main {
  display: block;
  margin-bottom: 1.25rem;
}

.blog-article-page--aihr .blog-article__recommended--sidebar {
  display: none;
  margin-top: 1rem;
}

.blog-article-page--aihr .blog-article__sidebar .blog-article__recommended--sidebar {
  background: var(--color-bg);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: clamp(1rem, 2.5vw, 1.35rem);
}

@media (min-width: 1100px) {
  .blog-article-page--aihr .blog-article__recommended--main {
    display: none;
  }

  .blog-article-page--aihr .blog-article__recommended--sidebar {
    display: block;
  }
}

.blog-article-page--aihr .blog-toc-dropdown--mobile {
  display: block;
}

.blog-article-page--aihr .blog-article__lead {
  font-size: clamp(1.0625rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: var(--color-muted);
  margin: 0 0 1.5rem;
  max-width: 100%;
}

.blog-article-page--aihr .blog-article__wp.blog-wp-content {
  width: 100%;
  max-width: none;
  min-height: 0;
  height: auto;
  margin-left: 0;
  margin-right: 0;
  background: var(--color-bg);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.35rem, 3vw, 2rem);
  box-sizing: border-box;
}

.blog-article-page--aihr .blog-article__main {
  align-self: start;
}

.blog-article-page--aihr .blog-wp-content .e-con-boxed > .e-con-inner,
.blog-article-page--aihr .blog-wp-content .e-con.e-con-boxed,
.blog-article-page--aihr .blog-wp-content .elementor-section-boxed > .elementor-container {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.blog-article-page--aihr .blog-wp-content .elementor-widget-text-editor,
.blog-article-page--aihr .blog-wp-content .elementor-widget-text-editor .elementor-widget-container {
  max-width: 100% !important;
  width: 100% !important;
}

.blog-article-page--aihr .blog-wp-content > h2:first-child,
.blog-article-page--aihr .blog-wp-content > h3:first-child {
  margin-top: 0;
}

.blog-article-page--aihr .blog-wp-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 2rem 0 0.85rem;
  line-height: 1.25;
  scroll-margin-top: 6.5rem;
  text-align: left !important;
}

.blog-article-page--aihr .blog-wp-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.0625rem, 2vw, 1.2rem);
  font-weight: 650;
  color: var(--color-text);
  margin: 1.5rem 0 0.65rem;
  scroll-margin-top: 6.5rem;
  text-align: left !important;
}

.blog-article-page--aihr .blog-wp-content p {
  text-align: left !important;
}

.blog-article-page--aihr .blog-sidebar__toc a.blog-toc__link--h3 {
  padding-left: 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.blog-article-page--aihr .blog-sidebar__toc a.is-active {
  background: var(--color-primary-soft);
  color: var(--color-primary-hover);
}

.blog-article-page--aihr .blog-sidebar__cta {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--color-border);
}

.blog-article-page--aihr .blog-sidebar__cta-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
  color: var(--color-text);
}

.blog-article-page--aihr .blog-sidebar__cta .btn {
  margin-top: 0.85rem;
}

.blog-article-page--aihr .blog-article__nav.blog-article__nav-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 1100px) {
  .blog-article-page--aihr .blog-article__container.blog-article__container--with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(17.5rem, 28%);
    gap: clamp(1.5rem, 3vw, 2.25rem);
    align-items: start;
    max-width: var(--blog-max);
  }

  .blog-article-page .blog-article__container.blog-article__container--with-sidebar > .blog-article__main > .blog-article__wp,
  .blog-article-page .blog-article__container.blog-article__container--with-sidebar > .blog-article__main > .blog-article__featured {
    grid-column: unset;
    max-width: none;
    width: 100%;
  }

  .blog-article-page--aihr .blog-article__main {
    grid-column: 1;
    grid-row: 1;
  }

  .blog-article-page--aihr .blog-article__sidebar {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 5.25rem;
    align-self: start;
  }

  .blog-article-page--aihr .blog-toc-dropdown--mobile {
    display: none;
  }
}

@media (max-width: 1099px) {
  .blog-article-page--aihr .blog-article__sidebar {
    display: none;
  }
}

/* Video playlist strip (resources / product pages) */
.video-playlist {
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-strong);
  overflow: hidden;
  background: var(--color-bg);
}
.video-playlist__header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-heading);
  font-weight: 700;
}
.video-playlist__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.video-playlist__item a {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1.25rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: background 0.15s ease;
}
.video-playlist__item:last-child a {
  border-bottom: none;
}
.video-playlist__item a:hover {
  background: var(--color-bg-soft);
  color: var(--color-primary);
}

/* HRMS products page */
.hrms-page.module-page .module-hero {
  background: #ffffff;
}

.hrms-page.module-page .module-hero .hero-visual__inner {
  width: min(100%, 68rem);
}

.hrms-page.module-page .module-hero .hero-visual__img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.hrms-page.module-page .module-hero .badge {
  margin-bottom: 0.5rem;
}

.hrms-page.module-page .module-hero__copy h1 {
  margin-top: 0;
}

.hrms-page #modules .section-intro {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.hrms-page .grid-modules {
  gap: clamp(0.75rem, 1.75vw, 1.1rem);
}

.hrms-page .grid-modules .card {
  padding: 0.95rem 1rem;
}

.hrms-page .grid-modules .module-card__icon {
  margin-bottom: 0.45rem;
  gap: 0.35rem;
}

.hrms-page .grid-modules .module-card__icon-graphic {
  padding: 0.45rem;
}

.hrms-page .grid-modules .card p.text-muted {
  margin-bottom: 0;
}

.hrms-page #mobile-application .hrms-feature-panel--media,
.hrms-page #self-service .hrms-feature-panel--media {
  padding: clamp(0.35rem, 0.9vw, 0.55rem);
}

.hrms-page .hrms-feature-panel--media img {
  width: 100%;
  max-width: min(100%, 42rem);
  max-height: 32rem;
  object-fit: contain;
}

.hrms-page #mobile-application .hrms-feature-panel--media img {
  max-width: min(100%, 26rem);
  max-height: 42rem;
}

.hrms-page #self-service .hrms-feature-panel--media img {
  max-width: min(100%, 50rem);
  max-height: 34rem;
}

.hrms-page .hrms-faq-section .container.max-w-prose {
  max-width: min(58rem, 100%);
}

.hrms-faq-section details.faq-item {
  border-color: rgba(35, 136, 199, 0.1);
}

.hrms-video-block {
  max-width: min(72rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

.hrms-video-block__grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

@media (min-width: 56rem) {
  .hrms-video-block__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 2.25rem);
  }
}

.hrms-video-block__embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #0f172a;
  box-shadow: var(--shadow-lg);
}

.hrms-video-block__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hrms-video-block__playlist.video-playlist {
  background: var(--color-bg);
}

.video-playlist__btn {
  display: flex;
  width: 100%;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1.25rem;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.video-playlist__item:last-child .video-playlist__btn {
  border-bottom: none;
}

.video-playlist__btn:hover,
.video-playlist__btn.is-active {
  background: var(--color-bg-soft);
  color: var(--color-primary);
}

.hrms-video-block__channel {
  margin: 0;
  padding: 0.85rem 1.25rem 1rem;
  font-size: 0.875rem;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.hrms-video-block__channel a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.hrms-video-block__channel a:hover {
  text-decoration: underline;
}

/* About: global hiring / PEO country explorer */
.about-peo-eor {
  background: var(--color-bg);
}
.about-country-explorer__search {
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}
.about-country-explorer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: 0.65rem;
}
.about-country-explorer__grid a {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg-soft);
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.about-country-explorer__grid a:hover,
.about-country-explorer__grid a:focus-visible {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  color: var(--color-primary);
}
.about-country-explorer__grid a[hidden] {
  display: none;
}

.demo-phone-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.demo-phone-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.demo-phone-list .demo-phone-list__flag {
  font-size: 1.25rem;
  line-height: 1;
}

/* Demo page — module hero (match HRMS stacked landing layout) */
.demo-page .module-hero {
  padding-top: clamp(0.85rem, 2vw, 1.5rem);
  padding-bottom: 0;
}

.demo-page .module-hero .container.grid-2 {
  gap: clamp(0.85rem, 2.2vw, 1.35rem);
}

.demo-page .module-hero .badge {
  margin-bottom: 0.5rem;
}

.demo-page .module-hero__copy h1 {
  margin: 0;
  line-height: 1.06;
}

.demo-page .module-hero .hero-visual__inner {
  line-height: 0;
}

/* Demo page — contact + form (novative.com/en/demo) */
.demo-booking-section {
  padding-top: clamp(1rem, 2.5vw, 1.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}
.demo-booking-section > .container {
  max-width: min(88rem, calc(100vw - var(--layout-gutter-x) * 2));
}
.demo-booking-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
  align-items: stretch;
}
@media (min-width: 56rem) {
  .demo-page .demo-booking-layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 2.25rem);
  }
}
.demo-page .demo-booking-form,
.demo-page .demo-booking-contact {
  min-width: 0;
}
.demo-page .demo-booking-contact__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.75rem, 3.5vw, 2.5rem);
}
.demo-page .demo-contact-card {
  padding: clamp(1.35rem, 2.8vw, 2rem);
  text-align: center;
}
.demo-page .demo-contact-channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0;
}
.demo-page .demo-contact-channel__icon {
  margin-bottom: 0.65rem;
}
.demo-page .demo-contact-channel__label {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
}
.demo-page .demo-contact-channel__value {
  font-size: 1.0625rem;
}
.demo-page .demo-contact-channel--email {
  width: min(100%, 20rem);
  margin-inline: auto;
}
.demo-page .demo-contact-channel--phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}
.demo-page .demo-contact-channel--phone .demo-contact-channel__icon {
  margin-bottom: 0.65rem;
}
.demo-page .demo-contact-channel--phone .demo-contact-channel__label {
  margin: 0;
  text-align: center;
}
.demo-page .demo-contact-phone-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  width: 100%;
  margin-inline: auto;
}
.demo-page .demo-contact-offices {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.demo-page .demo-contact-offices .demo-phone-carousel {
  width: 100%;
  margin-inline: auto;
}
@media (min-width: 56rem) {
  .demo-page .demo-booking-contact {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .demo-page .demo-form-card,
  .demo-page .demo-contact-card {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .demo-page .demo-contact-card .demo-booking-contact__body {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(1rem, 2vh, 1.5rem);
    width: 100%;
  }
  .demo-page .demo-contact-phone-group {
    display: contents;
  }
  .demo-page .demo-contact-channel--email {
    grid-row: 1;
    align-self: start;
    justify-self: center;
  }
  .demo-page .demo-contact-channel--phone {
    grid-row: 2;
    align-self: center;
    justify-self: center;
  }
  .demo-page .demo-contact-offices {
    grid-row: 3;
    align-self: end;
    justify-self: center;
    width: 100%;
  }
  .demo-page .demo-form-card .demo-form {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .demo-page .demo-form__privacy {
    margin-top: auto;
  }
}
.demo-contact-channel {
  margin-bottom: 0;
}
.demo-contact-channel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 0.65rem;
}
.demo-contact-channel__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
.demo-contact-channel__label {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #2d2c2c;
}
.demo-contact-channel__value {
  font-size: 1rem;
  color: #4b5563;
  text-decoration: none;
}
.demo-contact-channel__value:hover {
  color: var(--color-primary);
  text-decoration: underline;
}
.demo-contact-channel--phone .demo-contact-channel__label {
  margin-bottom: 0;
}
.demo-phone-carousel {
  --demo-carousel-ease: cubic-bezier(0.45, 0.05, 0.15, 1);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0.4rem 0.75rem;
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
}
.demo-page .demo-booking-contact .demo-phone-carousel {
  width: 100%;
  max-width: 20rem;
  margin-inline: auto;
  grid-template-columns: 2rem 1fr 2rem;
}
.demo-booking-form {
  min-width: 0;
}
.demo-phone-carousel__viewport {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  min-height: 5.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem 0;
}
.demo-phone-carousel__track {
  position: relative;
  width: 100%;
  min-height: inherit;
}
.demo-phone-carousel__slide {
  margin: 0;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.75s var(--demo-carousel-ease),
    visibility 0.75s var(--demo-carousel-ease);
}
.demo-phone-carousel__slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.demo-phone-carousel__slide[hidden] {
  display: flex;
}
.demo-phone-carousel__slide-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
  padding: 0.15rem 0.5rem 0;
  width: 100%;
}
.demo-phone-carousel__flag {
  display: block;
  width: 2.75rem;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.25rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1);
}
.demo-phone-carousel__office {
  margin: 0;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.3;
  color: #2d2c2c;
}
.demo-phone-carousel__number {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: #4b5563;
}
.demo-phone-carousel__number a {
  color: inherit;
  text-decoration: none;
}
.demo-phone-carousel__number a:hover {
  color: var(--color-primary);
}
.demo-phone-carousel__arrow {
  grid-row: 1;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.45s var(--demo-carousel-ease), transform 0.45s var(--demo-carousel-ease);
}
.demo-phone-carousel__arrow:hover {
  color: var(--color-primary);
}
.demo-phone-carousel__arrow--prev {
  grid-column: 1;
}
.demo-phone-carousel__arrow--next {
  grid-column: 3;
}
.demo-phone-carousel__arrow:active {
  transform: scale(0.96);
}
.demo-phone-carousel__dots {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  padding-top: 0;
}
.demo-phone-carousel__dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #9ca3af;
  cursor: pointer;
  transition: background 0.45s var(--demo-carousel-ease), transform 0.45s var(--demo-carousel-ease);
}
.demo-phone-carousel__dot.is-active {
  background: var(--color-primary);
  transform: scale(1.15);
}
@media (prefers-reduced-motion: reduce) {
  .demo-phone-carousel__slide {
    transition: none;
  }
  .demo-phone-carousel__dot {
    transition: none;
  }
  .demo-phone-carousel__arrow {
    transition: none;
  }
}
.demo-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.demo-form__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}
.demo-form label,
.demo-form__fieldset legend {
  margin-bottom: 0.2rem;
  font-size: 0.8125rem;
}
.demo-page .demo-form label,
.demo-page .demo-form__fieldset legend {
  font-size: 0.9375rem;
  font-weight: 600;
}
.demo-form .form-input,
.demo-form .form-select,
.demo-form .form-textarea {
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  border-radius: var(--radius);
}
.demo-page .demo-form .form-input,
.demo-page .demo-form .form-select,
.demo-page .demo-form .form-textarea {
  padding: 0.65rem 0.85rem;
  font-size: 1rem;
}
.demo-page .demo-form__check {
  font-size: 0.9375rem;
}
.demo-page .demo-form__privacy {
  font-size: 0.875rem;
}
.demo-form .form-textarea {
  min-height: 4.5rem;
  resize: vertical;
}
.demo-form__fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  text-align: left;
}
.demo-form__fieldset legend {
  font-weight: 600;
  margin-bottom: 0.35rem;
  padding: 0;
}
.demo-form__check {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.15rem;
  font-size: 0.875rem;
  line-height: 1.35;
  cursor: pointer;
}
.demo-form__check:last-of-type {
  margin-bottom: 0;
}
.demo-form__privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}
.demo-form__submit {
  width: 100%;
  margin-top: 0;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}
.demo-form-card {
  padding: clamp(1.25rem, 2.8vw, 1.75rem);
}
.demo-page .demo-form-card {
  height: 100%;
}
@media (min-width: 48rem) {
  .demo-form__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.75rem;
    row-gap: 0.6rem;
  }
  .demo-form__fields > div:has(#demoEmployees),
  .demo-form__fields > .demo-form__fieldset,
  .demo-form__fields > div:has(#demoMessage) {
    grid-column: 1 / -1;
  }
}

.factsheet-grid .card {
  min-height: 8rem;
}

/* Resources — service guides & case studies */
.resources-page__hero {
  padding-block: clamp(2.5rem, 6vw, 3.75rem);
  text-align: center;
  background: #ffffff;
}

.resources-page__hero .badge {
  margin-bottom: 0.5rem;
}

.resources-page__hero h1 {
  margin-top: 0;
}

.resources-page__videos {
  padding-block: clamp(1.5rem, 3.5vw, 2.5rem);
}

.resources-page__videos .hrms-video-block {
  max-width: min(76rem, 100%);
}

.resources-page__factsheets .section-intro {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

a.factsheet-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.22s ease,
    box-shadow 0.28s var(--ease-out),
    transform 0.28s var(--ease-out);
}

a.factsheet-card:hover {
  border-color: rgba(35, 136, 199, 0.28);
  box-shadow: 0 12px 36px rgba(35, 136, 199, 0.12);
  transform: translateY(-3px);
  color: inherit;
}

a.factsheet-card:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

a.factsheet-card .icon-box {
  color: var(--color-primary);
  background: var(--color-primary-soft);
  border-radius: var(--radius-lg);
  transition: background 0.22s ease, transform 0.28s var(--ease-out);
}

a.factsheet-card:hover .icon-box {
  background: rgba(35, 136, 199, 0.16);
  transform: scale(1.05);
}

.sector-hero-centered {
  text-align: center;
}

/* Module landing: stack hero image under copy (recruitment, time, etc.) */
.module-hero.module-hero--stacked .container.grid-2 {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.module-hero.module-hero--stacked .module-hero__copy {
  max-width: 48rem;
}
.module-hero.module-hero--stacked .module-hero__copy .text-lg {
  margin-left: auto;
  margin-right: auto;
}

/* Sector pages — enhanced layout (Hospitality, Manufacturing, Retail, Recruitment) */
.sector-page > .section {
  padding-block: clamp(2.25rem, 4.5vw, 3.25rem);
}

.sector-page > .section.site-cta {
  padding-block: clamp(2.75rem, 5.5vw, 4rem);
}

.sector-page .sector-hero--centered {
  padding-block: clamp(2.5rem, 6vw, 3.75rem);
  text-align: center;
}

.sector-page .sector-hero.sector-hero--standard {
  background: #ffffff;
}

.sector-page .sector-hero__inner {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

.sector-page .sector-hero__inner .badge {
  margin-bottom: 0.5rem;
}

.sector-page .sector-hero__inner h1.mb-4 {
  margin-top: 0;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.sector-page .sector-hero__inner .text-lg.mb-6 {
  margin-bottom: 1.35rem;
  line-height: 1.72;
  letter-spacing: 0.012em;
}

.sector-page .sector-hero__actions {
  justify-content: center;
  gap: 0.75rem 1rem;
}

.sector-page .section-intro.section-intro--tight {
  margin-bottom: clamp(1.35rem, 2.8vw, 1.85rem);
}

.sector-page .section-intro .section-title.mb-4 {
  margin-bottom: 0.65rem;
}

.sector-page .sector-page__deck {
  max-width: 46rem;
  margin: 0 auto;
  line-height: 1.72;
  letter-spacing: 0.012em;
}

.sector-page .section-title {
  letter-spacing: 0.01em;
}

.sector-page .sector-page__why-heading {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0.015em;
  color: var(--color-text);
}

.sector-page .sector-page__why-choose {
  margin-bottom: clamp(1rem, 2.2vw, 1.45rem);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.sector-page .sector-page__software {
  padding-block: clamp(2.25rem, 4.5vw, 3.5rem);
}

.sector-page .sector-page__tabs-wrap {
  margin-top: 0;
}

.sector-page .sector-tabs__panel {
  padding: clamp(1.25rem, 2.8vw, 2rem);
  min-height: 0;
}

.sector-page .sector-tabs__grid {
  gap: clamp(1.15rem, 2.8vw, 1.85rem);
}

.sector-page .sector-tabs__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline: clamp(0, 1.5vw, 0.35rem);
}

.sector-page .sector-tabs__copy .h3-sector {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  margin-bottom: 0.65rem;
}

.sector-page .sector-tabs__copy .text-muted {
  font-size: 1rem;
  line-height: 1.72;
  letter-spacing: 0.012em;
  max-width: 36rem;
  margin-bottom: 0;
}

.sector-page .sector-tabs__copy .h3-sector {
  letter-spacing: 0.015em;
}

.sector-page .sector-tabs__btn {
  letter-spacing: 0.04em;
}

@media (min-width: 48rem) {
  .sector-page [id$="-panel-2"] .sector-tabs__copy {
    order: 2;
  }

  .sector-page [id$="-panel-2"] .sector-tabs__visual {
    order: 1;
  }
}

.sector-page .sector-page__explore {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.35rem, 2.8vw, 1.85rem);
  padding-top: clamp(1.15rem, 2.5vw, 1.5rem);
  border-top: 1px solid var(--color-border);
}

.sector-page .sector-page__outsourcing {
  padding-block: clamp(2.25rem, 4.5vw, 3.5rem);
}

.sector-page .sector-page__outsourcing .section-intro.section-intro--tight {
  margin-bottom: clamp(1.15rem, 2.5vw, 1.65rem);
}

.sector-page .sector-page__benefits {
  margin-top: 0;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  gap: clamp(0.85rem, 2vw, 1.1rem);
}

@media (min-width: 40rem) {
  .sector-page .sector-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .sector-page .sector-benefits-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.sector-page .sector-page__outsourcing .sector-benefit-card {
  background: var(--color-bg-soft);
  border-color: rgba(0, 0, 0, 0.06);
}

.sector-page .sector-benefit-card {
  padding: clamp(1.25rem, 2.5vw, 1.5rem);
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(15, 53, 85, 0.04);
}

.sector-page .sector-benefit-card .module-feature-card__icon {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.75rem;
}

.sector-page .sector-benefit-card .module-feature-card__title {
  font-size: 0.9375rem;
  line-height: 1.4;
}

.sector-page .sector-page__case-studies {
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}

.sector-page .sector-page__case-deck {
  max-width: 44rem;
}

.sector-page .sector-case-block {
  max-width: min(76rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

.sector-case-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem 1.15rem;
}

.sector-case-carousel__viewport {
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-block: 0.35rem 0.65rem;
  margin-inline: -0.15rem;
}

.sector-case-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.sector-case-carousel__track {
  display: flex;
  gap: clamp(1rem, 2.2vw, 1.35rem);
  width: max-content;
  padding-inline: 0.15rem;
}

.sector-case-card {
  position: relative;
  flex: 0 0 min(100%, 21rem);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 53, 85, 0.1);
  border-radius: var(--radius-xl);
  background: var(--color-bg);
  box-shadow: 0 4px 20px rgba(15, 53, 85, 0.06);
  transition: border-color 0.22s ease, box-shadow 0.28s var(--ease-out), transform 0.28s var(--ease-out);
}

@media (min-width: 40rem) {
  .sector-case-card {
    flex-basis: min(78vw, 24rem);
  }
}

.sector-case-card:hover {
  border-color: rgba(35, 136, 199, 0.22);
  box-shadow: 0 12px 36px rgba(35, 136, 199, 0.12);
  transform: translateY(-3px);
}

.sector-case-card__overlay-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.sector-case-card__overlay-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.sector-case-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, var(--color-bg-soft) 0%, #e8eef3 100%);
}

.sector-case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease-out);
}

.sector-case-card:hover .sector-case-card__media img {
  transform: scale(1.05);
}

.sector-case-card__tag {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 1;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-primary);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  box-shadow: 0 2px 10px rgba(15, 53, 85, 0.12);
}

.sector-case-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.45rem;
  padding: clamp(1rem, 2.2vw, 1.25rem);
}

.sector-page .sector-case-card__body {
  gap: 0.65rem;
}

.sector-page .sector-case-card__title {
  flex: 1;
}

.sector-case-card__meta {
  margin: 0;
}

.sector-case-card__type {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.sector-case-card__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.02rem, 1.8vw, 1.125rem);
  font-weight: 650;
  line-height: 1.38;
  letter-spacing: 0.01em;
  color: var(--color-text);
}

.sector-case-card__excerpt {
  flex: 1;
  line-height: 1.62;
  letter-spacing: 0.01em;
}

.sector-case-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--color-primary);
  pointer-events: none;
}

.sector-case-card__cta-icon {
  transition: transform 0.2s var(--ease-out);
}

.sector-case-card:hover .sector-case-card__cta-icon {
  transform: translateX(3px);
}

.sector-case-carousel__nav {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-primary);
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(15, 53, 85, 0.08);
  transition: background 0.18s, border-color 0.18s, transform 0.18s, opacity 0.18s;
}

.sector-case-carousel__nav:hover:not(:disabled) {
  background: rgba(35, 136, 199, 0.08);
  border-color: rgba(35, 136, 199, 0.28);
}

.sector-case-carousel__nav:active:not(:disabled) {
  transform: scale(0.96);
}

.sector-case-carousel__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

.sector-case-carousel__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-top: clamp(0.85rem, 2vw, 1.15rem);
}

.sector-case-carousel__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.sector-case-carousel__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: rgba(35, 136, 199, 0.28);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.sector-case-carousel__dot.is-active {
  width: 1.35rem;
  background: var(--color-primary);
}

.sector-case-carousel__hint {
  text-align: center;
  letter-spacing: 0.01em;
}

.sector-page .sector-page__case-studies-more {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

@media (min-width: 64rem) {
  .sector-case-carousel {
    grid-template-columns: 1fr;
  }

  .sector-case-carousel__nav {
    display: none;
  }

  .sector-case-carousel__viewport {
    overflow: visible;
    scroll-snap-type: none;
    margin-inline: 0;
  }

  .sector-case-carousel__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: clamp(1rem, 2vw, 1.35rem);
  }

  .sector-case-card {
    flex: none;
    width: auto;
  }

  .sector-case-carousel__footer {
    display: none;
  }
}

@media (max-width: 35rem) {
  .sector-case-carousel {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    justify-items: stretch;
  }

  .sector-case-carousel__nav--prev {
    order: 2;
    justify-self: start;
  }

  .sector-case-carousel__nav--next {
    order: 2;
    justify-self: end;
  }

  .sector-case-carousel__viewport {
    order: 1;
    width: 100%;
  }

  .sector-case-carousel__footer {
    order: 3;
  }
}

/* —— Blog listing layout refresh —— */
.blog-section--listing {
  background: var(--color-bg-soft);
}

.blog-page .blog-container {
  max-width: min(96rem, 100%);
}

.blog-listing-header {
  margin: 0 0 clamp(1.25rem, 3vw, 1.75rem);
  padding: 0 0 clamp(1rem, 2.5vw, 1.35rem);
  border-bottom: 1px solid rgba(35, 136, 199, 0.14);
  text-align: left;
}

.blog-listing-header .section-label {
  margin-bottom: 0.35rem;
}

.blog-listing-header__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 3.6vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--color-text);
}

.blog-listing-header__deck {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  line-height: 1.6;
}

.blog-page .blog-layout__main {
  padding: clamp(1.35rem, 3vw, 1.85rem);
  background: #fff;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-2xl);
  box-shadow: 0 8px 40px rgba(15, 53, 85, 0.07);
}

@media (min-width: 1024px) {
  .blog-layout {
    grid-template-columns: minmax(0, 1fr) minmax(272px, 320px);
    gap: clamp(2rem, 3.5vw, 3rem);
  }
}

.blog-page .blog-sidebar__note {
  display: none;
}

.blog-page .blog-sidebar__block {
  border-color: rgba(35, 136, 199, 0.12);
  box-shadow: 0 4px 20px rgba(15, 53, 85, 0.05);
}

@media (min-width: 1024px) {
  .blog-page .blog-toolbar {
    position: sticky;
    top: calc(var(--blog-sticky-below-nav) + 0.35rem);
    z-index: 25;
    margin-bottom: clamp(1.25rem, 2.5vw, 1.65rem);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.97);
  }
}

.blog-page .blog-toolbar__input {
  padding-left: 2.65rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232388c7' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0.85rem 50%;
  background-size: 1.05rem;
  border-radius: 999px;
}

.blog-page .blog-feed__item--featured .blog-feed__body::before {
  content: "Featured article";
  display: inline-block;
  margin-bottom: 0.15rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  line-height: 1.3;
  width: fit-content;
}

.blog-page .blog-feed__item--featured .blog-feed__title {
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
}

@media (min-width: 1100px) {
  .blog-page .blog-feed {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.35rem);
    align-items: stretch;
  }

  .blog-page .blog-feed__item--featured {
    grid-column: 1 / -1;
  }

  .blog-page .blog-feed__item:not(.blog-feed__item--featured) {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    height: 100%;
    align-content: start;
  }

  /* Match Novative blog graphics (~2:1) without cropping */
  .blog-page .blog-feed__item:not(.blog-feed__item--featured) .blog-feed__thumb {
    aspect-ratio: 2 / 1;
    overflow: hidden;
    padding: 0;
    border-radius: var(--radius-lg);
    background: #f4f8fb;
  }

  .blog-page .blog-feed__item:not(.blog-feed__item--featured) .blog-feed__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    aspect-ratio: auto;
  }

  .blog-page .blog-feed__item:not(.blog-feed__item--featured) .blog-feed__excerpt {
    -webkit-line-clamp: 3;
  }
}

.blog-page .blog-pagination {
  margin-top: clamp(1.5rem, 3vw, 2rem);
  padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1.15rem, 2.5vw, 1.5rem);
  background: #fff;
  border-color: rgba(35, 136, 199, 0.18);
}

.blog-page .blog-pagination__status {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 0.875rem;
}

.blog-page .insights-subscribe {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.blog-page .insights-subscribe + .site-cta.gradient-dark {
  margin-top: 0;
}
