/* =========================================
   service.css v2 — shared service page styles
   Light backgrounds · Bold dark foreground
   ========================================= */

/* ---- Service Hero (dark panels — only hero keeps dark bg) ---- */
.service-hero {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  position: relative;
}
.service-hero--navy       { background-color: #122840; }
.service-hero--navy-deep  { background-color: #0D1F33; }
.service-hero--navy-slate { background-color: #0F2540; }
.service-hero--forest     { background-color: #0A2A22; }

.service-hero__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.service-hero__h {
  font-size: clamp(30px, 4vw, 52px);
  color: #fff;
  margin-bottom: 1.25rem;
}
.service-hero__h em { font-style: italic; opacity: 0.45; }
.service-hero__p {
  font-size: clamp(14px, 1.5vw, 16px);
  color: rgba(255,255,255,.62);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2rem;
}
.service-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Stat stack inside hero */
.service-hero__stat-stack {
  display: flex; flex-direction: column;
  gap: 1px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-width: 185px;
}
.hero-stat {
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hero-stat:last-child { border-bottom: none; }
.hero-stat__n {
  font-family: var(--ff-display);
  font-size: 32px; color: #fff; line-height: 1; margin-bottom: 3px;
}
.hero-stat__l { font-size: 12px; color: rgba(255,255,255,.48); font-weight: 500; }

/* ---- Background helpers ---- */
.bg-off         { background: var(--bg-muted); }
.bg-navy-pale   { background: var(--navy-pale); }
.bg-forest-pale { background: var(--forest-pale); }
.bg-brown-pale  { background: var(--brown-pale); }

/* ---- Two / three col layout ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: end;
}
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ---- Feature cards ---- */
.feature-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: box-shadow .25s, transform .25s;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-card__badge {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 1rem;
}
.feature-card h3 { font-size: 19px; margin-bottom: 0.75rem; color: var(--ink); }
.feature-card p  { font-size: 14px; color: var(--ink-60); line-height: 1.7; margin-bottom: 1.25rem; }
.feature-list { padding-left: 1rem; }
.feature-list li {
  font-size: 13px; font-weight: 500; color: var(--ink-60);
  padding: 0.3rem 0; list-style: none; position: relative;
}
.feature-list li::before { content: '—'; position: absolute; left: -1rem; color: var(--ink-40); }

/* ---- Roles grid ---- */
.roles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.role-group h4 { font-size: 14px; font-weight: 700; margin-bottom: 0.75rem; color: var(--ink); }
.role-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---- Process steps ---- */
.process-steps {
  display: flex; flex-direction: column;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-surface);
}
.process-step {
  display: flex; align-items: flex-start;
  gap: 1.5rem; padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.process-step:last-child { border-bottom: none; }
.process-step:hover { background: var(--bg-muted); }
.process-step__num {
  font-family: var(--ff-display);
  font-size: 28px; color: var(--navy-light);
  min-width: 36px; line-height: 1; padding-top: 2px;
}
.process-step h4 { font-size: 15px; margin-bottom: 0.3rem; color: var(--ink); }
.process-step p  { font-size: 14px; color: var(--ink-60); line-height: 1.65; }

/* ---- Contact grid ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.contact-detail {
  display: flex; flex-direction: column; gap: 3px;
  margin-bottom: 1rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-of-type { border-bottom: none; }
.contact-detail__label {
  font-size: 11px; font-weight: 700; color: var(--ink-40);
  text-transform: uppercase; letter-spacing: 0.7px;
}
.contact-detail__value { font-size: 15px; font-weight: 600; color: var(--ink); }
.contact-detail a { color: var(--navy-mid); }
.contact-form { background: var(--bg-surface); }

/* ---- Services detail grid ---- */
.services-detail-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.service-detail-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: box-shadow .25s, transform .25s;
}
.service-detail-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-detail-card__icon {
  font-size: 22px; margin-bottom: 0.75rem;
  display: block; color: var(--navy);
}
.service-detail-card h3 { font-size: 17px; margin-bottom: 0.75rem; color: var(--ink); }
.service-detail-card p  { font-size: 14px; color: var(--ink-60); line-height: 1.7; margin-bottom: 1rem; }
.sla-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 4px 10px; background: var(--navy-light); color: var(--navy);
  border-radius: 999px;
}

/* ---- SLA Table ---- */
.sla-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1.5px solid var(--border); }
.sla-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sla-table th {
  background: var(--bg-muted); padding: 12px 18px; text-align: left;
  font-size: 11px; font-weight: 700; color: var(--ink-60);
  text-transform: uppercase; letter-spacing: 0.6px;
  border-bottom: 1.5px solid var(--border);
}
.sla-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); color: var(--ink); font-weight: 500; }
.sla-table tr:last-child td { border-bottom: none; }
.sla-table tr:hover td { background: var(--bg-muted); }
.priority-badge {
  display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
}
.priority-badge--p1 { background: #FCEBEB; color: #8B1A1A; }
.priority-badge--p2 { background: var(--brown-light); color: var(--brown); }
.priority-badge--p3 { background: var(--navy-light); color: var(--navy); }
.priority-badge--p4 { background: var(--bg-muted); color: var(--ink-60); }

/* ---- Delivery pillars ---- */
.delivery-pillars {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.delivery-pillar {
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
}
.delivery-pillar__icon {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 0.75rem;
}
.delivery-pillar h4 { font-size: 14px; margin-bottom: 0.35rem; color: var(--ink); }
.delivery-pillar p  { font-size: 13px; color: var(--ink-60); line-height: 1.65; }

/* ---- Capabilities grid ---- */
.capabilities-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.capability-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); padding: 2rem;
  transition: box-shadow .25s, transform .25s;
}
.capability-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.capability-card__label {
  font-family: var(--ff-display);
  font-size: 36px; color: var(--bg-subtle);
  margin-bottom: 0.5rem; line-height: 1;
}
.capability-card h3 { font-size: 18px; margin-bottom: 0.75rem; color: var(--ink); }
.capability-card p  { font-size: 14px; color: var(--ink-60); line-height: 1.7; margin-bottom: 1.25rem; }
.tech-stack { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---- About hero ---- */
.about-hero {
  background-color: #0D1C2B;
  padding: clamp(5rem, 10vw, 9rem) 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.about-hero__inner { max-width: 760px; }
.about-hero__h {
  font-size: clamp(30px, 5vw, 58px);
  color: #fff; margin-bottom: 1.5rem;
}
.about-hero__h em { font-style: italic; opacity: 0.45; }
.about-hero__p {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255,255,255,.65); line-height: 1.75;
}

/* ---- Acronym cards ---- */
.name-meaning__intro { margin-bottom: 2.5rem; }
.acro-cards {
  display: flex; flex-direction: column;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  background: var(--bg-surface);
}
.acro-card {
  display: flex; align-items: flex-start; gap: 1.5rem;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.acro-card:last-child { border-bottom: none; }
.acro-card:hover { background: var(--bg-muted); }
.acro-card__letter {
  font-family: var(--ff-display);
  font-size: 40px; min-width: 40px; line-height: 1;
}
.acro-card h4 { font-size: 15px; margin-bottom: 0.25rem; color: var(--ink); }
.acro-card p  { font-size: 13px; color: var(--ink-60); line-height: 1.65; }

/* ---- Values grid ---- */
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.value-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
}
.value-card__icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 1rem;
}
.value-card h3 { font-size: 18px; margin-bottom: 0.5rem; color: var(--ink); }
.value-card p  { font-size: 14px; color: var(--ink-60); line-height: 1.7; }

/* ---- Accreditations ---- */
.accred-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start;
}
.accred-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.accred-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
}
.accred-card__badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; margin-bottom: 0.75rem;
}
.accred-card h4 { font-size: 15px; margin-bottom: 0.4rem; color: var(--ink); }
.accred-card p  { font-size: 13px; color: var(--ink-60); line-height: 1.65; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .three-col, .capabilities-grid, .services-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-pillars { grid-template-columns: repeat(2, 1fr); }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .service-hero__inner { grid-template-columns: 1fr; }
  .service-hero__stat-stack {
    flex-direction: row; min-width: auto;
    border-radius: var(--radius-lg);
  }
  .hero-stat {
    border-bottom: none;
    border-right: 1px solid rgba(255,255,255,.08);
    flex: 1;
  }
  .hero-stat:last-child { border-right: none; }
  .two-col { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .values-grid { grid-template-columns: repeat(2,1fr); }
  .accred-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .three-col, .capabilities-grid, .services-detail-grid,
  .roles-grid, .delivery-pillars, .values-grid, .accred-cards { grid-template-columns: 1fr; }
  .service-hero__stat-stack { flex-direction: column; }
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .process-step { gap: 1rem; padding: 1.25rem; }
  .acro-card { gap: 1rem; padding: 1rem 1.25rem; }
}

/* ---- Hero background images ---- */

/* Overlay: gradient is baked into each hero-img-- rule below */

/* ---- Per-page hero images (set via class on section) ---- */










/* ---- Per-page hero images — local SVG files (gradient overlay baked in) ---- */
.hero-img--staffing    { background-image: linear-gradient(105deg, rgba(18,40,64,.80) 0%, rgba(18,40,64,.60) 55%, rgba(18,40,64,.30) 100%),   url('../img/heroes/hero-staffing.svg'); }
.hero-img--support     { background-image: linear-gradient(105deg, rgba(18,40,64,.80) 0%, rgba(18,40,64,.60) 55%, rgba(18,40,64,.30) 100%),   url('../img/heroes/hero-support.svg'); }
.hero-img--dev         { background-image: linear-gradient(105deg, rgba(18,40,64,.80) 0%, rgba(18,40,64,.60) 55%, rgba(18,40,64,.30) 100%),   url('../img/heroes/hero-dev.svg'); }
.hero-img--counselling { background-image: linear-gradient(105deg, rgba(10,42,34,.82) 0%, rgba(10,42,34,.62) 55%, rgba(10,42,34,.32) 100%), url('../img/heroes/hero-counselling.svg'); }
.hero-img--resources   { background-image: linear-gradient(105deg, rgba(10,42,34,.82) 0%, rgba(10,42,34,.62) 55%, rgba(10,42,34,.32) 100%), url('../img/heroes/hero-resources.svg'); }
.hero-img--legacy      { background-image: linear-gradient(105deg, rgba(10,42,34,.82) 0%, rgba(10,42,34,.62) 55%, rgba(10,42,34,.32) 100%), url('../img/heroes/hero-legacy.svg'); }
.hero-img--about       { background-image: linear-gradient(105deg, rgba(18,40,64,.80) 0%, rgba(18,40,64,.60) 55%, rgba(18,40,64,.30) 100%),   url('../img/heroes/hero-about.svg'); }

/* About page hero (full gradient + image) */
.hero-img--about-section {
  background-image:
    linear-gradient(105deg, rgba(13,28,43,.78) 0%, rgba(26,58,92,.60) 45%, rgba(13,59,46,.45) 100%),
    url('../img/heroes/hero-about.svg');
  background-size: cover;
  background-position: center right;
}
