/* ==========================================================================
   Hirenest Services — design tokens
   Palette: Navy #0B1F3A / Navy-2 #12294B / Teal #145C5A / Gold #E8A33D
   Type: Fraunces (display) + Inter (body) + IBM Plex Mono (data / codes)
   Signature: verification ID badge + admit-card role codes
   ========================================================================== */

:root{
  --navy: #0B1F3A;
  --navy-2: #12294B;
  --navy-3: #0E223F;
  --teal: #145C5A;
  --teal-2: #1B7A73;
  --gold: #E8A33D;
  --gold-2: #F2C572;
  --paper: #F4F6F9;
  --ink: #10182A;
  --ink-soft: #4A5568;
  --white: #FFFFFF;
  --line: rgba(16,24,42,0.08);

  --display: 'Fraunces', serif;
  --body: 'Inter', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3{ font-family: var(--display); color: var(--navy); margin: 0; }

a{ text-decoration: none; }

::selection{ background: var(--gold); color: var(--navy); }

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

.hn-section{ padding: 6.5rem 0; }
.hn-section-alt{ background: var(--paper); }

.hn-kicker{
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-2);
  font-weight: 600;
  margin-bottom: .75rem;
}
.hn-kicker-light{ color: var(--gold-2); }

.hn-h2{
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.hn-h2-light{ color: var(--white); }

.hn-p{
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 46ch;
}

/* ---------- NAVBAR ---------- */
.hn-navbar{
  background: rgba(11,31,58,0.0);
  padding: 1.15rem 0;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.hn-navbar.hn-scrolled{
  background: rgba(11,31,58,0.96);
  padding: .65rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  backdrop-filter: blur(6px);
}
.hn-brand-mark{
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border-radius: 10px;
  padding: 4px 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.hn-brand-mark img{ height: 34px; display: block; }
.hn-brand-mark-sm img{ height: 28px; }

.hn-navbar .nav-link{
  color: rgba(255,255,255,.85);
  font-weight: 500;
  font-size: .95rem;
  padding: .5rem .85rem !important;
}
.hn-navbar .nav-link:hover{ color: var(--gold-2); }

.hn-burger{ display: inline-flex; flex-direction: column; gap: 4px; }
.hn-burger span{ width: 22px; height: 2px; background: var(--white); display: block; }
.navbar-toggler{ border: none; padding: .25rem; }
.navbar-toggler:focus{ box-shadow: none; }

.hn-btn-cta{
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700;
  border-radius: 999px;
  padding: .5rem 1.3rem;
  font-size: .9rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hn-btn-cta:hover{ transform: translateY(-2px); box-shadow: 0 8px 18px rgba(232,163,61,.35); }

/* ---------- HERO ---------- */
.hn-hero{
  position: relative;
  padding: 9.5rem 0 6rem;
  background: radial-gradient(120% 120% at 15% 0%, var(--navy-2) 0%, var(--navy) 55%, var(--navy-3) 100%);
  overflow: hidden;
}
.hn-hero-bg{
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 46px);
  pointer-events: none;
}
.hn-eyebrow{
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .5rem;
  margin-bottom: 1.25rem;
}
.hn-hero-title{
  color: var(--white);
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
}
.hn-underline-gold{
  color: var(--gold);
  position: relative;
}
.hn-hero-sub{
  color: rgba(255,255,255,.78);
  font-size: 1.08rem;
  max-width: 46ch;
  margin-top: 1.5rem;
  line-height: 1.7;
}

.hn-btn-primary{
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  border-radius: 10px;
  padding: .8rem 1.6rem;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hn-btn-primary:hover{ transform: translateY(-3px); box-shadow: 0 10px 24px rgba(232,163,61,.3); color: var(--navy); }

.hn-btn-outline{
  border: 1.5px solid rgba(255,255,255,.4);
  color: var(--white);
  border-radius: 10px;
  padding: .8rem 1.6rem;
  font-weight: 600;
  transition: border-color .2s ease, background .2s ease;
}
.hn-btn-outline:hover{ border-color: var(--gold-2); color: var(--white); background: rgba(255,255,255,.06); }

/* ---------- SIGNATURE: ID BADGE ---------- */
.hn-badge-wrap{ position: relative; max-width: 380px; margin: 0 auto; }
.hn-badge-shadow-card{
  position: absolute; inset: 18px -18px -18px 18px;
  background: rgba(232,163,61,.14);
  border: 1px solid rgba(232,163,61,.25);
  border-radius: 20px;
  z-index: 0;
}
.hn-badge{
  position: relative; z-index: 1;
  background: var(--white);
  border-radius: 20px;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
  animation: hn-float 5s ease-in-out infinite;
}
@keyframes hn-float{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}
.hn-badge-notch{
  width: 60px; height: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: -1rem auto 1.1rem;
}
.hn-badge-header{
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px dashed var(--line);
  padding-bottom: .7rem; margin-bottom: 1rem;
}
.hn-badge-org{ font-family: var(--mono); font-weight: 600; font-size: .78rem; color: var(--navy); letter-spacing: .04em; }
.hn-badge-id{ font-family: var(--mono); font-size: .7rem; color: var(--teal-2); }
.hn-badge-body{ display: flex; gap: 1rem; align-items: center; }
.hn-badge-photo{
  width: 62px; height: 62px; border-radius: 14px;
  background: linear-gradient(145deg, var(--navy-2), var(--teal));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-2); font-size: 1.6rem; flex-shrink: 0;
}
.hn-badge-info{ display: flex; flex-direction: column; gap: .1rem; }
.hn-badge-label{ font-family: var(--mono); font-size: .68rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; margin-top: .35rem; }
.hn-badge-label:first-child{ margin-top: 0; }
.hn-badge-value{ font-weight: 600; font-size: .92rem; color: var(--ink); }
.hn-badge-checklist{
  list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-direction: column; gap: .5rem;
}
.hn-badge-checklist li{
  font-size: .88rem; font-weight: 600; color: var(--navy);
  display: flex; align-items: center; gap: .5rem;
  opacity: 0; transform: translateX(-8px);
  animation: hn-tick .5s ease forwards;
  animation-delay: var(--d);
}
.hn-badge-checklist i{ color: var(--teal-2); }
@keyframes hn-tick{ to{ opacity: 1; transform: translateX(0); } }
.hn-badge-scan{
  position: absolute; top: 1.6rem; right: 1.75rem;
  color: var(--line); font-size: 1.4rem; color: rgba(16,24,42,.18);
}

/* ---------- ABOUT ---------- */
.hn-about-list{ margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.hn-about-item{
  display: flex; gap: .9rem; align-items: flex-start;
  font-size: .96rem; color: var(--ink-soft);
}
.hn-about-item i{ color: var(--teal-2); font-size: 1.2rem; margin-top: .1rem; }

.hn-about-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1.5rem;
}
.hn-about-card-row{ display: flex; gap: 1rem; align-items: flex-start; }
.hn-about-card-row i{
  font-size: 1.3rem; color: var(--navy);
  background: var(--white); border: 1px solid var(--line);
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hn-about-card-row h3{ font-size: 1.05rem; margin-bottom: .2rem; }
.hn-about-card-row p{ color: var(--ink-soft); font-size: .9rem; margin: 0; }

/* ---------- SERVICES ---------- */
.hn-service-card{
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem 1.5rem 1.75rem;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.hn-service-card:hover{ transform: translateY(-6px); box-shadow: 0 20px 40px rgba(16,24,42,.1); }
.hn-role-code{
  position: absolute; top: 1.1rem; right: 1.25rem;
  font-family: var(--mono); font-size: .72rem; color: var(--teal-2);
  border: 1px solid var(--line); border-radius: 999px; padding: .2rem .6rem;
}
.hn-service-icon{
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(145deg, var(--navy-2), var(--teal));
  color: var(--gold-2); font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.hn-service-card h3{ font-size: 1.1rem; margin-bottom: .5rem; }
.hn-service-card p{ color: var(--ink-soft); font-size: .92rem; line-height: 1.6; margin: 0; }

/* ---------- WHY US ---------- */
.hn-why{
  background: radial-gradient(120% 100% at 85% 0%, var(--navy-2) 0%, var(--navy) 60%, var(--navy-3) 100%);
}
.hn-why-item{ text-align: left; padding: 1.75rem 1.5rem; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); height: 100%; transition: background .25s ease, transform .25s ease; }
.hn-why-item:hover{ background: rgba(255,255,255,.06); transform: translateY(-4px); }
.hn-why-icon{
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(232,163,61,.14); border: 1px solid rgba(232,163,61,.35);
  color: var(--gold); font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.hn-why-item h3{ color: var(--white); font-size: 1.05rem; margin-bottom: .5rem; }
.hn-why-item p{ color: rgba(255,255,255,.65); font-size: .9rem; margin: 0; line-height: 1.6; }

/* ---------- INDUSTRIES ---------- */
.hn-industry-row{
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.5rem;
}
.hn-tag{
  font-family: var(--mono); font-size: .85rem; font-weight: 500;
  color: var(--navy); background: var(--paper);
  border: 1px solid var(--line); border-radius: 999px;
  padding: .7rem 1.3rem; display: inline-flex; align-items: center; gap: .6rem;
  transition: border-color .2s ease, transform .2s ease;
}
.hn-tag i{ color: var(--teal-2); }
.hn-tag:hover{ border-color: var(--teal-2); transform: translateY(-2px); }

/* ---------- STRENGTH ---------- */
.hn-strength{ background: var(--paper); }
.hn-strength-card{
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.6rem; height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.hn-strength-card:hover{ transform: translateY(-4px); box-shadow: 0 16px 32px rgba(16,24,42,.08); }
.hn-strength-card i{ font-size: 1.4rem; color: var(--teal-2); margin-bottom: .8rem; display: block; }
.hn-strength-card h3{ font-size: 1rem; margin-bottom: .4rem; }
.hn-strength-card p{ font-size: .88rem; color: var(--ink-soft); margin: 0; line-height: 1.55; }

/* ---------- CONTACT ---------- */
.hn-contact{
  background: radial-gradient(120% 120% at 15% 100%, var(--navy-2) 0%, var(--navy) 55%, var(--navy-3) 100%);
}
.hn-contact-details{ margin-top: 2rem; display: flex; flex-direction: column; gap: .9rem; }
.hn-contact-details div{
  color: rgba(255,255,255,.85); font-size: .95rem;
  display: flex; align-items: center; gap: .7rem;
}
.hn-contact-details i{ color: var(--gold-2); }

.hn-form{
  background: var(--white);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
}
.hn-form .form-label{ font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: .35rem; }
.hn-form .form-control, .hn-form .form-select{
  border: 1px solid var(--line); border-radius: 8px; padding: .65rem .8rem; font-size: .92rem;
}
.hn-form .form-control:focus, .hn-form .form-select:focus{
  border-color: var(--teal-2); box-shadow: 0 0 0 3px rgba(20,92,90,.12);
}
.hn-form-note{ margin: .8rem 0 0; font-size: .85rem; color: var(--teal-2); font-weight: 600; min-height: 1.2em; }

/* ---------- FOOTER ---------- */
.hn-footer{ background: var(--navy-3); padding: 1.75rem 0; }
.hn-footer-row{ display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hn-footer-row p{ color: rgba(255,255,255,.55); font-size: .85rem; margin: 0; }

/* ---------- SCROLL REVEAL ---------- */
[data-reveal]{
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--rd, 0ms);
}
[data-reveal].hn-in{ opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity: 1; transform: none; transition: none; }
  .hn-badge{ animation: none; }
  .hn-badge-checklist li{ opacity: 1; transform: none; animation: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991.98px){
  .hn-section{ padding: 4.5rem 0; }
  .hn-hero{ padding: 7.5rem 0 4rem; text-align: left; }
  .hn-badge-wrap{ margin-top: 1rem; }
  .hn-navbar .nav-link{ color: var(--white); }
  .hn-navbar.hn-scrolled, .hn-navbar{ background: rgba(11,31,58,0.98); }
}

@media (max-width: 575.98px){
  .hn-hero-title{ font-size: 2.1rem; }
  .hn-form{ padding: 1.4rem; }
}
