/* ==========================================================
   AL FANZA HR CONSULTANCY — main stylesheet
   Colors come from the logo: navy + red
   ========================================================== */

:root {
  --navy: #182868;
  --navy-700: #13205a;
  --navy-800: #0e1846;
  --navy-900: #0a1135;
  --blue: #2a46b8;
  --red: #d4181e;
  --red-600: #b31218;
  --red-50: #fdecec;
  --navy-50: #eef1fb;
  --ink: #0f172a;
  --text: #3d4659;
  --muted: #6b7489;
  --line: #e4e8f2;
  --soft: #f5f7fc;
  --white: #fff;
  --green: #25d366;
  --gold: #f5b301;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(16, 28, 80, .06);
  --shadow: 0 10px 30px rgba(16, 28, 80, .08);
  --shadow-lg: 0 24px 60px rgba(16, 28, 80, .16);
  --ease: cubic-bezier(.22, .9, .3, 1);

  --container: 1240px;
  --gutter: 16px;
  --header-h: 78px;
  --section-y: clamp(64px, 5vw + 32px, 120px);
}

@media (min-width: 1600px) { :root { --container: 1400px; } }
@media (min-width: 1920px) { :root { --container: 1560px; --header-h: 88px; } }
@media (min-width: 768px) { :root { --gutter: 24px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 1200px) { body { font-size: 16px; } }
@media (min-width: 1920px) { body { font-size: 17px; } }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; color: var(--ink); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 1.1rem + 3.4vw, 4.1rem); }
h2 { font-size: clamp(1.65rem, 1.1rem + 1.9vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid rgba(212, 24, 30, .45); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy-900); color: #c9d0e6; }
.section--navy h2, .section--navy h3 { color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-red { color: var(--red); }
.center { text-align: center; }

/* ---------- Section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head p { color: var(--muted); font-size: 1.02em; margin: 0; }
/* titles: even line breaks (no single word left alone) + highlighted words */
h1, h2, h3 { text-wrap: balance; }
.section-head p { text-wrap: pretty; }
.section-head h2 { margin-bottom: 14px; }
.hl {
  background: linear-gradient(90deg, var(--red), #ee4a3c 55%, #f28b45);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section--navy .hl, .cta .hl { background-image: linear-gradient(90deg, #ff7a7f, #ffb199); }
.section-head.center .hl { white-space: nowrap; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-head--row > div { max-width: 640px; }
.section--navy .section-head p { color: #a9b3d1; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff; --bd: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; min-height: 48px;
  border-radius: 999px; border: 2px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: .92rem; line-height: 1.2; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn i { font-size: .95em; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(212, 24, 30, .25); }
.btn:hover i.fa-arrow-right { transform: translateX(3px); }
.btn--navy { --bg: var(--navy); --bd: var(--navy); }
.btn--navy:hover { box-shadow: 0 12px 24px rgba(24, 40, 104, .25); }
.btn--outline { --bg: transparent; --fg: var(--navy); --bd: var(--line); }
.btn--outline:hover { --bd: var(--navy); box-shadow: var(--shadow); }
.btn--ghost { --bg: rgba(255, 255, 255, .08); --fg: #fff; --bd: rgba(255, 255, 255, .25); backdrop-filter: blur(8px); }
.btn--ghost:hover { --bg: #fff; --fg: var(--navy); --bd: #fff; box-shadow: none; }
.btn--white { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.btn--wa { --bg: var(--green); --bd: var(--green); }
.btn--wa:hover { box-shadow: 0 12px 24px rgba(37, 211, 102, .3); }
.btn--sm { padding: 9px 18px; min-height: 40px; font-size: .85rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--red); font-size: .92rem; }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* ==========================================================
   HEADER — floating white bar (no top strip)
   ========================================================== */
.site-header {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 100;
  pointer-events: none; transition: top .35s var(--ease);
}
.site-header.is-scrolled { top: 10px; }
.site-header { transition: top .35s var(--ease), transform .4s var(--ease); }
.site-header.is-hidden { transform: translateY(calc(-100% - 24px)); }
.site-header:has(:focus-visible) { transform: none; }
.nav-shell {
  pointer-events: auto;
  width: min(100% - var(--gutter) * 2, calc(var(--container) + 32px)); margin-inline: auto;
  border-radius: 22px; padding: 0 10px 0 22px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(16, 28, 80, .07);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  transition: box-shadow .35s;
}
.is-scrolled .nav-shell { box-shadow: 0 14px 40px rgba(16, 28, 80, .13); }
.nav { display: flex; align-items: center; gap: 16px; height: 72px; transition: height .35s var(--ease); }
.is-scrolled .nav { height: 64px; }
@media (min-width: 1920px) { .nav { height: 80px; } }

.nav__logo { flex-shrink: 0; display: block; }
.nav__logo img { height: 44px; width: auto; transition: height .35s var(--ease); }
@media (min-width: 1920px) { .nav__logo img { height: 50px; } }
.is-scrolled .nav__logo img { height: 38px; }

.nav > nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.nav__menu { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 999px;
  font-weight: 500; font-size: .88rem; color: var(--ink);
  transition: color .2s, background .2s;
}
.nav__link .fa-chevron-down { font-size: .58rem; opacity: .7; transition: transform .3s var(--ease); }
.nav__link:hover, .nav__item:hover > .nav__link { color: var(--red); background: var(--soft); }
.nav__link.is-active { color: var(--red); background: var(--red-50); }
.nav__item:hover > .nav__link .fa-chevron-down,
.nav__item.is-open > .nav__link .fa-chevron-down { transform: rotate(180deg); }
.nav__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Dropdown / mega menu */
.dropdown {
  position: absolute; top: calc(100% + 18px); left: 50%;
  min-width: 300px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav__item:hover > .dropdown, .nav__item.is-open > .dropdown, .nav__item:focus-within > .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
/* mega menu: centred under the whole header bar */
.nav-shell { position: relative; }
.nav__item--mega { position: static; }
.dropdown--mega {
  width: min(780px, calc(100vw - 48px)); top: calc(100% + 12px);
  display: grid; grid-template-columns: 1fr 250px; gap: 10px; padding: 12px;
}
.dd-list { display: grid; gap: 2px; align-content: start; }
.dropdown--mega .dd-link { align-items: center; padding: 14px 16px; }
.dropdown--mega .dd-link::after { content: "\f061"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-left: auto; font-size: .78rem; color: var(--muted); opacity: 0; transform: translateX(-6px); transition: .25s var(--ease); }
.dropdown--mega .dd-link:hover::after { opacity: 1; transform: none; color: var(--red); }
.dropdown--mega .dd-icon { width: 46px; height: 46px; font-size: 1.05rem; }
.dropdown--mega .dd-text strong { font-size: .95rem; }
.dd-link { display: flex; align-items: flex-start; gap: 14px; padding: 12px; border-radius: 14px; transition: background .2s; }
.dd-link:hover { background: var(--soft); }
.dd-link:hover .dd-icon { background: var(--red); color: #fff; transform: rotate(-6deg) scale(1.05); }
.dd-icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy-50); color: var(--navy); font-size: 1rem;
  transition: background .25s, color .25s, transform .3s var(--ease);
}
.dd-text strong { display: block; color: var(--ink); font-weight: 600; font-size: .9rem; line-height: 1.35; }
.dd-text span { display: block; color: var(--muted); font-size: .78rem; line-height: 1.5; margin-top: 3px; }
.dd-promo {
  border-radius: 14px; padding: 18px; color: #fff;
  background: radial-gradient(120% 100% at 100% 0%, rgba(212, 24, 30, .55), transparent 60%), var(--navy);
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
}
.dd-promo strong { font-size: 1rem; line-height: 1.35; display: block; }
.dd-promo p { margin: 6px 0 0; font-size: .78rem; color: #c8cfe8; line-height: 1.5; }
.dd-promo .btn { align-self: flex-start; }

/* Icon buttons (call / menu) */
.nav__toggle, .nav__call {
  width: 46px; height: 46px; border-radius: 14px; place-items: center;
  transition: background .3s, color .3s;
}
.nav__toggle { display: none; background: var(--navy); color: #fff; }
.nav__call { display: none; background: var(--red-50); color: var(--red); }
.nav__toggle:hover { background: var(--red); }
.burger { width: 20px; height: 14px; position: relative; }
.burger span { position: absolute; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: .3s var(--ease); }
.burger span:nth-child(1) { top: 0; width: 100%; }
.burger span:nth-child(2) { top: 6px; width: 65%; }
.burger span:nth-child(3) { top: 12px; width: 100%; }
.nav__toggle:hover .burger span:nth-child(2) { width: 100%; }

@media (max-width: 1279px) {
  .nav__link { padding: 9px 10px; font-size: .85rem; }
  .nav__actions .btn--outline { display: none; }
}
@media (max-width: 1099px) {
  .nav__menu, .nav__actions .btn { display: none; }
  .nav__toggle, .nav__call { display: grid; }
  .nav__actions { margin-left: auto; }
  .nav-shell { padding: 0 8px 0 16px; border-radius: 18px; }
  .nav, .is-scrolled .nav { height: 64px; }
  .nav__logo img, .is-scrolled .nav__logo img { height: 36px; }
}
@media (max-width: 340px) { .nav__call { display: none; } .nav__logo img, .is-scrolled .nav__logo img { height: 32px; } }

/* ---------- Mobile drawer (slides from right) ---------- */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8, 14, 40, .55); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 210;
  width: min(88vw, 400px); background: #fff;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .45s var(--ease);
  box-shadow: -20px 0 60px rgba(8, 14, 40, .25);
}
body.drawer-open { overflow: hidden; }
body.drawer-open .drawer { transform: translateX(0); }
body.drawer-open .drawer-overlay { opacity: 1; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer__head img { height: 36px; width: auto; }
.drawer__close { width: 42px; height: 42px; border-radius: 12px; background: var(--soft); color: var(--navy); display: grid; place-items: center; font-size: 1.1rem; transition: background .2s, color .2s, transform .3s; }
.drawer__close:hover { background: var(--red); color: #fff; transform: rotate(90deg); }
.drawer__body { flex: 1; overflow-y: auto; padding: 12px 14px 20px; overscroll-behavior: contain; }
.m-link {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 12px; border-radius: 12px; font-weight: 500; color: var(--ink); text-align: left;
  transition: background .2s, color .2s;
  opacity: 0; transform: translateX(24px);
}
body.drawer-open .m-link { opacity: 1; transform: none; transition: background .2s, color .2s, opacity .4s var(--ease), transform .4s var(--ease); }
.m-link > i:first-child { width: 36px; height: 36px; border-radius: 10px; background: var(--navy-50); color: var(--navy); display: grid; place-items: center; font-size: .9rem; flex-shrink: 0; }
.m-link:hover, .m-link.is-active { background: var(--soft); color: var(--red); }
.m-link.is-active > i:first-child { background: var(--red); color: #fff; }
.m-link .m-caret { margin-left: auto; font-size: .7rem; transition: transform .3s var(--ease); color: var(--muted); }
.m-group.is-open .m-caret { transform: rotate(180deg); }
.m-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.m-sub > div { overflow: hidden; }
.m-group.is-open .m-sub { grid-template-rows: 1fr; }
.m-sub a { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 62px; font-size: .88rem; color: var(--text); border-radius: 10px; }
.m-sub a i { color: var(--red); width: 16px; text-align: center; }
.m-sub a:hover { background: var(--soft); color: var(--red); }
.drawer__foot { padding: 16px 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer__foot .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer__contact { display: flex; justify-content: center; gap: 10px; margin-top: 6px; }
.drawer__contact a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--navy); transition: .2s; }
.drawer__contact a:hover { background: var(--navy); color: #fff; }

/* ==========================================================
   HERO (home) — light
   ========================================================== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #f4f6fd 0%, #fff 85%); color: var(--text);
  padding: calc(110px + clamp(16px, 3vw, 48px)) 0 clamp(130px, 12vw, 160px);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
}
.hero .hero__bg::before, .page-hero .hero__bg::before {
  background-image: linear-gradient(rgba(24, 40, 104, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 40, 104, .06) 1px, transparent 1px);
}
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .7; animation: float 14s ease-in-out infinite; }
.orb--1 { width: 520px; height: 520px; background: #2a46b8; top: -160px; right: -80px; }
.orb--2 { width: 420px; height: 420px; background: var(--red); bottom: -200px; left: -120px; opacity: .45; animation-delay: -5s; }
.orb--3 { width: 300px; height: 300px; background: #5b2ab8; top: 30%; left: 40%; opacity: .3; animation-delay: -9s; }
.hero .orb, .page-hero .orb { opacity: .14 !important; filter: blur(90px); }
.hero .orb--2, .page-hero .orb--2 { opacity: .1 !important; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -30px) scale(1.08); } }

.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 4vw, 72px); align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 7px 16px 7px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .8rem; color: var(--text); margin-bottom: 24px;
}
.pill b { background: var(--red); color: #fff; border-radius: 999px; padding: 3px 10px; font-weight: 600; font-size: .72rem; letter-spacing: .04em; }
.hero__grid > * { min-width: 0; }
.hero__grid > :first-child { container-type: inline-size; }
/* heading size follows the column width so it stays on 2 lines */
.hero h1 { color: var(--ink); margin-bottom: 22px; font-size: clamp(1.9rem, 8cqi, 4.2rem); line-height: 1.12; }
.hero h1 .grad {
  background: linear-gradient(90deg, var(--red), #ee4a3c 55%, #f28b45);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); max-width: 600px; color: var(--text); margin-bottom: 32px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__trust div strong { display: block; color: var(--navy); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: 700; line-height: 1.1; }
.hero__trust div span { font-size: .8rem; color: var(--muted); }

/* Ghost buttons on the light heroes */
.hero .btn--ghost, .page-hero .btn--ghost { --bg: #fff; --fg: var(--navy); --bd: var(--line); box-shadow: var(--shadow-sm); }
.hero .btn--ghost:hover, .page-hero .btn--ghost:hover { --bg: var(--navy); --fg: #fff; --bd: var(--navy); }

/* Hero visual: job portal card */
.hero__visual { position: relative; padding: 44px 0 64px 48px; }
.hv-back {
  position: absolute; top: 24px; bottom: 24px; left: 96px; right: -14px; border-radius: 34px;
  background: linear-gradient(135deg, var(--navy), var(--blue) 55%, var(--red));
  transform: rotate(4deg); opacity: .95;
}
.hv-card {
  position: relative; background: #fff; border-radius: 26px; padding: 20px 20px 18px;
  border: 1px solid var(--line); box-shadow: 0 40px 80px rgba(24, 40, 104, .18);
  display: flex; flex-direction: column; gap: 10px;
}
.hv-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hv-card__head small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.hv-card__head strong { display: block; font-size: 1.2rem; color: var(--ink); line-height: 1.3; }
.hv-live { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 500; color: #15803d; background: #e7f8ee; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.hv-live i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.hv-search { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); color: var(--muted); font-size: .84rem; transition: border-color .2s; }
.hv-search:hover { border-color: var(--navy); }
.hv-search i { color: var(--navy); }
.hv-search span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-search b { background: var(--navy); color: #fff; font-weight: 600; font-size: .78rem; padding: 8px 14px; border-radius: 10px; }
.hv-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.hv-row { display: flex; align-items: center; gap: 14px; padding: 9px 10px; border-radius: 16px; transition: background .25s, transform .25s var(--ease); }
.hv-row + .hv-row { border-top: 1px dashed var(--line); border-radius: 0 0 16px 16px; }
.hv-row:hover { background: var(--soft); transform: translateX(4px); border-radius: 16px; }
.hv-row__ic { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; color: #fff; font-size: 1rem; }
.hv-row__txt { flex: 1; min-width: 0; }
.hv-row__txt b, .hv-row__txt small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-row__txt b { font-size: .95rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.hv-row__txt small { font-size: .78rem; color: var(--muted); }
.hv-row__txt small i { color: var(--red); margin-right: 4px; font-size: .7rem; }
.hv-row__chip { flex-shrink: 0; font-size: .72rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--navy-50); color: var(--navy); white-space: nowrap; }
.hv-row__chip.is-new { background: var(--red-50); color: var(--red); }
.hv-row__go { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); color: var(--navy); font-size: .8rem; transition: .25s; }
.hv-row:hover .hv-row__go { background: var(--red); color: #fff; }
.hv-cta { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--navy); color: #fff; font-weight: 600; font-size: .9rem; transition: background .25s; }
.hv-cta:hover { background: var(--red); }
.hv-cta i { transition: transform .25s var(--ease); }
.hv-cta:hover i { transform: translateX(4px); }
.hv-float {
  position: absolute; z-index: 2; background: #fff; color: var(--ink); border-radius: 18px;
  padding: 12px 18px 12px 12px; box-shadow: 0 20px 50px rgba(24, 40, 104, .18); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px; animation: bob 6s ease-in-out infinite;
}
.hv-float .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.hv-float b { display: block; font-size: 1rem; line-height: 1.2; }
.hv-float small { font-size: .72rem; color: var(--muted); }
.hv-float--a { top: 0; left: 0; }
.hv-float--b { bottom: 0; right: 12px; animation-delay: -3s; padding-left: 16px; }
.avatars { display: flex; }
.avatars span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; display: grid; place-items: center; font-size: .66rem; font-weight: 700; color: #fff; }
.avatars span:first-child { margin-left: 0; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Job search bar overlapping hero */
.search-wrap { position: relative; z-index: 5; margin-top: calc(-1 * clamp(90px, 8vw, 110px)); }
.search {
  background: #fff; border-radius: 24px; padding: 14px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.search__tabs { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 6px 10px 14px; }
.search__tabs h3 { margin: 0; font-size: 1.05rem; display: flex; align-items: center; gap: 10px; }
.search__tabs h3 i { color: var(--red); }
.search__tags { display: flex; gap: 8px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); align-items: center; }
.search__tags a { padding: 4px 12px; border-radius: 999px; background: var(--soft); color: var(--navy); font-weight: 500; transition: .2s; }
.search__tags a:hover { background: var(--navy); color: #fff; }
.search__form { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 10px; }
.field-ic { position: relative; }
.field-ic > i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--navy); opacity: .6; pointer-events: none; }
.field-ic input, .field-ic select {
  width: 100%; height: 58px; border: 1px solid var(--line); background: var(--soft);
  border-radius: 16px; padding: 0 18px 0 48px; font-size: .92rem; outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field-ic select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23182868' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 40px; }
.field-ic input:focus, .field-ic select:focus { border-color: var(--navy); background-color: #fff; box-shadow: 0 0 0 4px rgba(24, 40, 104, .08); }
.search__form .btn { height: 58px; border-radius: 16px; padding-inline: 30px; }

/* ==========================================================
   PAGE BANNER (inner pages) — light
   ========================================================== */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #dfe5f4 0%, #e9edf8 55%, #f1e4e6 100%); color: var(--text);
  border-bottom: 1px solid #d6ddef;
  padding: calc(96px + clamp(8px, 1.4vw, 22px)) 0 clamp(28px, 3vw, 44px);
}
.page-hero .hero__bg::before { mask-image: radial-gradient(ellipse 70% 90% at 80% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 30%, #000 20%, transparent 70%); }
.page-hero h1 { color: var(--ink); font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); max-width: 860px; margin-bottom: 10px; }
.page-hero p { max-width: 640px; font-size: 1em; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 20px !important; }
.page-hero .btn-row .btn { flex: 0 1 auto; }
@media (max-width: 767px) { .page-hero .btn { padding: 10px 18px; min-height: 42px; font-size: .84rem; } .page-hero p { font-size: .92rem; } }
.page-hero .btn-row { margin-top: 28px; }
.crumbs {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px;
  padding: 6px 8px; margin-bottom: 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .85); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .82rem; font-weight: 500; color: var(--muted); backdrop-filter: blur(6px);
}
.crumbs a, .crumbs span { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; transition: background .2s, color .2s; }
.crumbs a:hover { background: var(--soft); color: var(--red); }
.crumbs a:first-child::before { content: "\f015"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .75rem; color: var(--navy); }
.crumbs a:first-child:hover::before { color: var(--red); }
.crumbs > i { font-size: .55rem; color: #b5bccd; }
.crumbs span { color: var(--navy); }
.crumbs span:last-child { background: var(--red); color: #fff; font-weight: 600; box-shadow: 0 4px 12px rgba(212, 24, 30, .25); }
/* inner page banner: centred, short title */
.page-hero__grid { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; }
.page-hero__grid h1 { margin-inline: auto; }
.page-hero__grid p { margin-inline: auto; }
.page-hero__grid .btn-row { justify-content: center; }
.page-hero__icon {
  justify-self: end; width: clamp(160px, 18vw, 240px); aspect-ratio: 1; border-radius: 40px;
  display: grid; place-items: center; font-size: clamp(3.5rem, 6vw, 5.5rem); color: #fff;
  background: radial-gradient(90% 80% at 100% 0%, rgba(212, 24, 30, .55), transparent 60%), linear-gradient(145deg, var(--navy), var(--navy-900));
  box-shadow: 0 40px 80px rgba(24, 40, 104, .25); transform: rotate(-6deg);
  animation: bob 7s ease-in-out infinite;
}
.page-hero__icon i { transform: rotate(6deg); background: linear-gradient(135deg, #fff, #ffb3b5); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ==========================================================
   COMMON BLOCKS
   ========================================================== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

/* About visual */
.about-visual { position: relative; padding: 0 0 40px 0; }
.about-visual__card {
  border-radius: 28px; padding: clamp(28px, 4vw, 48px); color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(90% 80% at 100% 0%, rgba(212, 24, 30, .5), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-900));
  min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end;
}
.about-visual__card::before { content: ""; position: absolute; right: -40px; top: -40px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .05); }
.about-visual__card img { position: absolute; top: 34px; left: 34px; height: 44px; width: auto; }
.about-visual__card h3 { color: #fff; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); margin-bottom: 8px; }
.about-visual__card p { color: #c8cfe8; margin: 0; }
.about-badge {
  position: absolute; right: -10px; bottom: 0; background: #fff; border-radius: 20px; padding: 18px 22px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px;
}
.about-badge .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 1.3rem; }
.about-badge b { display: block; color: var(--ink); font-size: 1.4rem; line-height: 1.1; }
.about-badge small { color: var(--muted); font-size: .78rem; }
.check-list { display: grid; gap: 12px; margin: 22px 0 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li i { color: #fff; background: var(--red); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .62rem; flex-shrink: 0; margin-top: 3px; }
.check-list--2 { grid-template-columns: 1fr 1fr; }

/* Division cards */
.div-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; display: flex; flex-direction: column; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.div-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--red));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.div-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.div-card:hover::before { transform: scaleX(1); }
.div-card__num { position: absolute; top: 18px; right: 24px; font-size: 3.6rem; font-weight: 800; color: var(--soft); line-height: 1; letter-spacing: -.05em; }
.div-card__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; margin-bottom: 22px; position: relative; }
.ic-navy { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.ic-red { background: linear-gradient(135deg, var(--red), #ff5a5f); }
.ic-teal { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.ic-gold { background: linear-gradient(135deg, #c27c00, #f5b301); }
.ic-violet { background: linear-gradient(135deg, #5b21b6, #8b5cf6); }
.ic-green { background: linear-gradient(135deg, #15803d, #22c55e); }
.div-card h3 { margin-bottom: 10px; }
.div-card p { color: var(--muted); font-size: .92rem; }
.div-card ul { display: grid; gap: 8px; margin: 6px 0 26px; }
.div-card ul li { display: flex; gap: 10px; align-items: center; font-size: .9rem; }
.div-card ul li i { color: var(--red); font-size: .75rem; }
.div-card .link-arrow { margin-top: auto; }

/* Feature cards */
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--navy-50); color: var(--navy); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 18px; transition: .35s var(--ease); }
.feature:hover .feature__icon { background: var(--red); color: #fff; transform: rotate(-8deg); }
.feature h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature p { margin: 0; font-size: .9rem; color: var(--muted); }
.section--navy .feature { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); }
.section--navy .feature p { color: #a9b3d1; }
.section--navy .feature__icon { background: rgba(255, 255, 255, .08); color: #fff; }

/* Service mini cards */
.svc {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); transition: .3s var(--ease);
}
.svc:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-4px); }
.svc .ic { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 1.1rem; }
.svc h4 { margin: 0 0 4px; }
.svc p { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.6; }

/* Category tiles */
.cat {
  display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); transition: .3s var(--ease);
}
.cat:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-4px); box-shadow: var(--shadow); }
.cat:hover .cat__ic { background: rgba(255, 255, 255, .12); color: #fff; }
.cat:hover strong { color: #fff; }
.cat:hover small { color: #a9b3d1; }
.cat__ic { width: 48px; height: 48px; border-radius: 14px; background: var(--red-50); color: var(--red); display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0; transition: .3s; }
.cat strong { display: block; color: var(--ink); font-weight: 600; font-size: .9rem; line-height: 1.35; transition: color .3s; }
.cat small { color: var(--muted); font-size: .78rem; transition: color .3s; }
.cat .fa-arrow-right { margin-left: auto; color: var(--muted); font-size: .8rem; opacity: 0; transform: translateX(-6px); transition: .3s; }
.cat:hover .fa-arrow-right { opacity: 1; transform: none; color: #fff; }

/* Job cards */
.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.job-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.job-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16, 28, 80, .1); border-color: rgba(24, 40, 104, .25); }
.job-card__cover { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.job-card__top { display: flex; gap: 14px; align-items: flex-start; }
.job-card__logo { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 1.05rem; flex-shrink: 0; }
.job-card__head { flex: 1; min-width: 0; }
.job-card__title { font-size: 1.02rem; margin: 0 0 3px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.job-card:hover .job-card__title { color: var(--red); }
.job-card__co { font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job-card__time { flex-shrink: 0; font-size: .72rem; font-weight: 500; color: var(--muted); padding-top: 2px; white-space: nowrap; }
.job-card__time.is-new { display: inline-flex; align-items: center; gap: 6px; color: #15803d; font-weight: 600; }
.job-card__time.is-new::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .18); }
.job-card__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--text); }
.job-card__meta li { display: inline-flex; align-items: center; gap: 7px; }
.job-card__meta i { color: var(--muted); font-size: .78rem; }
.job-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.job-card__salary { min-width: 0; line-height: 1.3; }
.job-card__salary b { color: var(--ink); font-size: .95rem; font-weight: 600; }
.job-card__salary small { color: var(--muted); font-size: .78rem; margin-left: 4px; }
.job-card__apply {
  position: relative; z-index: 2; flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; background: var(--navy-50); color: var(--navy); font-weight: 600; font-size: .84rem;
  transition: background .25s, color .25s;
}
.job-card__apply i { font-size: .75rem; transition: transform .25s var(--ease); }
.job-card:hover .job-card__apply { background: var(--red); color: #fff; }
.job-card__apply:hover i { transform: translateX(3px); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--soft); font-size: .76rem; font-weight: 500; color: var(--navy); }
.tag i { font-size: .72rem; opacity: .7; }
.tag--red { background: var(--red-50); color: var(--red); }
.tag--green { background: #e7f8ee; color: #15803d; }
.job-row { flex-direction: row; align-items: center; flex-wrap: wrap; }
.empty { text-align: center; padding: 60px 20px; border: 2px dashed var(--line); border-radius: 20px; color: var(--muted); grid-column: 1 / -1; }
.empty i { font-size: 2.4rem; color: var(--line); margin-bottom: 14px; display: block; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); counter-increment: step; }
.step::before { content: "0" counter(step); position: absolute; top: 18px; right: 22px; font-weight: 800; font-size: 2rem; color: var(--soft); line-height: 1; }
.step .feature__icon { margin-bottom: 16px; }
.step h4 { margin-bottom: 6px; }
.step p { margin: 0; font-size: .88rem; color: var(--muted); }
.section--soft .step::before { color: var(--navy-50); }

/* CTA band */
.cta {
  position: relative; overflow: hidden; border-radius: 28px; color: #fff;
  padding: clamp(36px, 5vw, 72px);
  background: radial-gradient(80% 120% at 100% 0%, rgba(212, 24, 30, .7), transparent 55%), radial-gradient(60% 100% at 0% 100%, rgba(42, 70, 184, .7), transparent 60%), var(--navy-900);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta p { color: #c8cfe8; margin: 0; max-width: 620px; }
.cta .eyebrow { color: #ff9a9d; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 22px; font-size: .9rem; }
.cta__list li { display: flex; gap: 10px; align-items: center; }
.cta__list i { color: #ff9a9d; }

/* Contact cards */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: .3s var(--ease); }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.contact-card .feature__icon { margin-bottom: 16px; }
.contact-card h4 { margin-bottom: 6px; }
.contact-card p, .contact-card a { display: block; margin: 0; font-size: .9rem; color: var(--text); word-break: break-word; }
.contact-card a:hover { color: var(--red); }

/* Info list (side panels) */
.info-list { display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--navy-50); color: var(--navy); display: grid; place-items: center; flex-shrink: 0; }
.info-list small { display: block; color: var(--muted); font-size: .78rem; }
.info-list b, .info-list a { color: var(--ink); font-weight: 600; font-size: .95rem; }
.info-list a:hover { color: var(--red); }

/* Values / mission */
.mv-card { border-radius: var(--radius-lg); padding: 36px; color: #fff; position: relative; overflow: hidden; }
.mv-card h3 { color: #fff; }
.mv-card p { color: rgba(255, 255, 255, .85); margin: 0; }
.mv-card .big-ic { position: absolute; right: -10px; bottom: -20px; font-size: 8rem; opacity: .08; }
.mv-card .feature__icon { background: rgba(255, 255, 255, .15); color: #fff; }

/* Industries chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: .9rem; color: var(--ink); transition: .25s var(--ease); }
.chip i { color: var(--red); }
.chip:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.section--navy .chip { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); color: #fff; }

/* Products */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-tabs button { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 500; font-size: .88rem; color: var(--ink); transition: .25s; display: inline-flex; align-items: center; gap: 8px; }
.filter-tabs button:hover { border-color: var(--navy); }
.filter-tabs button.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.product { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: .35s var(--ease); }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product__media { aspect-ratio: 4 / 3; display: grid; place-items: center; font-size: 3rem; color: #fff; position: relative; overflow: hidden; }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .25), transparent 50%); }
.product__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product__body small { color: var(--red); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.product__body h4 { margin: 0; }
.product__body p { font-size: .86rem; color: var(--muted); margin: 0 0 8px; }
.product__body .btn { margin-top: auto; align-self: flex-start; }

/* Maid services section (home) */
.maid { background: linear-gradient(180deg, #fff 0%, #fdf3f3 100%); }
.maid__intro { margin-bottom: clamp(40px, 5vw, 64px); }
.maid-gallery { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.maid-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); background: var(--soft); }
.maid-gallery__main { grid-row: 1 / 3; aspect-ratio: 4 / 5; }
.maid-gallery img:not(.maid-gallery__main) { aspect-ratio: 4 / 3.05; }
.maid-gallery__badge {
  position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 16px; padding: 10px 16px 10px 10px; box-shadow: var(--shadow-lg);
}
.maid-gallery__badge .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--red); color: #fff; }
.maid-gallery__badge b { display: block; color: var(--ink); font-size: .95rem; line-height: 1.25; }
.maid-gallery__badge small { color: var(--muted); font-size: .74rem; }
.maid .btn-row { margin-top: 4px; }
.maid-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.maid-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.maid-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.maid-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.maid-card:hover .maid-card__media img { transform: scale(1.06); }
.maid-card__ic { position: absolute; left: 16px; bottom: -22px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 1.05rem; box-shadow: 0 10px 20px rgba(212, 24, 30, .3); border: 3px solid #fff; }
.maid-card__media { overflow: visible; }
.maid-card__media img { border-radius: 22px 22px 0 0; }
.maid-card__body { padding: 34px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.maid-card__body h3 { font-size: 1.08rem; margin-bottom: 6px; }
.maid-card__body p { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.maid-card__body .link-arrow { margin-top: auto; }
@media (max-width: 767px) {
  .maid-gallery { gap: 10px; }
  .maid-gallery img { border-radius: 16px; }
  .maid-gallery__badge { left: 10px; bottom: 10px; padding: 8px 12px 8px 8px; }
  .maid-gallery__badge .ic { width: 36px; height: 36px; }
  .maid .btn-row .btn { flex: 1 1 100%; }
}
@media (min-width: 480px) and (max-width: 767px) { .grid-4.maid__cards { grid-template-columns: 1fr 1fr; } }

/* Our divisions (home, above footer) */
.division {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.division:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.division__logo {
  position: relative; display: grid; place-items: center; padding: 34px 28px;
  background: linear-gradient(180deg, #f6f8fe, #fff); border-bottom: 1px solid var(--line);
}
.division__logo::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--navy), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.division:hover .division__logo::after { transform: scaleX(1); }
.division__logo img { height: clamp(58px, 5vw, 72px); width: auto; transition: transform .45s var(--ease); }
.division:hover .division__logo img { transform: scale(1.05); }
.division__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.division__tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px; color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 14px; }
.division__tag i { width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: .66rem; }
.division h3 { font-size: 1.15rem; margin-bottom: 8px; }
.division h3 span { color: var(--red); }
.division p { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.division__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.division__chips span { padding: 4px 12px; border-radius: 999px; background: var(--soft); color: var(--navy); font-size: .76rem; font-weight: 500; }
.division .link-arrow { margin-top: auto; }

/* About: circle diagram of the 3 divisions */
.orbit { position: relative; width: min(100%, 500px); aspect-ratio: 1; margin: 9cqi auto 0; container-type: inline-size; }
.orbit__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit__lines line { stroke: #c9d1e8; stroke-width: .35; stroke-dasharray: 1.4 1.4; }
.orbit__ring { fill: none; stroke: #c9d1e8; stroke-width: .35; stroke-dasharray: 1.4 1.4; transform-origin: 50% 50%; animation: orbit-spin 60s linear infinite; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.orbit__glow { position: absolute; inset: 24%; border-radius: 50%; background: radial-gradient(circle, rgba(42, 70, 184, .14), rgba(212, 24, 30, .06) 55%, transparent 72%); }
.orbit__center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 38cqi; aspect-ratio: 1; border-radius: 50%; background: #fff;
  display: grid; place-items: center; align-content: center; gap: 2cqi; text-align: center;
  box-shadow: 0 0 0 2.4cqi rgba(24, 40, 104, .05), 0 24px 50px rgba(24, 40, 104, .16); border: 1px solid var(--line);
}
.orbit__center img { width: 76%; height: auto; }
.orbit__center span { font-size: clamp(.62rem, 2.6cqi, .8rem); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.orbit__node { position: absolute; transform: translate(-50%, -8.5cqi); width: 34cqi; display: grid; justify-items: center; text-align: center; gap: 1.2cqi; }
.orbit__node--1 { left: 50%; top: 12%; display: flex; flex-direction: column; align-items: center; transform: translate(-50%, calc(-100% + 8.5cqi)); }
.orbit__node--1 .orbit__dot { order: 3; margin-top: 1.2cqi; }
.orbit__node--2 { left: 82.9%; top: 69%; }
.orbit__node--3 { left: 17.1%; top: 69%; }
.orbit__dot {
  width: 17cqi; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 6cqi;
  border: 1cqi solid #fff; box-shadow: 0 14px 30px rgba(24, 40, 104, .22); transition: transform .35s var(--ease);
}
.orbit__node:hover .orbit__dot { transform: scale(1.08) rotate(-6deg); }
.orbit__node b { display: block; font-size: clamp(.78rem, 3.4cqi, 1rem); font-weight: 600; color: var(--ink); line-height: 1.25; background: rgba(255, 255, 255, .9); padding: 0 6px; border-radius: 6px; }
.orbit__node small { display: block; font-size: clamp(.66rem, 2.7cqi, .8rem); color: var(--muted); line-height: 1.3; margin-top: -0.6cqi; }
.orbit__node:hover b { color: var(--red); }

/* Cleaning page: photo collage */
.svc-gallery { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 150px 150px 150px 130px; gap: 14px; }
.svc-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); background: var(--soft); }
.svc-gallery__a { grid-column: 1; grid-row: 1 / 4; }
.svc-gallery__b { grid-column: 2; grid-row: 1 / 2; }
.svc-gallery__c { grid-column: 2; grid-row: 2 / 5; }
.svc-gallery__d { grid-column: 1; grid-row: 4 / 5; }
.svc-gallery__badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); white-space: nowrap; }
.svc-gallery__badge .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #0f766e; color: #fff; }
.svc-gallery__badge b { display: block; color: var(--ink); line-height: 1.2; }
.svc-gallery__badge small { color: var(--muted); font-size: .74rem; }
@media (min-width: 1600px) { .svc-gallery { grid-template-rows: 170px 170px 170px 150px; } }
@media (max-width: 767px) {
  .svc-gallery { grid-template-rows: 110px 110px 110px 96px; gap: 10px; }
  .svc-gallery img { border-radius: 14px; }
  .svc-gallery__badge { padding: 8px 14px 8px 8px; }
  .svc-gallery__badge .ic { width: 34px; height: 34px; }
}

/* Industries we serve: tile grid */
.industries { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 16px; }
.industry {
  flex: 0 0 calc((100% - 48px) / 4); display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  font-weight: 600; font-size: .92rem; color: var(--ink); line-height: 1.35;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(24, 40, 104, .25); }
.industry__ic { width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); font-size: 1.05rem; transition: background .3s, color .3s; }
.industry:hover .industry__ic { background: var(--red); color: #fff; }
.industries--2 { justify-content: flex-start; gap: 12px; margin-top: 22px; }
.industries--2 .industry { flex-basis: calc((100% - 12px) / 2); padding: 12px 14px; font-size: .88rem; }
.industries--2 .industry__ic { width: 40px; height: 40px; font-size: .95rem; }
/* on the dark navy sections */
.section--navy .industry { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); color: #fff; }
.section--navy .industry:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); box-shadow: none; }
.section--navy .industry__ic { background: linear-gradient(135deg, var(--red), #ff5a5f); color: #fff; }
@media (max-width: 991px) { .industry { flex-basis: calc((100% - 32px) / 3); } }
@media (max-width: 767px) {
  .industries { gap: 10px; }
  .industry, .industries--2 .industry { flex-basis: calc((100% - 10px) / 2); min-width: 0; flex-direction: column; justify-content: center; text-align: center; padding: 16px 10px; gap: 10px; font-size: .84rem; }
  .industry__ic, .industries--2 .industry__ic { width: 38px; height: 38px; font-size: .9rem; border-radius: 11px; }
}

/* ==========================================================
   FORMS
   ========================================================== */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 44px); box-shadow: var(--shadow); }
.form-card__head { margin-bottom: 26px; }
.form-card__head h3 { font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem); margin-bottom: 6px; }
.form-card__head p { color: var(--muted); margin: 0; font-size: .92rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-legend { grid-column: 1 / -1; font-weight: 600; color: var(--navy); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.form-legend::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.field label { display: block; font-size: .84rem; font-weight: 500; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--red); }
.field label .opt { color: var(--muted); font-weight: 400; font-size: .78rem; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); background: var(--soft); border-radius: 12px;
  padding: 13px 16px; font-size: .92rem; outline: none; min-height: 50px;
  transition: border-color .2s, background .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23182868' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); background-color: #fff; box-shadow: 0 0 0 4px rgba(24, 40, 104, .08); }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .upload { border-color: var(--red); background-color: #fff8f8; }
.field .err { display: none; color: var(--red); font-size: .76rem; margin-top: 6px; }
.field.has-error .err { display: block; }
.upload {
  position: relative; border: 2px dashed var(--line); border-radius: 14px; padding: 26px 20px; text-align: center;
  background: var(--soft); transition: .2s; cursor: pointer;
}
.upload:hover, .upload.is-drag { border-color: var(--navy); background: var(--navy-50); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload i { font-size: 1.8rem; color: var(--navy); margin-bottom: 8px; }
.upload strong { display: block; color: var(--ink); font-size: .92rem; font-weight: 600; }
.upload small { color: var(--muted); font-size: .78rem; }
.upload.has-file { border-style: solid; border-color: #22c55e; background: #f0fdf4; }
.upload.has-file i { color: #15803d; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--red); margin-top: 3px; flex-shrink: 0; }
.check a { color: var(--red); text-decoration: underline; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form-foot small { color: var(--muted); font-size: .8rem; display: flex; align-items: center; gap: 8px; }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Form side panel */
.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.form-side h2 { margin-bottom: 14px; }
.form-side > p { color: var(--muted); }
.side-box { background: var(--navy-900); color: #c9d0e6; border-radius: var(--radius-lg); padding: 28px; margin-top: 26px; position: relative; overflow: hidden; }
.side-box::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 24, 30, .5), transparent 70%); }
.side-box h4 { color: #fff; }
.side-box .info-list .ic { background: rgba(255, 255, 255, .08); color: #fff; }
.side-box .info-list small { color: #98a3c6; }
.side-box .info-list b, .side-box .info-list a { color: #fff; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(8, 14, 40, .6); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: .3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { width: min(100%, 500px); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 26px; padding: 40px 32px 32px; text-align: center; position: relative; transform: translateY(20px) scale(.96); transition: transform .4s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 10px; background: var(--soft); color: var(--navy); }
.modal__ok { width: 80px; height: 80px; border-radius: 50%; background: #e7f8ee; color: #16a34a; display: grid; place-items: center; font-size: 2rem; margin: 0 auto 20px; animation: pop .5s var(--ease); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
.modal__box h3 { font-size: 1.4rem; }
.modal__box p { color: var(--muted); font-size: .92rem; }
.ref-box { background: var(--soft); border: 1px dashed var(--navy); border-radius: 14px; padding: 14px; margin: 18px 0; }
.ref-box small { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.ref-box b { font-size: 1.3rem; color: var(--navy); letter-spacing: .04em; }
.modal__box .btn-row { justify-content: center; }

/* ==========================================================
   JOBS PORTAL
   ========================================================== */
.portal { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: start; }
.portal > *, .jobs-grid > * { min-width: 0; }
@media (min-width: 1600px) { .portal { grid-template-columns: 330px 1fr; } }
.filters { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; }
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.filters__head h3 { margin: 0; font-size: 1.1rem; display: flex; gap: 10px; align-items: center; }
.filters__head h3 i { color: var(--red); }
.filters__head button { color: var(--red); font-size: .82rem; font-weight: 600; }
.filters .field { margin-bottom: 16px; }
.filters .field input, .filters .field select { min-height: 46px; padding: 10px 14px; font-size: .88rem; }
.filters .field select { padding-right: 36px; }
.filters__close { display: none; }
.results-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.results-bar p { margin: 0; color: var(--muted); }
.results-bar p b { color: var(--ink); }
.results-bar .field select { min-height: 44px; padding: 8px 40px 8px 14px; font-size: .86rem; background-color: #fff; }
.results-bar__right { display: flex; align-items: center; gap: 10px; }
.filter-btn { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-filters button { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--navy-50); color: var(--navy); font-size: .78rem; font-weight: 500; }
.active-filters button:hover { background: var(--red); color: #fff; }
.portal .jobs-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }

/* ---------- Browse All Jobs (portal) ---------- */
.portal-search {
  width: min(100%, 940px); margin: 26px auto 0; padding: 8px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 40px rgba(24, 40, 104, .12);
}
.portal-search__field { position: relative; display: block; }
.portal-search__field + .portal-search__field::before { content: ""; position: absolute; left: -3px; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.portal-search__field > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--red); font-size: .9rem; pointer-events: none; }
.portal-search__field input, .portal-search__field select {
  width: 100%; height: 52px; border: 0; background: transparent; border-radius: 14px; padding: 0 14px 0 42px;
  font-size: .9rem; color: var(--ink); outline: none; appearance: none; -webkit-appearance: none; text-align: left;
}
.portal-search__field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23182868' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.portal-search__field input:focus, .portal-search__field select:focus { background-color: var(--soft); }
.portal-search .btn { height: 52px; border-radius: 14px; padding-inline: 28px; }
.portal-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; margin-top: 22px; }
.portal-stats li { display: flex; align-items: baseline; gap: 8px; font-size: .84rem; color: var(--muted); }
.portal-stats b { font-size: 1.15rem; color: var(--navy); font-weight: 700; }
.portal-section { padding-top: clamp(28px, 3vw, 44px); }

.cat-strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px; margin-bottom: 18px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.cat-strip button {
  flex-shrink: 0; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: .84rem; font-weight: 500; color: var(--ink); white-space: nowrap; transition: .2s;
}
.cat-strip button i { color: var(--navy); font-size: .8rem; }
.cat-strip button em { font-style: normal; font-size: .72rem; font-weight: 600; background: var(--soft); color: var(--navy); padding: 1px 8px; border-radius: 999px; }
.cat-strip button:hover { border-color: var(--navy); }
.cat-strip button.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.cat-strip button.is-active i { color: #fff; }
.cat-strip button.is-active em { background: rgba(255, 255, 255, .18); color: #fff; }

.portal-results { min-width: 0; }
.filters__head-actions { display: flex; gap: 10px; align-items: center; }
.fgroup { border: 0; margin: 0; padding: 16px 0; border-top: 1px solid var(--line); }
.fgroup legend { display: flex; align-items: center; gap: 8px; padding: 0; margin-bottom: 12px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.fgroup legend i { color: var(--red); font-size: .8rem; width: 16px; }
.fgroup legend small { font-weight: 400; color: var(--muted); font-size: .74rem; }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchips label { cursor: pointer; }
.fchips input, .flist input { position: absolute; opacity: 0; pointer-events: none; }
.fchips span { display: inline-block; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); font-size: .8rem; font-weight: 500; color: var(--text); transition: .2s; }
.fchips label:hover span { border-color: var(--navy); }
.fchips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.fchips input:focus-visible + span, .flist input:focus-visible + span { outline: 3px solid rgba(212, 24, 30, .35); outline-offset: 2px; }
.flist { display: grid; gap: 4px; }
.flist label { cursor: pointer; }
.flist span { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; font-size: .84rem; color: var(--text); transition: background .2s; }
.flist span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #c5cce0; flex-shrink: 0; transition: .2s; }
.flist label:hover span { background: var(--soft); }
.flist input:checked + span { color: var(--ink); font-weight: 500; }
.flist input:checked + span::before { border: 5px solid var(--red); }
.filters__apply { display: none; margin-top: 6px; }
.alert-box { margin-top: 16px; padding: 18px; border-radius: 16px; background: linear-gradient(160deg, #effcf4, #f6fef9); border: 1px solid #cdf1db; }
.alert-box__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.alert-box h4 { margin-bottom: 4px; font-size: .95rem; }
.alert-box p { font-size: .8rem; color: var(--muted); margin-bottom: 12px; line-height: 1.55; }

.results-bar { padding: 12px 14px 12px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.results-bar p { font-size: .9rem; }
.sort select {
  min-height: 40px; padding: 6px 36px 6px 14px; border: 1px solid var(--line); border-radius: 10px; background-color: #fff; font-size: .84rem; color: var(--ink); outline: none; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23182868' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center;
}
.view-toggle { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); }
.view-toggle button { width: 36px; height: 34px; border-radius: 8px; color: var(--muted); display: grid; place-items: center; transition: .2s; }
.view-toggle button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.filter-btn__count { min-width: 20px; height: 20px; border-radius: 999px; background: var(--red); color: #fff; font-size: .7rem; display: inline-grid; place-items: center; padding: 0 6px; }
.active-filters .clear-all { background: none; color: var(--red); font-weight: 600; }
.active-filters:empty { display: none; }
.active-filters { margin: 14px 0 0; }
.portal-results .jobs-grid { margin-top: 16px; }

/* list view: one job per row */
.jobs-grid.is-list { grid-template-columns: 1fr; gap: 12px; }
.jobs-grid.is-list .job-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 18px 20px; }
.jobs-grid.is-list .job-card__meta { gap: 6px 14px; }
.jobs-grid.is-list .job-card__foot { margin: 0; padding: 0; border: 0; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.jobs-grid.is-list .job-card__top { padding-right: 0; }
@media (max-width: 991px) {
  .jobs-grid.is-list .job-card { grid-template-columns: 1fr auto; }
  .jobs-grid.is-list .job-card__meta { grid-column: 1 / -1; grid-row: 2; }
  .jobs-grid.is-list .job-card__top { grid-column: 1; }
  .jobs-grid.is-list .job-card__foot { grid-column: 2; grid-row: 1; }
}
@media (max-width: 600px) {
  .jobs-grid.is-list .job-card { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; }
  .jobs-grid.is-list .job-card__foot { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; padding-top: 14px; border-top: 1px solid var(--line); }
  .view-toggle { display: none; }
}

.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.pager:empty { display: none; }
.pager button { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .88rem; color: var(--ink); transition: .2s; }
.pager button:hover:not(:disabled) { border-color: var(--navy); }
.pager button.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager button:disabled { opacity: .4; cursor: default; }

@media (max-width: 991px) {
  .filters__apply { display: inline-flex; }
}
@media (max-width: 767px) {
  .portal-search { grid-template-columns: 1fr; padding: 10px; }
  .portal-search__field + .portal-search__field::before { display: none; }
  .portal-search__field input, .portal-search__field select { background-color: var(--soft); }
  .portal-stats { gap: 8px 20px; }
  .results-bar { padding: 10px 12px; }
  .results-bar__right { width: 100%; }
  .results-bar__right .sort { flex: 1; }
  .results-bar__right .sort select { width: 100%; }
}

/* Job Categories page */
.catcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.catcard { position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.catcard:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(16, 28, 80, .1); border-color: rgba(24, 40, 104, .25); }
.catcard__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.catcard__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-size: 1.15rem; }
.catcard__count { font-size: .74rem; font-weight: 600; color: #15803d; background: #e7f8ee; padding: 4px 10px; border-radius: 999px; }
.catcard__count.is-zero { color: var(--muted); background: var(--soft); }
.catcard h3 { font-size: 1.02rem; margin-bottom: 10px; transition: color .2s; }
.catcard:hover h3 { color: var(--red); }
.catcard ul { display: grid; gap: 6px; margin-bottom: 16px; }
.catcard li { font-size: .82rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 14px; position: relative; }
.catcard li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.catcard li span { color: var(--muted); }
.catcard p { font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.catcard .link-arrow { margin-top: auto; font-size: .86rem; }
.chip b { font-size: .72rem; background: var(--soft); color: var(--navy); padding: 1px 8px; border-radius: 999px; }

/* Job detail */
.job-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.job-head h1 { margin: 0; }
body[data-page="job"] .page-hero { padding-bottom: clamp(70px, 6vw, 90px); }
#job-sub { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: .92rem; color: var(--text); }
#job-sub span { display: inline-flex; align-items: center; gap: 8px; }
#job-sub i { color: var(--red); font-size: .82rem; }
.job-head__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.job-head__actions .btn--ghost { --bg: #fff; --fg: var(--navy); --bd: var(--line); box-shadow: var(--shadow-sm); }
.job-head__actions .btn--ghost i { color: #16a34a; }

.jd-section { padding-top: 0; }
.jd-facts {
  position: relative; z-index: 2; margin: -40px 0 28px;
  display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 40px rgba(24, 40, 104, .08);
}
.jd-facts > div { padding: 18px 22px; min-width: 0; }
.jd-facts > div + div { border-left: 1px solid var(--line); }
.jd-facts small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.jd-facts b { display: block; font-size: .95rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.jd-facts:empty { display: none; }

.job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
@media (min-width: 1600px) { .job-layout { grid-template-columns: minmax(0, 1fr) 380px; } }
.jd-main { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 40px); }
.jd-main section + section { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.jd-main h2 { font-size: 1.15rem; font-weight: 600; margin-bottom: 14px; }
.jd-main p { color: var(--text); margin: 0; }
.jd-salary { font-weight: 600; color: var(--ink) !important; margin-bottom: 12px !important; }
.jd-list { display: grid; gap: 10px; }
.jd-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.jd-list i { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--navy-50); color: var(--navy); display: grid; place-items: center; font-size: .6rem; margin-top: 3px; }
.jd-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 32px; padding: 20px 22px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.jd-cta b { display: block; color: var(--ink); }
.jd-cta span { font-size: .86rem; color: var(--muted); }

.jd-side { position: sticky; top: 100px; display: grid; gap: 14px; }
.jd-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: grid; gap: 10px; box-shadow: var(--shadow-sm); }
.jd-card__label { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.jd-card__salary { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin: -4px 0 0; line-height: 1.3; }
.jd-card__deadline { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--text); margin: 0 0 6px; }
.jd-card__deadline i { color: var(--red); }
.jd-card__meta { margin: 8px 0 0; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.jd-card__meta div { display: flex; justify-content: space-between; gap: 12px; font-size: .84rem; }
.jd-card__meta dt { color: var(--muted); }
.jd-card__meta dd { margin: 0; font-weight: 500; color: var(--ink); text-align: right; }
.jd-share { display: flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.jd-share span { margin-right: auto; }
.jd-share a, .jd-share button { width: 34px; height: 34px; border-radius: 10px; background: var(--soft); color: var(--navy); display: grid; place-items: center; transition: .2s; }
.jd-share a:hover, .jd-share button:hover { background: var(--navy); color: #fff; }
.jd-help { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--navy-900); color: #c9d0e6; }
.jd-help > i { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.jd-help b { display: block; color: #fff; font-size: .9rem; }
.jd-help a { font-size: .84rem; color: #ff9a9d; }

@media (max-width: 1199px) { .jd-facts { grid-template-columns: repeat(3, 1fr); } .jd-facts > div:nth-child(4) { border-left: 0; } .jd-facts > div:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 991px) { .job-layout { grid-template-columns: 1fr; } .jd-side { position: static; } }
@media (max-width: 600px) {
  .jd-facts { grid-template-columns: 1fr 1fr; margin: -28px 0 20px; }
  .jd-facts > div { padding: 14px 16px; }
  .jd-facts > div:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); }
  .jd-facts > div:nth-child(-n+2) { border-top: 0; }
  .jd-facts > div:nth-child(even) { border-left: 1px solid var(--line); }
  .jd-facts > div:last-child { grid-column: 1 / -1; border-left: 0; }
  .jd-cta .btn { width: 100%; }
}

/* Applying-for banner */
.applying { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: var(--navy-50); margin-bottom: 26px; }
.applying .job-card__logo { width: 48px; height: 48px; }
.applying small { display: block; color: var(--muted); font-size: .76rem; }
.applying b { color: var(--ink); }

/* Map */
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--soft); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: saturate(.9); }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer { background: var(--navy-900); color: #a9b3d1; position: relative; overflow: hidden; font-size: .9rem; }
.site-footer::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 24, 30, .22), transparent 70%); pointer-events: none; }
.footer-contact-bar { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 34px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-contact-bar h3 { color: #fff; margin: 0 0 4px; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); }
.footer-contact-bar p { margin: 0; }
.footer-quick { display: flex; gap: 14px; flex-wrap: wrap; }
.quick-btn {
  display: flex; align-items: center; gap: 14px; padding: 10px 22px 10px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff;
  transition: .3s var(--ease);
}
.quick-btn .ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; color: #fff; flex-shrink: 0; }
.quick-btn small { display: block; font-size: .72rem; color: #98a3c6; line-height: 1.3; }
.quick-btn b { font-size: .95rem; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.quick-btn--wa .ic { background: var(--green); box-shadow: 0 0 0 6px rgba(37, 211, 102, .15); }
.quick-btn--call .ic { background: var(--red); box-shadow: 0 0 0 6px rgba(212, 24, 30, .18); }
.quick-btn:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .1); }

.footer-main { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 40px; padding: 60px 0 44px; }
.footer-brand img { height: 50px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 340px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--red); border-radius: 2px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col ul a { display: inline-flex; align-items: center; gap: 10px; transition: color .2s, transform .2s; }
.footer-col ul a i { font-size: .62rem; color: var(--red); }
.footer-col ul a:hover { color: #fff; transform: translateX(4px); }
.footer-info li { display: flex; gap: 12px; align-items: flex-start; }
.footer-info li > i { width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #fff; display: grid; place-items: center; font-size: .8rem; flex-shrink: 0; }
.footer-info a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: #fff; transition: .25s; }
.socials a:hover { transform: translateY(-3px); }
.socials a.s-wa:hover { background: var(--green); }
.socials a.s-call:hover { background: var(--red); }
.socials a.s-mail:hover { background: var(--blue); }
.socials a.s-fb:hover { background: #1877f2; }
.socials a.s-ig:hover { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.socials a.s-in:hover { background: #0a66c2; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; }
.footer-bottom a:hover { color: #fff; }
.footer-credit a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .3); transition: border-color .2s, color .2s; }
.footer-credit a:hover { color: #ff9a9d; border-color: #ff9a9d; }

/* Floating buttons */
.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; gap: 12px; }
.float-btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.5rem; box-shadow: 0 10px 25px rgba(0, 0, 0, .2); position: relative; transition: transform .3s var(--ease); }
.float-btn:hover { transform: scale(1.08); }
.float-btn--wa { background: var(--green); }
.float-btn--wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: ping 2s ease-out infinite; z-index: -1; }
.float-btn--call { background: var(--red); font-size: 1.2rem; }
.float-btn--top { background: var(--navy); font-size: 1rem; width: 46px; height: 46px; justify-self: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s var(--ease); }
.float-btn--top.is-visible { opacity: 1; visibility: visible; transform: none; }
.float-btn .tip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(6px); background: var(--ink); color: #fff; font-size: .75rem; font-weight: 500; padding: 6px 12px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: .25s; }
.float-btn:hover .tip { opacity: 1; transform: translateY(-50%); }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1199px) {
  .grid-4, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .dropdown--mega { width: min(560px, calc(100vw - 48px)); grid-template-columns: 1fr; }
  .dd-promo { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .job-layout { grid-template-columns: 1fr 320px; }
}

@media (max-width: 991px) {
  .hero__grid, .grid-2, .form-layout, .page-hero__grid, .cta, .job-layout { grid-template-columns: 1fr; }
  .hero__visual { max-width: 600px; width: 100%; margin-inline: auto; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .search__form { grid-template-columns: 1fr 1fr; }
  .search__form .field-ic:first-child { grid-column: 1 / -1; }
  .cta__actions { justify-content: flex-start; }
  .page-hero__icon { display: none; }
  .about-visual { max-width: 560px; }
  .summary { position: static; }
  .footer-contact-bar { grid-template-columns: 1fr; }

  /* filters become a drawer */
  .portal { grid-template-columns: 1fr; }
  .filter-btn { display: inline-flex; }
  .filters {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 210; width: min(90vw, 380px);
    border-radius: 0; max-height: none; transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: -20px 0 60px rgba(8, 14, 40, .25);
  }
  body.filters-open { overflow: hidden; }
  body.filters-open .filters { transform: none; }
  body.filters-open .drawer-overlay { opacity: 1; visibility: visible; }
  .filters__close { display: grid; width: 38px; height: 38px; border-radius: 10px; background: var(--soft); place-items: center; color: var(--navy) !important; }
}

@media (max-width: 767px) {
  .grid-3, .grid-4, .contact-cards, .steps, .check-list--2, .cta__list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .search__form { grid-template-columns: 1fr; }
  .search { border-radius: 20px; padding: 10px; }
  .search__tabs { padding: 6px 6px 12px; }
  .search__form .btn { width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 44px 0 32px; }
  .footer-quick, .quick-btn { width: 100%; }
  .hero__visual { padding: 40px 0 60px; }
  .hv-back { left: 30px; right: -6px; }
  .hv-card { padding: 16px; border-radius: 22px; }
  .hv-row { padding: 10px 6px; gap: 12px; }
  .hv-row__go { display: none; }
  .hv-float { padding: 9px 14px 9px 9px; }
  .hv-float .ic { width: 36px; height: 36px; }
  .hv-float b { font-size: .9rem; }
  .hv-float--a { left: 4px; }
  .hv-float--b { right: 4px; }
  .about-badge { right: 10px; }
  .btn-row .btn { flex: 1 1 auto; }
  .hero .btn-row .btn { flex: 1 1 calc(50% - 6px); }
  .modal__box { padding: 34px 20px 24px; }
  .float-btn { width: 50px; height: 50px; font-size: 1.3rem; }
  .float-actions { right: 12px; bottom: 12px; gap: 10px; }
  .map, .map iframe { min-height: 320px; }
  .section-head--row .btn { width: 100%; }
}

@media (max-width: 480px) {
  .pill { font-size: .7rem; gap: 8px; flex-wrap: nowrap; white-space: nowrap; max-width: 100%; }
  .pill b { display: none; }
  .pill { padding: 7px 14px; }
}

@media (max-width: 420px) {
  .hv-row__chip { display: none; }
  .hero__trust { gap: 18px; }
  .hero__trust div { flex: 1 1 40%; }
  .job-card { padding: 18px; }
}

/* Print */
@media print {
  .site-header, .float-actions, .site-footer, .drawer, .drawer-overlay { display: none !important; }
  .reveal { opacity: 1; transform: none; }
}
}

/* ==========================================================
   WordPress editor content (pages, job descriptions)
   ========================================================== */
.entry-content > * + * { margin-top: 1em; }
.entry-content--narrow { max-width: 860px; }
.entry-content h2 { font-size: 1.5rem; margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; list-style: revert; }
.entry-content li + li { margin-top: .4em; }
.entry-content a { color: var(--red); text-decoration: underline; }
.entry-content img { height: auto; border-radius: 14px; }
.entry-content blockquote { margin: 1.4em 0; padding: 16px 22px; border-left: 4px solid var(--red); background: var(--soft); border-radius: 0 12px 12px 0; }
.jd-main .entry-content p { margin: 0; }
.page-extra { padding-top: 0; }
.post-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.post-item h2 { font-size: 1.25rem; margin: 0 0 6px; }
.post-item h2 a:hover { color: var(--red); }
.nav-links { display: flex; gap: 8px; margin-top: 24px; }
.nav-links .page-numbers { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; }
.nav-links .current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Logged-in WordPress admins: keep the floating header below the admin bar */
body.admin-bar .site-header { top: 46px; }
body.admin-bar .site-header.is-scrolled { top: 42px; }
@media (max-width: 782px) { body.admin-bar .site-header, body.admin-bar .site-header.is-scrolled { top: 56px; } }

/* Business activity cards (Trading page) */
.activity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.activity-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.activity-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--navy); }
.activity-card__head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.activity-card__head .ic { width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 1.2rem; }
.activity-card__head h3 { font-size: 1.08rem; margin: 0 0 2px; }
.activity-card__head small { color: var(--muted); font-size: .8rem; }
.activity-card__list { display: grid; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; flex: 1; }
.activity-card__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; line-height: 1.5; color: var(--text); }
.activity-card__list li i { color: #fff; background: var(--red); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .58rem; flex-shrink: 0; margin-top: 2px; }
.activity-card__link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: .9rem; color: var(--navy); padding-top: 16px; border-top: 1px solid var(--line); }
.activity-card__link:hover { color: var(--red); }
