/* A11 Management — Design tokens & global styles
 * Phần CSS không thể express tự nhiên bằng Tailwind utility (animations,
 * keyframes, scroll behaviors, fine-tuned focus). Tailwind utility vẫn là
 * primary, file này bổ sung. */

:root {
  --navy-950: #060e22;
  --navy-900: #0a1633;
  --navy-800: #11224a;
  --navy-700: #1a2d5c;
  --accent-500: #2563eb;
  --accent-400: #3b82f6;
  --accent-300: #60a5fa;
  --electric-400: #22d3ee;
  --content-max: 80rem;     /* 1280px */
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--navy-900); color: #fff; }

/* ───────────────────────────────────────────────────────
 *  COLOR UTILITIES — explicit CSS for custom palette
 *  (Tailwind CDN doesn't know our navy/accent/electric tokens)
 * ─────────────────────────────────────────────────────── */
.bg-navy-950 { background-color: var(--navy-950); }
.bg-navy-900 { background-color: var(--navy-900); }
.bg-navy-800 { background-color: var(--navy-800); }
.bg-navy-700 { background-color: var(--navy-700); }
.text-navy-900 { color: var(--navy-900); }
.text-accent-500 { color: var(--accent-500); }
.text-accent-400 { color: var(--accent-400); }
.text-accent-300 { color: var(--accent-300); }
.text-electric-400 { color: var(--electric-400); }
.bg-accent-500 { background-color: var(--accent-500); }
.bg-accent-400 { background-color: var(--accent-400); }
.bg-blue-grad { background: linear-gradient(135deg, var(--navy-800) 0%, var(--accent-400) 100%); }

/* Skip link for screen readers / keyboard users */
.skip-link {
  position: absolute; top: -40px; left: 8px; z-index: 100;
  background: var(--accent-400); color: #fff; padding: .5rem 1rem;
  border-radius: .4rem; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 8px; }

/* Better default focus ring on dark bg */
:focus-visible { outline: 2px solid var(--accent-300); outline-offset: 2px; border-radius: .25rem; }

/* Selection */
::selection { background: rgba(59,130,246,.4); color: #fff; }

/* Vietnamese diacritics need taller line-height — global heading defaults */
h1, h2, h3, h4 { line-height: 1.3; }
.section-title { line-height: 1.3 !important; padding-top: .15em; }
.eyebrow { line-height: 1.5; }

/* Subtle starfield-ish backdrop for dark sections (optional helper) */
.bg-stars {
  background-color: var(--navy-950);
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,.4), transparent 50%),
    radial-gradient(1px 1px at 70% 60%, rgba(255,255,255,.3), transparent 50%),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(255,255,255,.35), transparent 50%),
    radial-gradient(1px 1px at 85% 20%, rgba(255,255,255,.25), transparent 50%);
}

/* Reveal-on-scroll (used by main.js IntersectionObserver) */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Card */
.card {
  background: linear-gradient(140deg, #11224a 0%, #0a1633 100%);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 1rem;
  padding: 1.5rem;
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(96,165,250,.4);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.6), 0 0 30px -10px rgba(59,130,246,.3);
}
.card-pillar { position: relative; overflow: hidden; }
.card-pillar::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, var(--accent-400), var(--electric-400));
  opacity:.8;
}

/* Stat highlight */
.stat { font-family: 'Plus Jakarta Sans','Inter',sans-serif; font-weight: 800; color: var(--accent-300); }

/* Prose-ish defaults inside content sections (Tailwind doesn't auto-style raw markup) */
.rich p { margin-bottom: 1rem; line-height: 1.7; color: rgba(255,255,255,.82); }
.rich p:last-child { margin-bottom: 0; }
.rich strong { color: #fff; font-weight: 600; }
.rich ul { margin: 1rem 0; padding-left: 1.25rem; }
.rich ul li { margin-bottom: .5rem; list-style: disc; color: rgba(255,255,255,.82); }
.rich a { color: var(--accent-300); text-decoration: underline; text-underline-offset: 3px; }
.rich a:hover { color: #fff; }

/* ───────────────────────────────────────────────────────
 *  LIGHT SECTION STYLES — for sections with white background
 * ─────────────────────────────────────────────────────── */
.section-light { background: #ffffff; color: var(--navy-900); }
.section-light .eyebrow { color: var(--accent-500); }
.section-light .section-title { color: var(--navy-900); }
.section-light .rich p { color: rgba(10, 22, 51, 0.78); }
.section-light .rich strong { color: var(--navy-900); }
.section-light .rich a { color: var(--accent-500); }

/* Mark navy keyword on light section */
.kw-navy { color: var(--navy-900); font-weight: 800; }
.kw-accent { color: var(--accent-500); font-weight: 800; }

/* Floating chip labels (used on cityscape image w/ floating LÃNH ĐẠO labels) */
.floating-chip {
  display: inline-flex; flex-direction: column; align-items: center;
  padding: .35rem .9rem;
  background: rgba(10,22,51,.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: .5rem;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  letter-spacing: .05em;
}
.floating-chip span:first-child { font-size: .8rem; text-transform: uppercase; }
.floating-chip span:last-child  { font-size: .65rem; text-transform: uppercase; opacity: .8; font-weight: 500; }

/* ───────────────────────────────────────────────────────
 *  NUMBERED CARD (section 3) — 01–04, navy gradient,
 *  with circular icon protruding from top edge.
 * ─────────────────────────────────────────────────────── */
.numbered-card {
  position: relative;
  padding: 3.5rem 1.5rem 1.75rem;
  margin-top: 2rem; /* room for icon overlap */
  border-radius: 1rem;
  background: linear-gradient(150deg, #1a2d5c 0%, #11224a 55%, #0a1633 100%);
  border: 1px solid rgba(96,165,250,.25);
  color: #fff;
  display: flex; flex-direction: column;
  min-height: 18rem;
  box-shadow: 0 14px 36px -16px rgba(10,22,51,.5);
  transition: transform .25s ease, box-shadow .25s ease;
}
.numbered-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -20px rgba(10,22,51,.7); }
.numbered-card .nc-icon {
  position: absolute; top: -2rem; left: 50%; transform: translateX(-50%);
  width: 4rem; height: 4rem; border-radius: 9999px;
  background: #ffffff;
  display: grid; place-items: center;
  color: var(--navy-900);
  border: 3px solid #fff;
  box-shadow: 0 8px 24px -8px rgba(10,22,51,.5), 0 0 0 4px rgba(59,130,246,.18);
}
.numbered-card .nc-icon svg { width: 2rem; height: 2rem; }
.numbered-card .nc-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.5rem; font-weight: 800;
  color: rgba(96,165,250,.85);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: .75rem;
  text-align: center;
}
.numbered-card .nc-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .9rem;
  text-align: center;
}
.numbered-card .nc-body {
  font-size: .85rem;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  text-align: center;
}

/* ───────────────────────────────────────────────────────
 *  ICON BULLET (section 5) — large navy circle icon
 * ─────────────────────────────────────────────────────── */
.icon-bullet {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 1.5rem 1rem;
}
.icon-bullet .ib-icon {
  width: 7rem; height: 7rem;
  border-radius: 9999px;
  background: linear-gradient(140deg, #1a2d5c 0%, #0a1633 100%);
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 1.25rem;
  box-shadow: 0 14px 30px -12px rgba(10,22,51,.5);
}
.icon-bullet .ib-icon svg { width: 3rem; height: 3rem; stroke-width: 1.4; }
.icon-bullet .ib-caption {
  font-size: .9rem;
  color: var(--navy-900);
  font-weight: 500;
  line-height: 1.5;
  max-width: 14rem;
}

/* ───────────────────────────────────────────────────────
 *  PILLAR CIRCULAR CARD (section 6) — round photo with badge
 * ─────────────────────────────────────────────────────── */
.pillar-card {
  text-align: center;
  padding-top: 1.5rem;
  position: relative;
}
.pillar-card .pc-photo {
  width: 11rem; height: 11rem;
  margin: 0 auto;
  border-radius: 9999px;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 14px 30px -12px rgba(10,22,51,.35);
  position: relative;
}
.pillar-card .pc-photo img { width: 100%; height: 100%; object-fit: cover; }
.pillar-card .pc-badge {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 3rem; height: 3rem;
  border-radius: 9999px;
  background: linear-gradient(140deg, #1a2d5c, #0a1633);
  border: 3px solid #fff;
  display: grid; place-items: center;
  color: #fff;
}
.pillar-card .pc-badge svg { width: 1.4rem; height: 1.4rem; }
.pillar-card .pc-label {
  margin-top: 1.25rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--navy-900);
  font-size: 1rem;
  letter-spacing: .03em;
}
.pillar-card .pc-num {
  color: var(--accent-500);
  font-weight: 800;
  margin-right: .35rem;
}

/* ───────────────────────────────────────────────────────
 *  SERVICE-V1 CARD (section 8) — image on top, text below
 * ─────────────────────────────────────────────────────── */
.svc-card {
  background: transparent;
  border-radius: .9rem;
  overflow: hidden;
  display: flex; flex-direction: column;
  padding: .75rem;
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
}
.svc-card:hover {
  background: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -14px rgba(0,0,0,.4);
}
.svc-card .sc-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: .7rem;
  margin-bottom: 1rem;
}
.svc-card .sc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card:hover .sc-img img { transform: scale(1.05); }
.svc-card .sc-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: .65rem;
  letter-spacing: -.005em;
  transition: color .25s ease;
  padding: 0 .25rem;
}
.svc-card .sc-body {
  font-size: .85rem;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  transition: color .25s ease;
  padding: 0 .25rem .5rem;
}
.svc-card:hover .sc-title { color: var(--navy-900); }
.svc-card:hover .sc-body  { color: rgba(10,22,51,.75); }

/* Hero quote mark (mockup style) */
.hero-quote {
  font-family: 'Plus Jakarta Sans', Georgia, serif;
  font-size: clamp(4rem, 8vw, 6rem);
  line-height: .9;
  color: var(--accent-400);
  font-weight: 700;
  flex: none;
}

/* Service card — dark blue gradient (theo mockup) */
.service-card {
  display: block;
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(150deg, #1a2d5c 0%, #11224a 55%, #0a1633 100%);
  border: 1px solid rgba(96,165,250,.22);
  text-decoration: none;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  min-height: 13rem;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(96,165,250,.18), transparent 55%);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96,165,250,.55);
  box-shadow: 0 18px 40px -14px rgba(0,0,0,.7), 0 0 30px -10px rgba(59,130,246,.4);
}
.service-card-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-300);
  letter-spacing: .1em;
  margin-bottom: .75rem;
  position: relative;
}
.service-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: .65rem;
  letter-spacing: -.01em;
  position: relative;
}
.service-card-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
  position: relative;
}
.service-card-cta {
  font-size: .8rem;
  color: var(--accent-300);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  position: relative;
  transition: color .15s;
}
.service-card:hover .service-card-cta { color: #fff; }

/* Why-card với icon tròn (theo mockup) */
.why-card {
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: 1rem;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  transition: background .2s ease, border-color .2s ease;
}
.why-card:hover { background: rgba(96,165,250,.05); border-color: rgba(96,165,250,.25); }
.why-icon {
  display: inline-grid;
  place-items: center;
  width: 72px; height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 9999px;
  background: radial-gradient(circle at 30% 30%, #1a2d5c, #0a1633 75%);
  border: 1.5px solid rgba(96,165,250,.5);
  color: var(--accent-300);
  box-shadow: inset 0 0 14px rgba(96,165,250,.18), 0 8px 20px -8px rgba(59,130,246,.4);
}
.why-icon svg { width: 32px; height: 32px; }
.why-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  margin-bottom: .6rem;
}
.why-desc {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  line-height: 1.55;
}

/* ───────────────────────────────────────────────────────
 *  SERVICE-ICON CIRCLE — vòng tròn navy gradient cho icon
 *  ở sub-card của Talent Acquisition + Executive Transformation
 * ─────────────────────────────────────────────────────── */
.svc-icon {
  display: inline-grid;
  place-items: center;
  border-radius: 9999px;
  background: radial-gradient(circle at 30% 30%, #1a2d5c, #0a1633 75%);
  border: 1.5px solid rgba(96,165,250,.5);
  color: var(--accent-300);
  box-shadow: inset 0 0 14px rgba(96,165,250,.18), 0 8px 20px -8px rgba(59,130,246,.4);
  flex-shrink: 0;
}
.svc-icon-sm { width: 56px; height: 56px; }
.svc-icon-sm svg { width: 26px; height: 26px; }
.svc-icon-lg { width: 72px; height: 72px; margin: 0 auto 1rem; }
.svc-icon-lg svg { width: 32px; height: 32px; }

/* Form */
.field-label { display:block; font-size:.85rem; font-weight:500; color:rgba(255,255,255,.85); margin-bottom:.4rem; }
.field-input,.field-textarea {
  width:100%; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.15);
  border-radius:.5rem; padding:.75rem 1rem; color:#fff; font-size:.95rem;
  transition: border-color .15s, background-color .15s;
}
.field-input:focus,.field-textarea:focus {
  outline:none; border-color: var(--accent-400); background: rgba(255,255,255,.06);
}
.field-input::placeholder,.field-textarea::placeholder { color: rgba(255,255,255,.4); }
.field-input option { background-color: #0b1220; color: #fff; }
.field-textarea { min-height: 8rem; resize: vertical; }

/* Honeypot for spam (Formspree pattern) */
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
