/* ==========================================================================
   D.D. CONSULTANCY — Design System
   ========================================================================== */

:root {
  --navy: #172554;
  --navy-dark: #0f1a3d;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #eff6ff;
  --success: #22c55e;
  --text: #0f172a;
  --muted: #64748b;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(23, 32, 51, 0.06);
  --shadow-md: 0 8px 24px rgba(23, 37, 84, 0.08);
  --shadow-lg: 0 20px 48px rgba(23, 37, 84, 0.14);

  --container: 1200px;
  --header-h: 76px;
  --mobile-bar-h: 60px;

  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Reveal-on-scroll (premium polish) ----------
   Applied only by js/main.js — the .reveal class is never present in the
   static HTML/CSS by default, so if JS fails to run, every element simply
   stays in its normal, fully visible state. This keeps the effect a pure
   progressive enhancement with no risk of permanently hidden content.
   Deliberately placed early in the cascade: its specificity ties with every
   :hover rule below it (one class vs. one class+pseudo-class both resolve
   to the same specificity tier), so source order decides the tiebreak —
   kept here, the later :hover rules always win once an element has settled
   into view, letting card/button hover lift keep working normally. */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 550ms cubic-bezier(0.22, 1, 0.36, 1), transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-in-view {
  opacity: 1;
  transform: translateY(0);
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* Visible focus for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 88px 0;
}
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy .muted { color: rgba(255,255,255,0.68); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--blue);
  display: inline-block;
}

h1, .h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}
h2, .h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.18;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}
h3, .h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}
.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 640px;
}
.muted { color: var(--muted); }
.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.96rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--blue-dark); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--navy); background: var(--bg); transform: translateY(-1px); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.16); transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.btn-row--tertiary {
  margin-top: 18px;
  gap: 22px;
}
.link-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.92rem;
}
.link-inline:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand img { height: 46px; width: 46px; object-fit: contain; flex-shrink: 0; }
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__name {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}
.brand__tagline {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  padding: 10px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.main-nav a:hover { background: var(--bg); color: var(--navy); }
.main-nav a[aria-current="page"] {
  color: var(--blue-dark);
  background: var(--blue-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.header-cta svg { width: 17px; height: 17px; flex: none; }
.header-cta--outline {
  padding: 0 18px;
  background: var(--white);
  border: 1.5px solid var(--blue);
  color: var(--navy);
}
.header-cta--outline:hover { background: var(--blue-light); border-color: var(--blue-dark); transform: translateY(-1px); }
.header-cta--filled {
  padding: 0 20px;
  background: var(--blue);
  border: 1.5px solid var(--blue);
  color: var(--white);
}
.header-cta--filled:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--white);
  flex: none;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-panel {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 495;
  padding: 20px 24px 32px;
  overflow-y: auto;
  display: none;
}
.mobile-panel.is-open { display: block; }
.mobile-panel nav a {
  display: block;
  padding: 16px 4px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
}
.mobile-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.mobile-panel__actions .header-cta {
  width: 100%;
  height: 50px;
  font-size: 0.95rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 88px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 60px;
  align-items: center;
}
.hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}
.hero__trust svg { width: 18px; height: 18px; color: var(--blue); flex: none; }

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

@keyframes heroFadeIn {
  from { opacity: 0; scale: 0.94; }
  to { opacity: 1; scale: 1; }
}

.hero__image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  background: var(--blue-light);
  animation: heroFadeIn 0.5s ease both;
}
.hero__image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 45%),
    linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
}
.hero__image-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
}
.hero__image-icon {
  position: relative;
  width: 34%;
  max-width: 130px;
  color: rgba(255, 255, 255, 0.32);
}

.hero__float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 10px 14px;
  animation: heroFadeIn 0.5s ease both;
}
.hero__float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  flex: none;
}
.hero__float-icon svg { width: 16px; height: 16px; }
.hero__float-text {
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
  white-space: nowrap;
}
.hero__float-text strong {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--navy);
}

.hero__float--1 { top: -18px; left: -14px; animation-delay: 0.2s; }
.hero__float--2 { bottom: -16px; right: -14px; animation-delay: 0.35s; }
.hero__float--3 { bottom: 22%; left: -20px; animation-delay: 0.5s; }

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--blue);
}
.stat-card__value {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-card__label {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}
.stat-card__note {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 400;
}

/* ---------- Card grids ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.spec-card, .service-card, .screen-card, .why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  height: 100%;
}
.spec-card:hover, .service-card:hover, .screen-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--blue);
}
.spec-card__num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.05em;
}
.spec-card__icon {
  width: 34px;
  height: 34px;
  margin-top: 12px;
  border-radius: 10px;
  background: var(--blue-light);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.spec-card__icon svg { width: 15px; height: 15px; }
.spec-card h3, .service-card h3, .screen-card h3 { margin-top: 14px; }
.spec-card p, .service-card p, .screen-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.icon-badge svg { width: 24px; height: 24px; }

.service-card__link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--blue);
  font-size: 0.9rem;
}

/* ---------- Process timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.timeline-step {
  position: relative;
  z-index: 1;
  text-align: left;
  transition: transform 0.2s ease;
}
.timeline-step:hover { transform: translateY(-2px); }
.timeline-step__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 18px;
  border: 4px solid var(--bg);
}
.timeline-step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.timeline-step p { color: var(--muted); font-size: 0.9rem; }
.timeline-note {
  margin-top: 44px;
  padding: 22px 26px;
  background: var(--blue-light);
  border-radius: var(--radius-md);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.98rem;
}

/* ---------- Why us ---------- */
.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.why-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--blue);
}
.why-item svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
  flex: none;
  margin-top: 2px;
}
.why-item p, .why-item > span { min-width: 0; font-weight: 600; color: var(--text); font-size: 0.96rem; overflow-wrap: break-word; }

/* ---------- CTA split (employers/candidates) ---------- */
.split-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.split-cta__card {
  min-width: 0;
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.split-cta__card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.split-cta__card .btn { white-space: normal; text-align: center; }
.split-cta__card--employer { background: linear-gradient(135deg, var(--navy) 0%, #223a7a 100%); }
.split-cta__card--candidate { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); }
.split-cta__card h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 14px; }
.split-cta__card p { color: rgba(255,255,255,0.85); margin-bottom: 22px; }
.split-cta__list { margin-bottom: 26px; }
.split-cta__list li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.94rem;
  color: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.split-cta__list li:last-child { border-bottom: none; }
.split-cta__disclaimer {
  margin-top: 18px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

/* ---------- Employer network carousel ---------- */
.client-carousel {
  margin-top: 40px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.client-carousel__track {
  display: flex;
  width: max-content;
  transform: translate3d(0, 0, 0);
  transition: none !important;
  animation: none !important;
}
.client-carousel__set {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
  flex: none;
}
.client-logo {
  position: relative;
  flex: none;
  width: 200px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.client-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.client-logo__fallback {
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.3;
}
.client-logo.is-fallback .client-logo__fallback { display: flex; }

/* ---------- Forms ---------- */
.form-card {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-card form { min-width: 0; }
.form-card .btn { white-space: normal; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  min-width: 0;
}
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: 0.88rem; color: var(--navy); }
.form-field .req { color: var(--blue); }
.form-field input,
.form-field select,
.form-field textarea {
  min-width: 0;
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
}
.form-disclaimer {
  margin-top: 22px;
  padding: 16px 18px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--muted);
  border-left: 3px solid var(--blue);
}
.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-fallback {
  background: var(--blue-light);
  color: var(--blue-dark);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-col { min-width: 0; }
.footer-brand__top { display: flex; align-items: center; gap: 12px; }
.footer-brand__logo { height: 48px; width: 48px; object-fit: contain; flex-shrink: 0; }
.footer-brand__name { color: var(--white); font-weight: 800; font-size: 1.15rem; }
.footer-brand__full { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 4px; }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; color: rgba(255,255,255,0.65); max-width: 320px; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 12px; font-size: 0.92rem; }
.footer-col a { transition: color 0.15s ease; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact-icon {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  flex: none;
  color: rgba(255,255,255,0.5);
  transition: color 0.15s ease;
}
.footer-contact-list li:hover .footer-contact-icon { color: var(--blue); }
.footer-contact-icon--whatsapp,
.footer-contact-list li:hover .footer-contact-icon--whatsapp { color: var(--success); }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.footer-social a:hover, .footer-social a:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.footer-social svg { width: 16px; height: 16px; }

.footer-newsletter { margin-top: 24px; min-width: 0; }
.footer-newsletter h5 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.footer-newsletter p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
  max-width: 240px;
}
.footer-newsletter__form {
  display: flex;
  gap: 8px;
  min-width: 0;
}
.footer-newsletter__form input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 0.82rem;
}
.footer-newsletter__form input::placeholder { color: rgba(255,255,255,0.45); }
.footer-newsletter__form input:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(255,255,255,0.1);
}
.footer-newsletter__form button {
  flex: none;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.footer-newsletter__form button:hover { background: var(--blue-dark); }
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a:hover { color: var(--white); }

/* ---------- Mobile bottom bar ---------- */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--mobile-bar-h);
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(23,37,84,0.12);
  display: none;
  z-index: 490;
}
.mobile-bar__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 100%;
}
.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--navy);
  border-right: 1px solid var(--border);
}
.mobile-bar a:last-child { border-right: none; }
.mobile-bar a svg { width: 20px; height: 20px; }
.mobile-bar a.bar-whatsapp { color: var(--success); }
.mobile-bar a.bar-cv { color: var(--blue); }

/* ---------- Floating contact actions ---------- */
.floating-contact {
  position: fixed;
  bottom: 70px;
  left: 24px;
  z-index: 480;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.floating-contact.is-visible { opacity: 1; pointer-events: auto; }
.floating-contact__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 190px;
  height: 44px;
  padding: 0 14px 0 6px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.12);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text);
  opacity: 0;
  transform: translateX(-12px);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.floating-contact.is-visible .floating-contact__btn { animation: floatContactIn 500ms ease forwards; }
.floating-contact__btn:hover { border-color: var(--navy); transform: translateX(2px); }
.floating-contact__btn--whatsapp { animation-delay: 0.1s; }
.floating-contact__btn--call { animation-delay: 0.3s; }
@keyframes floatContactIn {
  to { opacity: 1; transform: translateX(0); }
}
.floating-contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: none;
  color: var(--white);
  transition: transform 0.15s ease;
}
.floating-contact__icon svg { width: 12px; height: 12px; }
.floating-contact__btn--whatsapp .floating-contact__icon { background: var(--success); }
.floating-contact__btn--call .floating-contact__icon { background: var(--blue); }
.floating-contact__btn:hover .floating-contact__icon { transform: scale(1.1); }
.floating-contact__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Hidden on mobile — the mobile bottom CTA bar (Call/WhatsApp/Send CV)
   already covers this need at these widths. Desktop/tablet (>767px)
   keeps the existing floating buttons unchanged. */
@media (max-width: 767px) {
  .floating-contact { display: none; }
}

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(37, 99, 235, 0.05), transparent 45%),
    var(--white);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s linear 0.4s;
}
body.is-loaded #preloader {
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  pointer-events: none;
}
.preloader__content {
  width: min(90vw, 360px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.preloader__logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  animation: preloaderLogoIn 0.5s ease both;
}
.preloader__name {
  margin-top: 14px;
  font-weight: 800;
  color: #172554;
  font-size: 21px;
}
.preloader__tagline {
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}
.preloader__bar {
  margin: 20px auto 0;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}
.preloader__bar-fill {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: 999px;
  background: #2563eb;
  animation: preloaderBar 1.1s ease-in-out infinite;
}
@keyframes preloaderLogoIn {
  from { opacity: 0; scale: 0.85; }
  to { opacity: 1; scale: 1; }
}
@keyframes preloaderBar {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(280%); }
}

/* ---------- Page transition ---------- */
#main { transition: opacity 0.2s ease, transform 0.2s ease; animation: pageEnter 220ms ease both; }
@keyframes pageEnter {
  from { opacity: 0.96; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
html.is-page-leaving #main { opacity: 0.96; transform: translateY(4px); }

/* ---------- Anchor scroll offset (clears sticky header) ---------- */
section[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 480;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid #cbd5e1;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s, background-color 0.2s ease, color 0.2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease, color 0.2s ease;
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top:hover, .back-to-top:focus-visible { background: var(--blue); color: var(--white); transform: translateY(-2px); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 56px 0 48px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--blue); font-weight: 600; }

/* ---------- Content blocks (policy pages) ---------- */
.policy {
  max-width: 820px;
}
.policy h2 { margin-top: 44px; margin-bottom: 14px; font-size: 1.3rem; }
.policy h2:first-child { margin-top: 0; }
.policy p, .policy li { color: var(--muted); font-size: 0.98rem; margin-bottom: 10px; }
.policy ul { margin-left: 20px; list-style: disc; }
.policy .updated {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

/* ---------- Service detail sections ---------- */
.service-detail {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 24px;
  background: var(--white);
}
.service-detail__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.service-detail__num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
  background: var(--navy);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.service-detail__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 18px;
}
.service-detail__block h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 10px;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}
.example-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 10px;
  font-style: italic;
}

/* ---------- Employer/Candidate split layout ---------- */
.employer-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.employer-layout > * { min-width: 0; }
@media (max-width: 1024px) {
  .employer-layout { grid-template-columns: 1fr; }
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .site-header__inner { gap: 14px; }
  .main-nav a { white-space: nowrap; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 40px; max-width: 400px; }
  .card-grid, .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-list { grid-template-columns: 1fr; }
  .split-cta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .timeline::before { display: none; }
  .service-detail__body { grid-template-columns: 1fr; }
  .client-logo { width: 210px; height: 82px; padding: 14px 18px; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-actions .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .section { padding: 60px 0; }
  .brand img { height: 40px; width: 40px; }
  .card-grid, .card-grid--2, .card-grid--4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .form-card { padding: 26px; }
  .service-detail { padding: 24px; }
  .mobile-bar { display: block; }
  body { padding-bottom: var(--mobile-bar-h); }
  .back-to-top { right: 14px; bottom: calc(var(--mobile-bar-h) + 14px); width: 40px; height: 40px; }
  .back-to-top svg { width: 18px; height: 18px; }
  .hero { padding: 28px 0 40px; }
  .hero__trust { margin-top: 18px; }
  .btn-row { gap: 12px; margin-top: 22px; }
  .btn { width: 100%; }
  .client-logo { width: 180px; height: 76px; padding: 12px 16px; }
  .client-carousel__set { gap: 16px; padding-right: 16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .brand { min-width: 0; }
  .brand__text { min-width: 0; }
  .brand__tagline { font-size: 0.58rem; letter-spacing: 0.01em; white-space: nowrap; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 22px 14px; }
  .stat-card__value { font-size: 1.7rem; }
  .split-cta__card { padding: 28px 22px; }
  .form-card { padding: 22px; }
  .floating-contact { bottom: 82px; left: 14px; gap: 8px; }
  .floating-contact__btn { width: auto; min-width: 150px; max-width: 165px; height: 39px; padding: 0 12px 0 5px; font-size: 0.75rem; }
  .floating-contact__icon { width: 19px; height: 19px; }
  .floating-contact__icon svg { width: 11px; height: 11px; }
  .hero__visual { max-width: 340px; }
  .hero__float { padding: 8px 11px; gap: 7px; }
  .hero__float-icon { width: 26px; height: 26px; }
  .hero__float-icon svg { width: 13px; height: 13px; }
  .hero__float-text { font-size: 0.64rem; }
  .hero__float-text strong { font-size: 0.76rem; }
  .hero__float--1 { top: -10px; left: -8px; }
  .hero__float--2 { bottom: -10px; right: -8px; }
  .hero__float--3 { bottom: 18%; left: -10px; }
  .client-logo { width: 138px; height: 64px; padding: 10px 12px; }
  .client-carousel__set { gap: 12px; padding-right: 12px; }
}
