/* ==========================================================================
   HReasy Nepal — global design system (earthy / watercolour)

   Automatic on every page, no class needed:
   - brand fonts, colours, headings, the serif <em> accent in headings
   - every Elementor Button widget: crimson colour-wipe hover
   - headings, text, images and buttons below the first screen fade up on scroll
     (add class hr-no-reveal to a widget or container to switch it off)

   Special looks: select a container or widget → Advanced → CSS Classes and add
   one of the hr-* classes below. Every page built later inherits them too.

   Layout      hr-section · hr-section--alt · hr-section--tight · hr-section-head
   Type        hr-eyebrow · hr-title · hr-lead · hr-prose  (accent: wrap words in <em>)
   Buttons     hr-btn (crimson) · hr-btn--blue · hr-btn--outline · hr-btn--ghost
               hr-btn--white · hr-btn--sm · hr-btn--block
   Links       hr-link
   Cards       hr-card · hr-card--hover · hr-media · hr-icon
   Scenery     hr-hero · hr-banner · hr-art (Image widget) · hr-art--band
   Chrome      hr-header · hr-nav · hr-burger · hr-footer · hr-pill · hr-chip
   Motion      hr-reveal (+ hr-d1…hr-d4 delays) · hr-stagger (children one by one)
               hr-count (number counts up when seen)
   ========================================================================== */

:root {
  --hr-paper: #FBF8F2;
  --hr-paper-2: #F4EEE3;
  --hr-card: #FFFEFB;
  --hr-line: #E6DECF;
  --hr-line-2: #EFE9DD;
  --hr-navy: #0A1F44;
  --hr-blue: #003893;
  --hr-blue-50: #EDF1F6;
  --hr-blue-100: #D6E0F0;
  --hr-ink: #1B2638;
  --hr-ink-2: #414652;
  --hr-text: #4E5563;
  --hr-muted: #736D63;
  --hr-crimson: #C8102E;
  --hr-crimson-700: #8F0B20;
  --hr-crimson-50: #FCEEF0;
  --hr-wine: #A3262F;
  --hr-sage: #7F8F68;
  --hr-water: #A9C9D6;
  --hr-sand: #E8DCC3;
  --hr-footer: #0E2138;

  --hr-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hr-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --hr-r: 6px;
  --hr-r-lg: 8px;
  --hr-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .12);
  --hr-shadow-lg: 0 2px 4px rgba(15, 23, 42, .04), 0 16px 40px -18px rgba(15, 23, 42, .18);
  --hr-ease: cubic-bezier(.22, .61, .36, 1);
  --hr-ease-out: cubic-bezier(.16, 1, .3, 1);
  --hr-t: .25s;
  --hr-header-h: 76px;
  --hr-topbar-h: 36px;
  --hr-gutter: clamp(16px, 4vw, 40px);
}

/* Elementor global colours and fonts follow the brand, so plain widgets match too. */
body[class*="elementor-kit-"] {
  --e-global-color-primary: var(--hr-navy);
  --e-global-color-secondary: var(--hr-blue);
  --e-global-color-text: var(--hr-ink-2);
  --e-global-color-accent: var(--hr-crimson);
  --e-global-typography-primary-font-family: "IBM Plex Sans";
  --e-global-typography-primary-font-weight: 600;
  --e-global-typography-secondary-font-family: "IBM Plex Sans";
  --e-global-typography-secondary-font-weight: 500;
  --e-global-typography-text-font-family: "IBM Plex Sans";
  --e-global-typography-text-font-weight: 400;
  --e-global-typography-accent-font-family: "IBM Plex Sans";
  --e-global-typography-accent-font-weight: 600;
}

/* ---------- Base ---------------------------------------------------------- */
/* Small reset (replaces Hello's reset.css, whose pink button/link colours we don't want) */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img, svg, video { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; margin: 0; }
/* :where() keeps these at zero strength, so every designed button overrides them */
:where(button, [type="button"], [type="submit"], [type="reset"]) { cursor: pointer; border: 1px solid var(--hr-line); border-radius: var(--hr-r); background: transparent; padding: .5rem 1rem; }
table { border-collapse: collapse; width: 100%; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; overflow-x: clip; }
body {
  background: var(--hr-paper); color: var(--hr-ink-2);
  font-family: var(--hr-sans); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6,
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--hr-sans); color: var(--hr-ink); font-weight: 600;
  line-height: 1.2; letter-spacing: -.015em;
}
h1, .elementor-widget-heading h1.elementor-heading-title { font-size: clamp(2.1rem, 4vw, 3.25rem); letter-spacing: -.025em; line-height: 1.12; color: var(--hr-navy); }
h2, .elementor-widget-heading h2.elementor-heading-title { font-size: clamp(1.65rem, 2.6vw, 2.25rem); letter-spacing: -.02em; }
h3, .elementor-widget-heading h3.elementor-heading-title { font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
a { color: var(--hr-blue); transition: color var(--hr-t) var(--hr-ease); }
a:hover { color: var(--hr-navy); }
::selection { background: var(--hr-blue); color: #fff; }
:focus-visible { outline: 2px solid var(--hr-blue); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; height: auto; }

/* Flex/grid children may shrink, so long words never push the page sideways. */
.e-con > *, .e-con-inner > *, .e-grid > * { min-width: 0; }

/* The one serif italic accent phrase per headline */
h1 em, h2 em, h3 em, .hr-title em, .hr-accent em,
.elementor-heading-title em {
  font-family: var(--hr-serif); font-style: italic; font-weight: 400;
  color: var(--hr-wine); letter-spacing: -.005em;
}
h1 em, .hr-title em, .elementor-heading-title em { font-size: 1.1em; line-height: 1; }
h2 em { font-size: 1.12em; }

/* ---------- Sections ------------------------------------------------------ */
.hr-section { position: relative; }
/* Consistent vertical rhythm for every section (wins over per-section padding) */
.e-con.hr-section { padding-top: clamp(64px, 8vw, 112px) !important; padding-bottom: clamp(64px, 8vw, 112px) !important; }
.e-con.hr-section--tight { padding-top: clamp(48px, 6vw, 80px) !important; padding-bottom: clamp(48px, 6vw, 80px) !important; }

/* Grids and two-column splits (layout in code, content editable in Elementor) */
.hr-grid { display: grid !important; gap: 20px; }
.hr-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hr-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hr-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .hr-grid-3, .hr-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hr-grid-2, .hr-grid-3, .hr-grid-4 { grid-template-columns: minmax(0, 1fr); } }
.hr-split > .hr-col, .hr-split > .e-con-inner > .hr-col { flex: 1 1 0; min-width: 0; }
@media (max-width: 767px) { .hr-split > .hr-col, .hr-split > .e-con-inner > .hr-col { flex-basis: auto; width: 100%; } }
.hr-wide-media img { aspect-ratio: 21 / 8; object-fit: cover; }
@media (max-width: 767px) { .hr-wide-media img { aspect-ratio: 16 / 10; } }
.hr-section--alt { background: var(--hr-paper-2); }
.hr-section--white { background: #fff; }
.hr-section-head { max-width: 700px; margin-inline: auto; margin-bottom: clamp(32px, 4vw, 52px); text-align: center; }
.hr-section-head .hr-eyebrow { justify-content: center; }

/* ---------- Type helpers -------------------------------------------------- */
.hr-eyebrow, .hr-eyebrow .elementor-heading-title {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font-family: var(--hr-sans); font-size: .78rem; font-weight: 600; line-height: 1.4;
  letter-spacing: .13em; text-transform: uppercase; color: var(--hr-blue);
}
/* In Elementor the dash sits inline with the text, so it stays attached when the label wraps */
.hr-eyebrow .elementor-heading-title { display: block; }
.hr-eyebrow .elementor-heading-title::before {
  content: ""; display: inline-block; vertical-align: middle; width: 20px; height: 2px; margin: -2px 10px 0 0; background: var(--hr-crimson);
}
p.hr-eyebrow::before, span.hr-eyebrow::before { content: ""; flex: none; width: 20px; height: 2px; background: var(--hr-crimson); }
.hr-title, .hr-title .elementor-heading-title {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.1; letter-spacing: -.02em;
  color: var(--hr-navy); text-wrap: balance;
}
.hr-lead, .hr-lead p, .hr-lead .elementor-widget-container {
  font-size: clamp(1.02rem, 1.25vw, 1.12rem); line-height: 1.7; color: var(--hr-text);
}
.hr-prose { color: var(--hr-ink-2); }
.hr-prose a { color: var(--hr-blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.hr-prose a:hover { color: var(--hr-crimson); }

/* ---------- Buttons: colour wipes up from the bottom on hover -------------- */
body .elementor-widget-button .elementor-button, a.hr-btn, button.hr-btn {
  --bg: var(--hr-crimson); --fg: #fff; --bd: var(--hr-crimson); --fill: var(--hr-crimson-700);
  position: relative; isolation: isolate; overflow: hidden; box-sizing: border-box; max-width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border: 1px solid var(--bd); border-radius: var(--hr-r);
  background: var(--bg) !important; color: var(--fg) !important; fill: var(--fg);
  font: 600 .95rem/1.2 var(--hr-sans); letter-spacing: 0; text-decoration: none; cursor: pointer;
  transition: color var(--hr-t) var(--hr-ease), border-color var(--hr-t) var(--hr-ease), box-shadow var(--hr-t) var(--hr-ease), transform var(--hr-t) var(--hr-ease);
}
body .elementor-widget-button .elementor-button::before, a.hr-btn::before, button.hr-btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill);
  transform: scaleY(0); transform-origin: bottom; transition: transform .35s var(--hr-ease-out);
}
body .elementor-widget-button .elementor-button:hover, a.hr-btn:hover, button.hr-btn:hover,
body .elementor-widget-button .elementor-button:focus-visible, a.hr-btn:focus-visible, button.hr-btn:focus-visible { color: var(--fg); }
body .elementor-widget-button .elementor-button:hover::before, a.hr-btn:hover::before, button.hr-btn:hover::before,
body .elementor-widget-button .elementor-button:focus-visible::before, a.hr-btn:focus-visible::before, button.hr-btn:focus-visible::before { transform: scaleY(1); }
body .elementor-widget-button .elementor-button:active, a.hr-btn:active, button.hr-btn:active { transform: translateY(1px); }
body .elementor-widget-button .elementor-button-icon, .hr-btn svg { transition: transform var(--hr-t) var(--hr-ease); }
body .elementor-widget-button .elementor-button:hover .elementor-button-icon, a.hr-btn:hover svg { transform: translateX(3px); }
body .elementor-widget-button .elementor-button-icon svg { fill: currentColor; width: 1em; height: 1em; }

body .hr-btn--blue .elementor-button, a.hr-btn--blue { --bg: var(--hr-navy); --bd: var(--hr-navy); --fill: var(--hr-blue); }
body .hr-btn--outline .elementor-button, a.hr-btn--outline { --bg: #fff; --fg: var(--hr-ink); --bd: var(--hr-line); --fill: var(--hr-paper-2); }
body .hr-btn--outline .elementor-button:hover, a.hr-btn--outline:hover { --bd: var(--hr-ink); }
body .hr-btn--ghost .elementor-button, a.hr-btn--ghost {
  --bg: rgba(255, 255, 255, .72); --fg: var(--hr-ink); --bd: var(--hr-line); --fill: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
body .hr-btn--ghost .elementor-button:hover, a.hr-btn--ghost:hover { --bd: #D5CAB5; box-shadow: 0 14px 28px -18px rgba(27, 38, 56, .35); }
body .hr-btn--white .elementor-button, a.hr-btn--white { --bg: #fff; --fg: var(--hr-navy); --bd: #fff; --fill: var(--hr-blue-50); }
body .hr-btn--sm .elementor-button, a.hr-btn--sm { min-height: 40px; padding: 0 16px; font-size: .87rem; }
body .hr-btn--block, body .hr-btn--block .elementor-button, a.hr-btn--block { width: 100%; }

/* ---------- Links with an underline that draws in ------------------------- */
a.hr-link, .hr-link a, .hr-contact a {
  display: inline-flex; align-items: center; gap: 8px; padding-bottom: 2px;
  font-weight: 600; color: var(--hr-blue); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size var(--hr-t) var(--hr-ease), color var(--hr-t);
}
a.hr-link:hover, .hr-link a:hover, .hr-contact a:hover { background-size: 100% 1px; color: var(--hr-crimson); }
.hr-contact, .hr-contact p { color: var(--hr-muted); font-size: .95rem; }

/* ---------- Cards ---------------------------------------------------------- */
.hr-card {
  position: relative; background: var(--hr-card); border: 1px solid var(--hr-line); border-radius: var(--hr-r-lg);
  transition: box-shadow var(--hr-t) var(--hr-ease), border-color var(--hr-t) var(--hr-ease), transform var(--hr-t) var(--hr-ease);
}
.hr-card--hover:hover, a.hr-card:hover { box-shadow: var(--hr-shadow-lg); border-color: var(--hr-blue-100); transform: translateY(-2px); }
.hr-card--hover::after, a.hr-card::after {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; border-radius: var(--hr-r-lg) var(--hr-r-lg) 0 0;
  background: var(--hr-crimson); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--hr-ease-out);
}
.hr-card--hover:hover::after, a.hr-card:hover::after { transform: scaleX(1); }

/* Framed image that zooms slightly on hover (Image widget or container) */
.hr-media, .hr-media .elementor-widget-container { overflow: hidden; border-radius: var(--hr-r-lg); }
.hr-media img { display: block; width: 100%; transition: transform .9s var(--hr-ease-out); }
.hr-media:hover img, .hr-card:hover .hr-media img { transform: scale(1.03); }

/* Icon tile (Icon widget) */
.hr-icon .elementor-icon {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: var(--hr-r);
  background: var(--hr-blue-50); color: var(--hr-blue); font-size: 22px;
  transition: background var(--hr-t) var(--hr-ease), color var(--hr-t) var(--hr-ease);
}
.hr-icon .elementor-icon svg { fill: currentColor; width: 22px; height: 22px; }
.hr-card:hover .hr-icon .elementor-icon { background: var(--hr-navy); color: #fff !important; }
.hr-card:hover .hr-icon .elementor-icon svg { fill: #fff !important; }

/* Pills and chips */
.hr-pill, .elementor-widget.hr-pill {
  display: inline-flex; align-items: center; gap: 10px; width: auto !important; max-width: 100%; padding: 7px 16px 7px 12px;
  border: 1px solid var(--hr-line); border-radius: 999px; background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hr-pill::before {
  content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--hr-crimson);
  animation: hr-pulse 2.6s ease-out infinite;
}
.hr-pill, .hr-pill .elementor-heading-title {
  margin: 0; font: 600 .78rem/1.35 var(--hr-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--hr-blue); text-align: left;
}
.hr-pill .elementor-widget-container { padding: 0; border: 0; background: none; }
@media (max-width: 480px) { .hr-pill, .hr-pill .elementor-heading-title { font-size: .7rem; letter-spacing: .08em; } }
@keyframes hr-pulse { 0% { box-shadow: 0 0 0 0 rgba(200, 16, 46, .45); } 70%, 100% { box-shadow: 0 0 0 9px rgba(200, 16, 46, 0); } }
.hr-chip, a.hr-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: var(--hr-r);
  border: 1px solid var(--hr-line); background: #fff; font-size: .86rem; font-weight: 500; color: var(--hr-ink-2);
  transition: border-color var(--hr-t), color var(--hr-t), background var(--hr-t);
}
a.hr-chip:hover, button.hr-chip:hover { border-color: var(--hr-blue); color: var(--hr-blue); }
.hr-chip.is-active, a.hr-chip.is-active:hover, button.hr-chip.is-active:hover { background: var(--hr-navy); border-color: var(--hr-navy); color: #fff; } /* a selected chip keeps white-on-navy on hover */
button.hr-chip.is-active:hover, a.hr-chip.is-active:hover { background: var(--hr-blue); border-color: var(--hr-blue); }

/* Hero extras: popular searches and the numbers strip */
.hr-popular { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 0; font-size: .88rem; color: var(--hr-muted); }
.hr-popular .hr-chip { background: rgba(255, 255, 255, .78); }
.hr-kpis {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; max-width: 820px; margin-top: 10px;
  background: rgba(251, 248, 242, .82); border: 1px solid var(--hr-line); border-radius: var(--hr-r-lg);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hr-kpi { padding: 4px 12px !important; border-left: 1px solid var(--hr-line); text-align: center; }
.hr-kpi:first-child { border-left: 0; }
.hr-kpi .hr-kpi__num .elementor-heading-title { margin: 0; font-size: 1.7rem; font-weight: 600; color: var(--hr-navy); line-height: 1.15; }
.hr-kpi .hr-kpi__label p { margin: 0; font-size: .82rem; color: var(--hr-muted); }
@media (max-width: 600px) { .hr-kpis { grid-template-columns: 1fr 1fr; row-gap: 14px; } .hr-kpi:nth-child(3) { border-left: 0; } }

/* Trades ticker */
.hr-ticker { overflow: hidden; background: var(--hr-paper); border-block: 1px solid var(--hr-line); }
.hr-ticker__track { display: flex; width: max-content; gap: 44px; animation: hr-ticker 60s linear infinite; }
.hr-ticker__track span { display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; font-weight: 500; color: var(--hr-ink-2); font-size: .95rem; }
.hr-ticker__track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--hr-crimson); opacity: .6; }
.hr-ticker:hover .hr-ticker__track { animation-play-state: paused; }
.hr-ticker .elementor-widget-text-editor { width: 100%; }
@keyframes hr-ticker { to { transform: translateX(-50%); } }

/* Route lists (source countries / destinations) */
.hr-route { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hr-route a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 16px;
  background: var(--hr-card); border: 1px solid var(--hr-line); border-radius: var(--hr-r); color: var(--hr-ink); text-decoration: none;
  transition: border-color var(--hr-t), box-shadow var(--hr-t), transform var(--hr-t) var(--hr-ease);
}
.hr-route a span { color: var(--hr-muted); font-size: .88rem; text-align: right; }
.hr-route a::after { content: "→"; color: var(--hr-crimson); transition: transform var(--hr-t) var(--hr-ease); }
.hr-route a:hover { border-color: var(--hr-blue-100); box-shadow: var(--hr-shadow); transform: translateX(3px); }
.hr-route a:hover::after { transform: translateX(3px); }

/* Category cards (Icon Box widget with classes hr-card hr-card--hover hr-iconbox) */
.hr-iconbox .elementor-icon-box-wrapper { padding: 26px; text-align: left; }
.hr-iconbox .elementor-icon-box-icon { margin-bottom: 16px !important; }
.hr-iconbox .elementor-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--hr-r);
  background: var(--hr-blue-50); color: var(--hr-blue); font-size: 20px; transition: background var(--hr-t), color var(--hr-t);
}
.hr-iconbox .elementor-icon, .hr-iconbox .elementor-icon i { color: var(--hr-blue) !important; }
.hr-iconbox .elementor-icon svg { width: 20px; height: 20px; fill: var(--hr-blue) !important; transition: fill var(--hr-t); }
/* On hover the tile turns navy and the icon turns white, so it stays visible */
.hr-iconbox:hover .elementor-icon { background: var(--hr-navy); }
.hr-iconbox:hover .elementor-icon, .hr-iconbox:hover .elementor-icon i { color: #fff !important; }
.hr-iconbox:hover .elementor-icon svg { fill: #fff !important; }
.hr-iconbox .elementor-icon-box-title { margin: 0 0 6px; font-size: 1.08rem; }
.hr-iconbox .elementor-icon-box-title a { color: var(--hr-ink); text-decoration: none; }
.hr-iconbox .elementor-icon-box-description { margin: 0; font-size: .92rem; color: var(--hr-muted); }

/* Process steps */
.hr-step .hr-step__meta { margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--hr-muted); }
.hr-step .hr-step__num { color: var(--hr-crimson); margin-right: 6px; }
.hr-step h3 { margin: 0; }
.hr-step p { margin: 0; color: var(--hr-text); font-size: .95rem; }

/* Facts list (credentials) */
.hr-facts { margin: 0; }
.hr-facts > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--hr-line); }
.hr-facts > div:first-child { border-top: 0; }
.hr-facts dt { color: var(--hr-muted); font-size: .9rem; }
.hr-facts dd { margin: 0; color: var(--hr-ink); font-weight: 600; }
@media (max-width: 600px) { .hr-facts > div { grid-template-columns: 1fr; gap: 2px; } }

/* Inner-page banners */
.hr-banner.hr-banner--plain { min-height: 0; background: var(--hr-paper-2); border-bottom: 1px solid var(--hr-line); }
.hr-banner--plain::before { display: none; }
/* Legal pages: line the title up with the 780px text column below */
.hr-banner--plain:has(+ .hr-section .hr-legal) > .e-con-inner { max-width: 780px; }
.hr-banner .hr-title--page .elementor-heading-title, .hr-title--page .elementor-heading-title { font-size: clamp(2rem, 4vw, 3.1rem); max-width: 820px; }
/* Doubled classes beat Elementor's .e-con.e-con > .e-con-inner > .elementor-widget { max-width:100% } */
.hr-banner .hr-lead, .hr-banner.hr-banner .e-con-inner > .elementor-widget.hr-lead, .elementor .hr-banner.hr-banner > .elementor-widget.hr-lead { max-width: 640px; }
.hr-hero .hr-lead, .hr-hero.hr-hero .e-con-inner > .elementor-widget.hr-lead, .elementor .hr-hero.hr-hero > .elementor-widget.hr-lead { max-width: 700px; margin-inline: auto; text-wrap: balance; }
.hr-banner > .e-con-inner, .hr-banner { align-items: flex-start; }

/* Check-mark list */
.hr-checklist { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hr-checklist li { position: relative; padding-left: 30px; color: var(--hr-ink-2); }
.hr-checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--hr-crimson-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8102E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.hr-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }

/* Contact details list */
.hr-contact-list { display: grid; margin: 0; padding: 0; list-style: none; }
.hr-contact-list li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--hr-line); }
.hr-contact-list li:first-child { border-top: 0; padding-top: 0; }
.hr-contact-list span { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--hr-muted); }
.hr-contact-list strong { font-weight: 500; color: var(--hr-ink); }
.hr-contact-list strong a { color: var(--hr-ink); text-decoration: none; }
.hr-contact-list strong a:hover { color: var(--hr-crimson); }
.hr-contact-list .hr-link { font-size: .88rem; margin-top: 4px; }
.hr-map iframe { display: block; width: 100%; border: 1px solid var(--hr-line) !important; border-radius: var(--hr-r-lg); filter: saturate(.85); }

/* Legal pages */
.hr-legal h2 { margin: 1.8em 0 .5em; font-size: 1.35rem; }
.hr-legal p, .hr-legal li { color: var(--hr-ink-2); }
.hr-legal ul { padding-left: 1.2em; }
.hr-legal li { margin-bottom: .5em; }

/* Certificate cards [hr_certificates] */
.hr-cert { display: flex; flex-direction: column; overflow: hidden; }
.hr-cert__thumb { display: block; aspect-ratio: 4 / 3; background: var(--hr-paper-2); border-bottom: 1px solid var(--hr-line); overflow: hidden; }
.hr-cert__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .6s var(--hr-ease-out); }
.hr-cert:hover .hr-cert__thumb img { transform: scale(1.03); }
.hr-cert__body { display: grid; gap: 6px; padding: 18px 20px 20px; }
.hr-cert__body h3 { margin: 0; font-size: 1.05rem; }
.hr-cert__body p { margin: 0; font-size: .92rem; color: var(--hr-text); }
.hr-cert__issuer { color: var(--hr-muted) !important; font-size: .85rem !important; }
.hr-cert__links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 6px !important; }
.hr-cert__links .hr-link { font-size: .88rem; }

/* Destination cards: icon beside the text */
.hr-iconbox--row .elementor-icon-box-wrapper { display: flex; gap: 16px; align-items: flex-start; }
.hr-iconbox--row .elementor-icon-box-icon { margin: 0 !important; flex: none; }

/* FAQ accordion */
.hr-faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.hr-faq details { border: 1px solid var(--hr-line); border-radius: var(--hr-r-lg); background: var(--hr-card); transition: border-color var(--hr-t), box-shadow var(--hr-t); }
.hr-faq details[open] { border-color: var(--hr-blue-100); box-shadow: var(--hr-shadow); }
.hr-faq summary { position: relative; padding: 18px 52px 18px 20px; font-weight: 600; color: var(--hr-ink); cursor: pointer; list-style: none; }
.hr-faq summary::-webkit-details-marker { display: none; }
.hr-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--hr-crimson); transition: transform var(--hr-t) var(--hr-ease); }
.hr-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.hr-faq details p { margin: 0; padding: 0 20px 18px; color: var(--hr-text); }

/* Demand page: wide form + sticky side panel */
.hr-split--form > .hr-col--wide, .hr-split--form > .e-con-inner > .hr-col--wide { flex: 2 1 0; }
.hr-aside { position: sticky; top: calc(var(--hr-header-h) + 20px); }
.hr-small p, p.hr-small { font-size: .9rem; color: var(--hr-muted); }
@media (max-width: 767px) { .hr-aside { position: static; } }

/* 404 page */
.hr-404 { padding: clamp(64px, 10vw, 120px) var(--hr-gutter); background: var(--hr-paper-2); border-bottom: 1px solid var(--hr-line); }
.hr-404__box { max-width: 760px; margin: 0 auto; text-align: center; display: grid; gap: 18px; justify-items: center; }
.hr-404__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* Home "candidate spotlight" section hides itself until featured candidates exist */
.hr-spot-section:not(:has(.hrc-spot)) { display: none !important; }
/* Contact "our office" gallery section appears once photos are added */

/* Placeholders shown until the site plugin provides the real feature */
.hr-soon { padding: 26px; border: 1px dashed var(--hr-line); border-radius: var(--hr-r-lg); background: var(--hr-card); color: var(--hr-text); }
.hr-soon p { margin: 0 0 14px; }

/* ---------- Painted scenery ------------------------------------------------ */
/* Container with class hr-hero (full screen) or hr-banner (inner pages), holding
   an Image widget with class hr-art. The painting breathes and mist drifts. */
.hr-hero, .hr-banner { position: relative; isolation: isolate; overflow: hidden; background: var(--hr-paper); }
.hr-hero { min-height: 100vh; min-height: 100svh; }
.hr-banner { min-height: clamp(320px, 42vw, 520px); }
/* Boxed Elementor containers wrap children in .e-con-inner; keep it static so the
   painting fills the full-width section, and lift the content above it. */
.hr-hero > .e-con-inner, .hr-banner > .e-con-inner, .hr-cta > .e-con-inner { position: static; }
.hr-hero > *:not(.hr-art):not(.e-con-inner), .hr-banner > *:not(.hr-art):not(.e-con-inner),
.hr-hero > .e-con-inner > *:not(.hr-art), .hr-banner > .e-con-inner > *:not(.hr-art) { position: relative; z-index: 2; }
.hr-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 46% 44% at 50% 46%, rgba(251, 248, 242, .86), rgba(251, 248, 242, 0) 100%),
    linear-gradient(to bottom, rgba(251, 248, 242, 0) 90%, rgba(251, 248, 242, .9) 100%);
}
.hr-banner::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(251, 248, 242, .97) 0%, rgba(251, 248, 242, .9) 45%, rgba(251, 248, 242, .55) 75%, rgba(251, 248, 242, .3) 100%);
}

.hr-art, .elementor-widget.hr-art {
  position: absolute !important; inset: 0; z-index: 0 !important; margin: 0 !important;
  width: 100% !important; max-width: none !important; height: 100%; overflow: hidden; pointer-events: none;
}
.hr-art .elementor-widget-container, .hr-art picture { position: absolute; inset: 0; }
.hr-art img {
  display: block; width: 100% !important; height: 100% !important; max-width: none !important;
  object-fit: cover; object-position: center 100%;
  transform: scale(1.06); transform-origin: 50% 70%;
  animation: hr-breathe 24s ease-in-out infinite alternate; will-change: transform;
}
.hr-banner .hr-art img { object-position: center 42%; animation-duration: 30s; }
.hr-art--band img { object-position: center 78%; animation-duration: 30s; }
@keyframes hr-breathe {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.12) translate3d(-1.2%, -.6%, 0); }
}
.hr-art::before, .hr-art::after {
  content: ""; position: absolute; z-index: 1; left: -40%; width: 90%; height: 36%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0));
  filter: blur(14px); opacity: .7; animation: hr-mist 40s linear infinite;
}
.hr-art::before { top: 44%; }
.hr-art::after { top: 60%; left: -70%; width: 110%; height: 28%; opacity: .55; animation-duration: 58s; animation-delay: -22s; }
@keyframes hr-mist { from { transform: translateX(0); } to { transform: translateX(105%); } }

/* ---------- Header --------------------------------------------------------- */
/* The header part (top strip + header) sticks; the strip scrolls away, the header stays. */
.hr-site-header { position: sticky; top: calc(-1 * var(--hr-topbar-h)); z-index: 100; }
.admin-bar .hr-site-header { top: calc(32px - var(--hr-topbar-h)); }
.hr-header {
  position: relative; z-index: 100; min-height: var(--hr-header-h);
  background: rgba(251, 248, 242, .94); border-bottom: 1px solid var(--hr-line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background var(--hr-t), border-color var(--hr-t), box-shadow var(--hr-t);
}
.hr-header.is-scrolled { box-shadow: 0 6px 20px -14px rgba(15, 23, 42, .25); }
/* Over a painted hero the header starts transparent, then turns solid on scroll */
.hr-has-hero .hr-header:not(.is-scrolled):not(.is-open),
body:has(#content .elementor > .hr-hero:first-child) .hr-header:not(.is-scrolled):not(.is-open) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
#content .elementor > .hr-hero:first-child { margin-top: calc(-1 * var(--hr-header-h)); }

/* Header layout pieces from the Site Header template */
.hr-header > .e-con-inner, .hr-header { flex-wrap: nowrap; }
.hr-nav-wrap { flex: 1 1 auto; display: flex; justify-content: flex-end; }
.hr-header-actions { flex: none; width: auto !important; }
.hr-header .elementor-widget-shortcode, .hr-header .elementor-widget-image { width: auto; }

.hr-nav ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.hr-nav li { margin: 0; }
.hr-nav a {
  position: relative; display: inline-flex; align-items: center; padding: 10px 12px;
  font: 500 .93rem/1.2 var(--hr-sans); color: var(--hr-ink); text-decoration: none;
}
.hr-nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--hr-crimson);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--hr-ease-out);
}
.hr-nav a:hover { color: var(--hr-blue); }
.hr-nav a:hover::after, .hr-nav .current-menu-item > a::after, .hr-nav a[aria-current="page"]::after { transform: scaleX(1); }
.hr-nav .current-menu-item > a, .hr-nav a[aria-current="page"] { color: var(--hr-navy); font-weight: 600; }

.hr-burger { display: none; }
.hr-burger button, button.hr-burger {
  position: relative; width: 44px; height: 44px; border: 1px solid var(--hr-line); border-radius: var(--hr-r);
  background: rgba(255, 255, 255, .8); cursor: pointer;
}
.hr-burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--hr-ink); transition: transform .3s var(--hr-ease), opacity .2s; }
.hr-burger span:nth-child(1) { top: 15px; }
.hr-burger span:nth-child(2) { top: 21px; }
.hr-burger span:nth-child(3) { top: 27px; }
.hr-nav-open .hr-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hr-nav-open .hr-burger span:nth-child(2) { opacity: 0; }
.hr-nav-open .hr-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1024px) {
  .hr-burger { display: block; }
  .hr-header, .hr-has-hero .hr-header:not(.is-scrolled):not(.is-open) { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hr-header { background: rgba(251, 248, 242, .98); }
  .hr-nav .hr-nav__cta { display: block; margin-top: 20px; }
  .hr-nav .hr-nav__cta a { width: 100%; border-bottom: 0; }
  .hr-nav .hr-nav__cta a::after { display: none; }
  .hr-header-cta { display: none !important; }
  .hr-nav {
    position: fixed !important; inset: var(--hr-header-h) 0 0 0; z-index: 99; padding: 24px var(--hr-gutter) 40px;
    background: var(--hr-paper); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--hr-ease), transform .3s var(--hr-ease), visibility 0s .3s;
  }
  .hr-nav-open .hr-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--hr-ease), transform .3s var(--hr-ease); }
  .hr-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .hr-nav a { width: 100%; padding: 16px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--hr-line); }
  .hr-nav a::after { left: 4px; right: auto; width: 28px; bottom: -1px; }
  .hr-nav-open { overflow: hidden; }
}

/* Top strip above the header */
.hr-topbar { background: var(--hr-navy); color: #A9B6CF; font-size: .8rem; }
.hr-topbar, .hr-topbar p, .hr-topbar .elementor-widget-container { font-size: .8rem; line-height: 1.4; margin: 0; }
.hr-topbar .elementor-widget-container, .hr-topbar .hr-licence { color: #A9B6CF; }
.hr-topbar a { color: #C4CDDD; text-decoration: none; transition: color var(--hr-t); }
.hr-topbar a:hover { color: #fff; }
.hr-topbar .hr-licence::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--hr-crimson); }

/* Native file picker button in HReasy forms */
.hrf input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 8px 14px; border: 1px solid var(--hr-line); border-radius: 6px;
  background: var(--hr-paper); color: var(--hr-navy); font-family: inherit; font-size: .85rem; font-weight: 600; line-height: 1.2; cursor: pointer; transition: border-color var(--hr-t), color var(--hr-t);
}
.hrf input[type="file"]::file-selector-button:hover { border-color: var(--hr-crimson); color: var(--hr-crimson); }

/* Logo in header/footer (Image widget with class hr-logo) */
.hr-logo img { display: block; width: auto !important; height: 52px !important; max-width: none; }
.hr-footer .hr-logo img { height: 56px !important; }
@media (min-width: 768px) { .hr-footer .hr-logo, .hr-footer .hr-logo .elementor-widget-container { text-align: left; } .hr-footer .hr-logo img { margin: 0; } }

/* Language switcher [hr_lang] */
.hr-lang { position: relative; }
.hr-lang__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border: 1px solid var(--hr-line); border-radius: var(--hr-r);
  background: rgba(255, 255, 255, .75); color: var(--hr-ink); font: 600 .82rem/1 var(--hr-sans); letter-spacing: .04em; cursor: pointer;
  transition: border-color var(--hr-t), color var(--hr-t);
}
.hr-lang__btn:hover, .hr-lang.is-open .hr-lang__btn { border-color: var(--hr-blue); color: var(--hr-blue); }
.hr-lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 120; min-width: 210px; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--hr-line); border-radius: var(--hr-r-lg); box-shadow: var(--hr-shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility 0s .2s;
}
.hr-lang.is-open .hr-lang__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
.hr-lang__menu a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 4px; color: var(--hr-ink-2); font-size: .9rem; text-decoration: none; }
.hr-lang__menu a small { color: var(--hr-muted); font-size: .72rem; font-weight: 600; letter-spacing: .06em; }
.hr-lang__menu a:hover { background: var(--hr-paper-2); color: var(--hr-blue); }
.hr-lang__menu a[aria-current="true"] { background: var(--hr-blue-50); color: var(--hr-navy); font-weight: 600; }

/* Mobile-only call to action inside the menu overlay */
.hr-nav .hr-nav__cta { display: none; }
@media (max-width: 1024px) {
  .hr-nav li.hr-nav__cta { display: block; margin-top: 24px; }
  .hr-nav li.hr-nav__cta a.hr-btn { width: 100%; justify-content: center; padding: 0 24px; border-bottom: 1px solid var(--bd); color: var(--fg); font-size: 1rem; }
  .hr-nav li.hr-nav__cta a.hr-btn::after { display: none; }
  .hr-nav li.hr-nav__cta a.hr-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill); transform: scaleY(0); transform-origin: bottom; transition: transform .35s var(--hr-ease-out); }
}

.skip-link:focus { position: fixed; left: 16px; top: 12px; z-index: 999; padding: 10px 16px; background: var(--hr-blue); color: #fff; border-radius: var(--hr-r); clip: auto; width: auto; height: auto; }
.hr-header--fallback .hr-fallback-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1200px; min-height: var(--hr-header-h); margin: 0 auto; padding: 0 var(--hr-gutter); }

/* ---------- Footer --------------------------------------------------------- */
.hr-footer { background: var(--hr-footer); color: #8D9AB5; }
.hr-footer h1, .hr-footer h2, .hr-footer h3, .hr-footer h4, .hr-footer .elementor-heading-title { color: #fff; }
.hr-footer a { color: #C4CDDD; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color var(--hr-t), background-size var(--hr-t) var(--hr-ease); }
.hr-footer a:hover { color: #fff; background-size: 100% 1px; }
.hr-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hr-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: .85rem; color: var(--hr-ink);
  padding: 12px 18px; border-radius: var(--hr-r); background: rgba(251, 248, 242, .86);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

/* Closing banner with the Himalaya painting (top of the Site Footer template) */
.hr-cta { position: relative; isolation: isolate; overflow: hidden; text-align: center; background: var(--hr-paper); }
.hr-cta::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, var(--hr-paper) 0%, rgba(251, 248, 242, .8) 30%, rgba(251, 248, 242, .25) 55%, rgba(251, 248, 242, 0) 72%);
}
.hr-cta > *:not(.hr-art):not(.e-con-inner), .hr-cta > .e-con-inner > *:not(.hr-art) { position: relative; z-index: 2; }
.hr-cta .hr-art img { object-position: center 72%; }
.hr-cta .hr-eyebrow { justify-content: center; color: var(--hr-wine); }
.hr-cta p.hr-eyebrow::before { content: ""; }
.hr-cta .elementor-heading-title { max-width: 720px; margin-inline: auto; font-size: clamp(1.9rem, 3.6vw, 3rem); color: var(--hr-navy); }
.hr-cta .hr-lead { max-width: 580px; margin-inline: auto; }

.hr-footer-grid { display: grid !important; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 1024px) { .hr-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .hr-footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.hr-footer .elementor-widget-text-editor, .hr-footer .elementor-widget-text-editor p { color: #8D9AB5; font-size: .92rem; }
.hr-footer .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.hr-footer-bottom { display: flex; }
.hr-footer-bottom p, .hr-footer-bottom .elementor-widget-text-editor p { font-size: .85rem; }
.hr-footer p { color: #8D9AB5; }
.hr-footer .hr-footer__title .elementor-heading-title { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.hr-footer li { display: block; }
.hr-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #8D9AB5; }
.hr-footer-bottom p { margin: 0; }
.hr-social { display: flex; gap: 8px; }
.hr-footer .hr-social a, a.hr-social__link {
  display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--hr-r);
  color: #fff; background: none; transition: background var(--hr-t), border-color var(--hr-t);
}
.hr-footer .hr-social a:hover { background: var(--hr-crimson); border-color: var(--hr-crimson); }
.hr-footer .hr-social svg { width: 16px; height: 16px; }

/* ---------- Forms (base look for any form on the site) --------------------- */
.hr-form input[type="text"], .hr-form input[type="email"], .hr-form input[type="tel"], .hr-form input[type="number"],
.hr-form input[type="date"], .hr-form input[type="search"], .hr-form select, .hr-form textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--hr-line); border-radius: var(--hr-r);
  background: #fff; color: var(--hr-ink); font: 400 1rem/1.4 var(--hr-sans);
  transition: border-color var(--hr-t), box-shadow var(--hr-t);
}
.hr-form textarea { min-height: 140px; resize: vertical; }
.hr-form input:focus, .hr-form select:focus, .hr-form textarea:focus { outline: 0; border-color: var(--hr-blue); box-shadow: 0 0 0 4px var(--hr-blue-50); }
.hr-form label { display: block; margin-bottom: 6px; font-weight: 500; font-size: .92rem; color: var(--hr-ink); }

/* ---------- Motion: reveal on scroll --------------------------------------- */
/* Hidden only when JS runs, so text is always visible without it. */
.hr-js .hr-reveal, .hr-js .hr-stagger > * {
  opacity: 0; transform: translate3d(0, 18px, 0);
  transition: opacity .7s var(--hr-ease-out), transform .7s var(--hr-ease-out);
}
.hr-js .hr-reveal.is-in, .hr-js .hr-stagger > .is-in { opacity: 1; transform: none; }
.hr-js .hr-d1 { transition-delay: .12s; }
.hr-js .hr-d2 { transition-delay: .24s; }
.hr-js .hr-d3 { transition-delay: .36s; }
.hr-js .hr-d4 { transition-delay: .48s; }
/* Always visible while editing in Elementor */
.elementor-editor-active .hr-reveal, .elementor-editor-active .hr-stagger > * { opacity: 1 !important; transform: none !important; }

/* ---------- Phones ----------------------------------------------------------- */
@media (max-width: 1024px) {
  .hr-art img { object-position: 20% 100%; }
}
@media (max-width: 767px) {
  :root { --hr-header-h: 64px; --hr-topbar-h: 0px; }
  .hr-hero::before {
    background:
      radial-gradient(ellipse 110% 52% at 50% 42%, rgba(251, 248, 242, .88), rgba(251, 248, 242, .2) 100%),
      linear-gradient(to bottom, rgba(251, 248, 242, 0) 90%, rgba(251, 248, 242, .9) 100%);
  }
  .hr-banner::before { background: rgba(251, 248, 242, .86); }
  .hr-art img { object-position: 12% 100%; transform-origin: 12% 90%; }
  .hr-banner .hr-art img { object-position: 30% 42%; }
  .hr-art::after { display: none; }
  .hr-art::before { top: 56%; width: 140%; left: -60%; opacity: .55; }
  .hr-title, .hr-title .elementor-heading-title { font-size: clamp(1.85rem, 8.4vw, 2.3rem); }
  .hr-btn--mobile-block, .hr-btn--mobile-block .elementor-button { width: 100%; }
  .hr-foot { flex-direction: column; text-align: center; font-size: .8rem; }
  /* 16px stops iPhones zooming into form fields */
  input, select, textarea { font-size: 16px !important; }
}
@media (max-width: 782px) { .admin-bar .hr-site-header { top: calc(46px - var(--hr-topbar-h)); } }
@media (max-width: 600px) { .admin-bar .hr-site-header { top: 0; } }

/* ---------- Reduced motion ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hr-art img { animation: none; transform: none; }
  .hr-art::before, .hr-art::after { display: none; }
  .hr-pill::before { animation: none; }
  .hr-ticker__track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 14px; width: auto; padding-inline: 20px; }
  .hr-ticker__track .hr-dup { display: none; }
  .hr-js .hr-reveal, .hr-js .hr-stagger > * { opacity: 1; transform: none; transition: none; }
  .elementor-widget-button .elementor-button, a.hr-btn, button.hr-btn,
  .elementor-widget-button .elementor-button::before, a.hr-btn::before, button.hr-btn::before,
  .hr-card, .hr-media img, .hr-nav { transition: none; }
}

/* ---------- Photo mosaic (native Elementor: container.hr-mosaic > image widgets.hr-tile, first one .hr-feature) ---------- */
.e-con.e-con.hr-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 16vw, 230px); gap: 14px; width: 100%; }
.hr-mosaic > .e-con-inner { display: contents; }
.e-con.e-con .hr-mosaic > .elementor-widget, .hr-mosaic .elementor-widget-image.hr-tile { margin: 0; width: auto; max-width: none; }
.elementor-widget.hr-tile { position: relative; overflow: hidden; border-radius: var(--hr-r-lg); background: var(--hr-paper-2); isolation: isolate; }
.elementor-widget.hr-tile.hr-feature { grid-column: span 2; grid-row: span 2; }
.hr-tile > .elementor-widget-container, .hr-tile figure, .hr-tile a { display: block; height: 100%; margin: 0; }
.hr-tile img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; border-radius: 0; transition: transform 1.1s var(--hr-ease-out); }
.hr-tile a { cursor: zoom-in; }
.hr-tile:hover img { transform: scale(1.045); }
.hr-tile::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(10, 31, 68, .62), rgba(10, 31, 68, 0) 46%); opacity: .9; transition: opacity .5s ease; }
.hr-tile:hover::after { opacity: 1; }
.elementor .elementor-widget.hr-tile .widget-image-caption { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; margin: 0; padding: 0; pointer-events: none; text-align: left; color: #fff !important; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.35; text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.elementor .elementor-widget.hr-tile.hr-feature .widget-image-caption { font-size: .8rem; left: 22px; bottom: 20px; }
@media (max-width: 900px) {
  .e-con.e-con.hr-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 34vw, 240px); gap: 10px; }
  .elementor-widget.hr-tile.hr-feature { grid-column: 1 / -1; grid-row: span 2; }
}
@media (max-width: 480px) { .elementor .elementor-widget.hr-tile .widget-image-caption { left: 10px; right: 10px; bottom: 9px; font-size: .64rem; letter-spacing: .1em; } .elementor .elementor-widget.hr-tile.hr-feature .widget-image-caption { left: 14px; bottom: 13px; font-size: .7rem; } }
@media (prefers-reduced-motion: reduce) { .hr-tile img, .hr-tile::after { transition: none; } .hr-tile:hover img { transform: none; } }

/* Team cards: exactly 4 people sit in one row on desktop, 2 x 2 on tablet (no orphan card). */
@media (min-width: 1025px) { .hrp-cards:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Office cards (Contact): status pill hugs its text; upcoming offices get a calm amber dot. */
.hr-office > .elementor-widget.hr-pill { align-self: flex-start; }
.hr-pill--soon::before { background: #C9A24B; animation: none; }

/* Dropdowns: custom chevron with proper spacing from the right edge (candidate filters + forms). */
.hrc-selects select, .hrf select, .hr-form select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  padding-right: 44px !important; text-overflow: ellipsis;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1.5 1.75 7 7.25l5.5-5.5' stroke='%230A1F44' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 14px 9px;
}
.hrc-selects select:focus, .hrf select:focus, .hr-form select:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1.5 1.75 7 7.25l5.5-5.5' stroke='%23003893' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }


/* Countries dropdown ------------------------------------------------------- */
.hr-nav li.menu-item-has-children { position: relative; display: flex; align-items: center; }
.hr-nav li.menu-item-has-children > a { padding-right: 4px; }
.hr-nav li.menu-item-has-children > a::after { right: 4px; }
.hr-subtoggle {
  display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 36px; margin: 0 4px 0 0; padding: 0;
  border: 0; background: none; color: var(--hr-ink-2); cursor: pointer; transition: color var(--hr-t);
}
.hr-subtoggle svg { transition: transform .25s var(--hr-ease); }
.hr-subtoggle:hover, .hr-subtoggle:focus-visible { color: var(--hr-crimson); }
.hr-nav ul.hr-submenu {
  position: absolute; left: 0; top: calc(100% + 6px); z-index: 120; display: block; flex-direction: column; gap: 0; min-width: 210px; white-space: nowrap; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--hr-line); border-radius: var(--hr-r-lg); box-shadow: var(--hr-shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility 0s .2s;
}
.hr-submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.hr-nav li.menu-item-has-children:hover > .hr-submenu,
.hr-nav li.menu-item-has-children:focus-within > .hr-submenu,
.hr-nav li.menu-item-has-children.is-open > .hr-submenu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
.hr-nav li.menu-item-has-children:hover > .hr-subtoggle svg,
.hr-nav li.menu-item-has-children.is-open > .hr-subtoggle svg { transform: rotate(180deg); }
.hr-submenu li { display: block; }
.hr-nav .hr-submenu a { display: flex; width: 100%; white-space: nowrap; padding: 9px 12px; border-radius: 4px; color: var(--hr-ink-2); font-size: .9rem; font-weight: 500; }
.hr-nav .hr-submenu a::after { display: none; }
.hr-submenu a:hover { background: var(--hr-paper-2); color: var(--hr-blue); }
.hr-submenu .current-menu-item > a, .hr-submenu a[aria-current="page"] { background: var(--hr-blue-50); color: var(--hr-navy); font-weight: 600; }
@media (max-width: 1024px) {
  .hr-nav li.menu-item-has-children { flex-wrap: wrap; }
  .hr-nav li.menu-item-has-children > a { flex: 1 1 auto; width: auto; padding-right: 4px; }
  .hr-nav li.menu-item-has-children > a { border-bottom: 1px solid var(--hr-line); }
  .hr-nav .hr-subtoggle { align-self: stretch; width: 56px; height: auto; margin: 0; border: 0; border-bottom: 1px solid var(--hr-line); border-radius: 0; background: transparent; color: var(--hr-ink); }
  .hr-nav ul.hr-submenu {
    position: static; flex: 0 0 100%; min-width: 0; padding: 0 0 6px 14px; border: 0; border-radius: 0; background: transparent; box-shadow: none;
    display: none; opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .hr-submenu::before { display: none; }
  .hr-nav li.menu-item-has-children:hover > .hr-submenu, .hr-nav li.menu-item-has-children:focus-within > .hr-submenu { display: none; opacity: 1; visibility: visible; }
  .hr-nav li.menu-item-has-children.is-open > .hr-submenu { display: block; }
  .hr-nav .hr-submenu a { padding: 14px 4px; font-size: 1rem; border-radius: 0; border-bottom: 1px solid var(--hr-line); background: none; }
  .hr-nav .hr-submenu a:hover, .hr-nav .hr-submenu a[aria-current="page"] { background: none; }
}
@media (prefers-reduced-motion: reduce) { .hr-submenu, .hr-subtoggle svg { transition: none; } }

/* Wide single-photo mosaic (e.g. a group photo above a row of tiles): container.hr-mosaic.hr-mosaic--wide > image.hr-tile.hr-feature */
.e-con.e-con.hr-mosaic.hr-mosaic--wide { grid-template-columns: minmax(0, 1fr); grid-auto-rows: clamp(220px, 34vw, 480px); margin-bottom: 14px; }
.hr-mosaic--wide .elementor-widget.hr-tile.hr-feature { grid-column: 1 / -1; grid-row: span 1; }
.hr-mosaic--wide .hr-tile img { object-position: 50% 62%; }
@media (max-width: 900px) {
  .e-con.e-con.hr-mosaic.hr-mosaic--wide { grid-template-columns: minmax(0, 1fr); grid-auto-rows: clamp(200px, 54vw, 340px); margin-bottom: 10px; }
  .hr-mosaic--wide .elementor-widget.hr-tile.hr-feature { grid-column: 1 / -1; grid-row: span 1; }
}

/* Team grid: Elementor's flex column squeezed the team widget shorter than its cards on phones/tablets,
   so the last portraits spilled over the next section. Let this one container size to its content. */
@media (max-width: 1024px) {
  .e-con-inner:has(> .hr-team-wrap) { display: block !important; }
  .e-con-inner:has(> .hr-team-wrap) > .hr-section-head { margin-bottom: 68px !important; }
}
