/* =============================================================================
   CONSOMEDIX GROUP — style.css
   Core design system: tokens, base, layout, components.
   Light theme. Mobile-first base rules; breakpoints live in responsive.css.
   ============================================================================= */

/* ---------------------------------------------------------------------------
   1. DESIGN TOKENS
   --------------------------------------------------------------------------- */
:root {
  /* Brand */
  --navy: #0b2e6b;
  --navy-700: #0a2758;
  --navy-900: #071d40;
  --sky: #56b9ff;
  --sky-600: #2f9fff;
  --white: #ffffff;
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;

  /* Derived surfaces */
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --navy-tint: #eef4ff;
  --sky-tint: #eaf6ff;

  /* Gradients */
  --grad-navy: linear-gradient(135deg, #0b2e6b 0%, #123f8f 55%, #0a2758 100%);
  --grad-sky: linear-gradient(135deg, #56b9ff 0%, #2f9fff 100%);
  --grad-hero: radial-gradient(1200px 600px at 80% -10%, rgba(86, 185, 255, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(11, 46, 107, 0.08), transparent 55%);

  /* Typography */
  --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Fluid type scale */
  --fs-display: clamp(2.5rem, 1.4rem + 4.6vw, 4.75rem);
  --fs-h1: clamp(2rem, 1.3rem + 3vw, 3.5rem);
  --fs-h2: clamp(1.65rem, 1.2rem + 1.9vw, 2.6rem);
  --fs-h3: clamp(1.25rem, 1.05rem + 0.9vw, 1.6rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem);
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.78rem;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section-y: clamp(3.5rem, 2rem + 6vw, 7rem);

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 46, 107, 0.14);
  --shadow-navy: 0 24px 60px rgba(11, 46, 107, 0.35);

  /* Layout */
  --container: 1200px;
  --container-wide: 1360px;
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.45s;

  --z-header: 1000;
  --z-menu: 1100;
  --z-modal: 1200;
  --z-toast: 1300;
}

/* ---------------------------------------------------------------------------
   2. RESET & BASE
   --------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 var(--space-4);
  letter-spacing: -0.02em;
}

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

p {
  margin: 0 0 var(--space-4);
}

a {
  color: var(--sky-600);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
a:hover {
  color: var(--navy);
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
  z-index: var(--z-toast);
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

/* ---------------------------------------------------------------------------
   3. LAYOUT HELPERS
   --------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}
.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}
.section--tight {
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
}
.section--alt {
  background: var(--white);
}

.grid {
  display: grid;
  gap: var(--space-6);
}
.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.text-center {
  text-align: center;
}
.mx-auto {
  margin-inline: auto;
}
.measure {
  max-width: 62ch;
}
.measure-narrow {
  max-width: 48ch;
}

/* Eyebrow / section labels */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-600);
  margin-bottom: var(--space-3);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--grad-sky);
  border-radius: 2px;
}
.eyebrow--center {
  justify-content: center;
}

.section-head {
  max-width: 720px;
  margin-bottom: var(--space-7);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head p {
  color: var(--muted);
  font-size: var(--fs-lead);
  margin-bottom: 0;
}

.lead {
  font-size: var(--fs-lead);
  color: var(--muted);
}

/* ---------------------------------------------------------------------------
   4. BUTTONS
   --------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  will-change: transform;
  text-align: center;
}
.btn svg {
  width: 1.1em;
  height: 1.1em;
  transition: transform var(--dur) var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #fff;
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--grad-navy);
  color: #fff;
  box-shadow: 0 12px 26px rgba(11, 46, 107, 0.22);
}
.btn--accent {
  background: var(--grad-sky);
  color: var(--navy-900);
}
.btn--accent:hover {
  color: var(--navy-900);
}
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn--light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}
.btn--light:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.btn--white {
  background: #fff;
  color: var(--navy);
}
.btn--white:hover {
  color: var(--navy);
}
.btn--block {
  width: 100%;
}
.btn--sm {
  padding: 0.65rem 1.1rem;
  font-size: 0.9rem;
}
.btn[disabled],
.btn.is-loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  color: var(--navy);
}
.text-link svg {
  width: 1.05em;
  height: 1.05em;
  transition: transform var(--dur) var(--ease);
}
.text-link:hover {
  color: var(--sky-600);
}
.text-link:hover svg {
  transform: translateX(4px);
}

/* ---------------------------------------------------------------------------
   5. HEADER / NAV
   --------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease), height var(--dur) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}

.nav {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__logo img {
  height: 40px;
  width: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.6rem 0.95rem;
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--text);
  border-radius: var(--r-sm);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__link:hover {
  color: var(--navy);
  background: var(--navy-tint);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.35rem;
  height: 2px;
  background: var(--grad-sky);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link.is-active {
  color: var(--navy);
  font-weight: 600;
}
.nav__link.is-active::after {
  transform: scaleX(1);
}
.nav__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur) var(--ease);
}

/* Dropdown / mega menu */
.nav__item--has-menu {
  position: relative;
}
.nav__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translate(-50%, 10px);
  width: min(600px, calc(100vw - 2rem));
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.65rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}
.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.nav__item--has-menu.is-open .nav__dropdown,
.nav__item--has-menu:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav__item--has-menu.is-open > .nav__link svg,
.nav__item--has-menu:hover > .nav__link svg {
  transform: rotate(180deg);
}

.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--r-md);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.mega-link:hover {
  background: var(--navy-tint);
}
.mega-link__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--sky-tint);
  color: var(--navy);
}
.mega-link__icon svg {
  width: 22px;
  height: 22px;
}
.mega-link__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 2px;
}
.mega-link__text {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.mega-link > span:last-child {
  min-width: 0;
}

.nav__cta {
  margin-left: 0.5rem;
  flex-shrink: 0;
}

/* Hamburger */
.nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  position: relative;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease), top 0.35s var(--ease);
}
.nav__toggle span {
  top: 50%;
  margin-top: -1px;
}
.nav__toggle span::before {
  top: -7px;
}
.nav__toggle span::after {
  top: 7px;
}
.nav__toggle.is-open span {
  background: transparent;
}
.nav__toggle.is-open span::before {
  top: 0;
  transform: translateX(-50%) rotate(45deg);
}
.nav__toggle.is-open span::after {
  top: 0;
  transform: translateX(-50%) rotate(-45deg);
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  visibility: hidden;
  pointer-events: none;
  isolation: isolate;
}
.mobile-nav__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 29, 64, 0.45);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  backdrop-filter: blur(2px);
}
.mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(88%, 400px);
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease-out);
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  overflow-y: auto;
}
.mobile-nav.is-open {
  visibility: visible;
  pointer-events: auto;
}
.mobile-nav.is-open .mobile-nav__overlay {
  opacity: 1;
}
.mobile-nav.is-open .mobile-nav__panel {
  transform: translateX(0);
}
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.mobile-nav__head img {
  height: 34px;
}
.mobile-nav__close {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  line-height: 1;
}
.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0.75rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text);
  border-radius: var(--r-md);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.mobile-nav__link:hover,
.mobile-nav__link.is-active {
  background: var(--navy-tint);
  color: var(--navy);
}
.mobile-nav__sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease);
}
.mobile-nav__sub.is-open {
  grid-template-rows: 1fr;
}
.mobile-nav__sub-inner {
  overflow: hidden;
}
.mobile-nav__sublink {
  display: block;
  padding: 0.7rem 0.75rem 0.7rem 1.75rem;
  color: var(--muted);
  font-size: 0.98rem;
  border-radius: var(--r-sm);
}
.mobile-nav__sublink:hover {
  color: var(--navy);
  background: var(--surface-2);
}
.mobile-nav__accordion-btn {
  background: none;
  border: none;
  width: 100%;
}
.mobile-nav__accordion-btn .chev {
  transition: transform var(--dur) var(--ease);
}
.mobile-nav__accordion-btn[aria-expanded='true'] .chev {
  transform: rotate(180deg);
}
.mobile-nav__foot {
  margin-top: auto;
  padding-top: 1.5rem;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--grad-sky);
  z-index: calc(var(--z-header) + 1);
  will-change: transform;
}

/* ---------------------------------------------------------------------------
   HIRING TOAST
   Small, professional, attention-grabbing toast shown on page load.
   Sits below the fixed header on wide screens and near the bottom on mobile.
   --------------------------------------------------------------------------- */
.toast-wrap {
  position: fixed;
  top: calc(var(--header-h) + 12px);
  right: 20px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--border-strong);
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  color: var(--navy);
  max-width: 380px;
  transform: translateY(-6px);
  opacity: 0;
  animation: toast-in .45s var(--ease) forwards;
}
.toast--hiring {
  border-left: 6px solid var(--sky-600);
}
.toast__icon svg { width: 22px; height:22px; color:var(--sky-600); }
.toast__msg { font-weight: 700; font-size: 0.98rem; color:var(--navy-900); }
.toast__sub { font-size: 0.85rem; color:var(--muted); display:block; margin-top:4px; font-weight:500; }
.toast__actions { margin-left: auto; display:flex; gap:8px; align-items:center; }
.toast__close { background:transparent; border:0; color:var(--muted); font-size:18px; padding:6px; border-radius:8px; cursor:pointer; }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(-10px) scale(.98); }
  to { opacity: 1; transform: none; }
}

.toast--pulse::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--sky-600);
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(86,185,255,0.6);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(86,185,255,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(86,185,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(86,185,255,0); }
}

@media (max-width: 720px) {
  .toast-wrap { left: 12px; right: 12px; top: auto; bottom: 18px; align-items: stretch; }
  .toast { max-width: 100%; }
}

/* ---------------------------------------------------------------------------
   6. HERO
   --------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 6vw, 6rem);
  overflow: hidden;
  background: var(--grad-hero), var(--bg);
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hero__map {
  position: absolute;
  top: 50%;
  right: -6%;
  transform: translateY(-50%);
  width: 62%;
  max-width: 900px;
  opacity: 0.5;
  color: var(--sky);
}
.hero__grid-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__eyebrow {
  margin-bottom: var(--space-4);
}
.hero__title {
  font-size: var(--fs-display);
  line-height: 1.04;
  margin-bottom: var(--space-5);
}
.hero__title .accent {
  background: linear-gradient(120deg, var(--sky-600), var(--navy));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub {
  font-size: var(--fs-lead);
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: var(--space-6);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.hero__trust {
  margin-top: var(--space-7);
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  align-items: center;
}
.hero__trust-item {
  display: flex;
  flex-direction: column;
}
.hero__trust-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  line-height: 1;
}
.hero__trust-label {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Hero visual */
.hero__visual {
  position: relative;
}
.hero__image-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.4;
}
.hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 46, 107, 0.35));
}
.hero__glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 185, 255, 0.55), transparent 65%);
  filter: blur(30px);
  z-index: -1;
}
.hero__glow--1 {
  top: -60px;
  right: -40px;
}
.hero__glow--2 {
  bottom: -70px;
  left: -60px;
  background: radial-gradient(circle, rgba(11, 46, 107, 0.35), transparent 65%);
}

/* Floating card on hero image */
.hero__float {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.hero__float--tl {
  top: 8%;
  left: -8%;
}
.hero__float--br {
  bottom: 9%;
  right: -6%;
}
.hero__float-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--grad-sky);
  color: var(--navy-900);
}
.hero__float-icon svg {
  width: 22px;
  height: 22px;
}
.hero__float-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  line-height: 1.1;
}
.hero__float-text {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Floating geometric shapes */
.shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}
.shape--ring {
  width: 120px;
  height: 120px;
  border: 2px solid var(--sky);
  border-radius: 50%;
  opacity: 0.25;
}
.shape--dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sky);
}
.shape--square {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-tint), transparent);
  border: 1px solid var(--border);
}

/* ---------------------------------------------------------------------------
   7. STATS
   --------------------------------------------------------------------------- */
.stats {
  position: relative;
  z-index: 2;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 3vw, 2.75rem);
}
.stat {
  text-align: center;
  padding: var(--space-2);
  position: relative;
}
.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: calc(var(--space-5) / -2);
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: var(--border);
}
.stat__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.1rem);
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.stat__num .accent {
  color: var(--sky-600);
}
.stat__label {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

/* ---------------------------------------------------------------------------
   8. CARDS — generic
   --------------------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* Service card */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.service-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.service-card:hover .service-card__media img {
  transform: scale(1.06);
}
.service-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 46, 107, 0.5));
}
.service-card__icon {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.service-card__icon svg {
  width: 28px;
  height: 28px;
}
.service-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.28rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.service-card__text {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 1.25rem;
  flex: 1;
}
.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}
.service-card__cta svg {
  width: 18px;
  height: 18px;
  transition: transform var(--dur) var(--ease);
}
.service-card:hover .service-card__cta {
  color: var(--sky-600);
}
.service-card:hover .service-card__cta svg {
  transform: translateX(5px);
}

/* Feature / value card (Why Consomedix) */
.feature-card {
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--navy-tint);
  color: var(--navy);
  margin-bottom: 1.1rem;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.feature-card:hover .feature-card__icon {
  transform: translateY(-3px) rotate(-4deg);
  background: var(--grad-sky);
  color: var(--navy-900);
}
.feature-card__icon svg {
  width: 28px;
  height: 28px;
}
.feature-card__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.feature-card__text {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------------------------------------------------------------------------
   9. SPLIT / MEDIA SECTIONS
   --------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split__media {
  order: 2;
}
.split__media {
  position: relative;
}
.split__img {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4;
}
.split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split__badge {
  position: absolute;
  right: -1.25rem;
  bottom: -1.25rem;
  background: var(--grad-navy);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-navy);
  max-width: 220px;
}
.split__badge-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
}
.split__badge-label {
  font-size: 0.82rem;
  opacity: 0.85;
  margin-top: 4px;
}
.split__list {
  display: grid;
  gap: 0.85rem;
  margin-top: var(--space-5);
}
.split__list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text);
}
.check-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sky-tint);
  color: var(--sky-600);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.check-icon svg {
  width: 15px;
  height: 15px;
}

/* ---------------------------------------------------------------------------
   10. WORLD / GLOBAL PRESENCE
   --------------------------------------------------------------------------- */
.globe {
  position: relative;
  background: var(--grad-navy);
  color: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4.5rem);
}
.globe h2 {
  color: #fff;
}
.globe__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}
.globe__map {
  position: relative;
}
.globe__map svg {
  width: 100%;
  height: auto;
}
.globe .dot-marker {
  fill: var(--sky);
}
.globe__stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.globe__stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--sky);
}
.globe__stat-label {
  font-size: 0.85rem;
  opacity: 0.8;
}
.globe__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 75% 20%, rgba(86, 185, 255, 0.25), transparent 60%);
  z-index: 1;
}

/* ---------------------------------------------------------------------------
   11. APPROACH / PROCESS
   --------------------------------------------------------------------------- */
.approach {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  counter-reset: step;
}
.approach__step {
  position: relative;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.approach__step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.approach__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--sky), var(--navy));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.9;
  margin-bottom: 0.75rem;
}
.approach__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.approach__text {
  color: var(--muted);
  font-size: 0.93rem;
  margin: 0;
}
.approach__step::before {
  content: '';
  position: absolute;
  top: 2.4rem;
  right: -1rem;
  width: 2rem;
  height: 2px;
  background: var(--border-strong);
  z-index: 1;
}
.approach__step:last-child::before {
  display: none;
}

/* ---------------------------------------------------------------------------
   12. FAQ ACCORDION
   --------------------------------------------------------------------------- */
.faq {
  max-width: 820px;
  margin-inline: auto;
}
.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: #fff;
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.faq__item.is-open {
  box-shadow: var(--shadow-sm);
  border-color: var(--sky);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
}
.faq__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy-tint);
  color: var(--navy);
  display: grid;
  place-items: center;
  position: relative;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}
.faq__icon::before {
  width: 12px;
  height: 2px;
}
.faq__icon::after {
  width: 2px;
  height: 12px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.faq__item.is-open .faq__icon {
  background: var(--grad-sky);
  color: var(--navy-900);
}
.faq__item.is-open .faq__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease);
}
.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}
.faq__a-inner {
  overflow: hidden;
}
.faq__a p {
  padding: 0 1.4rem 1.3rem;
  color: var(--muted);
  margin: 0;
}

/* ---------------------------------------------------------------------------
   13. CTA BANNER
   --------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--grad-navy);
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 5vw, 5rem);
  text-align: center;
  color: #fff;
}
.cta-band h2 {
  color: #fff;
  font-size: var(--fs-h1);
  max-width: 18ch;
  margin-inline: auto;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-lead);
  max-width: 60ch;
  margin: 0 auto var(--space-6);
}
.cta-band__actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}
.cta-band__wave {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 0;
  opacity: 0.5;
  color: var(--sky);
}
.cta-band__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 185, 255, 0.3), transparent 60%);
  top: -200px;
  right: -100px;
}
.cta-band > .container,
.cta-band__content {
  position: relative;
  z-index: 2;
}

/* ---------------------------------------------------------------------------
   14. PAGE HERO (inner pages)
   --------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 5vw, 4.5rem));
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  background: var(--grad-hero), var(--bg);
  overflow: hidden;
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.page-hero__title {
  font-size: var(--fs-h1);
  margin-bottom: var(--space-4);
}
.page-hero__sub {
  font-size: var(--fs-lead);
  color: var(--muted);
  max-width: 60ch;
}
.page-hero--media {
  color: #fff;
  background: var(--grad-navy);
}
.page-hero--media .page-hero__title {
  color: #fff;
}
.page-hero--media .page-hero__sub {
  color: rgba(255, 255, 255, 0.85);
}
.page-hero__bgimg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.22;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.page-hero--media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(7, 29, 64, 0.88), rgba(11, 46, 107, 0.55));
  z-index: 1;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: var(--space-4);
  color: var(--muted);
}
.breadcrumb a {
  color: inherit;
}
.breadcrumb a:hover {
  color: var(--sky-600);
}
.page-hero--media .breadcrumb {
  color: rgba(255, 255, 255, 0.7);
}
.page-hero--media .breadcrumb a:hover {
  color: #fff;
}
.breadcrumb__sep {
  opacity: 0.5;
}

/* ---------------------------------------------------------------------------
   15. TIMELINE (about)
   --------------------------------------------------------------------------- */
.timeline {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
  padding-left: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--sky), var(--border));
}
.timeline__item {
  position: relative;
  padding-left: 62px;
  padding-bottom: 2.5rem;
}
.timeline__item:last-child {
  padding-bottom: 0;
}
.timeline__dot {
  position: absolute;
  left: 10px;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--sky);
  box-shadow: 0 0 0 5px var(--sky-tint);
}
.timeline__year {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--sky-600);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.timeline__title {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.timeline__text {
  color: var(--muted);
  margin: 0;
}

/* Mission / Vision */
.mv-card {
  padding: 2.25rem;
  border-radius: var(--r-xl);
  height: 100%;
  border: 1px solid var(--border);
}
.mv-card--mission {
  background: var(--grad-navy);
  color: #fff;
}
.mv-card--mission h3 {
  color: #fff;
}
.mv-card--vision {
  background: #fff;
}
.mv-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}
.mv-card--mission .mv-card__icon {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.mv-card--vision .mv-card__icon {
  background: var(--sky-tint);
  color: var(--navy);
}
.mv-card__icon svg {
  width: 30px;
  height: 30px;
}
.mv-card--mission p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}
.mv-card--vision p {
  color: var(--muted);
  margin: 0;
}

/* ---------------------------------------------------------------------------
   16. SERVICE SUBPAGE BLOCKS
   --------------------------------------------------------------------------- */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.capability {
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #fff;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.capability:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.capability__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--navy-tint);
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.capability__icon svg {
  width: 26px;
  height: 26px;
}
.capability h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--navy);
}
.capability p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.value-list {
  display: grid;
  gap: 1.25rem;
}
.value-item {
  display: flex;
  gap: 1.1rem;
  padding: 1.4rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.value-item__num {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--sky-600);
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--sky-tint);
  display: grid;
  place-items: center;
}
.value-item h4 {
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}
.value-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* pill chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
}
.chip--hq {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--navy-900);
  font-weight: 600;
}

/* ---------------------------------------------------------------------------
   17. SERVICES HUB (alternating rows)
   --------------------------------------------------------------------------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(2rem, 4vw, 3.5rem);
}
.service-row:not(:last-child) {
  border-bottom: 1px solid var(--border);
}
.service-row--reverse .service-row__media {
  order: 2;
}
.service-row__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 11;
}
.service-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.service-row:hover .service-row__media img {
  transform: scale(1.05);
}
.service-row__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--navy-tint);
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.service-row__icon svg {
  width: 30px;
  height: 30px;
}
.service-row__caps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin: 1.25rem 0 1.75rem;
}
.service-row__caps li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.92rem;
  color: var(--text);
}

/* ---------------------------------------------------------------------------
   18. CAREERS
   --------------------------------------------------------------------------- */
.careers-toolbar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
  position: sticky;
  top: calc(var(--header-h) + 12px);
  z-index: 5;
}
.careers-search {
  position: relative;
}
.careers-search svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--muted);
  pointer-events: none;
}
.careers-search input {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 2.9rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font: inherit;
  font-size: 1rem;
  background: var(--bg);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.careers-search input:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px var(--sky-tint);
}
.careers-filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.field-select {
  position: relative;
}
.field-select select {
  width: 100%;
  appearance: none;
  padding: 0.8rem 2.4rem 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font: inherit;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--bg);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease);
}
.field-select select:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px var(--sky-tint);
}
.field-select::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.careers-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1.25rem;
}
.careers-count {
  font-weight: 600;
  color: var(--navy);
}
.careers-count span {
  color: var(--sky-600);
}
.btn-reset {
  background: none;
  border: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-reset:hover {
  color: var(--navy);
}

.job-list {
  display: grid;
  gap: 1rem;
}
.job-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
  animation: fadeUp 0.5s var(--ease) both;
}
.job-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky);
}
.job-card__dept {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sky-600);
  margin-bottom: 0.5rem;
}
.job-card__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.job-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.job-card__meta svg {
  width: 16px;
  height: 16px;
  color: var(--sky-600);
}
.job-card__action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}
.job-card__deadline {
  font-size: 0.78rem;
  color: var(--muted);
}

.no-results {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: #fff;
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-lg);
}
.no-results__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
}
.no-results__icon svg {
  width: 32px;
  height: 32px;
}
.no-results h3 {
  margin-bottom: 0.35rem;
}
.no-results p {
  color: var(--muted);
  margin: 0;
}
.is-hidden {
  display: none !important;
}

/* ---------------------------------------------------------------------------
   19. JOB DETAILS
   --------------------------------------------------------------------------- */
.job-detail {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}
.job-detail__main h2 {
  font-size: 1.5rem;
  margin-top: 2.25rem;
}
.job-detail__main h2:first-child {
  margin-top: 0;
}
.job-detail__main ul.bullets {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1rem;
}
.job-detail__main ul.bullets li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--text);
}
.job-detail__aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 1.25rem;
}
.job-summary-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}
.job-summary-card__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.job-summary-card__row:last-of-type {
  border-bottom: none;
}
.job-summary-card__ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--navy-tint);
  color: var(--navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.job-summary-card__ic svg {
  width: 19px;
  height: 19px;
}
.job-summary-card__k {
  font-size: 0.76rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.job-summary-card__v {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

/* ---------------------------------------------------------------------------
   20. FORMS
   --------------------------------------------------------------------------- */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}
.field label .req {
  color: #e11d48;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.98rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  width: 100%;
}
.field textarea {
  resize: vertical;
  min-height: 140px;
}
.field select {
  appearance: none;
  cursor: pointer;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px var(--sky-tint);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #e11d48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}
.field__error {
  font-size: 0.8rem;
  color: #e11d48;
  min-height: 1rem;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.field.has-error .field__error {
  opacity: 1;
  transform: translateY(0);
}

/* file input */
.file-drop {
  position: relative;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--r-md);
  padding: 1.4rem;
  text-align: center;
  background: var(--bg);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.file-drop:hover {
  border-color: var(--sky);
  background: var(--sky-tint);
}
.file-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.file-drop__icon {
  color: var(--sky-600);
  margin-bottom: 0.4rem;
}
.file-drop__icon svg {
  width: 30px;
  height: 30px;
}
.file-drop__text {
  font-size: 0.9rem;
  color: var(--muted);
}
.file-drop__name {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
  margin-top: 0.4rem;
  min-height: 1rem;
}

/* form feedback */
.form-alert {
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  display: none;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  animation: fadeUp 0.4s var(--ease) both;
}
.form-alert.is-visible {
  display: flex;
}
.form-alert--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.form-alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.form-alert svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}
.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* spinner for loading state */
.spinner {
  width: 1.1em;
  height: 1.1em;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* Contact info cards */
.contact-info {
  display: grid;
  gap: 1rem;
}
.contact-info__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.contact-info__ic {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--navy-tint);
  color: var(--navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-info__ic svg {
  width: 24px;
  height: 24px;
}
.contact-info__k {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.contact-info__v {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}
/* ---------------------------------------------------------------------------
   21. MODAL
   --------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: 1.25rem;
  visibility: hidden;
  pointer-events: none;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 29, 64, 0.5);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.modal__dialog {
  position: relative;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  max-width: 520px;
  width: 100%;
  padding: 2rem;
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease);
  max-height: 90vh;
  overflow-y: auto;
}
.modal.is-open {
  visibility: visible;
  pointer-events: auto;
}
.modal.is-open .modal__overlay {
  opacity: 1;
}
.modal.is-open .modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  line-height: 1;
}
.modal__close:hover {
  background: var(--surface-2);
}
.modal__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: #ecfdf5;
  color: #059669;
}
.modal__icon svg {
  width: 32px;
  height: 32px;
}

/* ---------------------------------------------------------------------------
   22. TOAST
   --------------------------------------------------------------------------- */
.toast-wrap {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 360px;
}
.toast {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--sky);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 0.9rem 1.1rem;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  animation: slideInRight 0.4s var(--ease-out) both;
}
.toast--success {
  border-left-color: #10b981;
}
.toast--error {
  border-left-color: #ef4444;
}
.toast__msg {
  font-size: 0.9rem;
  color: var(--text);
}

/* ---------------------------------------------------------------------------
   23. FOOTER
   --------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
  padding-top: clamp(3rem, 5vw, 5rem);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
}
.footer__glow {
  position: absolute;
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(86, 185, 255, 0.12), transparent 65%);
  top: -100px;
  left: -100px;
  pointer-events: none;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
  padding-bottom: 3rem;
}
.footer__brand img {
  height: 42px;
  margin-bottom: 1.1rem;
}
.footer__brand p {
  font-size: 0.92rem;
  max-width: 34ch;
  line-height: 1.7;
}
.footer__col h4 {
  color: #fff;
  font-size: 0.98rem;
  font-family: var(--font-head);
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.footer__col ul {
  display: grid;
  gap: 0.7rem;
}
.footer__col a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.footer__col a:hover {
  color: #fff;
  padding-left: 5px;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
}
.footer__bottom p {
  margin: 0;
  font-size: 0.85rem;
}
.footer__tag {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--sky);
  font-size: 0.9rem;
}

/* ---------------------------------------------------------------------------
   24. BACK TO TOP
   --------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad-navy);
  color: #fff;
  border: none;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  z-index: var(--z-header);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px);
}
.back-to-top svg {
  width: 22px;
  height: 22px;
}

/* ---------------------------------------------------------------------------
   25. UTILITIES
   --------------------------------------------------------------------------- */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--r-pill);
  background: rgba(86, 185, 255, 0.12);
  border: 1px solid rgba(86, 185, 255, 0.3);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.8rem;
}
.divider {
  height: 1px;
  background: var(--border);
  border: none;
  margin: 0;
}
.bg-white {
  background: #fff;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
img.lazy {
  filter: blur(12px);
  transition: filter 0.6s var(--ease);
}
img.lazy.is-loaded {
  filter: blur(0);
}
