/* ==========================================================================
   RMP Infotech Solutions — Design System
   Blue / Navy / White. Professional B2B industrial staffing brand.
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-var-latin.woff2") format("woff2-variations"), url("/fonts/manrope-var-latin.woff2") format("woff2");
  font-weight: 380 820;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-var-latin.woff2") format("woff2-variations"), url("/fonts/fraunces-var-latin.woff2") format("woff2");
  font-weight: 440 920;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-italic-var-latin.woff2") format("woff2-variations"), url("/fonts/fraunces-italic-var-latin.woff2") format("woff2");
  font-weight: 440 920;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Brand palette */
  --navy-900: #081d38;
  --navy-800: #0b2f57;
  --navy-700: #0f3a6b;
  --navy-600: #123f75;
  --blue-600: #1677d9;
  --blue-500: #2b8bee;
  --blue-400: #5fa8f2;
  --ink: #16233a;
  --ink-soft: #445068;
  --muted: #64748b;
  --line: #e3eaf4;
  --line-soft: #eef3fa;
  --surface: #ffffff;
  --surface-soft: #f4f8fd;
  --surface-tint: #eef5fd;
  --gold: #c99a3c;

  /* Type */
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  /* Scale */
  --max: 1240px;
  --maxw: 92%;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(8, 29, 56, 0.06);
  --shadow: 0 18px 46px rgba(8, 29, 56, 0.12);
  --shadow-lg: 0 30px 70px rgba(8, 29, 56, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.33, 1, 0.68, 1);
  --dur: 0.4s;
  --dur-fast: 0.22s;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
img, picture, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

body {
  font-family: var(--font-body);
  font-weight: 420;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  animation: pageIn 0.6s var(--ease) both;
}

@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
}

.container { width: var(--maxw); max-width: var(--max); margin-inline: auto; }
.container--narrow { max-width: 860px; }
.container--wide { max-width: 1360px; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--navy-800);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top 0.2s var(--ease);
  font-weight: 600;
  font-size: 14px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2.5px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 650; color: var(--navy-900); line-height: 1.1; letter-spacing: -0.015em; font-variation-settings: "opsz" 40, "SOFT" 20; }
h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.4rem); font-weight: 620; }
h2 { font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); font-weight: 680; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; letter-spacing: normal; }
p { color: var(--ink-soft); }
.lede { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); color: var(--ink-soft); max-width: 62ch; }

.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before, .kicker::before { content: ""; width: 22px; height: 2px; background: var(--blue-600); border-radius: 2px; }
.kicker--onDark { color: #a7cdf5; }
.kicker--onDark::before { background: #5fa8f2; }
.kicker--center { justify-content: center; }

.headRow { max-width: 700px; margin: 0 auto 52px; text-align: center; display: grid; gap: 14px; }
.headRow--left { margin: 0 0 44px; text-align: left; }
.headRow h2 { margin-top: 2px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform var(--dur-fast) var(--ease-snap), box-shadow var(--dur-fast) var(--ease-snap), background var(--dur-fast) var(--ease-snap), color var(--dur-fast) var(--ease-snap), border-color var(--dur-fast) var(--ease-snap);
  white-space: nowrap;
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform 0.3s var(--ease-snap); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 12px 26px rgba(22, 119, 217, 0.32); }
.btn--primary:hover { background: #0f67c0; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(22, 119, 217, 0.4); }
.btn--primary:active { transform: scale(0.97); }
.btn--dark { background: var(--navy-800); color: #fff; }
.btn--dark:hover { background: var(--navy-900); transform: translateY(-2px); }
.btn--outline { background: transparent; border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--navy-800); }
.btn--ghost:hover { border-color: var(--blue-500); color: var(--blue-600); background: var(--surface-tint); }
.btn--sm { padding: 11px 20px; font-size: 13.5px; }
.btn--full { width: 100%; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(8, 29, 56, 0.06); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; }
.brand__mark { width: 42px; height: 42px; border-radius: 11px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 17.5px; color: var(--navy-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__sub { font-size: 10.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--blue-600); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 360px) {
  .brand__sub { display: none; }
  .brand__name { font-size: 16px; }
}

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a:not(.nav__cta) {
  position: relative;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: color var(--dur-fast) var(--ease-snap), background var(--dur-fast) var(--ease-snap);
}
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease-snap);
}
.nav__links a:not(.nav__cta):hover { color: var(--navy-900); background: var(--surface-tint); }
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav__links a.is-active:not(.nav__cta) { color: var(--blue-600); background: var(--surface-tint); }
.nav__links a.is-active:not(.nav__cta)::after { transform: scaleX(1); }
.nav__cta { margin-left: 6px; }

.nav__toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; flex: none; }
.nav__toggle span { width: 18px; height: 2px; background: var(--navy-900); margin-inline: auto; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobileMenu {
  display: none;
  position: fixed;
  top: 74px;
  left: 0;
  right: 0;
  height: calc(100vh - 74px);
  height: calc(100dvh - 74px);
  background: var(--navy-900);
  z-index: 99;
  padding: 28px 7vw 40px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.mobileMenu.is-open { display: flex; flex-direction: column; gap: 4px; opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobileMenu a { padding: 16px 6px; font-size: 19px; font-weight: 600; color: rgba(255, 255, 255, 0.86); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.mobileMenu a.is-active { color: #fff; }
.mobileMenu .btn { margin-top: 20px; }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; background: linear-gradient(155deg, var(--navy-900) 0%, var(--navy-800) 46%, var(--navy-700) 100%); padding: 132px 0 108px; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.14) 1.4px, transparent 1.4px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 68% 60% at 78% 30%, #000 40%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 68% 60% at 78% 30%, #000 40%, transparent 78%);
}
.hero::after {
  content: "";
  position: absolute; right: -12%; top: -18%; width: 62%; height: 130%;
  background: radial-gradient(circle, rgba(43, 139, 238, 0.35), transparent 65%);
  filter: blur(10px);
}
.hero__content { position: relative; z-index: 2; max-width: 760px; }
.hero__content > * { animation: riseIn 0.8s var(--ease) both; }
.hero__content > .hero__badge { animation-delay: 0.02s; }
.hero__content > .hero__title { animation-delay: 0.09s; }
.hero__content > .hero__desc { animation-delay: 0.18s; }
.hero__content > .hero__tagline { animation-delay: 0.25s; }
.hero__content > .hero__actions { animation-delay: 0.32s; }
.hero__content > .hero__stats { animation-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) { .hero__content > * { animation: none; } }
.hero__badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px 8px 10px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #cfe3fa; margin-bottom: 26px; }
.hero__badge svg { width: 15px; height: 15px; color: #5fa8f2; }
.hero__title { color: #fff; margin-bottom: 22px; }
.hero__title em { font-style: normal; color: #7db4f4; }
.hero__desc { color: rgba(228, 238, 250, 0.86); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); max-width: 60ch; margin-bottom: 14px; }
.hero__tagline { color: #9fc3ee; font-weight: 600; font-style: italic; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 54px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 34px 46px; padding-top: 34px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.stat__num { font-family: var(--font-display); font-size: clamp(1.7rem, 1.5rem + 0.7vw, 2.2rem); font-weight: 700; color: #fff; }
.stat__label { font-size: 12.5px; color: #a9c6e8; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; margin-top: 4px; }

/* ---- Page hero (inner pages) ---- */
.pageHero { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); padding: 118px 0 84px; }
.pageHero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.12) 1.3px, transparent 1.3px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 60% 90% at 90% 10%, #000 30%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 90% 10%, #000 30%, transparent 74%);
}
.pageHero__inner { position: relative; z-index: 2; max-width: 720px; }
.pageHero__inner > * { animation: riseIn 0.7s var(--ease) both; }
.pageHero__inner > .breadcrumb { animation-delay: 0.02s; }
.pageHero__inner > h1 { animation-delay: 0.08s; }
.pageHero__inner > p { animation-delay: 0.16s; }
@media (prefers-reduced-motion: reduce) { .pageHero__inner > * { animation: none; } }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: #9fc3ee; margin-bottom: 22px; font-weight: 600; }
.breadcrumb a { color: #cfe3fa; padding: 6px 2px; margin: -6px -2px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-hidden] { color: #4d76a3; }
.pageHero h1 { color: #fff; margin-bottom: 16px; }
.pageHero p { color: rgba(228, 238, 250, 0.86); font-size: 1.08rem; max-width: 58ch; }

/* ---- Sections ---- */
.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--muted { background: var(--surface-soft); }
.section--navy { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: #fff; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy p { color: rgba(226, 236, 250, 0.82); }

/* ---- Grids ---- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---- Cards ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--surface-tint); color: var(--blue-600); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; font-size: 1.18rem; }
.card p { font-size: 14.5px; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: 13.5px; color: var(--blue-600); }
.card__link svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }

/* Photo / industry cards */
.photoCard { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; isolation: isolate; }
.photoCard img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.photoCard:hover img { transform: scale(1.06); }
.photoCard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 21, 41, 0.92) 0%, rgba(8, 21, 41, 0.35) 46%, rgba(8, 21, 41, 0.08) 68%); }
.photoCard__content { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 24px; z-index: 2; }
.photoCard__num { font-family: var(--font-display); font-size: 13px; color: #7db4f4; font-weight: 700; margin-bottom: 8px; display: block; }
.photoCard__content h3 { color: #fff; margin-bottom: 8px; font-size: 1.15rem; }
.photoCard__content p { color: rgba(226, 236, 250, 0.86); font-size: 13.8px; }

/* Why / mini feature cards */
.featCard { padding: 30px 26px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.1); transition: background var(--dur), transform var(--dur), border-color var(--dur); }
.featCard:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.22); }
.featCard__icon { width: 48px; height: 48px; border-radius: 13px; background: rgba(95, 168, 242, 0.16); color: #7db4f4; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.featCard__icon svg { width: 24px; height: 24px; }
.featCard h3 { font-size: 1.08rem; margin-bottom: 8px; }
.featCard p { font-size: 14px; }

/* Mini cards (about mission/vision) */
.miniCard { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: box-shadow var(--dur), transform var(--dur); }
.miniCard:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.miniIcon { width: 40px; height: 40px; border-radius: 11px; background: var(--surface-tint); color: var(--blue-600); display: flex; align-items: center; justify-content: center; flex: none; }
.miniIcon svg { width: 20px; height: 20px; }
.miniCard h3 { font-family: var(--font-body); font-weight: 700; letter-spacing: normal; font-size: 15px; margin-bottom: 4px; }
.miniCard p { font-size: 13.5px; margin: 0; }

/* ---- About split / media ---- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split--rev { direction: rtl; }
.split--rev > * { direction: ltr; }
.aboutMedia { position: relative; }
.aboutMedia__img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3.1; object-fit: cover; }
.badge { position: absolute; left: -22px; bottom: -22px; background: var(--navy-800); color: #fff; padding: 20px 26px; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.badge__num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; }
.badge__label { font-size: 12px; color: rgba(255, 255, 255, 0.78); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; margin-top: 2px; }

/* ---- CEO ---- */
.ceo { display: grid; grid-template-columns: 320px 1fr; gap: 60px; align-items: start; }
@media (max-width: 860px) { .ceo { grid-template-columns: 1fr; } }
.ceo__photoWrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/4.6; }
.ceo__photoWrap img { width: 100%; height: 100%; object-fit: cover; }
.ceo__name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--navy-900); margin-top: 20px; }
.ceo__role { color: var(--blue-600); font-weight: 700; font-size: 14px; margin-top: 4px; }
.ceo__org { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.quote { border-left: 4px solid var(--blue-600); padding-left: 22px; margin: 26px 0 0; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--navy-900); }

/* ---- Tabs / careers filter ---- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.tab { padding: 11px 20px; border-radius: var(--radius-pill); border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: 13.8px; color: var(--ink-soft); transition: all 0.25s; }
.tab:hover { border-color: var(--blue-400); color: var(--navy-900); }
.tab.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.job { display: flex; flex-direction: column; transition: opacity 0.3s var(--ease-snap), transform 0.3s var(--ease-snap); }
.job h3 a { display: inline-block; padding: 4px 0; margin: -4px 0; }
.job.is-hidden { opacity: 0; transform: scale(0.96); }
.job__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.job__badge { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: var(--surface-tint); color: var(--blue-600); padding: 5px 11px; border-radius: var(--radius-pill); white-space: nowrap; }
.job__salary { font-weight: 700; color: var(--navy-900); font-size: 15px; margin: 10px 0 2px; }
.job__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.job__meta span { display: inline-flex; align-items: center; gap: 5px; }
.job__meta svg { width: 14px; height: 14px; color: var(--blue-500); }
.job .btn { margin-top: auto; }

/* ---- Contact ---- */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 50px; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.infoCard { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.infoCard:last-child { border-bottom: none; }
.infoCard__icon { width: 46px; height: 46px; border-radius: 13px; background: var(--surface-tint); color: var(--blue-600); display: flex; align-items: center; justify-content: center; flex: none; }
.infoCard__icon svg { width: 22px; height: 22px; }
.infoCard h3 { font-family: var(--font-body); font-weight: 700; letter-spacing: normal; font-size: 14.5px; margin-bottom: 4px; }
.infoCard p, .infoCard a { font-size: 14.5px; color: var(--ink-soft); }
.infoCard a { display: inline-block; padding: 5px 0; margin: -5px 0; }
.infoCard a:hover { color: var(--blue-600); }
.mapCard { margin-top: 18px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.mapCard iframe { width: 100%; height: 240px; border: 0; display: block; }

.formCard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--navy-900); margin-bottom: 7px; }
.input {
  width: 100%;
  padding: 13.5px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.input:hover { border-color: #c8d7ea; }
.input:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(43, 139, 238, 0.14); }
textarea.input { resize: vertical; min-height: 130px; }
.form__note { font-size: 12.5px; color: var(--muted); margin-top: 14px; text-align: center; }
.form__success { display: none; padding: 16px 18px; border-radius: var(--radius-sm); background: #eafaf0; border: 1px solid #bfe8cf; color: #1a7a43; font-weight: 600; font-size: 14px; margin-bottom: 18px; }
.form__success.is-visible { display: block; }

/* ---- Socials ---- */
.socialGrid { display: flex; flex-wrap: wrap; gap: 16px; }
.socialCard { width: 60px; height: 60px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); display: flex; align-items: center; justify-content: center; color: #cfe3fa; transition: all var(--dur) var(--ease); }
.socialCard svg { width: 24px; height: 24px; }
.socialCard:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; transform: translateY(-4px); }

/* ---- CTA band ---- */
.ctaBand { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--navy-900), var(--blue-600) 150%); padding: 64px 54px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; }
.ctaBand::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255, 255, 255, 0.16) 1.4px, transparent 1.4px); background-size: 26px 26px; mask-image: radial-gradient(ellipse 60% 100% at 85% 50%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 100% at 85% 50%, #000, transparent 75%); }
.ctaBand__text { position: relative; z-index: 2; max-width: 520px; }
.ctaBand h2 { color: #fff; margin-bottom: 10px; }
.ctaBand p { color: rgba(228, 238, 250, 0.86); }
.ctaBand__actions { position: relative; z-index: 2; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Footer ---- */
.footer { background: var(--navy-900); color: rgba(226, 236, 250, 0.72); padding: 76px 0 0; }
.footer a { color: inherit; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__brand img { width: 40px; height: 40px; border-radius: 10px; }
.footer__brandName { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 17px; }
.footer p { font-size: 14px; line-height: 1.7; }
.footer__tagline { font-style: italic; font-family: var(--font-display); color: #cfe3fa; margin-bottom: 14px; }
.footer h2 { color: #fff; font-family: var(--font-body); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; margin-bottom: 18px; }
.footer__links { display: grid; gap: 2px; }
.footer__links a { font-size: 14.5px; padding: 7px 0; transition: color 0.25s; }
.footer__links a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 26px 0; font-size: 13px; color: rgba(226, 236, 250, 0.5); }
.footer__bottom a:hover { color: #fff; }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a { padding: 6px 2px; margin: -6px -2px; }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack { display: grid; gap: 16px; }
.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--surface-tint); color: var(--blue-600); }
.stickyApply { position: sticky; top: 96px; }
.breakout-img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; box-shadow: var(--shadow); }

.list-check { display: grid; gap: 14px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.list-check svg { width: 20px; height: 20px; color: var(--blue-600); flex: none; margin-top: 1px; }

/* Legal pages */
.prose { max-width: 780px; }
.prose h2 { margin-top: 46px; margin-bottom: 14px; font-size: 1.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 14px; }
.prose ul { padding-left: 22px; list-style: disc; }
.prose a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }

/* 404 */
.error404 { min-height: 62vh; display: flex; align-items: center; }
.error404__code { font-family: var(--font-display); font-size: clamp(4rem, 3rem + 6vw, 8rem); color: var(--blue-600); line-height: 1; font-weight: 700; }

/* ---- Reveal-on-scroll ----
   Visible by default (no-JS / JS-failure safe). Only hidden pre-reveal when
   the early <html class="js-reveal"> flag is set, i.e. JS is actually running. */
.reveal, .reveal-stagger > * { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js-reveal .reveal { opacity: 0; transform: translateY(28px); }
.js-reveal .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js-reveal .reveal-stagger > * { opacity: 0; transform: translateY(24px); }
.js-reveal .reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.22s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.34s; }

/* ---- Responsive tweaks ---- */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .hero { padding: 118px 0 80px; }
  .section { padding: 72px 0; }
  .ctaBand { padding: 44px 30px; }
}
