/*
 * HOME-NATIVE — the native homepage (src/pages/index.astro).
 *
 * Everything hangs off `.crh` (the <main>) so the Impreza bundle, which still loads async for the
 * header and footer, can never restyle it: its element rules (h1{padding-top}, ul{margin-left},
 * p{margin-bottom}, a{transition}) are (0,0,1) and every rule here is (0,1,1) or stronger.
 * Tokens follow the CR Design Guidelines (Figma QNKoLoLzs8rpFY5s072Klv): Spline Sans headings,
 * Poppins body, Cetacean Blue #0B1347. Accents are the ones the old homepage already used.
 */

/* `.l-canvas{overflow:hidden}` (Impreza) makes the canvas a scroll container, which kills
   position:sticky for the services stack. `clip` crops the same way without that side effect. */
body.home .l-canvas {
  overflow: clip;
}
/* Impreza's body{overflow-x:hidden} forces overflow-y to compute as auto, which makes <body> its own
   scroll container; sticky children then pin to a box that never scrolls. clip has no such effect. */
body.home {
  overflow-x: clip;
}
/* Smooth in-page scrolling on the homepage only (instant for reduced motion). */
@media (prefers-reduced-motion: no-preference) {
  html:has(body.home) {
    scroll-behavior: smooth;
  }
}

.crh {
  --navy: #0b1347;
  --navy-2: #131d5c;
  --navy-3: #0e1650;
  --red: #c1121f;
  --red-press: #a30f1a;
  --ink: #0b1347;
  --text: #3a3e5c;
  --muted: #676b89;
  --faint: rgba(11, 19, 71, 0.38);
  --line: rgba(11, 19, 71, 0.14);
  --line-strong: rgba(11, 19, 71, 0.24);
  --tint: #f7f4ff;
  --paper: #ffffff;
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, 0.8);
  --on-dark-3: rgba(255, 255, 255, 0.58);
  --line-dark: rgba(255, 255, 255, 0.16);

  /* the old hero's red→orange, deepened so its orange end keeps 3:1 on white at display sizes */
  --grad-sun: linear-gradient(100deg, #d9192b 0%, #e5461f 45%, #e6731f 100%);
  --grad-journey: linear-gradient(135deg, #f23342 0%, #1a2469 100%);
  --grad-growth: linear-gradient(195deg, #05c4ce 46.97%, #0b1347 75.77%);

  --expand: #ff636f;
  --outsource: #ad91fd;
  --hire: #ffa95a;
  --manage: #05c4ce;

  --font-head: "Spline Sans", "Spline Sans Fallback", Arial, sans-serif;
  --font-body: "Poppins", "Poppins Fallback", Arial, sans-serif;

  --gutter: clamp(16px, 3.2vw, 40px);
  --wrap: 1280px;
  --section: clamp(72px, 9vw, 128px);
  --r-xl: clamp(20px, 2.4vw, 32px);
  --r-lg: clamp(16px, 1.8vw, 24px);
  --r-md: 14px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  /* Critically damped springs (no overshoot) as CSS linear(): response 0.4s over 700ms and
     0.3s over 520ms. Browsers without linear() keep the ease-out fallback. */
  --spring: var(--ease-out);
  --spring-fast: var(--ease-out);

  /* Bottom edge of the header at the top of the page (40+75 desktop, 36+70 below; the advisory now
     lives inside it), and of the bar alone once scrolled (75 / 70). */
  --top: 106px;
  --stick: 70px;

  display: block;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 1025px) {
  .crh {
    --top: 115px;
    --stick: 75px;
  }
}

@supports (transition-timing-function: linear(0, 1)) {
  .crh {
    --spring: linear(0, 0.106, 0.301, 0.491, 0.645, 0.76, 0.841, 0.897, 0.934, 0.958, 0.973, 0.983, 0.99, 0.994, 0.996, 0.998, 0.999, 0.999, 0.999, 1, 1);
    --spring-fast: linear(0, 0.149, 0.395, 0.605, 0.755, 0.854, 0.914, 0.951, 0.972, 0.984, 0.991, 0.995, 0.997, 0.999, 0.999, 1, 1);
  }
}

/* migration-overrides.css pads any `.cr-site-header ~ main` by var(--header-height), and the
   announcement-bar script rewrites that variable after first paint (a 37px jump on phones). The hero
   clears the fixed header with the constant --top instead; the id outranks that (0,5,1) selector. */
main#page-content.crh {
  padding-top: 0;
}

/* ---- Reset inside the page (beats Impreza's bare element rules) ---- */
.crh h1,
.crh h2,
.crh h3,
.crh p,
.crh ul,
.crh ol,
.crh li,
.crh figure {
  margin: 0;
  padding: 0;
}
.crh ul,
.crh ol {
  list-style: none;
}
.crh a {
  color: inherit;
  text-decoration: none;
  transition: none;
}
.crh img,
.crh video {
  display: block;
  max-width: 100%;
}
.crh img {
  height: auto;
}
.crh :focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}
.crh .is-dark :focus-visible {
  outline-color: #fff;
}

.crh-wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---- Type ---- */
.crh .crh-display {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.375rem, 1.35rem + 3.9vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
.crh .crh-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}
.crh .crh-subtitle {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.crh .crh-lead {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.6;
  color: var(--text);
}
.crh .crh-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  max-width: 62ch;
}
.crh .crh-eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(11, 19, 71, 0.06);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: rgba(11, 19, 71, 0.78);
}
.crh .is-dark .crh-eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
}
.crh .crh-grad {
  background: var(--grad-sun);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.crh .crh-muted {
  color: var(--faint);
}
.crh .is-dark .crh-muted {
  color: var(--on-dark-3);
}

/* ---- Buttons: squared-off, label + right arrow (primary / secondary / light) ---- */
.crh .crh-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 22px 0 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1;
  letter-spacing: 0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease,
    transform 100ms var(--ease-out);
}
.crh .crh-btn__arrow {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 300ms var(--spring-fast);
}
.crh .crh-btn:active {
  transform: scale(0.97);
}
.crh .crh-btn--primary {
  background: var(--red);
  color: #fff;
}
.crh .crh-btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.crh .crh-btn--light {
  background: #fff;
  color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  .crh .crh-btn--primary:hover {
    background: var(--red-press);
  }
  .crh .crh-btn--secondary:hover {
    border-color: var(--ink);
    background: rgba(11, 19, 71, 0.03);
  }
  .crh .crh-btn--light:hover {
    background: #eef0fb;
  }
  .crh .crh-btn:hover .crh-btn__arrow {
    transform: translateX(3px);
  }
}

/* Phones: every button spans the content width; pairs stack as two full-width rows. */
@media (max-width: 767px) {
  .crh .crh-btn {
    display: flex;
    width: 100%;
    justify-content: center;
  }
  .crh .crh-hero__ctas {
    flex-direction: column;
    gap: 10px;
  }
  /* phones only: the hero text block is centred */
  .crh-hero__copy {
    text-align: center;
  }
  .crh-hero__copy > * {
    margin-inline: auto;
  }
  .crh-hero__approved {
    justify-content: center;
  }
  .crh .crh-eor__copy,
  .crh .crh-why__copy {
    align-items: stretch;
  }
}

/* Text link: arrow + dashed red underline */
.crh .crh-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--red);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.crh .crh-link svg {
  width: 16px;
  height: 16px;
  transition: transform 260ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .crh .crh-link:hover svg {
    transform: translateX(4px);
  }
}

/* ---- Reveal (JS adds .crh-js; without JS everything is visible) ---- */
.crh.crh-js [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(16px);
}
.crh.crh-js [data-reveal] {
  transition:
    opacity 600ms var(--ease-out),
    transform 700ms var(--spring);
  /* stagger caps at the 5th item so long lists don't keep the reader waiting */
  transition-delay: calc(min(var(--d, 0), 4) * 60ms);
}

/* Swipe row (benefits) on phones: cards 2+ start off-screen sideways, so a per-card reveal
   would fire mid-drag. There the row reveals as one unit; from 768px the cards stagger and the
   row itself stays put. */
@media (max-width: 767px) {
  .crh.crh-js .crh-benefits__grid > [data-reveal]:not(.is-in) {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 768px) {
  .crh.crh-js .crh-benefits__grid[data-reveal]:not(.is-in) {
    opacity: 1;
    transform: none;
  }
}

/* Below-the-fold sections: skip their rendering work until they near the viewport. */
.crh .crh-defer {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

/* ==== 1. Hero — a light stage ==== */
.crh-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: calc(var(--top) + clamp(20px, min(5vw, 6svh), 72px)) 0 clamp(36px, 5vw, 64px);
}
.crh-hero::before {
  /* a faint lavender light behind the words only — it stops well short of the animation, whose
     paper (#FFFFFD) must sit on plain white to stay frameless */
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 45% 20% 0;
  background:
    radial-gradient(70% 60% at 20% 30%, rgba(173, 145, 253, 0.16) 0%, rgba(173, 145, 253, 0) 70%),
    radial-gradient(50% 45% at 0% 85%, rgba(242, 51, 66, 0.06) 0%, rgba(242, 51, 66, 0) 70%);
  pointer-events: none;
}
.crh-hero__grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.crh-hero__copy {
  min-width: 0;
}
.crh .crh-hero__title {
  /* width- AND height-aware: a 1536×700 laptop window still shows the buttons on load */
  font-size: clamp(2.25rem, min(1.3rem + 3.2vw, 7.6svh), 4.25rem);
  line-height: 1.04;
  max-width: 17ch;
}
.crh .crh-hero__lead {
  margin-top: clamp(16px, 2.6svh, 32px);
  font-size: clamp(1.125rem, min(1.05rem + 0.55vw, 2.9svh), 1.5rem);
  line-height: 1.42;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 30ch;
}
.crh .crh-hero__sub {
  margin-top: 12px;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 44ch;
}
.crh-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 4svh, 40px);
}
.crh-hero__approved {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: clamp(28px, 4svh, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 520px;
}
.crh .crh-hero__approved p {
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.crh .crh-hero__approved img {
  /* fixed box (320×109 → 176×60) so the row never grows when the logo arrives */
  width: 176px;
  height: 60px;
  max-width: none;
}
.crh-hero__media {
  display: none;
}
@media (min-width: 768px) {
  .crh-hero__media {
    display: block;
    position: relative;
    width: min(100%, 500px);
    aspect-ratio: 5 / 6;
    justify-self: center;
    /* melt the bottom edge into the page instead of ending on a hard line */
    -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 84%, transparent 100%);
  }
  .crh .crh-hero__media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.98);
    transition:
      opacity 700ms var(--ease-out),
      transform 900ms var(--spring);
  }
  .crh .crh-hero__media video.is-ready {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 768px) and (max-width: 899px) {
  .crh-hero__media {
    width: min(100%, 340px);
  }
}
@media (min-width: 900px) {
  .crh-hero__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    min-height: min(680px, calc(100svh - var(--top) - 96px));
  }
  .crh-hero__media {
    max-height: calc(100svh - var(--top) - 64px);
  }
  .crh-hero__media {
    justify-self: end;
  }
}

/* ==== 2. Client logos ==== */
.crh-logos {
  padding: clamp(36px, 5vw, 56px) 0;
}
.crh-logos__viewport {
  overflow: hidden;
  padding-block: clamp(12px, 1.5vw, 20px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.crh-logos__track {
  display: flex;
  width: max-content;
  animation: crh-marquee 60s linear infinite;
}
.crh .crh-logos__list {
  display: flex;
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
  padding-right: clamp(40px, 5vw, 72px);
}
.crh .crh-logos__list img {
  width: auto;
  height: clamp(28px, 2.6vw, 36px);
  filter: grayscale(1);
  opacity: 0.6;
  transition:
    filter 200ms ease,
    opacity 200ms ease;
}
.crh-logos.is-paused .crh-logos__track {
  animation-play-state: paused;
}
@media (hover: hover) and (pointer: fine) {
  .crh-logos__viewport:hover .crh-logos__track {
    animation-play-state: paused;
  }
  .crh .crh-logos__list img:hover {
    filter: none;
    opacity: 1;
  }
}
@keyframes crh-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ==== 3. Services — stacked cards ==== */
/* Set every scroll frame by the stack script; non-inheriting so the card's subtree isn't restyled. */
@property --veil {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}
.crh-services {
  padding-inline: var(--gutter);
}
.crh-services__band {
  max-width: calc(var(--wrap) + 160px);
  margin-inline: auto;
  border-radius: var(--r-xl);
  background: var(--navy);
  color: var(--on-dark);
  padding: clamp(48px, 7vw, 104px) clamp(20px, 5vw, 72px) clamp(36px, 5vw, 72px);
}
.crh-services__head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.crh .crh-services__title {
  color: #fff;
  max-width: 18ch;
}
/* SEO-35 D2: the one-line payroll lead under the services title, with its in-text link */
.crh .crh-services__lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--on-dark-2);
  max-width: 60ch;
}
.crh .crh-services__lead a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .crh .crh-services__lead a:hover {
    text-decoration-color: #fff;
  }
}
.crh .crh-stack {
  counter-reset: pillar;
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}
.crh-stack__item {
  counter-increment: pillar;
}
.crh-pillar {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, #17226c 0%, var(--navy-3) 62%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* a 1px top highlight (light catching the card's edge) over the depth shadow */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 -28px 60px -32px rgba(2, 5, 28, 0.9);
  padding: clamp(22px, 3.6vw, 48px);
  display: grid;
  gap: 20px;
  transform-origin: 50% 0;
  will-change: transform;
}
.crh-pillar::before {
  /* "01 / 04" — decorative, generated, not page text */
  content: counter(pillar, decimal-leading-zero) " / 04";
  font-family: var(--font-body);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--on-dark-3);
}
.crh-pillar::after {
  /* dimming veil the stack script raises as the next card covers this one */
  content: "";
  position: absolute;
  inset: 0;
  background: #050a2b;
  opacity: var(--veil, 0);
  pointer-events: none;
  z-index: 2;
}
.crh .crh-pillar__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.75rem, 1.6rem + 5.2vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.032em;
  color: var(--accent);
  margin: 0;
}
.crh-pillar[data-pillar="expand"] { --accent: var(--expand); }
.crh-pillar[data-pillar="outsource"] { --accent: var(--outsource); }
.crh-pillar[data-pillar="hire"] { --accent: var(--hire); }
.crh-pillar[data-pillar="manage"] { --accent: var(--manage); }
.crh .crh-pillar__links li {
  border-top: 1px dashed var(--line-dark);
}
.crh .crh-pillar__links li:last-child {
  border-bottom: 1px dashed var(--line-dark);
}
.crh .crh-pillar__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 2px;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
  transition: color 200ms ease;
}
.crh .crh-pillar__links img {
  width: 14px;
  height: 15px;
  flex: none;
  transition: transform 260ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .crh .crh-pillar__links a:hover {
    color: var(--accent);
  }
  .crh .crh-pillar__links a:hover img {
    transform: translateX(4px);
  }
}
.crh-pillar__media {
  position: relative;
  aspect-ratio: 4 / 3;
  width: min(100%, 300px);
  justify-self: end;
  /* the clips sit on #0a1343; fade their edges into the card instead of showing a box */
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}
.crh .crh-pillar__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 767px) {
  .crh-pillar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    row-gap: 14px;
  }
  .crh-pillar::before {
    grid-row: 1;
    grid-column: 1;
  }
  .crh-pillar__media {
    grid-row: 1;
    grid-column: 2;
    width: 104px;
    margin-block: -10px;
  }
  .crh .crh-pillar__name {
    grid-column: 1 / -1;
    font-size: clamp(2.125rem, 10vw, 3rem);
  }
  .crh-pillar__links {
    grid-column: 1 / -1;
  }
}
@media (min-width: 768px) {
  .crh-pillar {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.62fr);
    grid-template-rows: auto auto 1fr;
    column-gap: clamp(28px, 4vw, 64px);
    min-height: clamp(360px, 46vh, 440px);
  }
  .crh-pillar::before,
  .crh .crh-pillar__name,
  .crh-pillar__links {
    grid-column: 1;
  }
  .crh-pillar__links {
    align-self: end;
  }
  .crh-pillar__media {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: center;
    width: 100%;
    max-width: 340px;
  }
}
/* Sticky deck: each card pins a little lower than the last so the edges peek out. */
@media (min-height: 620px) {
  .crh-stack__item {
    position: sticky;
    top: calc(var(--stick) + 20px + var(--i) * 16px);
  }
}

/* ==== 4. Employee journey ==== */
.crh-journey {
  padding-block: var(--section);
}
.crh-journey__grid {
  display: grid;
  gap: clamp(40px, 6vw, 96px);
}
.crh .crh-journey__statement br {
  display: none;
}
.crh .crh-journey__accent {
  background: var(--grad-journey);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.crh .crh-journey__body {
  margin-top: 28px;
}
.crh .crh-steps {
  counter-reset: step;
}
.crh .crh-steps li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px dashed var(--line-strong);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.crh .crh-steps li:last-child {
  border-bottom: 1px dashed var(--line-strong);
}
.crh-steps__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--tint);
  flex: none;
}
.crh .crh-steps__icon img {
  width: 20px;
  height: auto;
}
@media (min-width: 1025px) {
  .crh-journey__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }
  .crh .crh-journey__statement br {
    display: inline;
  }
}

/* ==== 5. EOR banner + EOR services ==== */
.crh .crh-banner img {
  width: 100%;
  aspect-ratio: 1920 / 440;
  object-fit: cover;
  background: var(--tint);
}
.crh-eor {
  background: var(--tint);
  padding-block: var(--section);
}
.crh-eor__grid {
  display: grid;
  gap: clamp(36px, 5vw, 72px);
}
.crh-eor__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.crh-countries {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--navy);
  color: #fff;
  padding: clamp(28px, 3.5vw, 44px);
  align-self: start;
}
/* Two soft lights drifting slowly behind the list (one cycle ≈ 22s / 28s — far below the
   ~0.2 Hz band that bothers people; stilled for reduced motion). */
.crh-countries::before,
.crh-countries::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  pointer-events: none;
  will-change: transform;
}
.crh-countries::before {
  top: -35%;
  right: -25%;
  background: radial-gradient(closest-side, #2d3fb0, rgba(45, 63, 176, 0));
  animation: crh-drift-a 22s ease-in-out infinite alternate;
}
.crh-countries::after {
  bottom: -40%;
  left: -30%;
  background: radial-gradient(closest-side, rgba(5, 196, 206, 0.55), rgba(5, 196, 206, 0));
  animation: crh-drift-b 28s ease-in-out infinite alternate;
}
@keyframes crh-drift-a {
  to {
    transform: translate(-38%, 30%) scale(1.15);
  }
}
@keyframes crh-drift-b {
  to {
    transform: translate(40%, -25%) scale(0.9);
  }
}
.crh .crh-countries__kicker {
  font-size: 1rem;
  color: var(--on-dark-2);
}
.crh .crh-countries__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: #fff;
  margin: 4px 0 24px;
}
.crh .crh-countries li {
  border-top: 1px dashed var(--line-dark);
}
.crh .crh-countries a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 12px;
  margin-inline: -12px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 1.0625rem;
  color: #fff;
  transition:
    color 200ms ease,
    background-color 200ms ease;
}
.crh .crh-countries a img {
  width: 14px;
  height: 15px;
  transition: transform 260ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .crh .crh-countries a:hover {
    color: #ffa95a;
    background: rgba(255, 255, 255, 0.06);
  }
  .crh .crh-countries a:hover img {
    transform: translateX(4px);
  }
}
@media (min-width: 1025px) {
  .crh-eor__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
    align-items: center;
  }
}

/* ==== 6. Software: statement + timed feature switcher (light-blue, as on the live page) ==== */
.crh-software {
  --sky: #05c4ce;
  --sky-tint: #e8feff;
  --grad-sky: linear-gradient(135deg, #05c4ce 0%, #0b1347 100%);
  padding-block: var(--section);
}
.crh .crh-software__focus .crh-software__accent {
  background: var(--grad-growth);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.crh .crh-software__focus {
  max-width: 16ch;
}
.crh-switch {
  display: grid;
  gap: clamp(28px, 4vw, 72px);
  margin-top: clamp(40px, 6vw, 88px);
  align-items: start;
}
.crh .crh-switch__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: clamp(16px, 2vw, 28px);
}
.crh .crh-switch__item + .crh-switch__item {
  margin-top: 4px;
}
.crh .crh-switch__trigger {
  appearance: none;
  display: grid;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 16px 0 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--muted);
  transition:
    color 200ms ease,
    transform 100ms var(--ease-out);
}
.crh .crh-switch__item[data-active] .crh-switch__trigger {
  color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  .crh .crh-switch__item:not([data-active]) .crh-switch__trigger:hover {
    color: var(--ink);
  }
}
/* the rail: grey track, light-blue fill that runs for the item's time on screen */
.crh-switch__bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: rgba(11, 19, 71, 0.1);
  overflow: hidden;
}
.crh-switch__bar > span {
  display: block;
  height: 100%;
  background: var(--sky);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.crh-switch__item[data-active] .crh-switch__bar > span {
  animation: crh-switch-run var(--switch-ms, 6500ms) linear forwards;
}
.crh-switch.is-paused .crh-switch__bar > span,
.crh-switch.is-held .crh-switch__bar > span {
  animation-play-state: paused;
}
.crh-switch.is-static .crh-switch__item[data-active] .crh-switch__bar > span {
  animation: none;
  transform: scaleX(1);
}
@keyframes crh-switch-run {
  to {
    transform: scaleX(1);
  }
}
/* open/close: grid rows 0fr ↔ 1fr; `hidden` is applied once a close has finished */
.crh-switch__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 520ms var(--spring-fast);
}
.crh-switch__panel[hidden] {
  display: none;
}
.crh-switch__item[data-active] .crh-switch__panel {
  grid-template-rows: 1fr;
}
.crh-switch__panel > div {
  overflow: hidden;
  min-height: 0;
}
.crh .crh-switch__panel h3 {
  padding-top: 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.625rem, 1.25rem + 1.4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.022em;
  max-width: 18ch;
}
.crh .crh-grad-blue {
  background: var(--grad-sky);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.crh .crh-switch__panel p {
  margin-top: 14px;
  padding-bottom: 12px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  max-width: 46ch;
}
.crh-switch__stage {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: var(--r-xl);
  background: var(--sky-tint);
  padding: clamp(24px, 4vw, 56px);
  min-height: clamp(320px, 38vw, 520px);
}
.crh .crh-switch__stage img {
  grid-area: 1 / 1;
  width: auto;
  max-height: clamp(260px, 30vw, 420px);
  border-radius: 14px;
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  transition:
    opacity 360ms var(--ease-out),
    transform 560ms var(--spring-fast);
}
.crh .crh-switch__stage img.is-on {
  opacity: 1;
  transform: none;
}
@media (max-width: 899px) {
  /* phones/tablets: picture first, the list under it */
  .crh-switch__stage {
    order: -1;
    min-height: 0;
  }
  .crh .crh-switch__stage img {
    max-height: 300px;
  }
}
@media (min-width: 900px) {
  .crh-switch {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
  .crh-switch__stage {
    position: sticky;
    top: calc(var(--stick) + 32px);
  }
}

/* ==== 7. Benefits — on the live page's blue ==== */
.crh-benefits {
  padding-block: var(--section);
  background: #1c2670 url("/assets/images/2023/09/Benefits-bkg.webp") center / cover no-repeat;
  color: #fff;
}
.crh .crh-benefits__title {
  color: #fff;
  text-align: center;
  margin-inline: auto;
  margin-bottom: clamp(32px, 4.5vw, 64px);
}
.crh .crh-benefits__grid {
  display: grid;
  gap: 16px;
}
.crh .crh-benefit {
  background: #fff;
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.crh .crh-benefit__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.875rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #2e3a8b;
}
.crh .crh-benefit p:not(.crh-benefit__title) {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  max-width: 52ch;
}
.crh-scroller {
  display: none;
}
@media (max-width: 767px) {
  /* swipe row + its own scroller */
  .crh .crh-benefits__grid {
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    scrollbar-width: none;
  }
  .crh .crh-benefits__grid::-webkit-scrollbar {
    display: none;
  }
  .crh .crh-benefit {
    scroll-snap-align: start;
  }
  .crh-scroller {
    display: block;
    position: relative;
    height: 4px;
    margin: 24px auto 0;
    width: min(160px, 50%);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.22);
    overflow: hidden;
  }
  .crh-scroller > span {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--thumb-w, 25%);
    border-radius: inherit;
    background: #fff;
    transform: translateX(var(--thumb-x, 0px));
  }
}
@media (min-width: 1200px) {
  /* 2×2, every card the same height; widths alternate 7/5 then 5/7 */
  .crh .crh-benefits__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 20px;
  }
  .crh .crh-benefit:nth-child(4n + 1),
  .crh .crh-benefit:nth-child(4n + 4) {
    grid-column: span 7;
  }
  .crh .crh-benefit:nth-child(4n + 2),
  .crh .crh-benefit:nth-child(4n + 3) {
    grid-column: span 5;
  }
}

/* ==== 8. Why choose us ==== */
.crh-why {
  padding-block: var(--section);
}
.crh-why__grid {
  display: grid;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.crh .crh-why__img {
  width: 100%;
  border-radius: var(--r-lg);
  aspect-ratio: 640 / 440;
  object-fit: cover;
  background: var(--tint);
}
.crh-why__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
@media (min-width: 900px) {
  .crh-why__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* ==== 9. Stats ==== */
.crh-stats {
  padding-inline: var(--gutter);
}
.crh-stats__card {
  max-width: calc(var(--wrap) + 160px);
  margin-inline: auto;
  border-radius: var(--r-xl);
  background:
    radial-gradient(80% 90% at 100% 100%, rgba(5, 196, 206, 0.16) 0%, rgba(5, 196, 206, 0) 60%),
    radial-gradient(90% 80% at 0% 0%, #1d2a7c 0%, rgba(29, 42, 124, 0) 55%),
    var(--navy);
  color: #fff;
  padding: clamp(48px, 7vw, 104px) clamp(20px, 5vw, 72px);
}
.crh .crh-stats__title {
  color: #fff;
}
.crh .crh-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 40px);
  margin-top: clamp(40px, 6vw, 80px);
}
.crh .crh-stat h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.75rem, 1.7rem + 4.2vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--tone);
  font-variant-numeric: tabular-nums;
}
.crh .crh-stat p {
  margin-top: 16px;
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  line-height: 1.45;
  color: var(--on-dark-2);
  max-width: 22ch;
}
/* Count-up: the real text ("98%") never changes. While counting it turns transparent and the
   running number is painted over it from data-display (generated content is not page text). */
.crh .crh-count {
  position: relative;
  display: inline-block;
}
.crh .crh-count.is-counting {
  color: transparent;
}
.crh .crh-count.is-counting::after {
  content: attr(data-display);
  position: absolute;
  inset: 0;
  color: var(--tone);
  white-space: nowrap;
}
.crh-stat[data-tone="cyan"] { --tone: #45f6ff; }
.crh-stat[data-tone="lavender"] { --tone: #afbaff; }
.crh-stat[data-tone="amber"] { --tone: #ffa95a; }
.crh-stat[data-tone="red"] { --tone: #ff5a66; }
@media (min-width: 1025px) {
  .crh .crh-stats__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ==== 10. Insights: blogs + press ==== */
.crh-insights {
  padding-block: var(--section);
}
.crh-insights__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.crh .crh-insights__head h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.crh .crh-posts {
  display: grid;
  gap: clamp(28px, 3vw, 40px);
}
.crh .crh-post {
  display: grid;
  gap: 18px;
  min-width: 0;
  align-content: start;
}
.crh-post__media {
  display: block;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--tint);
  aspect-ratio: 16 / 9;
}
.crh .crh-post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.crh-post__body {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
}
.crh-post__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.875rem;
  color: var(--muted);
}
.crh .crh-post__cat {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(11, 19, 71, 0.06);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.8125rem;
}
.crh .crh-post h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: pretty;
}
.crh .crh-post--lead h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 24ch;
}
.crh .crh-post h2 a {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .crh .crh-post:hover .crh-post__media img {
    transform: scale(1.035);
  }
  .crh .crh-post h2 a:hover {
    background-size: 100% 1px;
  }
}
/* the two compact rows: thumbnail beside the text, a hairline between them */
.crh .crh-post--row {
  grid-template-columns: minmax(112px, 34%) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding-top: clamp(20px, 2.4vw, 28px);
  border-top: 1px solid var(--line);
}
.crh .crh-post--row .crh-post__media {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
}
@media (min-width: 1025px) {
  .crh .crh-posts {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: clamp(32px, 4vw, 64px);
  }
  .crh .crh-post--lead {
    grid-row: 1 / -1;
  }
  .crh .crh-post--row:nth-child(2) {
    padding-top: 0;
    border-top: 0;
  }
}
.crh-press {
  margin-top: clamp(64px, 8vw, 112px);
}
.crh .crh-press__grid {
  display: grid;
  gap: 16px;
}
.crh .crh-press__item {
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid #e3e5ec;
  padding: clamp(24px, 3vw, 36px);
  display: grid;
  gap: 14px;
  align-content: start;
}
.crh .crh-press__logo {
  height: 44px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  object-position: left center;
}
.crh .crh-press__date {
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--muted);
}
.crh .crh-press__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.4375rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}
@media (min-width: 768px) {
  .crh .crh-press__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==== 11. Connect Pedia ==== */
.crh-pedia {
  background: var(--tint);
  padding-block: var(--section);
}
.crh-pedia__grid {
  display: grid;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.crh .crh-pedia__img {
  width: min(100%, 520px);
  margin-inline: auto;
}
.crh .crh-pedia__accent {
  color: var(--red);
}
.crh-pedia__form {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  max-width: 460px;
}
.crh .crh-pedia__form label {
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
}
.crh .crh-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 58px;
  margin: 0;
  padding: 0 52px 0 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%230b1347' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5.5l4 4 4-4'/%3E%3C/svg%3E")
    no-repeat right 20px center / 14px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.2;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .crh .crh-select:hover {
    border-color: var(--ink);
  }
}
/* Branded listbox (built by home-native.ts from the native select, which it then hides) */
.crh-combo {
  position: relative;
}
.crh-combo.is-enhanced .crh-select {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.crh .crh-combo__button {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  height: 58px;
  margin: 0;
  padding: 0 18px 0 20px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.2;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 100ms var(--ease-out);
}
.crh .crh-combo__button[aria-expanded="true"] {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(11, 19, 71, 0.08);
}
.crh .crh-combo__button:active {
  transform: scale(0.99);
}
.crh .crh-combo__button svg {
  width: 14px;
  height: 14px;
  flex: none;
  transition: transform 260ms var(--spring-fast);
}
.crh .crh-combo__button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.crh .crh-combo__value[data-empty] {
  color: var(--muted);
}
@media (hover: hover) and (pointer: fine) {
  .crh .crh-combo__button:hover {
    border-color: var(--ink);
  }
}
.crh .crh-combo__list {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  max-height: 320px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(11, 19, 71, 0.1);
  box-shadow:
    0 1px 2px rgba(11, 19, 71, 0.06),
    0 18px 48px -12px rgba(11, 19, 71, 0.28);
  /* grows from its trigger */
  transform-origin: 50% 0;
  transition:
    opacity 160ms var(--ease-out),
    transform 160ms var(--ease-out);
}
.crh .crh-combo__list[hidden] {
  display: block;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-4px) scale(0.98);
  pointer-events: none;
}
.crh .crh-combo__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 0.9875rem;
  color: var(--ink);
  cursor: pointer;
}
.crh .crh-combo__list li[data-active] {
  background: rgba(11, 19, 71, 0.06);
}
.crh .crh-combo__list li[aria-selected="true"] {
  font-weight: 600;
}
.crh .crh-combo__list li[aria-selected="true"]::after {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.5l3 3 6-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.5l3 3 6-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (prefers-reduced-transparency: reduce) {
  .crh .crh-combo__list {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
.crh .crh-pedia__hint {
  margin-top: 28px;
  color: var(--muted);
}
.crh .crh-pedia__cta {
  margin-top: 16px;
}
@media (min-width: 900px) {
  .crh-pedia__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

/* ==== 12. Abstract strip (above the footer) ==== */
.crh-strip img {
  width: 100%;
}

/* ==== Spacing between the contained cards ==== */
.crh-services,
.crh-stats {
  margin-top: clamp(0px, 1vw, 8px);
}

/* ==== Increased contrast: firmer rules, darker secondary text ==== */
@media (prefers-contrast: more) {
  .crh {
    --muted: #464a68;
    --faint: rgba(11, 19, 71, 0.72);
    --line: rgba(11, 19, 71, 0.45);
    --line-strong: rgba(11, 19, 71, 0.6);
    --line-dark: rgba(255, 255, 255, 0.5);
    --on-dark-3: rgba(255, 255, 255, 0.8);
  }
}

/* ==== Reduced motion: keep fades, drop movement ==== */
@media (prefers-reduced-motion: reduce) {
  .crh.crh-js [data-reveal]:not(.is-in) {
    transform: none;
  }
  .crh-logos__track {
    animation: none;
    width: auto;
  }
  .crh .crh-logos__list {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
    row-gap: 24px;
  }
  .crh .crh-logos__list[aria-hidden="true"] {
    display: none;
  }
  .crh-logos__viewport {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .crh-pillar {
    will-change: auto;
  }
  .crh-countries::before,
  .crh-countries::after {
    animation: none;
  }
  .crh *,
  .crh *::before,
  .crh *::after {
    transition-property: opacity, color, background-color, border-color !important;
  }
}
/*
 * EOR-UAE-NATIVE — /employer-of-record/united-arab-emirates/ (src/pages/employer-of-record/
 * united-arab-emirates.astro). The native sections sit in `.crh.eoru`, so home-native.css supplies
 * the homepage's tokens, type scale, buttons, focus ring and reveals; this sheet adds the page's own
 * sections. The FAQ (the hub's Elementor component) and the contact section (the page's original
 * markup) sit outside `.crh` and keep their own sheets; only a few bridging rules here touch them.
 * No red markers anywhere on the page (owner, 2026-10-12): accents are the brand's cyan, lavender,
 * amber and navy; red stays for the primary button and the video's play button only. The comparison's
 * "Through us" column is teal (owner, rev 4: "red looks like danger").
 */

/* `.crh` is not the <main> here, so home-native's `main#page-content.crh{padding-top:0}` does not
   apply; migration-overrides pads `.cr-site-header ~ main` by --header-height, which the
   announcement-bar script rewrites after paint. The hero clears the fixed header itself. */
main#page-content.eoru-main {
  padding-top: 0;
}
/* Impreza's body{overflow-x:hidden} / .l-canvas{overflow:hidden} make scroll containers; `clip` crops
   the same way without breaking position:sticky. */
body.eoru-page {
  overflow-x: clip;
}
body.eoru-page .l-canvas {
  overflow: clip;
}

/* Smooth in-page scrolling ("Get an EOR quote", "Full breakdown above"); instant for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  html:has(body.eoru-page) {
    scroll-behavior: smooth;
  }
}
/* Anchor targets land below the fixed header, not under it. The header never shrinks: it is --top
   (106px, 115px from 1025px) on .crh and the theme's --header-height on :root (--stick is a stale 70/75). */
.eoru [id] {
  scroll-margin-top: calc(var(--top) + 24px);
}
.eoru-faq [id] {
  scroll-margin-top: calc(var(--header-height, 106px) + 24px);
}
.eoru-main #bottom-form {
  scroll-margin-top: var(--header-height, 106px);
}

.eoru {
  --dash: 1px dashed var(--line-strong);
  --cyan: #05c4ce;
  --cyan-ink: #04838a;
  --teal-deep: #03767c; /* "Through us": white on it 5.4:1, it on the column tint 4.5:1+ at 12px */
  --lavender: #ad91fd;
  --lavender-ink: #6f4fe0;
  --amber: #ffa95a;
  --amber-ink: #b8620f;
  --overlap: clamp(56px, 6vw, 80px);
}

/* ---- Shared ---- */
.eoru-section {
  padding-block: var(--section);
}
.eoru-head {
  display: grid;
  gap: 16px;
  max-width: 864px;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}
.eoru-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}
.crh .eoru-head__lead {
  font-size: clamp(17px, 16px + 0.2vw, 19px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 46ch;
}
.crh .eoru-head__lead strong {
  font-weight: 500;
}
.crh .eoru-head__sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  max-width: 62ch;
}
/* In-text links: ink with a navy underline that firms up on hover */
.eoru p a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(11, 19, 71, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .eoru p a:hover {
    text-decoration-color: var(--ink);
  }
}
.eoru .is-dark p a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}
@media (hover: hover) and (pointer: fine) {
  .eoru .is-dark p a:hover {
    text-decoration-color: #fff;
  }
}
.crh .eoru-on-dark {
  color: #fff;
}
/* Small uppercase label (no marker) */
.crh .eoru-kicker,
.crh .eoru-switch__h2 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-3);
}

/* Navy bands (why, switching) */
.eoru-why,
.eoru-switch {
  padding-inline: var(--gutter);
}
.eoru-band {
  position: relative;
  isolation: isolate;
  /* clip, not hidden: hidden makes a scroll container, which would stop the sticky left columns */
  overflow: clip;
  max-width: calc(var(--wrap) + 160px);
  margin-inline: auto;
  border-radius: var(--r-xl);
  background:
    radial-gradient(80% 90% at 100% 100%, rgba(5, 196, 206, 0.12) 0%, rgba(5, 196, 206, 0) 60%),
    radial-gradient(90% 80% at 0% 0%, #1d2a7c 0%, rgba(29, 42, 124, 0) 55%),
    var(--navy);
  color: var(--on-dark-2);
  padding: clamp(48px, 7vw, 104px) clamp(20px, 5vw, 72px);
}

/* Buttons */
.crh .eoru-wa__icon {
  width: 18px;
  height: 18px;
  flex: none;
}
.crh .crh-btn--ondark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
}
@media (hover: hover) and (pointer: fine) {
  .crh .crh-btn--ondark:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.06);
  }
}

/* ---- Rev 4 type scale (owner: "massive on my laptop, mobile is fine") ----
   home-native's titles and buttons are in rem, and the theme's root is 18px from 1024px up; these px
   scales keep the phone sizes exactly and bring laptops down (section titles 56-63px → 36-40px, under the 42-50px H1). */
.crh.eoru .crh-title {
  font-size: clamp(32px, 22px + 1vw, 40px);
  line-height: 1.1;
}
.crh.eoru .crh-btn {
  font-size: 15px;
}

/* ---- Sticky left columns: a two-column section with its heading on the left keeps that column in view
   while the right column scrolls, until the section ends (why, switching, FAQ). Side-by-side layouts only,
   and only where the column fits the window under the fixed header. ---- */
@media (min-width: 1025px) and (min-height: 640px) {
  .eoru-why__copy,
  .eoru-switch__grid > :first-child {
    position: sticky;
    top: calc(var(--top) + 40px);
    align-self: start;
  }
  /* Impreza's .vc_column-inner is a flex column stretched to the row; its wrapper is the heading's own height */
  .eoru-faq .g-cols > .vc_column_container:first-child > .vc_column-inner > .wpb_wrapper {
    position: sticky;
    top: calc(var(--header-height, 115px) + 40px);
  }
}

/* ==== 1. Hero: the page's navy, the photo melting into it ==== */
/* Rev 4 (owner: "no breathing room"): room above the headline and between every block; no short-window
   squeeze, the key facts card may sit below the fold on short laptops. */
.eoru-hero {
  --hero-pb: clamp(48px, 7svh, 88px);
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--navy);
  color: #fff;
  padding: calc(var(--top) + clamp(24px, min(5vw, 5svh), 64px)) 0 calc(var(--hero-pb) + var(--overlap));
}
.eoru-hero::before {
  /* the faint warm light the old hero's gradient headline cast, behind the words only */
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 40% 0 0;
  background:
    radial-gradient(60% 55% at 15% 30%, rgba(173, 145, 253, 0.16) 0%, rgba(173, 145, 253, 0) 70%),
    radial-gradient(45% 40% at 0% 90%, rgba(242, 51, 66, 0.1) 0%, rgba(242, 51, 66, 0) 70%);
  pointer-events: none;
}
.eoru-hero__grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.eoru-hero__copy {
  min-width: 0;
}
/* Sizes in px, not rem: the theme's root is 18px from 1024px up, which made every rem 12.5% larger
   on laptops. Phones (16px root) are unchanged. */
.crh .eoru-hero__title {
  font-size: clamp(34px, 18px + 1.75vw, 50px);
  line-height: 1.08;
  max-width: 19ch;
  color: #fff;
}
.eoru-hero__accent {
  /* the old hero headline's own gradient */
  background: linear-gradient(135deg, #f23342 11%, #ffa95a 62%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.crh .eoru-hero__lead {
  margin-top: clamp(20px, 2.6vw, 28px);
  font-size: clamp(17px, 16px + 0.15vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 54ch;
}
.crh .eoru-hero__sub {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.66);
  max-width: 56ch;
}
.eoru-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3.4vw, 44px);
}
@media (max-width: 767px) {
  .crh .eoru-hero__lead {
    margin-top: 20px;
  }
  .crh .eoru-hero__sub {
    margin-top: 12px;
    font-size: 16px;
  }
  .eoru-hero__ctas {
    flex-direction: column;
    gap: 10px;
    margin-top: 29px;
  }
}
.eoru-hero__media {
  display: none;
  margin: 0;
}
@media (min-width: 900px) {
  .eoru-hero {
    padding-top: calc(var(--top) + clamp(56px, 9svh, 104px));
  }
  .eoru-hero__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }
  .crh .eoru-hero__title {
    /* two lines next to the photo */
    max-width: 22ch;
  }
  .eoru-hero__media {
    display: block;
    justify-self: end;
    align-self: end;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 956 / 1024;
    max-height: calc(100svh - var(--top) - 120px);
    min-height: 340px;
    /* sits on the hero floor; the facts card overlaps its faded foot */
    margin-bottom: calc(-1 * (var(--hero-pb) + var(--overlap)));
    /* the photo is shot on this navy: fade its left and bottom edges into the section */
    -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 100%), linear-gradient(to right, transparent 0%, #000 22%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, #000 68%, transparent 100%), linear-gradient(to right, transparent 0%, #000 22%);
    mask-composite: intersect;
  }
  .crh .eoru-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
  }
}

/* ==== Key facts: one white card riding the hero's bottom edge ==== */
/* Rev 4: two rows per tile, figure then caption. The figure is one baseline line (small prefix, big
   number, small unit), so no tile carries empty rows; a row of tiles shares its two rows (subgrid), so
   figures and captions line up across the row. 2 columns on phones, 3 from 760px. */
.eoru-facts-wrap {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * var(--overlap));
}
.crh .eoru-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow:
    0 0 0 1px rgba(11, 19, 71, 0.06),
    0 32px 64px -36px rgba(11, 19, 71, 0.5);
  overflow: hidden;
}
/* `.crh li{padding:0}` (the homepage reset) is (0,1,1): card rules need `.crh` too */
.crh .eoru-fact {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  row-gap: 8px;
  align-content: start;
  min-width: 0;
  padding: 20px 16px 22px;
}
.crh .eoru-fact__fig {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  row-gap: 2px;
  color: var(--ink);
}
.eoru-fact__big {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 20px + 1.5vw, 44px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.eoru-fact__pre,
.eoru-fact__unit {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(13px, 12px + 0.25vw, 16px);
  line-height: 1.2;
  color: var(--text);
  white-space: nowrap;
}
.crh .eoru-fact__label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 34ch;
}
.eoru-fact__label a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(11, 19, 71, 0.35);
  text-underline-offset: 3px;
}
/* hairlines between tiles: one column on phones, two from 560px (every figure fits one line there) */
.crh .eoru-fact + .eoru-fact {
  border-top: 1px solid var(--line);
}
@media (max-width: 559px) {
  .crh .eoru-fact {
    padding: 16px 20px 18px;
    row-gap: 6px;
  }
}
@media (min-width: 560px) and (max-width: 759px) {
  .crh .eoru-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .crh .eoru-fact:nth-child(2) {
    border-top: 0;
  }
  .crh .eoru-fact:nth-child(even) {
    box-shadow: inset 1px 0 0 var(--line);
  }
}
@media (min-width: 760px) {
  .crh .eoru-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .crh .eoru-fact {
    padding: clamp(24px, 2.6vw, 36px) clamp(22px, 2.8vw, 40px);
    row-gap: 10px;
  }
  .crh .eoru-fact:nth-child(even) {
    box-shadow: none;
  }
  .crh .eoru-fact:not(:nth-child(3n + 1)) {
    box-shadow: inset 1px 0 0 var(--line);
  }
  .crh .eoru-fact:nth-child(-n + 3) {
    border-top: 0;
  }
  .crh .eoru-fact:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }
}

/* ==== 2. Why Connect Resources ==== */
.eoru-why {
  margin-top: clamp(56px, 7vw, 96px);
}
.eoru-why__grid {
  display: grid;
  gap: clamp(40px, 6vw, 88px);
}
.eoru-why__copy {
  display: grid;
  gap: 20px;
  align-content: start;
}
.crh .eoru-why__lead {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(22px, 18px + 0.6vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: #fff;
}
.crh .eoru-why__p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--on-dark-2);
  max-width: 58ch;
}
.eoru-why__reasons {
  align-self: start;
  padding-top: clamp(0px, 1vw, 12px);
}
.crh .eoru-reasons {
  counter-reset: reason;
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.crh .eoru-reason {
  counter-increment: reason;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 20px;
  align-items: start;
  padding: clamp(20px, 2vw, 26px) clamp(20px, 2vw, 28px);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
}
.eoru-reason::before {
  content: counter(reason, decimal-leading-zero);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(175, 186, 255, 0.4);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: #afbaff;
  font-variant-numeric: tabular-nums;
}
.crh .eoru-reason__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  color: #fff;
  padding-top: 9px;
}
.crh .eoru-reason__text {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--on-dark-2);
}
@media (min-width: 1025px) {
  .eoru-why__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* ==== 3. What's included ==== */
.crh .eoru-checks {
  display: grid;
  column-gap: clamp(32px, 5vw, 72px);
}
.eoru-checks li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-top: var(--dash);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}
.eoru-checks svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 1px;
  color: var(--cyan-ink);
}
.crh .eoru-included__close {
  /* full width, centred, every viewport (owner) */
  margin-top: clamp(36px, 4.5vw, 56px);
  max-width: none;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(20px, 16px + 0.6vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
@media (min-width: 768px) {
  .crh .eoru-checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .eoru-checks li:nth-last-child(-n + 2) {
    border-bottom: var(--dash);
  }
}
@media (max-width: 767px) {
  .eoru-checks li:last-child {
    border-bottom: var(--dash);
  }
}

/* ==== 4. How it works: four step cards, then the video and the Golden Visa note ==== */
.eoru-how {
  background: var(--tint);
}
.eoru-step[data-tone="cyan"] { --tone-bg: rgba(5, 196, 206, 0.12); --tone-ink: var(--cyan-ink); }
.eoru-step[data-tone="lavender"] { --tone-bg: rgba(173, 145, 253, 0.16); --tone-ink: var(--lavender-ink); }
.eoru-step[data-tone="amber"] { --tone-bg: rgba(255, 169, 90, 0.18); --tone-ink: var(--amber-ink); }
.eoru-step[data-tone="navy"] { --tone-bg: rgba(11, 19, 71, 0.08); --tone-ink: var(--navy); }
.crh .eoru-steps {
  counter-reset: step;
  display: grid;
  gap: clamp(14px, 1.6vw, 20px);
}
.crh .eoru-step {
  counter-increment: step;
  position: relative;
  padding: clamp(24px, 2.4vw, 32px) clamp(22px, 2.2vw, 30px) clamp(26px, 2.6vw, 34px);
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}
/* the step number as a tinted badge in the step's brand colour */
.eoru-step::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--tone-bg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  color: var(--tone-ink);
  font-variant-numeric: tabular-nums;
}
.crh .eoru-step__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  color: var(--ink);
}
.crh .eoru-step__text {
  margin-top: 10px;
  font-size: 15.8px;
  line-height: 1.65;
  color: var(--text);
}
@media (min-width: 640px) {
  .crh .eoru-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .crh .eoru-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.eoru-how__media {
  display: grid;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  margin-top: clamp(32px, 4.5vw, 64px);
}
/* Side by side from 1180px (narrower, the card's copy outgrows a 16:9 video); the Golden Visa card is the
   video's height (owner, rev 4), the video keeps its 16:9 box if the card is ever taller. */
@media (min-width: 1180px) {
  .eoru-how__media {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: stretch;
  }
  .eoru-video {
    align-self: center;
  }
}
.eoru-video {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 24px 48px -28px rgba(11, 19, 71, 0.45);
}
.crh .eoru-video__btn {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.crh .eoru-video__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.eoru-video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(193, 18, 31, 0.6);
  transition: transform 200ms var(--ease-out);
}
.eoru-video__play svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}
.eoru-video__title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 18px 14px;
  background: linear-gradient(transparent, rgba(11, 19, 71, 0.85));
  font-size: 14px;
  line-height: 1.35;
  color: #fff;
}
@media (hover: hover) and (pointer: fine) {
  .crh .eoru-video__btn:hover img {
    transform: scale(1.02);
  }
  .eoru-video__btn:hover .eoru-video__play {
    transform: scale(1.06);
  }
}
.eoru-video__btn:active .eoru-video__play {
  transform: scale(0.96);
}
/* Golden Visa card: question, answer, then the FAQ link pinned to the foot, so the card can take the
   video's height. Amber as a soft corner glow (an inset edge line bends at rounded corners). */
.crh .eoru-golden {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 44px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(75% 65% at 100% 0%, rgba(255, 169, 90, 0.2) 0%, rgba(255, 169, 90, 0) 70%),
    var(--paper);
}
.crh .eoru-golden__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(22px, 14px + 0.95vw, 28px);
  line-height: 1.22;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}
.crh .eoru-golden__text {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
}
.crh .eoru-golden__more {
  margin-top: auto;
  padding-top: 24px;
}
.crh .eoru-golden__more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(11, 19, 71, 0.35);
  text-underline-offset: 4px;
}
.crh .eoru-golden__more svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--amber-ink);
  transition: transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .crh .eoru-golden__more a:hover {
    text-decoration-color: var(--ink);
  }
  .crh .eoru-golden__more a:hover svg {
    transform: translateX(3px);
  }
}

/* ==== 5. Cost + 6. Comparison: real tables ==== */
.eoru-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
}
.crh .eoru-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  border: 0;
  font-size: 16px;
  line-height: 1.55;
  table-layout: fixed;
}
.crh .eoru-table th,
.crh .eoru-table td {
  padding: clamp(14px, 1.6vw, 20px) clamp(16px, 2.2vw, 28px);
  border: 0;
  text-align: left;
  vertical-align: top;
  background: none;
  overflow-wrap: anywhere;
}
.crh .eoru-table thead th {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.crh .eoru-table thead th:first-child {
  /* table-layout:fixed takes column widths from the first row */
  width: 40%;
}
.crh .eoru-table tbody tr + tr > * {
  border-top: 1px solid var(--line);
}
.crh .eoru-table tbody th {
  font-weight: 500;
  color: var(--ink);
}
.crh .eoru-table tbody td {
  color: var(--text);
}
.crh .eoru-table tbody tr:first-child td {
  font-weight: 600;
  color: var(--ink);
}

/* the three notes under the cost table: brand accents, never red (owner) */
.eoru-note[data-tone="cyan"] { --tone: var(--cyan); --tint-bg: rgba(5, 196, 206, 0.07); }
.eoru-note[data-tone="lavender"] { --tone: var(--lavender); --tint-bg: rgba(173, 145, 253, 0.1); }
.eoru-note[data-tone="amber"] { --tone: var(--amber); --tint-bg: rgba(255, 169, 90, 0.1); }
.crh .eoru-notes {
  display: grid;
  gap: clamp(14px, 1.6vw, 20px);
  margin-top: clamp(28px, 3.5vw, 44px);
}
.eoru-note {
  padding: clamp(22px, 2.2vw, 28px);
  border-radius: var(--r-lg);
  background: var(--tint-bg);
  box-shadow: inset 0 3px 0 var(--tone);
}
.crh .eoru-note h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(18px, 16.8px + 0.3vw, 21px);
  line-height: 1.3;
  letter-spacing: -0.008em;
  color: var(--ink);
  text-wrap: balance;
}
.crh .eoru-note p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}
.crh .eoru-more {
  margin-top: clamp(24px, 3vw, 36px);
  font-size: 16px;
  color: var(--muted);
}
@media (min-width: 900px) {
  .crh .eoru-notes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.eoru-vs {
  background: var(--tint);
}
/* "Through us" is the highlighted column: the brand's teal (--teal-deep), never red */
.crh .eoru-compare thead td {
  width: 24%;
  background: var(--navy);
}
.crh .eoru-compare thead th:first-of-type {
  width: auto;
  background: var(--teal-deep);
}
.crh .eoru-compare tbody td:nth-of-type(1) {
  background: rgba(5, 196, 206, 0.07);
  color: var(--ink);
  font-weight: 500;
}
.crh .eoru-compare tbody td:nth-of-type(2) {
  color: var(--muted);
}
.crh .eoru-compare tbody th {
  font-family: var(--font-head);
  font-weight: 600;
}
.crh .eoru-when {
  margin-top: clamp(28px, 3.5vw, 40px);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}
.crh .eoru-when strong {
  color: var(--ink);
  font-weight: 600;
}
/* From 768px it sits on the comparison's own column grid (owner, rev 4: span the full width): the lead
   under the row labels (24%), the text under the two answer columns, edges matching the table's cell
   padding and 1px border. Full-width lines would run ~140 characters; this keeps them near 110. */
@media (min-width: 768px) {
  .crh .eoru-when {
    display: grid;
    grid-template-columns: 24% minmax(0, 1fr);
    padding-inline: 1px;
  }
  .crh .eoru-when > * {
    padding-inline: clamp(16px, 2.2vw, 28px);
  }
}
/* Phones: the comparison stacks one card per row (label, then both answers), never scrolls */
@media (max-width: 767px) {
  .eoru-vs .eoru-table-wrap {
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: none;
  }
  .crh .eoru-compare,
  .crh .eoru-compare tbody,
  .crh .eoru-compare tr,
  .crh .eoru-compare th,
  .crh .eoru-compare td {
    display: block;
    width: auto;
  }
  .crh .eoru-compare thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .crh .eoru-compare tbody tr {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--paper);
    overflow: hidden;
  }
  .crh .eoru-compare tbody tr + tr > * {
    border-top: 0;
  }
  .crh .eoru-compare tbody th {
    padding: 14px 16px 10px;
    font-size: 17px;
  }
  .crh .eoru-compare tbody td {
    display: grid;
    gap: 2px;
    padding: 10px 16px;
    border-top: 1px solid var(--line);
  }
  .crh .eoru-compare tbody td:nth-of-type(1)::before {
    color: var(--teal-deep);
  }
  .crh .eoru-compare tbody td::before {
    content: attr(data-label);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
  }
}

/* ==== 7. Switching band ==== */
.eoru-switch {
  margin-top: clamp(8px, 1vw, 16px);
}
.eoru-switch__band {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(173, 145, 253, 0.22) 0%, rgba(173, 145, 253, 0) 62%),
    radial-gradient(70% 70% at 0% 100%, #1d2a7c 0%, rgba(29, 42, 124, 0) 60%),
    var(--navy);
}
.eoru-switch__grid {
  display: grid;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.crh .eoru-switch__h2 {
  margin-bottom: 18px;
}
.crh .eoru-switch__headline {
  max-width: 15ch;
}
.eoru-switch__body {
  display: grid;
  gap: 20px;
}
.crh .eoru-switch__body > p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--on-dark-2);
  max-width: 58ch;
}
.crh .eoru-switch__points {
  display: grid;
  gap: 12px;
}
.eoru-switch__points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 17px;
  line-height: 1.5;
  color: #fff;
}
.eoru-switch__points svg {
  width: 22px;
  height: 22px;
  flex: none;
  padding: 3px;
  border-radius: 50%;
  background: rgba(69, 246, 255, 0.16);
  color: #45f6ff;
}
.crh .eoru-switch__more {
  font-size: 15px;
  color: var(--on-dark-3);
}
@media (min-width: 1025px) {
  .eoru-switch__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}

/* ==== 8. Proof ==== */
.eoru-proof .eoru-head {
  margin-bottom: clamp(28px, 3.5vw, 40px);
}
.crh .eoru-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3.5vw, 44px) clamp(32px, 4.5vw, 64px);
  margin: 0 auto clamp(36px, 4.5vw, 56px);
  max-width: 1080px;
}
.crh .eoru-logos img {
  filter: grayscale(1);
  opacity: 0.62;
  transition:
    filter 200ms ease,
    opacity 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .crh .eoru-logos img:hover {
    filter: none;
    opacity: 1;
  }
}
.eoru-case {
  max-width: 880px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(173, 145, 253, 0.12) 0%, rgba(173, 145, 253, 0) 70%),
    var(--paper);
}
.crh .eoru-case__logo {
  height: 26px;
  width: auto;
  margin-bottom: 20px;
  filter: grayscale(1);
  opacity: 0.7;
}
.crh .eoru-case h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(22px, 18px + 0.5vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
  max-width: 30ch;
}
.crh .eoru-case p {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}
.crh .eoru-alliance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  max-width: 880px;
  margin: clamp(24px, 3vw, 36px) auto 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}
.crh .eoru-alliance img {
  width: 104px;
  height: auto;
  filter: grayscale(1);
  opacity: 0.7;
}

/* ==== 9. FAQ: the page's own Impreza accordion ==== */
/* The question is an H3 in place of the original title <div>: only the theme's h3 element rules
   (margin, padding, font family and weight) are taken back off; the w-tabs title classes style it as before. */
.eoru-faq .w-tabs-section-header > h3.w-tabs-section-title {
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-weight: inherit;
}
/* the answer a link lands on gets a brief highlight */
.eoru-faq .w-tabs-section:target {
  animation: eoru-flash 1.6s ease-out 0.35s 1 both;
}
@keyframes eoru-flash {
  0% {
    background: rgba(255, 169, 90, 0.2);
  }
  100% {
    background: rgba(255, 169, 90, 0);
  }
}

/* ==== 9b + 10. The FAQ and contact headings: the page's section title (owner, rev 4: "Spline Sans
   heading"), set on the H2 itself so the legacy wrappers' !important sizes (on the wrapper only) don't reach it ==== */
.eoru-faq #eoru-faq,
.eoru-contact #eoru-quote {
  margin: 0;
  padding: 0;
  font-family: "Spline Sans", "Spline Sans Fallback", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 22px + 1vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  text-transform: none;
  color: #0b1347;
  text-wrap: balance;
}

/* ==== 10. The original contact section: bridging rules for the new left column only ==== */
/* body copy in Poppins at reading size (the legacy wrapper set 24px bold) */
.eoru-contact .us_custom_69d51952 p {
  margin: 0;
  font-family: "Poppins", "Poppins Fallback", Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: #3a3e5c;
  max-width: 52ch;
}
.eoru-contact .us_custom_69d51952 p + p {
  margin-top: 14px;
}
@media (max-width: 767px) {
  .eoru-contact .us_custom_69d51952 p {
    margin-inline: auto;
  }
}
.eoru-contact__cta {
  margin-top: 24px;
}
.eoru-contact .eoru-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(11, 19, 71, 0.28);
  border-radius: 10px;
  background: transparent;
  color: #0b1347;
  font-family: "Poppins", "Poppins Fallback", Arial, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  transition:
    border-color 200ms ease,
    background-color 200ms ease;
}
.eoru-contact .eoru-wa-btn .eoru-wa__icon {
  width: 18px;
  height: 18px;
  flex: none;
}
@media (hover: hover) and (pointer: fine) {
  .eoru-contact .eoru-wa-btn:hover {
    border-color: #0b1347;
    background: rgba(11, 19, 71, 0.04);
  }
}
.eoru-contact .eoru-wa-btn:focus-visible {
  outline: 2px solid #0b1347;
  outline-offset: 3px;
}

/* ==== Reduced motion ==== */
@media (prefers-reduced-motion: reduce) {
  .eoru-faq .w-tabs-section:target {
    animation: none;
  }
}
@media (prefers-contrast: more) {
  .crh .eoru-logos img {
    opacity: 1;
  }
}
/*
 * COUNTRY-01 — the family A country service pages (src/components/country/CountryPage.astro). Built on the
 * UAE EOR page's sheet (eor-uae-native.css, on top of home-native.css) like /payroll/ and /hr-outsourcing/;
 * this sheet adds what these pages need: a light hero, image/text splits that alternate sides, the services
 * cards with the stored symbol icons, a text band, the advantages checklist, a quiet closing panel and the
 * Arabic rules for the contact section (the UAE page's own, around form 6391). Sizes in px (the theme's root is 18px
 * from 1024px). Logical properties only, so the Arabic pages mirror with the same rules.
 */

/* ==== Arabic: the site's Arabic stack (public/css/ar-pages.css), no negative tracking ==== */
[dir="rtl"] .crh.cty {
  --font-head: "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-body: "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}
[dir="rtl"] .crh.cty .crh-display,
[dir="rtl"] .crh.cty .crh-title {
  letter-spacing: 0;
  line-height: 1.3;
}
[dir="rtl"] .cty .crh-btn__arrow,
[dir="rtl"] .cty .cty-card__arrow {
  transform: scaleX(-1);
}
@media (hover: hover) and (pointer: fine) {
  [dir="rtl"] .cty .crh-btn:hover .crh-btn__arrow,
  [dir="rtl"] .cty .cty-card:hover .cty-card__arrow {
    transform: scaleX(-1) translateX(3px);
  }
}

/* ==== Hero: light, one button, the page's own image beside the copy from 900px ==== */
.eoru-hero.cty-hero {
  --hero-pb: clamp(44px, 6svh, 80px);
  background: #f4f7ff;
  color: var(--ink);
  padding-bottom: var(--hero-pb);
}
.eoru-hero.cty-hero::before {
  inset: 0;
  background:
    radial-gradient(55% 60% at 12% 30%, rgba(173, 145, 253, 0.16) 0%, rgba(173, 145, 253, 0) 70%),
    radial-gradient(40% 45% at 0% 95%, rgba(5, 196, 206, 0.08) 0%, rgba(5, 196, 206, 0) 70%);
}
[dir="rtl"] .eoru-hero.cty-hero::before {
  transform: scaleX(-1);
}
.crh .cty-hero .eoru-hero__title {
  color: var(--ink);
  max-width: 20ch;
}
.crh .cty-hero .eoru-hero__lead {
  color: var(--text);
  max-width: 60ch;
}
@media (min-width: 900px) {
  .eoru-hero.cty-hero {
    padding-top: calc(var(--top) + clamp(28px, 5svh, 56px));
  }
  .cty-hero .eoru-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
  /* the EOR hero's cropped, masked photo on the hero floor becomes a whole image, centred, sized by the window */
  /* sized from the stored ratio (--ar, set inline), not from the loaded file, so nothing moves when it arrives */
  .eoru-hero__media.cty-hero__media {
    justify-self: end;
    align-self: center;
    width: 100%;
    max-width: min(520px, calc((100svh - var(--top) - 160px) * var(--ar, 1)));
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
    margin-bottom: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .crh .cty-hero__media img {
    width: 100%;
    height: auto;
    object-fit: fill;
  }
}

/* ==== Shared ==== */
.cty .eoru-section {
  padding-block: clamp(48px, 6vw, 88px);
}
.crh.eoru .cty-h2 {
  font-size: clamp(26px, 20px + 0.9vw, 34px);
  line-height: 1.15;
  max-width: 26ch;
}
.cty .cty-h2 + .cty-text {
  margin-top: 20px;
}
.crh .cty-text {
  display: grid;
  gap: 14px;
  max-width: 62ch;
}
.crh .cty-text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}
.crh .cty-text strong {
  font-weight: 600;
  color: var(--ink);
}
.crh .cty-actions {
  margin-top: 28px;
}
.crh .cty-bullets {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.crh .cty-bullets li {
  position: relative;
  padding-inline-start: 18px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
}
.cty-bullets li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.66em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

/* ==== Image + text splits (and the advantages section): the image alternates sides, first at the end ==== */
.cty-split__grid {
  display: grid;
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
}
.crh .cty-media {
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: min(420px, 100%);
}
.crh .cty-media img {
  width: 100%;
  height: auto;
}
@media (min-width: 900px) {
  .cty-split__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
  .cty-split__grid.is-flipped {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
  .cty-split__grid.is-flipped .cty-media {
    order: -1;
  }
  .cty-split__grid.is-text {
    grid-template-columns: minmax(0, 1fr);
  }
  .crh .cty-media {
    max-width: 500px;
  }
}

/* ==== Services: the six (or five) symbol cards on the brand tint ==== */
.cty-services {
  background: var(--tint);
}
.crh .cty-cards {
  display: grid;
  gap: 14px;
  margin-top: clamp(28px, 3.5vw, 44px);
}
@media (min-width: 560px) {
  .crh .cty-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1025px) {
  .crh .cty-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}
/* padding on the card, never the <li> (home-native zeroes li padding) */
.crh .cty-card {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  min-height: 92px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  color: var(--ink);
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease;
}
.crh .cty-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #f4f7ff;
}
.crh .cty-card__icon img {
  width: auto;
  height: auto;
  max-width: 32px;
  max-height: 32px;
}
.crh .cty-card__label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  color: var(--ink);
}
.crh .cty-card__arrow {
  flex: none;
  width: 16px;
  height: 16px;
  margin-inline-start: auto;
  color: var(--muted);
  transition: transform 300ms var(--spring-fast);
}
/* the card for the page itself: outlined in navy, not a link */
.crh .cty-card.is-current {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  .crh a.cty-card:hover {
    border-color: var(--line-strong);
    box-shadow: 0 18px 36px -28px rgba(11, 19, 71, 0.45);
  }
  .crh a.cty-card:hover .cty-card__arrow {
    transform: translateX(3px);
    color: var(--ink);
  }
}

/* ==== A split without an image: a text band, heading beside the text on wide screens ==== */
.crh .cty-textband__panel {
  display: grid;
  gap: 20px;
  padding: clamp(32px, 5vw, 64px) clamp(22px, 5vw, 72px);
  border: 1px solid rgba(173, 145, 253, 0.3);
  border-radius: var(--r-xl);
  background: var(--tint);
}
.cty .cty-textband .cty-h2 + .cty-text {
  margin-top: 0;
}
@media (min-width: 1025px) {
  .crh .cty-textband__panel {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    column-gap: clamp(40px, 5vw, 80px);
    align-items: start;
  }
}

/* ==== Advantages: the list as the site's tick checklist, one column beside the image ==== */
.crh .eoru-checks.cty-checks {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 24px;
  max-width: 62ch;
}
.cty-checks li {
  font-size: 17px;
}
@media (min-width: 768px) {
  .cty-checks li:nth-last-child(2) {
    border-bottom: 0;
  }
}
.cty-checks li:last-child {
  border-bottom: var(--dash);
}

/* ==== Closing: a quiet panel, copy and the section's image ==== */
.crh .cty-closing__panel {
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(32px, 5vw, 64px) clamp(22px, 5vw, 72px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #f4f7ff;
}
.crh .cty-media--closing {
  max-width: min(320px, 100%);
}
@media (min-width: 900px) {
  .crh .cty-closing__panel {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  }
  .crh .cty-closing__panel.is-text {
    grid-template-columns: minmax(0, 1fr);
  }
  .crh .cty-media--closing {
    max-width: 340px;
  }
}

/* ==== Contact: the UAE EOR page's section (.eoru-contact, styled by eor-uae-native.css); Arabic only here ==== */
[dir="rtl"] .eoru-contact #eoru-quote,
[dir="rtl"] .eoru-contact .us_custom_69d51952 p,
[dir="rtl"] .eoru-contact .eoru-wa-btn {
  font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  letter-spacing: 0;
}
[dir="rtl"] .eoru-contact #eoru-quote {
  line-height: 1.4;
}
[dir="rtl"] .eoru-contact .us_custom_69d51952 p {
  line-height: 1.8;
}
/* the Arabic form as live (ar-pages.css on main.cr-ar-clone): the Arabic stack, right to left */
[dir="rtl"] .eoru-contact {
  font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}
[dir="rtl"] .eoru-contact .wpcf7,
[dir="rtl"] .eoru-contact .wpcf7-form,
[dir="rtl"] .eoru-contact input,
[dir="rtl"] .eoru-contact textarea,
[dir="rtl"] .eoru-contact select {
  direction: rtl;
  text-align: right;
}
