/* =========================================================
   CITRUS HR — STYLESHEET
   Edit colours in the :root block below to restyle the site.
   ========================================================= */

:root {
  /* ---- Brand colours (edit here) ---- */
  --citrus-orange: #F26A21;      /* exact colour from the logo asset */
  --citrus-orange-dark: #C94F12; /* hover / pressed state */
  --citrus-orange-soft: #FFF1E8; /* light tint for subtle accents */

  --charcoal: #171717;           /* primary text */
  --text-muted: #625E59;         /* secondary text */

  --background: #FFFDFC;         /* primary background */
  --background-soft: #F5F1EB;    /* secondary / alternating sections */
  --border: #E2DCD4;

  --white: #FFFFFF;

  /* ---- Type scale ---- */
  --font-display: 'Manrope', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* ---- Layout ---- */
  --container: 1180px;
  --radius-sm: 6px;
  --radius-md: 10px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body, h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--background);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--charcoal);
  line-height: 1.15;
  font-weight: 700;
}

h2 { font-size: clamp(1.7rem, 1.35rem + 1.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--charcoal); color: var(--white);
  padding: 12px 18px; z-index: 999; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

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

.section-inner, .header-inner, .footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 96px 0; }
.section-soft { background: var(--background-soft); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-lead {
  margin-top: 16px;
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 58ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  min-height: 48px;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--citrus-orange); color: var(--white); }
.btn-primary:hover { background: var(--citrus-orange-dark); }

.btn-ghost { background: transparent; color: var(--charcoal); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--charcoal); }

.btn-outline { background: transparent; color: var(--citrus-orange); border-color: var(--citrus-orange); }
.btn-outline:hover { background: var(--citrus-orange-soft); }

.btn-text { color: var(--charcoal); text-decoration: underline; text-underline-offset: 4px; padding-left: 6px; padding-right: 6px; }

.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-nav { padding: 11px 22px; min-height: 42px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }

.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-size: 0.96rem; font-weight: 600; color: var(--charcoal);
  position: relative; padding: 6px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--citrus-orange); transition: width .2s var(--ease);
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; align-items: center;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--charcoal); transition: transform .2s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 10px 28px 22px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.mobile-nav a { padding: 14px 4px; font-weight: 600; border-bottom: 1px solid var(--border); min-height: 44px; display: flex; align-items: center; }
.mobile-nav .btn { margin-top: 14px; }
.site-header.nav-open .mobile-nav { display: flex; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 90px; overflow: hidden; }
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-copy { max-width: 560px; }
.eyebrow-plain {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.3rem, 1.6rem + 3vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-sub {
  margin-top: 22px;
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 46ch;
}
.hero-cta-row { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-cta-row.centered { justify-content: center; }
.hero-since {
  margin-top: 26px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--citrus-orange-dark);
}
/* ---------- Hero refinement ---------- */
.hero {
  padding: 92px 0 105px;
  background:
    radial-gradient(circle at 82% 42%, rgba(242,106,33,0.08), transparent 30%),
    var(--background);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow-plain {
  color: var(--citrus-orange-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero h1 {
  font-size: clamp(2.7rem, 1.8rem + 3.5vw, 4.35rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.hero-sub {
  font-size: 1.2rem;
  line-height: 1.65;
  max-width: 50ch;
}

.hero-since {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-since::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--citrus-orange);
}


/* Hero visual: connected profile-node graphic */
.hero-visual {
  position: relative;
  min-height: 420px;
}
.flow-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.flow-line { stroke: var(--border); stroke-width: 1.5; }
.flow-node { fill: var(--white); stroke: var(--text-muted); stroke-width: 1.5; }
.flow-node-accent { fill: var(--citrus-orange); stroke: var(--citrus-orange); }

.profile-card {
  position: absolute;
  left: var(--x); top: var(--y);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  box-shadow: 0 8px 20px rgba(33, 29, 25, 0.06);
  min-width: 140px;
}
.pc-label {
  display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--citrus-orange-dark); margin-bottom: 4px;
}
.pc-title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }
.card-match { border-color: var(--citrus-orange); }

/* ---------- Credibility strip ---------- */
.credibility {
  background: var(--charcoal);
  position: relative;
}

.credibility-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 34px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.cred-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 28px;
  border-left: 1px solid rgba(255,255,255,0.14);
}

.cred-item:first-child {
  border-left: none;
  padding-left: 0;
}

.cred-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  color: var(--citrus-orange);
}

.cred-label {
  font-size: 0.82rem;
  color: #C9C3BB;
}

/* ---------- Hiring problem ---------- */
#problem .card-row {
  border-top: 1px solid var(--border);
}

#problem .tile {
  padding: 30px 28px 10px 0;
  border: none;
  border-radius: 0;
  border-right: 1px solid var(--border);
  transition: none;
}

#problem .tile:last-child {
  border-right: none;
  padding-right: 0;
}

#problem .tile:hover {
  transform: none;
  border-color: var(--border);
}

#problem .tile h3 {
  position: relative;
  padding-top: 18px;
}

#problem .tile h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 3px;
  background: var(--citrus-orange);
}

/* ---------- Why Citrus refinement ---------- */
#why {
  background: var(--charcoal);
}

#why h2 {
  color: var(--white);
  max-width: 760px;
}

#why .section-lead {
  color: #C9C3BB;
}

#why .feature {
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 20px;
}

#why .feature h3 {
  color: var(--white);
}

#why .feature p {
  color: #C9C3BB;
}

#why .feature::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background: var(--citrus-orange);
  border-radius: 50%;
  margin-bottom: 18px;
}

/* ---------- Industries refinement ---------- */
.industries-grid .industry-card {
  border-radius: 0;
  border: none;
  border-top: 1px solid var(--border);
  background: transparent;
  padding: 24px 8px 24px 0;
}

.industries-grid .industry-card:hover {
  transform: none;
  border-color: var(--citrus-orange);
}

.industries-grid .industry-card h3 {
  font-size: 1.02rem;
}

.ind-icon {
  width: 26px;
  height: 26px;
}

/* ---------- Card grids / rows ---------- */
.card-row, .card-grid {
  display: grid; gap: 24px;
}
.three-up { grid-template-columns: repeat(3, 1fr); }
.four-up { grid-template-columns: repeat(4, 1fr); }
.six-up { grid-template-columns: repeat(3, 1fr); }

.tile {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.tile:hover { border-color: var(--citrus-orange); transform: translateY(-3px); }
.tile h3 { margin-bottom: 10px; }
.tile p { color: var(--text-muted); }

.service-card, .industry-card {
  padding: 28px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.service-card:hover, .industry-card:hover { border-color: var(--citrus-orange); transform: translateY(-3px); }
.service-icon { width: 32px; height: 32px; color: var(--citrus-orange); margin-bottom: 16px; }
.service-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.service-card p { color: var(--text-muted); font-size: 0.96rem; }

.industries-grid .industry-card { display: flex; align-items: center; gap: 16px; padding: 22px 24px; background: var(--background-soft); border-color: var(--border); }
.ind-icon { width: 28px; height: 28px; color: var(--citrus-orange-dark); flex-shrink: 0; }
.industry-card h3 { font-size: 1rem; font-weight: 700; }

.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: 0.98rem; }
.feature { border-top: 2px solid var(--citrus-orange); padding-top: 18px; }

/* ---------- Timeline (How We Work) ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 14px; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.timeline-step { position: relative; padding-top: 44px; }
.tl-index {
  position: absolute; top: 0; left: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--citrus-orange);
  color: var(--citrus-orange-dark);
  font-family: var(--font-display); font-weight: 800; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
}
.timeline-step h3 { margin-bottom: 8px; font-size: 1.05rem; }
.timeline-step p { color: var(--text-muted); font-size: 0.94rem; }

/* ---------- Employer section ---------- */
.section-employer { background: var(--charcoal); color: var(--white); }
.section-employer h2, .section-employer .form-title { color: var(--white); }
.section-employer .section-lead { color: #C9C3BB; }
.employer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.employer-copy { padding-top: 12px; }

.enquiry-form {
  background: var(--white);
  color: var(--charcoal);
  border-radius: var(--radius-md);
  padding: 32px;
}
.form-title { margin-bottom: 20px; }
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.88rem; font-weight: 600; color: var(--text-muted); }
.form-row input, .form-row textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  min-height: 46px;
  font-size: 0.98rem;
  background: var(--background-soft);
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--citrus-orange); background: var(--white); }
.form-row-half { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-half > div { display: flex; flex-direction: column; gap: 6px; }
.form-status { margin-top: 14px; font-size: 0.9rem; color: var(--text-muted); min-height: 20px; }

/* ---------- Candidate section ---------- */
.section-candidate { background: var(--citrus-orange-soft); text-align: center; }
.section-candidate .section-head { margin: 0 auto 36px; }

/* ---------- Insights ---------- */
.insight-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.insight-card:hover { border-color: var(--citrus-orange); transform: translateY(-3px); }
.insight-cat { font-size: 0.78rem; font-weight: 700; color: var(--citrus-orange-dark); }
.insight-card h3 { font-size: 1.05rem; }
.insight-card p { color: var(--text-muted); font-size: 0.94rem; flex-grow: 1; }
.read-more { font-weight: 700; color: var(--citrus-orange-dark); font-size: 0.92rem; }

/* ---------- About ---------- */
.about-inner { text-align: left; }
.about-inner .section-head { margin: 0; max-width: 680px; }
.about-inner .btn { margin-top: 22px; }

#about {
  padding-top: 105px;
  padding-bottom: 105px;
}

#about .section-head {
  max-width: 720px;
}

#about h2 {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  max-width: 650px;
}

#about .section-lead {
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ---------- Final CTA ---------- */
.final-cta { background: var(--background-soft); text-align: center; }
.final-cta-inner { max-width: 640px; margin: 0 auto; }
.final-sub { margin-top: 14px; font-size: 1.15rem; color: var(--text-muted); font-weight: 500; }
.final-cta-inner .hero-cta-row { margin-top: 30px; }

/* ---------- Final CTA — strong visual separation ---------- */
.final-cta {
  background: var(--citrus-orange);
  text-align: center;
}

.final-cta h2 {
  color: var(--white);
}

.final-sub {
  color: rgba(255,255,255,0.9);
}

.final-cta .btn-primary {
  background: var(--charcoal);
  color: var(--white);
}

.final-cta .btn-primary:hover {
  background: #000000;
}

.final-cta .btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}

.final-cta .btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #D8D2C9; padding-top: 64px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-logo { width: 36px; height: 36px; border-radius: 6px; margin-bottom: 14px; }
.footer-tagline { font-weight: 600; color: var(--white); margin-bottom: 14px; }
.footer-contact { font-size: 0.92rem; line-height: 1.8; }
.footer-contact a:hover { color: var(--citrus-orange); }
.footer-col h4 { color: var(--white); font-size: 0.92rem; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.92rem; padding: 6px 0; color: #C9C3BB; }
.footer-col a:hover { color: var(--citrus-orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 28px;
  max-width: var(--container);
  margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.84rem; color: #9C958B;
}
.footer-bottom a:hover { color: var(--citrus-orange); }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
  transition: transform .18s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.06); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 320px; order: -1; }
  .six-up { grid-template-columns: repeat(2, 1fr); }
  .four-up { grid-template-columns: repeat(2, 1fr); }
  .employer-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline::before { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 68px 0; }
  .credibility-inner { grid-template-columns: repeat(2, 1fr); }
  .three-up { grid-template-columns: 1fr; }
  .six-up { grid-template-columns: 1fr; }
  .four-up { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .form-row-half { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .header-inner { height: 68px; }
  .brand-word { font-size: 1.02rem; }
  .hero { padding: 48px 0 60px; }
  .hero-visual { min-height: 260px; }
  .profile-card { min-width: 118px; padding: 10px 12px; }
  .pc-title { font-size: 0.84rem; }
  .btn-lg { padding: 13px 22px; font-size: 0.95rem; }
  .enquiry-form { padding: 24px 20px; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}


