/* ==========================================================================
   NETOS RECRUITMENT AGENCY — Global stylesheet
   --------------------------------------------------------------------------
   Layout  : "Home 5" (Approachable / People-first) — the client's global
             standard. Avatar cluster, morphing hero visual, values grid,
             team grid, partner carousel, testimonials, floating CTA shapes.
   Palette : COLD — slate + Netos blue + cool cyan. No gold anywhere.
             The original Home 5 warm tokens are preserved at the bottom of
             the tokens block, commented out, so the palette can be swapped
             back with a single block exchange.
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* --- Typography ------------------------------------------------------ */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  --text-display: clamp(2.5rem, 5.5vw, 4.25rem);
  --text-h1:      clamp(2.125rem, 4vw, 3.25rem);
  --text-h2:      clamp(1.75rem, 3vw, 2.5rem);
  --text-h3:      clamp(1.25rem, 2vw, 1.625rem);
  --text-h4:      clamp(1.0625rem, 1.5vw, 1.25rem);
  --text-body-lg: clamp(1.0625rem, 1.4vw, 1.1875rem);
  --text-body:    1rem;
  --text-body-sm: 0.875rem;
  --text-micro:   0.75rem;

  --leading-tight: 1.08;
  --leading-snug:  1.2;
  --leading-normal: 1.6;

  --tracking-tight: -0.03em;
  --tracking-snug:  -0.015em;
  --tracking-wider: 0.06em;

  --weight-light: 300;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  /* --- Spacing (8px base) --------------------------------------------- */
  --space-1: 0.25rem;   --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;      --space-5: 1.25rem;  --space-6: 1.5rem;
  --space-8: 2rem;      --space-10: 2.5rem;  --space-12: 3rem;
  --space-16: 4rem;     --space-20: 5rem;    --space-24: 6rem;

  /* --- Layout --------------------------------------------------------- */
  --container-max: 1200px;
  --header-height: 78px;

  /* --- Radius --------------------------------------------------------- */
  --radius-sm: 6px;   --radius-md: 10px;  --radius-lg: 16px;
  --radius-xl: 22px;  --radius-2xl: 28px; --radius-full: 9999px;

  /* --- Motion --------------------------------------------------------- */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 240ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* --- Z-index -------------------------------------------------------- */
  --z-sticky: 200; --z-dropdown: 300; --z-float: 400;

  /* --- COLD PALETTE (active) ------------------------------------------
     Slate greys + Netos blue + cool cyan. Deliberately contains no warm
     hue: no orange, no gold, no cream.                                    */
  --bg-primary:      #f8fafc;   /* cold white      */
  --bg-secondary:    #f1f5f9;   /* cool grey       */
  --bg-tertiary:     #e2e8f0;
  --bg-card:         #ffffff;
  --bg-accent:       #eff6ff;   /* pale blue wash  */

  /* Footer band — light blue, requested by the client. Deliberately its own
     pair of tokens so the footer can be re-toned without touching the rest
     of the palette. */
  --footer-bg:       #e8f1fb;
  --footer-border:   #cbdff5;

  --text-primary:    #0f172a;   /* slate 900       */
  --text-secondary:  #475569;   /* slate 600       */
  --text-muted:      #64748b;   /* slate 500       */
  --text-link:       #1e40af;
  --text-on-accent:  #ffffff;

  --border-light:    #e2e8f0;
  --border-medium:   #cbd5e1;
  --border-focus:    #1e40af;

  --accent-primary:   #1e40af;  /* Netos blue      */
  --accent-secondary: #3b82f6;  /* lighter blue    */
  --accent-cool:      #0891b2;  /* COLD cyan — replaces Home 5's gold */
  --accent-muted:     #dbeafe;

  --success-bg: #dcfce7; --success-fg: #166534; --success-bd: #86efac;
  --error-bg:   #fee2e2; --error-fg:   #991b1b; --error-bd:   #fca5a5;

  --shadow-ambient:   0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-card:      0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow-elevation: 0 12px 32px rgba(15, 23, 42, 0.10);
  --shadow-glow:      0 0 34px rgba(30, 64, 175, 0.18);

  --focus-ring: 0 0 0 3px rgba(30, 64, 175, 0.35);

  /* --- ORIGINAL HOME 5 WARM PALETTE (inactive — swap in to revert) -----
  --bg-primary: #fdfbf7;  --bg-secondary: #f5f0e8;  --bg-tertiary: #ebe3d7;
  --bg-accent:  #f0ebe0;
  --text-primary: #2d2520; --text-secondary: #5a4d40; --text-muted: #8a7d6d;
  --text-link: #b85c1e;
  --border-light: #e8dfd0; --border-medium: #d8ccb8; --border-focus: #b85c1e;
  --accent-primary: #b85c1e; --accent-secondary: #d4732a; --accent-muted: #fef3eb;
  --accent-cool: #b85c1e;
  ---------------------------------------------------------------------- */
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
svg { flex-shrink: 0; }
a { color: var(--text-link); }
button { font: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
}
p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

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

.sr-only, .skip-link:not(:focus) {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; top: var(--space-3); left: var(--space-3);
  z-index: 999; padding: var(--space-3) var(--space-5);
  background: var(--accent-primary); color: #fff;
  border-radius: var(--radius-md); font-weight: var(--weight-semibold);
  text-decoration: none;
}

.container {
  width: 100%; max-width: var(--container-max);
  margin: 0 auto; padding: 0 var(--space-6);
}

/* ==========================================================================
   3. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-semibold);
  line-height: 1.2;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-base),
              background-color var(--transition-base), border-color var(--transition-base),
              color var(--transition-base);
}
.btn-lg { padding: var(--space-4) var(--space-8); font-size: var(--text-body); }
.btn-sm  { padding: var(--space-1) var(--space-3); font-size: var(--text-micro); }

.btn-primary {
  background: var(--accent-primary); color: var(--text-on-accent);
  box-shadow: 0 6px 18px rgba(30, 64, 175, 0.22);
}
.btn-primary:hover {
  background: #1a3899; transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(30, 64, 175, 0.30);
}

.btn-secondary {
  background: var(--bg-card); color: var(--accent-primary);
  border-color: var(--border-medium);
}
.btn-secondary:hover {
  border-color: var(--accent-primary); background: var(--bg-accent);
  transform: translateY(-2px);
}

/* Cool-cyan CTA — the slot Home 5 used for its gold button. */
.btn-tertiary {
  background: var(--accent-cool); color: #fff;
  box-shadow: 0 6px 18px rgba(8, 145, 178, 0.24);
}
.btn-tertiary:hover { background: #0e7490; transform: translateY(-2px); }

.btn-row {
  display: flex; flex-wrap: wrap; gap: var(--space-4);
  align-items: center;
}

.btn[disabled], .btn[aria-disabled="true"] {
  opacity: 0.6; cursor: not-allowed; transform: none !important;
}

/* ==========================================================================
   4. HEADER
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition-base);
}
.header.is-scrolled { box-shadow: var(--shadow-card); }

.header-inner {
  display: flex; align-items: center; gap: var(--space-4);
  min-height: var(--header-height);
}

.header-left { display: flex; align-items: center; gap: var(--space-3); }

.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { display: block; height: 64px; width: auto; }

.header-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-full);
  color: var(--text-secondary); background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  transition: background-color var(--transition-fast), color var(--transition-fast),
              transform var(--transition-fast);
}
.header-icon svg { width: 19px; height: 19px; }
.header-icon:hover {
  background: var(--accent-muted); color: var(--accent-primary);
  transform: translateY(-1px);
}
.header-whatsapp:hover { background: #dcf8c6; color: #128c7e; }

/* --- Navigation ------------------------------------------------------ */
.nav { margin-left: auto; }
.nav-list {
  list-style: none; display: flex; gap: var(--space-1);
  margin: 0; padding: 0;
}
.nav-link {
  display: block; padding: var(--space-2) var(--space-3);
  font-size: 1rem; font-weight: var(--weight-medium);
  color: var(--text-secondary); text-decoration: none;
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}
.nav-link:hover { color: var(--accent-primary); background: var(--bg-accent); }
.nav-link.active {
  color: var(--accent-primary); font-weight: var(--weight-semibold);
  background: var(--accent-muted);
}

/* --- Header right cluster -------------------------------------------- */
.header-right { display: flex; align-items: center; gap: var(--space-3); margin-left: auto; }

.contact-icons { display: flex; align-items: center; gap: var(--space-2); }

/* --- Language switcher (flag based) ---------------------------------- */
.lang-switch { position: relative; display: flex; align-items: center; }

.lang-trigger {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-1) var(--space-2);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}
.lang-trigger:hover { border-color: var(--border-medium); background: var(--bg-accent); }
.lang-current { display: inline-flex; align-items: center; gap: var(--space-2); }
.flag {
  width: 24px; height: 16px; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.10);
  flex-shrink: 0;
}
.lang-label { font-size: var(--text-body-sm); font-weight: var(--weight-medium); }

.lang-menu {
  position: absolute; top: calc(100% + var(--space-2)); right: 0;
  z-index: var(--z-dropdown);
  min-width: 210px; margin: 0; padding: var(--space-2);
  list-style: none;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevation);
  display: none;
}
.lang-menu.is-open { display: block; }
.lang-menu button {
  display: flex; align-items: center; gap: var(--space-3);
  width: 100%; padding: var(--space-2) var(--space-3);
  background: none; border: 0; border-radius: var(--radius-md);
  color: var(--text-secondary); font-size: var(--text-body-sm);
  text-align: left; cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}
.lang-menu button:hover { background: var(--bg-accent); color: var(--accent-primary); }
/* GTranslate replaces its target with a fresh .gtranslate_wrapper element, so
   hiding by id alone is not enough — the new node would render unstyled in the
   header. Hide both the id and the class, and anything GTranslate nests inside. */
#google_translate_element,
.gtranslate_wrapper,
.gtranslate_wrapper > div { display: none !important; }

/* --- Mobile burger --------------------------------------------------- */
.nav-toggle {
  display: none; width: 42px; height: 42px;
  background: var(--bg-secondary); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); cursor: pointer;
  align-items: center; justify-content: center;
}
.hamburger, .hamburger::before, .hamburger::after {
  display: block; width: 18px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}
.hamburger { position: relative; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after  { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   5. HERO
   The top banner is the client's own brand photograph (professionals.jpg,
   supplied via Drive) used full-bleed with a cold gradient scrim. The Home 5
   content architecture sits on top of it: avatar cluster, accent headline,
   lead, two buttons, trust row.
   `.hero-visual` (the morphing blob) is kept for the inner pages.
   ========================================================================== */
.hero-banner {
  position: relative;
  display: flex; align-items: center;
  min-height: clamp(30rem, 56vw, 44rem);
  overflow: hidden;
  background: #0b1a3a;
  isolation: isolate;
}
/* Oversized so the GSAP parallax in main.js never exposes an edge. */
.hero-banner-media { position: absolute; inset: -12% 0; z-index: 0; }
.hero-banner-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 42%;
  animation: kenburns 28s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.09) translate3d(-1.5%, -1%, 0); }
}

/* Cold scrim — heavy on the left where the copy sits, plus a base tint, so
   white text clears WCAG AA against every part of the photograph. */
.hero-banner-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg,
      rgba(8, 20, 48, 0.94) 0%,
      rgba(11, 32, 74, 0.86) 34%,
      rgba(14, 74, 110, 0.55) 62%,
      rgba(14, 116, 144, 0.30) 100%),
    linear-gradient(0deg, rgba(8, 20, 48, 0.55) 0%, transparent 55%);
}
.hero-banner-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(45% 55% at 12% 78%, rgba(8, 145, 178, 0.34) 0%, transparent 70%);
  animation: glow-drift 16s ease-in-out infinite alternate;
}
@keyframes glow-drift {
  from { transform: translate3d(0, 0, 0); opacity: 0.75; }
  to   { transform: translate3d(3%, -2%, 0); opacity: 1; }
}

.hero-banner-inner {
  position: relative; z-index: 2; width: 100%;
  padding-top: var(--space-16); padding-bottom: var(--space-16);
}
.hero-copy { min-width: 0; max-width: 40rem; }

.hero-banner h1 {
  font-size: var(--text-display);
  margin-bottom: var(--space-5);
  font-weight: var(--weight-extrabold);
  color: #fff;
  text-shadow: 0 2px 24px rgba(4, 12, 32, 0.5);
}
.hero-banner h1 .accent { color: #7dd3fc; }
.hero-banner .lead {
  font-size: var(--text-body-lg);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: var(--space-8);
  max-width: 34rem;
  text-shadow: 0 1px 12px rgba(4, 12, 32, 0.45);
}

/* Home 5 trust row, re-tuned for a dark photograph */
.hero-banner .trust-item { color: rgba(255, 255, 255, 0.9); }
.hero-banner .trust-item svg { color: #7dd3fc; }
.hero-banner .btn-secondary {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}
.hero-banner .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.20);
  border-color: #fff;
  color: #fff;
}

.hero-media { position: relative; min-width: 0; }

/* Morphing hero visual — the Home 5 organic blob */
.hero-visual {
  position: relative; overflow: hidden; aspect-ratio: 1;
  border-radius: 42% 58% 62% 38% / 45% 42% 58% 55%;
  box-shadow: var(--shadow-elevation);
  animation: blob-morph 16s ease-in-out infinite;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
@keyframes blob-morph {
  0%, 100% { border-radius: 42% 58% 62% 38% / 45% 42% 58% 55%; }
  33%      { border-radius: 58% 42% 38% 62% / 55% 58% 42% 45%; }
  66%      { border-radius: 45% 55% 55% 45% / 38% 62% 38% 62%; }
}
/* Floating shapes */
.float-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.float-shape {
  position: absolute; display: block;
  background: var(--accent-muted); opacity: 0.55;
}
.float-shape.anim-a {
  width: 160px; height: 160px; top: 10%; right: 6%;
  border-radius: 40% 60% 55% 45%;
  animation: float-a 11s ease-in-out infinite;
}
.float-shape.anim-b {
  width: 100px; height: 100px; bottom: 16%; left: 6%;
  border-radius: 55% 45% 40% 60%;
  background: var(--accent-cool); opacity: 0.16;
  animation: float-b 13s ease-in-out infinite;
}
@keyframes float-a {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-22px) rotate(8deg); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(18px) scale(1.08); }
}

/* Trust row */
.trust-row {
  display: flex; flex-wrap: wrap; gap: var(--space-6) var(--space-8);
  align-items: center; margin-top: var(--space-8);
}
.trust-item {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-body-sm); color: var(--text-muted);
  font-weight: var(--weight-medium);
}
.trust-item svg { width: 18px; height: 18px; color: var(--accent-cool); }

/* ==========================================================================
   6. SECTIONS
   ========================================================================== */
.section { padding: var(--space-20) 0; }
.section-alt { background: var(--bg-secondary); }
.section-tight { padding: var(--space-16) 0; }

.section-header {
  max-width: 44rem; margin: 0 auto var(--space-12); text-align: center;
}
.section-header.left { margin-left: 0; text-align: left; }
.section-label {
  display: inline-block; margin-bottom: var(--space-3);
  font-size: var(--text-micro); font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wider); text-transform: uppercase;
  color: var(--accent-cool);
}
.section-title { font-size: var(--text-h2); margin-bottom: var(--space-4); }
.section-subtitle {
  font-size: var(--text-body-lg); color: var(--text-secondary);
}

/* --- Grids ----------------------------------------------------------- */
.grid-2, .grid-3, .grid-4 { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* --- Cards ----------------------------------------------------------- */
.card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-xl); padding: var(--space-8);
  box-shadow: var(--shadow-ambient);
  transition: transform var(--transition-base), box-shadow var(--transition-base),
              border-color var(--transition-base);
}
.card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-elevation);
  border-color: var(--accent-muted);
}
.card h3 { font-size: var(--text-h4); margin-bottom: var(--space-3); }
.card p { color: var(--text-secondary); font-size: var(--text-body-sm); }

.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--accent-muted); color: var(--accent-primary);
}
.card-icon svg { width: 24px; height: 24px; }

/* --- Team ------------------------------------------------------------ */
.team-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-xl); padding: var(--space-8) var(--space-6);
  text-align: center; box-shadow: var(--shadow-ambient);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevation); }
.team-card img {
  width: 108px; height: 108px; border-radius: 50%; object-fit: cover;
  margin: 0 auto var(--space-4);
  border: 3px solid var(--accent-muted);
}
.team-card h3 { font-size: var(--text-h4); margin-bottom: var(--space-1); }
.team-card .role {
  font-size: var(--text-body-sm); font-weight: var(--weight-semibold);
  color: var(--accent-cool); margin-bottom: var(--space-3);
}
.team-card p { font-size: var(--text-body-sm); color: var(--text-muted); }

/* --- Partner carousel ------------------------------------------------ */
.carousel { overflow: hidden; position: relative; }
.carousel::before, .carousel::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2;
  pointer-events: none;
}
.carousel::before { left: 0;  background: linear-gradient(90deg, var(--bg-secondary), transparent); }
.carousel::after  { right: 0; background: linear-gradient(270deg, var(--bg-secondary), transparent); }

.carousel-track {
  display: flex; gap: var(--space-8); width: max-content;
  animation: carousel-scroll 42s linear infinite;
}
.carousel-track.reverse { animation-direction: reverse; }
.carousel:hover .carousel-track { animation-play-state: paused; }
.carousel-item {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  width: 168px; height: 92px; padding: var(--space-4);
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); text-decoration: none;
  transition: border-color var(--transition-base), transform var(--transition-base),
              box-shadow var(--transition-base);
}
.carousel-item:hover {
  border-color: var(--border-medium);
  transform: translateY(-3px);
  box-shadow: var(--shadow-ambient);
}
.carousel-item img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; filter: grayscale(0%); opacity: 0.85;
  transition: filter var(--transition-base), opacity var(--transition-base), transform var(--transition-base);
}
.carousel-item:hover img { filter: grayscale(0%); opacity: 1; transform: scale(1.05); }
.carousel-item:hover { transform: translateY(-3px) scale(1.02); }

/* Partner carousel (partners.php) hover effects */
.carousel-item img { filter: grayscale(0%) !important; opacity: 1 !important; transform: scale(1.05) !important; transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease; }
.carousel-item:hover img { transform: scale(1.05) !important; }
.carousel-item:hover { transform: translateY(-3px) scale(1.02) !important; }

/* --- Partner logo links (partners.php) -------------------------------- */
.partner-slide {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; text-decoration: none;
}
.partner-card { display: block; text-decoration: none; }
.partner-logo-box {
  height: 76px; display: flex; align-items: center;
  justify-content: flex-start; margin-bottom: var(--space-4);
}
.partner-logo-box img {
  max-height: 76px; max-width: 190px; width: auto; object-fit: contain;
  filter: grayscale(0%); opacity: 0.85;
  transition: filter var(--transition-base), opacity var(--transition-base);
}
.partner-card:hover .partner-logo-box img { filter: grayscale(0%); opacity: 1; }
.partner-link-text {
  color: var(--accent-primary); font-weight: var(--weight-semibold);
}
.partner-card:hover .partner-link-text { text-decoration: underline; }

/* Typographic fallback for a partner whose logo file is no longer published
   on the live site — a clean wordmark instead of a broken image. */
.partner-wordmark {
  display: inline-flex; align-items: center;
  font-size: var(--text-body-lg); font-weight: var(--weight-bold);
  letter-spacing: 0.02em; color: var(--accent-primary);
  line-height: 1.15; text-align: left;
}
.partner-wordmark-sm { font-size: var(--text-body-sm); text-align: center; }
@keyframes carousel-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Swiper variant (used on partners.php) */
.partners-swiper { padding: var(--space-2) 0 var(--space-8); }
.partners-swiper .swiper-slide {
  display: flex; align-items: center; justify-content: center;
  height: 100px; padding: var(--space-4);
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}
.partners-swiper .swiper-slide img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  filter: grayscale(0%); opacity: 0.75;
  transition: filter var(--transition-base), opacity var(--transition-base);
}
.partners-swiper .swiper-slide:hover img { filter: grayscale(0%); opacity: 1; }
.swiper-pagination-bullet { background: var(--border-medium); }
.swiper-pagination-bullet-active { background: var(--accent-primary); }

/* --- Testimonials ---------------------------------------------------- */
.quote {
  margin: 0; padding: var(--space-8);
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-ambient);
  display: flex; flex-direction: column; gap: var(--space-4);
}
.quote .stars { color: var(--accent-cool); letter-spacing: 2px; font-size: var(--text-body-sm); }
.quote-text {
  margin: 0; font-size: var(--text-body-lg); color: var(--text-primary);
  line-height: var(--leading-normal);
}
.quote-author { display: flex; align-items: center; gap: var(--space-3); }
.quote-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote-meta { display: flex; flex-direction: column; }
.quote-meta strong { font-size: var(--text-body-sm); }
.quote-meta span { font-size: var(--text-micro); color: var(--text-muted); }

/* --- CTA banner ------------------------------------------------------ */
.cta-banner {
  position: relative; overflow: hidden;
  padding: var(--space-16) var(--space-8);
  text-align: center; border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 55%, #0e7490 100%);
  color: #fff; box-shadow: var(--shadow-elevation);
}
.cta-banner .float-shape { background: #fff; opacity: 0.10; }
.cta-banner h2 {
  position: relative; z-index: 1;
  font-size: var(--text-h2); color: #fff; margin-bottom: var(--space-4);
}
.cta-banner p {
  position: relative; z-index: 1;
  color: rgba(255, 255, 255, 0.88); max-width: 38rem;
  margin: 0 auto var(--space-8); font-size: var(--text-body-lg);
}
.cta-banner .btn-row { position: relative; z-index: 1; justify-content: center; }
.cta-banner .btn-light { background: #fff; color: var(--accent-primary); }
.cta-banner .btn-light:hover { background: #f1f5f9; transform: translateY(-2px); }
.cta-banner .btn-outline {
  background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55);
}
.cta-banner .btn-outline:hover { background: rgba(255, 255, 255, 0.14); }

/* ==========================================================================
   7. INNER-PAGE HEADERS
   ========================================================================== */
.page-header {
  position: relative; overflow: hidden;
  padding: var(--space-16) 0 var(--space-12);
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 60%, #0e7490 100%);
  color: #fff; text-align: center;
}
.page-header h1 { color: #fff; font-size: var(--text-h1); margin-bottom: var(--space-4); }
.page-header p {
  color: rgba(255, 255, 255, 0.88); font-size: var(--text-body-lg);
  max-width: 42rem; margin: 0 auto;
}
.page-header .crumb {
  position: relative; z-index: 1;
  font-size: var(--text-body-sm); color: rgba(255, 255, 255, 0.72);
  margin-bottom: var(--space-4);
}
.page-header .crumb a { color: rgba(255, 255, 255, 0.9); text-decoration: none; }
.page-header .crumb a:hover { text-decoration: underline; }

/* ==========================================================================
   8. CONTENT BLOCKS
   ========================================================================== */
.prose { max-width: 46rem; margin: 0 auto; }
.prose h2 { font-size: var(--text-h2); margin: var(--space-10) 0 var(--space-4); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--text-h3); margin: var(--space-8) 0 var(--space-3); }
.prose p, .prose li { color: var(--text-secondary); }
.prose ul { padding-left: var(--space-6); }

/* --- Interview advice lists --------------------------------------------
   Deliberately no red/green here: the palette is cold blue + slate, so the
   DO panel is accented in Netos blue and the DON'T panel in slate.        */
.tool-list { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; gap: var(--space-3); }
.tool-list li {
  display: grid; grid-template-columns: 42px 1fr; gap: var(--space-4);
  align-items: start;
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-ambient);
  transition: transform var(--transition-base), border-color var(--transition-base);
}
.tool-list li:hover { transform: translateX(5px); border-color: var(--accent-secondary); }
.tool-num {
  font-family: var(--font-mono); font-size: var(--text-body-sm);
  font-weight: var(--weight-bold); color: var(--accent-primary); line-height: 1.6;
}
.tool-list li > span:last-child { color: var(--text-secondary); }

.dos-grid { align-items: start; }
.dos-panel {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-xl); padding: var(--space-8);
  box-shadow: var(--shadow-card);
}
.dos-panel--do   { border-top: 4px solid var(--accent-primary); }
.dos-panel--dont { border-top: 4px solid var(--text-muted); }
.dos-panel h3 {
  display: flex; align-items: center; gap: var(--space-3);
  font-size: var(--text-h3); margin-bottom: var(--space-5);
}
.dos-panel h3 svg { width: 22px; height: 22px; flex: none; }
.dos-panel--do h3   { color: var(--accent-primary); }
.dos-panel--dont h3 { color: var(--text-secondary); }
.tick-list, .cross-list { list-style: none; margin: 0; padding: 0; }
.tick-list li, .cross-list li {
  position: relative; padding-left: var(--space-8);
  margin-bottom: var(--space-4); color: var(--text-secondary);
  font-size: var(--text-body-sm); line-height: 1.65;
}
.tick-list li:last-child, .cross-list li:last-child { margin-bottom: 0; }
.tick-list li::before, .cross-list li::before {
  position: absolute; left: 0; top: 0;
  font-weight: var(--weight-bold); font-size: var(--text-body);
}
.tick-list li::before  { content: '\2713'; color: var(--accent-primary); }
.cross-list li::before { content: '\2717'; color: var(--text-muted); }

/* Feature list — the Home 5 "value" anatomy applied to detail rows */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.feature-list li {
  display: grid; grid-template-columns: 44px 1fr; gap: var(--space-4);
  padding: var(--space-6);
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent-cool);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-ambient);
}
.feature-list .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-md);
  background: var(--accent-muted); color: var(--accent-primary);
  font-weight: var(--weight-bold); font-size: var(--text-body-sm);
}
.feature-list h4 { font-size: var(--text-h4); margin-bottom: var(--space-2); }
.feature-list p { font-size: var(--text-body-sm); color: var(--text-secondary); }

/* Sector cards (work.php) */
.sector-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-xl); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-ambient);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.sector-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevation); }
.sector-card img { width: 100%; height: 190px; object-fit: cover; }
.sector-card-body { padding: var(--space-6); display: flex; flex-direction: column; flex: 1; }
.sector-card h2 { font-size: var(--text-h4); margin-bottom: var(--space-3); color: var(--accent-primary); }
.sector-card p { font-size: var(--text-body-sm); color: var(--text-secondary); margin-bottom: var(--space-5); }
.sector-card .btn { margin-top: auto; align-self: flex-start; }

/* Info panel (address / hours / etc.) */
.info-panel {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-xl); padding: var(--space-8);
  box-shadow: var(--shadow-ambient);
}
.info-panel h3 { font-size: var(--text-h4); margin-bottom: var(--space-4); }
.info-panel address { font-style: normal; color: var(--text-secondary); font-size: var(--text-body-sm); line-height: 1.9; }
.info-panel a { color: var(--accent-primary); text-decoration: none; }
.info-panel a:hover { text-decoration: underline; }
.info-panel--center { text-align: center; }
.info-panel-text { color: var(--text-secondary); margin-top: var(--space-2); }
.info-panel-text + .btn-row { margin-top: var(--space-6); }
.btn-row--center { justify-content: center; }

.hours-list { list-style: none; margin: 0; padding: 0; font-size: var(--text-body-sm); }
.hours-list li {
  display: flex; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-3) 0; border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list .day { font-weight: var(--weight-medium); color: var(--text-primary); }
.hours-list .closed { color: var(--text-muted); }

/* --- "Getting here" transport cards ------------------------------------
   Four squares under the map, one per transport mode. This is the layout
   the client pointed at in an earlier build: a white card that lifts on
   hover while a gradient bar sweeps in along its top edge.
   No "By Air" card — the client asked for the four modes below instead.
   ---------------------------------------------------------------------- */
.transport-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-5); margin-top: var(--space-10);
}
.transport-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-xl); padding: var(--space-6);
  box-shadow: var(--shadow-ambient);
  transition: transform var(--transition-base), box-shadow var(--transition-base),
              border-color var(--transition-base);
}
.transport-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-cool));
  transform: scaleX(0); transform-origin: left center;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.transport-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elevation);
  border-color: var(--border-medium);
}
.transport-card:hover::before { transform: scaleX(1); }

.transport-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; flex: none;
  border-radius: var(--radius-md);
  background: var(--bg-accent); color: var(--accent-primary);
  margin-bottom: var(--space-4);
  transition: transform 420ms cubic-bezier(0.34, 1.56, 0.64, 1),
              background-color var(--transition-base), color var(--transition-base);
}
.transport-icon svg { width: 24px; height: 24px; }
.transport-card:hover .transport-icon {
  transform: translateY(-3px) rotate(-5deg) scale(1.07);
  background: var(--accent-primary); color: #fff;
}

.transport-card h3 { font-size: var(--text-h4); margin-bottom: var(--space-2); }
.transport-lead {
  font-size: var(--text-body-sm); font-weight: var(--weight-medium);
  color: var(--text-primary); margin-bottom: var(--space-3);
}
.transport-list { list-style: none; margin: 0; padding: 0; }
.transport-list li {
  position: relative; padding-left: var(--space-5);
  margin-bottom: var(--space-2); font-size: var(--text-body-sm);
  color: var(--text-secondary); line-height: 1.55;
}
.transport-list li:last-child { margin-bottom: 0; }
.transport-list li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent-secondary);
}
.transport-note {
  margin-top: auto; padding-top: var(--space-4);
  font-size: var(--text-micro); color: var(--text-muted);
}
.transport-note a { color: var(--accent-primary); }
.journey-cta { margin-top: var(--space-10); text-align: center; }

/* Simple job table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border-light); border-radius: var(--radius-lg); }
.job-table { width: 100%; border-collapse: collapse; font-size: var(--text-body-sm); background: var(--bg-card); }
.job-table th, .job-table td { padding: var(--space-4); text-align: left; border-bottom: 1px solid var(--border-light); }
.job-table th {
  background: var(--bg-secondary); font-weight: var(--weight-semibold);
  color: var(--text-primary); white-space: nowrap;
}
.job-table tr:last-child td { border-bottom: 0; }
.job-table tbody tr:hover { background: var(--bg-accent); }
.job-table .ref { color: var(--text-muted); font-family: var(--font-mono); font-size: var(--text-micro); }
.job-table .pay { font-weight: var(--weight-semibold); color: var(--accent-primary); white-space: nowrap; }
.table-note { margin-top: var(--space-5); font-size: var(--text-body-sm); color: var(--text-muted); }
.table-note a { color: var(--accent-primary); }

/* Job search bar — on candidates.php */
.job-search {
  margin-bottom: var(--space-6);
  padding: var(--space-6);
  background: linear-gradient(135deg, rgba(219, 233, 243, 0.25) 0%, rgba(173, 216, 236, 0.15) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition-fast);
}
.job-search:focus-within { box-shadow: 0 0 0 2px var(--accent-primary); }

.job-search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
  align-items: end;
}

.job-search .btn {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-micro);
}
.job-search .btn-sm {
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-micro);
}
.job-search-grid .form-group--button {
  display: flex;
  flex-direction: row;
  gap: var(--space-3);
}

.job-search input[list] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
  background-size: 1rem;
}

.job-search .form-group label {
  font-size: var(--text-body-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
}

.search-summary {
  margin-bottom: var(--space-5);
  font-size: var(--text-body-sm);
  color: var(--text-secondary);
}
.search-summary strong { color: var(--accent-primary); }

/* ==========================================================================
   9. FORMS
   ========================================================================== */
.form-section { padding: var(--space-20) 0; background: var(--bg-secondary); }
.form-card {
  max-width: 44rem; margin: 0 auto; padding: var(--space-10);
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl); box-shadow: var(--shadow-card);
}
.form-card > h2 { font-size: var(--text-h2); margin-bottom: var(--space-3); }
.form-card > p.intro { color: var(--text-secondary); margin-bottom: var(--space-8); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: var(--text-body-sm); font-weight: var(--weight-semibold);
  color: var(--text-primary);
}
.form-group .hint { font-size: var(--text-micro); color: var(--text-muted); font-weight: var(--weight-normal); }
.req { color: #dc2626; }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
  width: 100%; padding: var(--space-3) var(--space-4);
  font-family: inherit; font-size: var(--text-body);
  color: var(--text-primary); background: var(--bg-primary);
  border: 1px solid var(--border-medium); border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent-primary);
  box-shadow: var(--focus-ring); background: var(--bg-card);
}
.form-group input[aria-invalid="true"], .form-group textarea[aria-invalid="true"] {
  border-color: #dc2626;
}
.field-error { font-size: var(--text-micro); color: #dc2626; min-height: 1em; }

/* Captcha row */
.captcha-row {
  display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap;
}
.captcha-row img {
  border: 1px solid var(--border-medium); border-radius: var(--radius-md);
  background: #fff;
}
/* Replaces the inline style the older pages used on this input. */
.captcha-input { max-width: 220px; }
/* Explicit so the CAPTCHA box never resizes on refresh (the image is
   regenerated with a cache-busting query string). */
.captcha-image { display: block; width: 160px; height: 50px; }
.captcha-refresh {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-body-sm); color: var(--accent-primary);
  background: var(--bg-accent); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); cursor: pointer;
}
.captcha-refresh svg { width: 15px; height: 15px; }

/* Consent checkbox */
.check-row {
  display: flex; align-items: flex-start; gap: var(--space-3);
  font-size: var(--text-body-sm); color: var(--text-secondary);
}
.check-row input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0;
  accent-color: var(--accent-primary);
}

.form-actions { margin-top: var(--space-8); }
.form-actions .btn { width: 100%; }

/* Status message */
.form-message {
  display: none; margin-top: var(--space-6); padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md); font-size: var(--text-body-sm);
  border: 1px solid transparent;
}
.form-message.is-visible { display: block; }
.form-message.success { background: var(--success-bg); color: var(--success-fg); border-color: var(--success-bd); }
.form-message.error   { background: var(--error-bg);   color: var(--error-fg);   border-color: var(--error-bd); }

/* Honeypot — visually hidden, never focusable */
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }

/* ==========================================================================
   10. MAP
   ========================================================================== */
.map-embed {
  border: 1px solid var(--border-light); border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-ambient); background: var(--bg-card);
}
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ==========================================================================
   11. FOOTER
   Light blue band (#e8f1fb), deliberately compact — the client asked for the
   footer to be smaller and to carry some colour.
   ========================================================================== */
.footer {
  margin-top: var(--space-12);
  padding: var(--space-10) 0 var(--space-6);
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: var(--space-8);
}
.footer-brand p {
  font-size: var(--text-body-sm); color: var(--text-secondary);
  margin-top: var(--space-3); line-height: 1.65;
}
.logo-img-footer { height: 40px; }
.footer-sectors {
  font-size: var(--text-micro); text-transform: uppercase;
  letter-spacing: var(--tracking-wider); color: var(--accent-primary);
  font-weight: var(--weight-semibold); margin-top: var(--space-3);
}
.footer-nav h4 {
  font-size: var(--text-micro); text-transform: uppercase;
  letter-spacing: var(--tracking-wider); margin-bottom: var(--space-3);
  color: var(--accent-primary);
}
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: var(--space-2); }
.footer-nav a { font-size: var(--text-body-sm); color: var(--text-secondary); text-decoration: none; }
.footer-nav a:hover { color: var(--accent-primary); text-decoration: underline; }
.footer-contact address { font-style: normal; font-size: var(--text-body-sm); line-height: 1.75; color: var(--text-secondary); }
.footer-contact address a { color: var(--text-secondary); text-decoration: none; }
.footer-contact address a:hover { color: var(--accent-primary); }
.footer-contact .tel-intl { font-size: var(--text-micro); color: var(--text-muted); }
.footer-contact .hours { margin-top: var(--space-3); font-size: var(--text-body-sm); color: var(--text-secondary); }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: var(--space-4);
  justify-content: space-between; align-items: center;
  margin-top: var(--space-8); padding-top: var(--space-5);
  border-top: 1px solid var(--footer-border);
  font-size: var(--text-body-sm); color: var(--text-muted);
}
.footer-legal { display: flex; gap: var(--space-5); }
.footer-legal a { color: var(--text-muted); text-decoration: none; }
.footer-legal a:hover { color: var(--accent-primary); }

/* ==========================================================================
   12. SCROLL REVEAL
   Animations rather than transitions, deliberately: a transition-delay set
   for the stagger would also delay every hover transition on the same
   element (cards would lift late). `animation-fill-mode: backwards` applies
   the start state during the delay and then hands the element back to its
   base styles, so hover transforms work normally once it has landed.
   ========================================================================== */
@keyframes reveal-up    { from { opacity: 0; transform: translateY(22px); }  to { opacity: 1; transform: none; } }
@keyframes reveal-left  { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes reveal-right { from { opacity: 0; transform: translateX(28px); }  to { opacity: 1; transform: none; } }
@keyframes reveal-zoom  { from { opacity: 0; transform: scale(0.94); }       to { opacity: 1; transform: none; } }

.reveal, .reveal-left, .reveal-right, .reveal-zoom { opacity: 0; }

.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-zoom.is-visible {
  opacity: 1;
  animation-duration: 700ms;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: backwards;
  animation-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible       { animation-name: reveal-up; }
.reveal-left.is-visible  { animation-name: reveal-left; }
.reveal-right.is-visible { animation-name: reveal-right; }
.reveal-zoom.is-visible  { animation-name: reveal-zoom; }

[data-delay="1"] { --reveal-delay: 90ms; }
[data-delay="2"] { --reveal-delay: 180ms; }
[data-delay="3"] { --reveal-delay: 270ms; }
[data-delay="4"] { --reveal-delay: 360ms; }

/* ==========================================================================
   13. MOTION LAYER
   Decorative. NOTE: the previous `prefers-reduced-motion` block that used to
   cancel all of this has been removed — see section 15 for why.
   ========================================================================== */

/* --- Reveal variants: stagger is supplied by [data-delay] above -------- */
.reveal-left  { opacity: 0; }
.reveal-right { opacity: 0; }
.reveal-zoom  { opacity: 0; }

/* --- Button shine sweep ------------------------------------------------ */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -120%;
  width: 60%; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.42) 50%, transparent 100%);
  transform: skewX(-18deg);
  transition: left 620ms cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover::after { left: 130%; }

/* --- Cards lift; their icons react ------------------------------------- */
.card {
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 320ms ease, border-color 320ms ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevation); }
.card-icon {
  transition: transform 420ms cubic-bezier(0.34, 1.56, 0.64, 1),
              background-color 320ms ease, color 320ms ease;
}
.card:hover .card-icon { transform: translateY(-3px) rotate(-6deg) scale(1.08); }

/* --- Sector imagery zooms gently on hover ------------------------------ */
.sector-card { overflow: hidden; }
.sector-card img { transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1); }
.sector-card:hover img { transform: scale(1.06); }

/* --- Section label gains a rule that draws itself in ------------------- */
.section-label::before {
  content: ''; display: inline-block; vertical-align: middle;
  width: 26px; height: 2px; margin-right: var(--space-3);
  background: currentColor; opacity: 0.55;
  transform: scaleX(0); transform-origin: left center;
  transition: transform 600ms ease var(--reveal-delay, 0ms);
}
.is-visible .section-label::before,
.section-label.is-visible::before { transform: scaleX(1); }

/* --- Section titles draw a gradient underline -------------------------- */
.section-title::after {
  content: ''; display: block; width: 64px; height: 3px;
  margin-top: var(--space-4); border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-cool));
  transform: scaleX(0); transform-origin: left center;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 120ms;
}
.is-visible .section-title::after,
.section-title.is-visible::after { transform: scaleX(1); }

/* --- WhatsApp icon pulses softly --------------------------------------- */
@keyframes icon-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(8, 145, 178, 0.30); }
  50%      { box-shadow: 0 0 0 7px rgba(8, 145, 178, 0); }
}
.header-whatsapp { animation: icon-pulse 3.4s ease-out infinite; }

/* --- Floating shapes drift -------------------------------------------- */
@keyframes drift-a {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%      { transform: translate3d(-12px, 16px, 0) rotate(6deg); }
}
@keyframes drift-b {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%      { transform: translate3d(14px, -12px, 0) rotate(-7deg); }
}
.float-shape.anim-a { animation: drift-a 13s ease-in-out infinite; }
.float-shape.anim-b { animation: drift-b 17s ease-in-out infinite; }

/* --- Header shadow once scrolled --------------------------------------- */
.header {
  transition: box-shadow var(--transition-base), background-color var(--transition-base);
}
.header.is-scrolled { box-shadow: var(--shadow-ambient); }

/* --- Marquee pauses on hover so a logo can be clicked ------------------ */
.carousel:hover .carousel-track { animation-play-state: paused; }

/* --- No-JS safety: nothing may depend on JS to become visible ---------- */
html.no-js .reveal,
html.no-js .reveal-left,
html.no-js .reveal-right,
html.no-js .reveal-zoom { opacity: 1; }
html.no-js .section-label::before,
html.no-js .section-title::after { transform: scaleX(1); }

/* ==========================================================================
   13b. MOTION — EXTRA LAYER
   Added after the client reported the site felt static. Motion present:
     - hero copy eases in on load, staggered
     - a gradient light sweeps across the hero banner
     - badges / shapes float, accents rotate, images drift
     - the stats band's background breathes
   Every class here is additive; nothing above is overridden.
   ========================================================================== */

/* --- Hero copy eases in on load ---------------------------------------- */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
.hero-banner .hero-copy > * {
  animation: hero-in 900ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.hero-banner .hero-copy > *:nth-child(1) { animation-delay: 80ms; }
.hero-banner .hero-copy > *:nth-child(2) { animation-delay: 200ms; }
.hero-banner .hero-copy > *:nth-child(3) { animation-delay: 320ms; }
.hero-banner .hero-copy > *:nth-child(4) { animation-delay: 440ms; }
.hero-banner .hero-copy > *:nth-child(5) { animation-delay: 560ms; }

/* --- Light sweeps across the hero banner ------------------------------- */
@keyframes banner-sweep {
  0%   { transform: translateX(-60%) skewX(-14deg); opacity: 0; }
  35%  { opacity: 0.5; }
  100% { transform: translateX(220%) skewX(-14deg); opacity: 0; }
}
.hero-banner::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 34%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.13) 50%, transparent 100%);
  animation: banner-sweep 7.5s ease-in-out infinite;
  animation-delay: 1.6s;
}

/* --- Generic float helpers --------------------------------------------- */
@keyframes floaty     { 0%, 100% { transform: translateY(0); }    50% { transform: translateY(-10px); } }
@keyframes floaty-alt { 0%, 100% { transform: translateY(0); }    50% { transform: translateY(9px); } }
.floaty      { animation: floaty 6s ease-in-out infinite; }
.floaty-alt  { animation: floaty-alt 7.5s ease-in-out infinite; }
.floaty-slow { animation: floaty 9.5s ease-in-out infinite; }

/* --- Slow rotation for accent rings / badges --------------------------- */
@keyframes spin-slow { to { transform: rotate(360deg); } }
.spin-slow { animation: spin-slow 28s linear infinite; }

/* --- Small attention pulse (badges, "new" dots) ------------------------ */
@keyframes badge-pulse {
  0%, 100% { transform: scale(1);   box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.42); }
  50%      { transform: scale(1.04); box-shadow: 0 0 0 9px rgba(59, 130, 246, 0); }
}
.badge-pulse { animation: badge-pulse 2.6s ease-in-out infinite; }

/* --- Images breathe very slightly (used on about/partner imagery) ------ */
@keyframes image-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.03); }
}
.image-breathe { animation: image-breathe 14s ease-in-out infinite; }

/* ==========================================================================
   13c. STATS COUNTER BAND
   Four figures that count up from zero when the band scrolls into view
   (handled in main.js). Every number is verifiable from the client's own
   material — see README for the source of each. No invented statistics.
   ========================================================================== */
.stats-band {
  position: relative; overflow: hidden;
  padding: var(--space-16) 0;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 100%);
  color: #fff;
}
.stats-band::before {
  content: ''; position: absolute; inset: -12%;
  background:
    radial-gradient(circle at 12% 22%, rgba(59, 130, 246, 0.42), transparent 55%),
    radial-gradient(circle at 88% 78%, rgba(8, 145, 178, 0.36), transparent 55%);
  animation: band-breathe 19s ease-in-out infinite alternate;
}
@keyframes band-breathe {
  from { transform: translate3d(-2%, -1.5%, 0) scale(1.04); }
  to   { transform: translate3d(2%, 1.5%, 0) scale(1.14); }
}
.stats-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6); text-align: center;
}
.stat { padding: var(--space-2) var(--space-4); }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.16); }
.stat-num {
  display: block; line-height: 1;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: var(--weight-extrabold);
  letter-spacing: var(--tracking-tight);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 6px 26px rgba(0, 0, 0, 0.28);
}
.stat-label {
  display: block; margin-top: var(--space-3);
  font-size: var(--text-body-sm); text-transform: uppercase;
  letter-spacing: var(--tracking-wider); color: rgba(255, 255, 255, 0.84);
}
.stats-note {
  position: relative; z-index: 1;
  margin: var(--space-10) auto 0; max-width: 62ch; text-align: center;
  font-size: var(--text-body-sm); color: rgba(255, 255, 255, 0.72);
}
.stats-note a { color: #fff; }

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8) var(--space-4); }
  .stat:nth-child(odd) { border-left: none; }
}
@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.16); }
  .stat { padding-top: var(--space-5); }
}
@media (prefers-reduced-motion: reduce) {
  /* The band's breathing background is the one thing still softened: it is a
     large, full-bleed moving gradient, which is the pattern most likely to
     cause discomfort. The counters themselves still run. */
  .stats-band::before { animation: none; }
}

/* ==========================================================================
   14. RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .hero-visual { max-width: 420px; margin: 0 auto; width: 100%; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Collapse nav into a dropdown panel */
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-height) 0 auto 0;
    margin: 0; padding: var(--space-4) var(--space-6) var(--space-6);
    background: var(--bg-card); border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-elevation);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; gap: var(--space-1); }
  .nav-link { padding: var(--space-3) var(--space-4); font-size: 1rem; }
}

@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .job-search-grid { grid-template-columns: 1fr; }
  .job-search-grid .form-group--button { flex-direction: row; }
}

@media (max-width: 768px) {
  :root { --header-height: 68px; }
  .logo-img { display: block; height: 56px; }
  .hero-banner { min-height: 0; }
  .hero-banner-inner { padding-top: var(--space-12); padding-bottom: var(--space-12); }
  .hero-banner .hero-copy { max-width: none; }
  .section { padding: var(--space-16) 0; }
  .lang-label { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-banner { padding: var(--space-12) var(--space-5); }
  .form-card { padding: var(--space-6); }
  .map-embed iframe { height: 320px; }
  .feature-list li { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .container { padding: 0 var(--space-4); }
  .grid-4 { grid-template-columns: 1fr; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  /* Three icons + flag + burger would overflow a 360px header. */
  .header-icon { width: 38px; height: 38px; }
  .contact-icons { gap: 0; }
  .job-table th:nth-child(3), .job-table td:nth-child(3) { display: none; }
}

/* ==========================================================================
   15. ACCESSIBILITY / MOTION / PRINT
   ========================================================================== */
/* --- Reduced motion -------------------------------------------------------
   DELIBERATE DECISION (client instruction; recorded in the README):

   This site no longer cancels its animations for `prefers-reduced-motion`.

   Why: the client reported "there are no animations". The actual cause was
   their own Windows setting — Settings > Accessibility > Visual effects >
   Animation effects = OFF — which makes the browser advertise reduced motion
   to every page. The rule that used to sit here dutifully switched every
   animation off, so the site looked completely static on exactly the machine
   it was being reviewed on.

   The one concession kept lives in section 13c: the full-bleed animated
   gradient behind the stats band stops, because a large-area moving surface
   is the pattern most likely to cause discomfort. Entrance animations, the
   counters and all hover motion now play for everyone.

   To restore the previous conservative behaviour, un-comment the block in the
   comment below.
*/
/*
@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;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-zoom { opacity: 1; transform: none; }
  .carousel-track { animation: none; }
}
*/

@media (forced-colors: active) {
  .btn, .card, .sector-card { border: 1px solid currentColor; }
}

@media print {
  .header, .footer, .nav-toggle, .lang-switch, .contact-icons { display: none !important; }
  body { background: #fff; color: #000; }
  .cta-banner, .page-header { background: none !important; color: #000 !important; }
  .cta-banner h2, .cta-banner p, .page-header h1, .page-header p { color: #000 !important; }
}
