/* ============================================================
   ADIV HR — Corporate Redesign
   Palette (from logo): blue #0E76BC · red #EC1C24 · green #8DC63F
   ============================================================ */

/* Plus Jakarta Sans — self-hosted (was Google Fonts, which cost ~3s of
   render-blocking round trips per page load). Variable font, wght 200-800,
   so these four subset files cover every weight the site uses. Files came
   from fonts.gstatic.com v12; unicode-range values are Google's own. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../assets/fonts/plus-jakarta-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../assets/fonts/plus-jakarta-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../assets/fonts/plus-jakarta-sans-vietnamese.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../assets/fonts/plus-jakarta-sans-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

:root {
  --blue-700: #0A5589;
  --blue-600: #0E76BC;
  --blue-500: #1B87CE;
  --blue-050: #EEF6FC;
  --red-600: #EC1C24;
  --red-700: #C8151C;
  --green-500: #8DC63F;
  --green-600: #74AC2D;
  --green-050: #F2F9E8;
  --ink-900: #16232E;
  --ink-600: #45596B;
  --ink-400: #7C8FA0;
  --white: #FFFFFF;
  --grey-050: #F5F8FB;
  --line: rgba(14, 118, 188, 0.14);

  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px;
  --s6: 48px; --s7: 56px; --s8: 64px; --s9: 80px; --s10: 96px;

  --font: "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
  --radius: 12px;
  --radius-lg: 18px;
  /* Flat design: card shadows disabled site-wide */
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-600);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
ul { list-style: none; }

h1, h2, h3, h4 { color: var(--ink-900); line-height: 1.25; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }

a { color: var(--blue-600); text-decoration: none; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--s3); }
.section { padding-block: var(--s9); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--blue-700); color: var(--white); padding: var(--s1) var(--s2); z-index: 200; }
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  padding: 13px var(--s4);
  border-radius: 8px;
  font-family: inherit;
  font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-blue { background: var(--blue-600); color: var(--white); }
.btn-blue:hover { background: var(--blue-700); }
.btn-red { background: var(--red-600); color: var(--white); }
.btn-red:hover { background: var(--red-700); }
.btn-green { background: var(--green-500); color: #1E3306; }
.btn-green:hover { background: var(--green-600); color: var(--white); }
.btn-outline { border-color: var(--blue-600); color: var(--blue-600); background: transparent; }
.btn-outline:hover { background: var(--blue-600); color: var(--white); }
.btn-sm { padding: 9px var(--s3); font-size: 0.85rem; }
.btn-block { width: 100%; }

.text-link { font-weight: 600; font-size: 0.88rem; color: var(--blue-600); display: inline-flex; gap: 6px; align-items: center; }
.text-link:hover { color: var(--red-600); }

/* Pill CTA with ringed phone badge (reference: circle overlapping capsule) */
.btn-cta {
  position: relative;
  display: inline-flex; align-items: center;
  background: var(--red-600);
  color: var(--white);
  border-radius: 999px;
  min-height: 46px;
  padding: 8px 24px 8px 60px;
  font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.btn-cta:hover { background: var(--red-700); transform: translateY(-2px); }
.btn-cta-icon {
  position: absolute; left: -6px; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--white);
  border: 5px solid var(--red-600);
  box-shadow: 0 0 0 4px var(--white);
  display: grid; place-items: center;
  color: var(--red-600);
}
.btn-cta:hover .btn-cta-icon { border-color: var(--red-700); color: var(--red-700); }
.btn-cta-icon svg { width: 22px; height: 22px; }

/* Email addresses rendered as images (anti-scrape).
   The SVG canvas has headroom around the glyphs, so the image runs
   slightly larger than 1em for the text itself to match surrounding copy. */
.email-img { height: 1.3em; width: auto; display: inline-block; vertical-align: -0.32em; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red-600);
  margin-bottom: var(--s1);
  position: relative;
  padding-left: var(--s6);
}
.eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: var(--s5); height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-600) 50%, var(--green-500) 50%);
  transform: translateY(-50%);
}
.eyebrow-light { color: var(--green-500); }

.section-head { max-width: 680px; margin-bottom: var(--s6); }

/* ---------- Tricolor strips ---------- */
.hero-strip, .footer-strip, .topbar-strip { display: flex; height: 5px; }
.strip-blue { flex: 3; background: var(--blue-600); }
.strip-red { flex: 1; background: var(--red-600); }
.strip-green { flex: 2; background: var(--green-500); }

/* ---------- Top bar ---------- */
.topbar { background: var(--blue-700); color: var(--white); font-size: 0.82rem; }
.topbar-inner { display: flex; justify-content: flex-end; align-items: center; min-height: 38px; }
.topbar-inner a { color: var(--white); display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
.topbar-inner a:hover { color: var(--green-500); }
.topbar-inner svg { width: 15px; height: 15px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line), 0 4px 20px rgba(10, 85, 137, 0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); height: 84px; }
.brand img { width: 282px; height: auto; }

.nav-list { display: flex; align-items: center; gap: var(--s1); }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  font-size: 0.92rem; font-weight: 600; color: var(--ink-900);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-list > li > a:hover { color: var(--blue-600); background: var(--blue-050); }

.caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }

.sub-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 280px;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red-600);
  padding: var(--s1) 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a { display: block; padding: 9px var(--s3); font-size: 0.88rem; font-weight: 500; color: var(--ink-600); }
.sub-menu a:hover { background: var(--blue-050); color: var(--blue-600); border-left: 3px solid var(--green-500); padding-left: calc(var(--s3) - 3px); }

.header-actions { display: flex; align-items: center; gap: var(--s2); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: var(--s1); }
.nav-toggle span { width: 24px; height: 2.5px; border-radius: 2px; background: var(--blue-700); transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Hero slideshow: stacked slides crossfade; icon buttons switch them */
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.hero-slide.focus-bottom { object-position: 50% 82%; }
.hero-slide.is-active { opacity: 1; }
.hero-nav {
  position: absolute; right: var(--s5); top: var(--s6); z-index: 2;
  display: flex; gap: 10px;
}
.hero-nav-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(6px);
  color: var(--white);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}
.hero-nav-btn svg { width: 15px; height: 15px; }
.hero-nav-btn:hover { transform: translateY(-2px); border-color: var(--green-500); }
.hero-nav-btn.is-active { background: var(--green-500); border-color: var(--green-500); color: #1E3306; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6, 46, 74, 0.92) 0%, rgba(10, 85, 137, 0.82) 45%, rgba(10, 85, 137, 0.35) 100%);
}
/* Static fine dot texture across the hero image */
.hero-overlay::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 0.8px, transparent 1.3px);
  background-size: 10px 10px;
  mask-image: linear-gradient(100deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.65) 55%, rgba(0,0,0,0.3) 100%);
  -webkit-mask-image: linear-gradient(100deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.65) 55%, rgba(0,0,0,0.3) 100%);
}

.hero-inner { position: relative; padding-block: var(--s10) var(--s7); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: var(--s3);
}
.hero-badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-500);
}
.hero h1 { color: var(--white); max-width: 16ch; margin-bottom: var(--s3); }
.hero h1 .hl { color: #7CC0F0; }

.hero-values { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--s3); }
.hero-values li {
  padding: 8px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.88rem; font-weight: 600;
}
.hero-values strong { color: #7CC0F0; font-weight: 700; }

.hero-text { color: rgba(255, 255, 255, 0.90); max-width: 640px; font-size: 0.98rem; margin-bottom: var(--s4); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s2); }
.btn-hero { text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.08em; padding: 15px 28px; }
.btn-hero-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  color: var(--white);
  background: transparent;
}
.btn-hero-outline:hover { background: rgba(255, 255, 255, 0.12); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3);
  border-top: 1px solid rgba(255, 255, 255, 0.20);
  margin-top: var(--s9);
  padding-top: var(--s5);
}
.hero-stat strong { display: block; font-size: 1.9rem; font-weight: 800; color: var(--white); line-height: 1.2; }
.hero-stat strong em { font-style: normal; color: var(--green-500); }
.hero-stat span {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Discover ---------- */
.discover-grid { display: grid; grid-template-columns: 5fr 6fr; gap: var(--s8); align-items: center; }
.discover-media { position: relative; }
.discover-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.discover-badge {
  position: absolute; right: calc(-1 * var(--s2)); bottom: calc(-1 * var(--s3));
  background: var(--blue-600);
  color: var(--white);
  border-radius: var(--radius);
  border-bottom: 4px solid var(--green-500);
  box-shadow: var(--shadow-md);
  padding: var(--s2) var(--s3);
  display: grid; justify-items: center; text-align: center;
  max-width: 180px;
}
.discover-badge strong { font-size: 2rem; font-weight: 800; line-height: 1.1; }
.discover-badge span { font-size: 0.75rem; font-weight: 500; }

.discover-copy h2 { margin-bottom: var(--s2); }
.discover-copy p + p { margin-top: var(--s2); }
.discover-copy p { font-size: 0.95rem; }
.discover-ctas { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }

/* ---------- Showcase band ---------- */
.showcase-band {
  padding-block: var(--s7) var(--s8);
  background-color: var(--blue-050);
  background-image: radial-gradient(rgba(14, 118, 188, 0.22) 0.8px, transparent 1.3px);
  background-size: 10px 10px;
}
.showcase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.showcase-tile {
  position: relative; margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.showcase-tile::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 2;
  background: linear-gradient(90deg, var(--blue-600) 45%, var(--red-600) 45% 60%, var(--green-500) 60%);
}
.showcase-tile.tile-down { margin-top: var(--s3); margin-bottom: calc(-1 * var(--s3)); }
.showcase-tile img {
  width: 100%; height: 240px; object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}
.showcase-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 46, 74, 0.55) 100%);
  opacity: 0; transition: opacity 0.35s ease;
}
.showcase-tile figcaption {
  position: absolute; left: var(--s2); right: var(--s2); bottom: var(--s2); z-index: 2;
  color: var(--white);
  font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.02em;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.showcase-tile:hover { box-shadow: var(--shadow-lg); }
.showcase-tile:hover img { transform: scale(1.06); filter: saturate(0.4) sepia(0.12) hue-rotate(-15deg) brightness(0.9); }
.showcase-tile:hover::after, .showcase-tile:hover figcaption { opacity: 1; }
.showcase-tile:hover figcaption { transform: translateY(0); }

/* Loading animation: shimmer placeholder until the image arrives,
   then a zoom/fade-in; tiles stagger as the band scrolls into view */
.showcase-tile {
  background: linear-gradient(100deg, #D8E7F3 40%, #EFF7FE 50%, #D8E7F3 60%);
  background-size: 200% 100%;
  animation: tile-shimmer 1.4s linear infinite;
}
.showcase-tile.is-loaded { animation: none; background: var(--blue-050); }
.showcase-tile img {
  opacity: 0; transform: scale(1.12);
  transition: opacity 0.7s ease, transform 1s cubic-bezier(0.22, 0.75, 0.3, 1), filter 0.45s ease;
}
.showcase-tile.is-loaded img { opacity: 1; transform: scale(1); }
@keyframes tile-shimmer {
  from { background-position: 120% 0; }
  to   { background-position: -80% 0; }
}
.showcase-grid .showcase-tile:nth-child(1) { transition-delay: 0s; }
.showcase-grid .showcase-tile:nth-child(2) { transition-delay: 0.12s; }
.showcase-grid .showcase-tile:nth-child(3) { transition-delay: 0.24s; }
.showcase-grid .showcase-tile:nth-child(4) { transition-delay: 0.36s; }

/* ---------- Why work with us ---------- */
.why { background: var(--grey-050); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid transparent;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-bottom-color: var(--green-500); }
.why-card figure { aspect-ratio: 16 / 9; overflow: hidden; }
.why-card img { width: 100%; height: 100%; object-fit: cover; }
.why-body { padding: var(--s3); }
.why-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  border: 3px solid var(--white);
  display: grid; place-items: center;
  color: var(--white);
  margin-top: calc(-26px - var(--s3));
  margin-bottom: var(--s2);
  position: relative;
}
.why-icon svg { width: 24px; height: 24px; }
.why-icon.icon-b { background: var(--blue-600); }
.why-icon.icon-r { background: var(--red-600); }
.why-icon.icon-g { background: var(--green-500); }
.why-body h3 { margin-bottom: var(--s1); color: var(--blue-700); }
.why-body p { font-size: 0.9rem; }

/* ---------- Stats band ---------- */
.stats-band { position: relative; overflow: hidden; }
.stats-media { position: absolute; inset: 0; }
.stats-media img { width: 100%; height: 100%; object-fit: cover; }
.stats-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 46, 74, 0.93), rgba(14, 118, 188, 0.85)); }
.stats-inner {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3);
  padding-block: var(--s7);
  text-align: center;
}
.stat strong { display: block; font-size: 2.4rem; font-weight: 800; color: var(--white); line-height: 1.15; }
.stat span { font-size: 0.85rem; font-weight: 500; color: var(--green-500); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.service-card figure { aspect-ratio: 3 / 2; overflow: hidden; position: relative; }
.service-card figure::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-600) 45%, var(--red-600) 45% 60%, var(--green-500) 60%);
}
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.service-card:hover img { transform: scale(1.06); }
.service-body { padding: var(--s3); display: flex; flex-direction: column; gap: var(--s1); flex: 1; }
.service-body h3 { font-size: 1rem; color: var(--blue-700); }
.service-body p { font-size: 0.85rem; flex: 1; }
.services-more { text-align: center; margin-top: var(--s6); }

/* ---------- Careers CTA ---------- */
.careers-cta { position: relative; overflow: hidden; }
.careers-media { position: absolute; inset: 0; }
.careers-media img { width: 100%; height: 100%; object-fit: cover; }
.careers-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6, 46, 74, 0.94) 30%, rgba(14, 118, 188, 0.72)); }
.careers-inner { position: relative; padding-block: var(--s9); max-width: 640px; }
.careers-inner h2 { color: var(--white); margin-block: var(--s1) var(--s2); }
.careers-inner p { color: rgba(255, 255, 255, 0.88); margin-bottom: var(--s4); }

/* ---------- Contact ---------- */
.contact { background: var(--grey-050); }
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: var(--s8); align-items: start; }
.contact-info h2 { margin-bottom: var(--s4); }

.contact-details { font-style: normal; display: grid; gap: var(--s3); }
.contact-line { display: flex; gap: var(--s2); align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 10px;
  display: grid; place-items: center;
}
.contact-icon svg { width: 21px; height: 21px; }
.icon-blue { background: var(--blue-050); color: var(--blue-600); }
.icon-red { background: #FDEBEC; color: var(--red-600); }
.icon-green { background: var(--green-050); color: var(--green-600); }
.contact-line strong { display: block; color: var(--ink-900); font-size: 0.95rem; }
.contact-line span, .contact-line a { font-size: 0.92rem; }
.contact-line a { font-weight: 600; }
.contact-line a:hover { color: var(--red-600); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--blue-600);
  box-shadow: var(--shadow-md);
  padding: var(--s5);
  display: grid; gap: var(--s2);
}
.contact-form h3 { font-size: 1.35rem; color: var(--blue-700); margin-bottom: var(--s1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.field { display: grid; gap: 6px; }
.field span { font-size: 0.82rem; font-weight: 600; color: var(--ink-900); }
.field em { color: var(--red-600); font-style: normal; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 0.92rem; color: var(--ink-900);
  padding: 11px var(--s2);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--grey-050);
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(14, 118, 188, 0.18);
}
.field textarea { resize: vertical; }
.form-note { font-size: 0.78rem; color: var(--ink-400); }

.form-banner { font-size: 0.9rem; font-weight: 500; border-radius: 8px; padding: 12px var(--s2); border: 1px solid transparent; }
.form-banner-ok { background: var(--green-050); border-color: var(--green-500); color: #33550F; }
.form-banner-err { background: #FDEBEC; border-color: var(--red-600); color: var(--red-700); }

/* Honeypot — visually removed, still present for bots */
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: #062E4A; color: rgba(255, 255, 255, 0.78); }
.footer-grid { display: grid; grid-template-columns: 2fr 1.1fr 1.4fr 1.4fr; gap: var(--s6); padding-block: var(--s8) var(--s6); }
.footer-brand img { width: 235px; height: auto; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9rem; margin-top: var(--s3); color: rgba(255, 255, 255, 0.85); }
.footer-values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s3); }
.footer-values li {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 0.9rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
.footer-col { display: grid; gap: 9px; align-content: start; }
.footer-col h4 { color: var(--white); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: var(--s1); }
.footer-col a { color: rgba(255, 255, 255, 0.78); font-size: 0.88rem; }
.footer-col a:hover { color: var(--green-500); }
.footer-col p { font-size: 0.88rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s1); padding-block: var(--s3); font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); }

/* ============================================================
   Inner pages
   ============================================================ */

.nav-list > li > a.is-active { color: var(--blue-600); background: var(--blue-050); }

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media img.focus-hands { object-position: 50% 32%; }
/* Softer overlay so the banner photo stays visible behind the heading */
.page-hero.hero-soft .page-hero-overlay {
  background: linear-gradient(100deg, rgba(6, 46, 74, 0.82) 0%, rgba(10, 85, 137, 0.52) 45%, rgba(10, 85, 137, 0.30) 100%);
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6, 46, 74, 0.94) 0%, rgba(10, 85, 137, 0.85) 55%, rgba(10, 85, 137, 0.55) 100%);
}
.page-hero-overlay::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 0.8px, transparent 1.3px);
  background-size: 10px 10px;
  mask-image: linear-gradient(100deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.2) 100%);
  -webkit-mask-image: linear-gradient(100deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.2) 100%);
}
.page-hero-inner { position: relative; padding-block: var(--s8); max-width: 760px; }
.page-hero h1 { color: var(--white); margin-top: var(--s1); }
.page-hero .lede { color: rgba(255, 255, 255, 0.88); margin-top: var(--s2); font-size: 1.02rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.8rem; font-weight: 500; color: rgba(255, 255, 255, 0.75); }
.breadcrumb a { color: var(--green-500); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span[aria-hidden] { color: rgba(255, 255, 255, 0.45); }

/* ---------- About page ---------- */
.about-grid { display: grid; grid-template-columns: 6fr 5fr; gap: var(--s8); align-items: center; }
.about-copy p + p { margin-top: var(--s2); }
.about-copy p { font-size: 0.95rem; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.about-badge {
  position: absolute; left: calc(-1 * var(--s2)); bottom: calc(-1 * var(--s3));
  background: var(--red-600); color: var(--white);
  border-radius: var(--radius);
  border-bottom: 4px solid var(--blue-600);
  box-shadow: var(--shadow-md);
  padding: var(--s2) var(--s3);
  display: grid; justify-items: center; text-align: center;
  max-width: 190px;
}
.about-badge strong { font-size: 1.6rem; font-weight: 800; line-height: 1.15; }
.about-badge span { font-size: 0.75rem; font-weight: 500; }

.vm { background: var(--grey-050); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.vm-card {
  background: var(--white);
  border-radius: var(--radius);
  border-top: 4px solid var(--blue-600);
  box-shadow: var(--shadow-sm);
  padding: var(--s4);
  transition: transform 0.25s, box-shadow 0.25s;
}
.vm-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.vm-card.vm-green { border-top-color: var(--green-500); }
.vm-photo {
  margin: calc(-1 * var(--s4)) calc(-1 * var(--s4)) var(--s3);
  overflow: hidden;
}
.vm-photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.vm-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: var(--s2);
}
.vm-icon svg { width: 26px; height: 26px; }
.vm-card h3 { font-size: 1.2rem; color: var(--blue-700); margin-bottom: var(--s1); }
.vm-card p { font-size: 0.92rem; }

.apart { position: relative; overflow: hidden; }
.apart-media { position: absolute; inset: 0; }
.apart-media img { width: 100%; height: 100%; object-fit: cover; }
.apart-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 46, 74, 0.94), rgba(14, 118, 188, 0.82)); }
.apart-inner { position: relative; padding-block: var(--s9); max-width: 720px; }
.apart-inner h2 { color: var(--white); margin-block: var(--s1) var(--s2); }
.apart-inner p { color: rgba(255, 255, 255, 0.9); font-size: 0.97rem; }

.spec-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s2); }
.spec-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: var(--s3) var(--s2);
  display: grid; gap: var(--s2); justify-items: center; align-content: start;
  text-align: center;
  border-bottom: 3px solid transparent;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.spec-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-bottom-color: var(--green-500); }
.spec-tile .spec-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue-050); color: var(--blue-600);
  display: grid; place-items: center;
}
.spec-tile .spec-icon svg { width: 24px; height: 24px; }
.spec-tile .spec-icon img { width: 28px; height: 28px; object-fit: contain; }
.spec-tile h3 { font-size: 0.8rem; font-weight: 600; line-height: 1.4; color: var(--ink-900); text-transform: uppercase; letter-spacing: 0.03em; }

/* ---------- Services page ---------- */
.svc-detail { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s7); align-items: center; padding-block: var(--s7); border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.svc-detail:last-of-type { border-bottom: 0; }
.svc-detail.svc-flip .svc-media { order: 2; }
.svc-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.svc-media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue-600) 45%, var(--red-600) 45% 60%, var(--green-500) 60%);
}
.svc-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-copy h2 { margin-bottom: var(--s2); }
.svc-copy p + p { margin-top: var(--s2); }
.svc-copy p { font-size: 0.95rem; }
.svc-copy .btn { margin-top: var(--s3); }

.other-services { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* ---------- Careers page ---------- */
.jobs { background: var(--grey-050); }
.jobs-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s2); margin-bottom: var(--s5);
}
.jobs-search { position: relative; flex: 1; max-width: 420px; }
.jobs-search svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--ink-400); pointer-events: none;
}
.jobs-search input {
  font-family: inherit; font-size: 0.92rem; color: var(--ink-900);
  width: 100%;
  padding: 12px var(--s2) 12px 44px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.jobs-search input:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(14, 118, 188, 0.18); }
.jobs-count { font-size: 0.88rem; font-weight: 600; color: var(--ink-600); }
.jobs-count strong { color: var(--blue-600); }

.jobs-intro { margin-top: var(--s2); font-size: 0.95rem; }
/* Pinterest-style masonry: cards flow down columns at natural height */
.jobs-grid { columns: 3; column-gap: var(--s3); }
.jobs-grid-flat { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.job-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: var(--s4);
  display: flex; flex-direction: column; gap: var(--s2);
  break-inside: avoid;
  margin-bottom: var(--s3);
  transition: transform 0.25s, box-shadow 0.25s;
}
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}
.tag-loc { background: var(--blue-050); color: var(--blue-600); }
.tag-type { background: var(--green-050); color: #4E7A14; }
.job-card h3 { font-size: 1.15rem; color: var(--ink-900); }
.job-title-link { color: inherit; }
.job-title-link:hover { color: var(--blue-600); }
.job-card p { font-size: 0.9rem; flex: 1; }
.job-card p.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.job-card .text-link { text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.06em; }

/* Job detail page */
.job-layout { display: grid; grid-template-columns: 7fr 4fr; gap: var(--s7); align-items: start; }
.job-detail h2 { font-size: 1.3rem; margin-block: var(--s4) var(--s2); }
.job-detail h2:first-of-type { margin-top: var(--s3); }
.job-detail p { font-size: 0.97rem; }
.job-desc h3 {
  font-size: 1.02rem; color: var(--blue-700);
  margin-block: var(--s4) var(--s1);
  padding-left: var(--s2);
  border-left: 3px solid var(--green-500);
}
.job-desc p + p { margin-top: var(--s2); }
.job-desc ul, .job-desc ol { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; font-size: 0.95rem; }
.job-desc ol { list-style: decimal; }
.job-desc li::marker { color: var(--blue-600); }
.job-apply-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--red-600);
  box-shadow: var(--shadow-md);
  padding: var(--s4);
  display: grid; gap: var(--s2);
  position: sticky; top: 110px;
}
.job-apply-card h3 { font-size: 1.2rem; color: var(--blue-700); }
.job-apply-card p { font-size: 0.9rem; }
.job-apply-note { color: var(--ink-400); font-size: 0.82rem !important; }
.jobs-empty { display: none; text-align: center; padding-block: var(--s6); color: var(--ink-400); font-weight: 500; }
.jobs-empty.is-shown { display: block; }

/* ---------- Contact page ---------- */
.contact-page .contact { background: var(--white); }
.contact-band { background: var(--grey-050); }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); padding-block: var(--s7); }
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--blue-600);
  padding: var(--s4);
  display: grid; gap: var(--s1); justify-items: center; text-align: center;
}
.contact-card .contact-icon { margin-bottom: var(--s1); }
.contact-card strong { color: var(--ink-900); }
.contact-card a { font-weight: 600; font-size: 0.92rem; }
.contact-card a:hover { color: var(--red-600); }

/* ---------- Inner-page responsive ---------- */
@media (max-width: 1100px) {
  .spec-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .jobs-grid { columns: 2; }
  .jobs-grid-flat { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .about-grid, .svc-detail, .job-layout { grid-template-columns: 1fr; gap: var(--s5); }
  .job-apply-card { position: static; }
  .svc-detail.svc-flip .svc-media { order: 0; }
  .about-badge { left: var(--s2); }
  .vm-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .jobs-grid { columns: 1; }
  .jobs-grid-flat { grid-template-columns: 1fr; }
}

/* ---------- Admin ---------- */
.admin-body { background: var(--grey-050); }
.admin-topbar { justify-content: space-between !important; }
.admin-topbar a { color: var(--green-500); font-weight: 600; }
.admin-wrap { padding-block: var(--s6); }
.admin-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s4); }
.admin-title { font-size: 1.7rem; }
.admin-login { min-height: 80vh; display: grid; place-items: center; }
.admin-login .contact-form { width: min(420px, 92vw); }
.admin-tabs { display: flex; gap: var(--s1); margin-bottom: var(--s3); }
.admin-tabs a {
  padding: 8px var(--s3); border-radius: 999px;
  font-size: 0.88rem; font-weight: 600; color: var(--ink-600);
  border: 1.5px solid var(--line); background: var(--white);
}
.admin-tabs a.is-on { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }
.admin-tabs-wrap { flex-wrap: wrap; }
.admin-form .field em { font-style: normal; font-size: 0.75rem; color: var(--green-600); }
.admin-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.admin-table th {
  text-align: left; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-400); padding: var(--s2) var(--s3); border-bottom: 2px solid var(--line);
}
.admin-table td { padding: var(--s2) var(--s3); border-bottom: 1px solid var(--line); font-size: 0.9rem; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-view-link { font-size: 0.78rem; font-weight: 500; }
.admin-actions { white-space: nowrap; }
.admin-actions form { display: inline-flex; gap: 6px; margin-left: 6px; }
.btn-danger { border-color: var(--red-600); color: var(--red-600); }
.btn-danger:hover { background: var(--red-600); color: var(--white); }
.admin-muted { color: var(--ink-400); }
.admin-form { max-width: 860px; }
.admin-code { font-family: Consolas, "Courier New", monospace; font-size: 0.82rem !important; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .showcase-tile { animation: none; }
  .showcase-tile img { opacity: 1; transform: none; transition: none; }
  .showcase-grid .showcase-tile { transition-delay: 0s; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .brand img { width: 220px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .discover-grid, .contact-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .discover-badge { right: var(--s2); }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-tile figcaption { opacity: 1; transform: none; }
  .showcase-tile::after { opacity: 1; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .section { padding-block: var(--s8); }

  .site-nav {
    position: absolute; top: 84px; left: 0; right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--line);
    display: none;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: var(--s1) 0; }
  .nav-list > li > a { width: 100%; padding: 13px var(--s3); border-radius: 0; }
  .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-top: 0; border-left: 3px solid var(--blue-050);
    margin-left: var(--s3); min-width: 0;
  }
  .nav-toggle { display: flex; }
  .header-actions .btn, .header-actions .btn-cta { display: none; }

  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-nav { right: var(--s3); top: var(--s3); }
  .why-grid, .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-tile.tile-down { margin-top: 0; margin-bottom: 0; }
  .showcase-tile img { height: 200px; }
}
