/* AK SafeHire - public site styles. Palette: navy + safety orange on white. */
@font-face {
  font-family: "Inter";
  src: url("../vendor/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --navy: #0b2447;
  --navy-2: #14335f;
  --orange: #d9480f;          /* AA contrast with white text */
  --orange-bright: #ff7a1a;   /* decoration only */
  --ink: #1b2a41;
  --muted: #5b6b80;
  --line: #e3e8ef;
  --soft: #f4f7fb;
  --bs-primary: #0b2447;
  --bs-primary-rgb: 11, 36, 71;
  --bs-link-color: #0b2447;
  --bs-link-hover-color: #d9480f;
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bs-body-color: var(--ink);
}
html { scroll-behavior: smooth; }
body { font-family: var(--bs-body-font-family); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .h1, .h2, .h3 { letter-spacing: -.02em; color: var(--navy); font-weight: 700; }
a { text-underline-offset: 3px; }
.skip-link:focus { position: fixed; top: .5rem; left: .5rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: .5rem; }
:focus-visible { outline: 3px solid var(--orange-bright); outline-offset: 2px; }

/* top bar + nav */
.topbar { background: var(--navy); color: #cdd8ea; font-size: .82rem; padding: .45rem 0; }
.topbar a { color: #cdd8ea; text-decoration: none; }
.topbar a:hover { color: #fff; }
.site-nav { background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding: .6rem 0; }
.site-nav .nav-link { color: var(--ink); font-weight: 500; padding: .5rem .85rem; border-radius: .5rem; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--orange); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: var(--orange-bright); font-size: 1.35rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; color: var(--navy); }
.brand-text strong { font-size: 1.15rem; letter-spacing: -.02em; }
.brand-text small { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.brand-light .brand-text, .brand-light .brand-text small { color: #fff; }
.brand-light .brand-text small { opacity: .7; }

/* buttons */
.btn { border-radius: .6rem; font-weight: 600; padding: .6rem 1.15rem; }
.btn-accent { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-accent:hover, .btn-accent:focus { background: #b83c0b; border-color: #b83c0b; color: #fff; }
.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.btn-outline-navy { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-outline-light-2 { border: 2px solid rgba(255,255,255,.55); color: #fff; }
.btn-outline-light-2:hover { background: #fff; color: var(--navy); }
.btn-wa { background: #128c4a; border-color: #128c4a; color: #fff; }
.btn-wa:hover { background: #0e7239; color: #fff; }

/* hero */
.hero { position: relative; color: #fff; padding: 5rem 0 4.5rem; overflow: hidden;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(255,122,26,.28), transparent 60%),
    linear-gradient(135deg, #071a36 0%, var(--navy) 55%, var(--navy-2) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.08; }
.hero .lead { color: #cfdaee; max-width: 36rem; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 700; color: var(--orange-bright); margin-bottom: .9rem; }
.hero-panel { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 1.25rem; padding: 1.25rem; backdrop-filter: blur(6px); }
.hero-tile { display: flex; gap: 1rem; align-items: center; padding: 1rem; border-radius: .9rem; color: #fff; text-decoration: none; transition: background .2s, transform .2s; }
.hero-tile + .hero-tile { margin-top: .35rem; }
.hero-tile:hover { background: rgba(255,255,255,.1); transform: translateX(4px); color: #fff; }
.hero-tile i { font-size: 1.5rem; width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: .8rem; background: var(--orange); flex: none; }
.hero-tile small { color: #b9c7de; display: block; }

/* sections */
.section { padding: 4.5rem 0; }
.section-soft { background: var(--soft); }
.section-title { max-width: 42rem; margin: 0 auto 2.5rem; text-align: center; }
.section-title p { color: var(--muted); }
.section-title .eyebrow { color: var(--orange); }
.page-head { background: linear-gradient(135deg, #071a36, var(--navy)); color: #fff; padding: 3rem 0 2.6rem; }
.page-head h1 { color: #fff; margin-bottom: .4rem; }
.page-head p { color: #cfdaee; max-width: 46rem; margin: 0; }
.crumbs { --bs-breadcrumb-divider-color: #8fa3c3; --bs-breadcrumb-item-active-color: #cfdaee; font-size: .85rem; margin-bottom: 1rem; }
.crumbs a { color: #cfdaee; }

/* cards */
.card-soft { border: 1px solid var(--line); border-radius: 1rem; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; height: 100%; }
.card-soft:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(11,36,71,.1); border-color: #cfd9e8; }
.icon-chip { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: .85rem; background: #fff1e8; color: var(--orange); font-size: 1.4rem; flex: none; }
.icon-chip.navy { background: #e8eefa; color: var(--navy); }
.service-panel { border-radius: 1.1rem; padding: 2rem; color: #fff; height: 100%; position: relative; overflow: hidden; }
.service-panel h3 { color: #fff; }
.service-panel ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.service-panel li { padding: .3rem 0; color: rgba(255,255,255,.88); font-size: .95rem; }
.service-panel li::before { content: "\F26A"; font-family: "bootstrap-icons"; color: var(--orange-bright); margin-right: .55rem; }
.panel-a { background: linear-gradient(145deg, var(--navy), var(--navy-2)); }
.panel-b { background: linear-gradient(145deg, #8a2f08, var(--orange)); }
.panel-c { background: linear-gradient(145deg, #0c4a3a, #14795f); }

/* steps */
.steps { counter-reset: step; }
.step { position: relative; padding: 1.4rem 1.2rem 1.2rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; height: 100%; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -1rem; left: 1.2rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.step h3 { font-size: 1.02rem; margin-top: .4rem; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; }

/* jobs */
.job-card { display: flex; flex-direction: column; padding: 1.4rem; }
.job-card h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.job-card h3 a { color: var(--navy); text-decoration: none; }
.job-card h3 a:hover { color: var(--orange); }
.job-meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; color: var(--muted); font-size: .85rem; margin: .6rem 0 1rem; }
.job-meta i { color: var(--orange); margin-right: .25rem; }
.chip { display: inline-block; font-size: .72rem; font-weight: 600; padding: .22rem .6rem; border-radius: 99px; background: #e8eefa; color: var(--navy); }
.chip-orange { background: #fff1e8; color: #a8370a; }
.filter-bar { background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 1.1rem; box-shadow: 0 8px 24px rgba(11,36,71,.06); }
.prose p, .prose li { line-height: 1.7; }
.prose ul { padding-left: 1.2rem; }
.detail-box { background: var(--soft); border-radius: 1rem; padding: 1.25rem; }
.detail-box dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.detail-box dd { margin-bottom: .9rem; font-weight: 600; }
.sticky-side { position: sticky; top: 5.5rem; }
.share-btn { display: inline-flex; align-items: center; gap: .4rem; }

/* forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 1.1rem; padding: 1.75rem; box-shadow: 0 10px 30px rgba(11,36,71,.06); }
.form-control, .form-select { border-radius: .6rem; padding: .62rem .85rem; border-color: #cfd8e4; }
.form-control:focus, .form-select:focus { border-color: var(--navy-2); box-shadow: 0 0 0 .2rem rgba(20,51,95,.15); }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-section { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--orange); font-weight: 700; margin: 1rem 0 .25rem; }

/* CTA */
.cta { border-radius: 1.25rem; padding: 2.5rem; color: #fff; height: 100%; }
.cta h2 { color: #fff; font-size: 1.6rem; }
.cta p { color: rgba(255,255,255,.85); }
.cta-navy { background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.cta-orange { background: linear-gradient(135deg, #a8370a, var(--orange)); }

/* footer */
.site-footer { background: #071a36; color: #aebbd2; }
.site-footer h2 { color: #fff; margin-bottom: 1rem; }
.site-footer a { color: #aebbd2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer li { margin-bottom: .45rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.social { width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); }
.social:hover { background: var(--orange); text-decoration: none !important; }

/* floating WhatsApp */
.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 1030; display: inline-flex; align-items: center; gap: .55rem; background: #128c4a; color: #fff; padding: .8rem 1rem; border-radius: 99px; text-decoration: none; font-weight: 600; box-shadow: 0 8px 24px rgba(18,140,74,.45); transition: transform .2s; }
.wa-float:hover { transform: translateY(-3px); color: #fff; background: #0e7239; }
.wa-float i { font-size: 1.5rem; line-height: 1; }

/* scroll reveal (disabled for reduced motion) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card-soft, .wa-float, .hero-tile { transition: none; }
}
@media (max-width: 575.98px) {
  .section { padding: 3rem 0; }
  .hero { padding: 3.2rem 0 3rem; }
  .form-card { padding: 1.15rem; }
}

/* width helpers (inline styles are blocked by the CSP) */
.mw-520{max-width:520px}.mw-620{max-width:620px}.mw-680{max-width:680px}.mw-860{max-width:860px}

/* g-5 gutters (3rem) exceed the container padding on phones and cause sideways scrolling */
@media (max-width: 991.98px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }
.card-soft strong { min-width: 0; overflow-wrap: anywhere; }
.icon-chip { flex: none; }

/* Forms and stacked cards must not stretch or lift on hover */
form.card-soft:hover, .card-soft.h-auto:hover { transform: none; box-shadow: none; border-color: var(--line); }
.card-danger { border-color: #f0c4c4; background: #fffafa; }
.card-danger:hover { border-color: #e6a3a3 !important; }
