/* ============================================================
   KIT — Subpage shared styles
   Reuses tokens from style.css:
   --primary, --secondary, --accent, --dark, --light
   ============================================================ */

/* ---- Page hero (compact, image+overlay) ---- */
.page-hero {
  position: relative;
  padding: 140px 0 70px;
  color: #fff;
  background-color: var(--primary);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
/* Dark, uniform overlay so hero text is always legible regardless of image */
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,43,70,.96) 0%, rgba(15,43,70,.88) 55%, rgba(15,43,70,.75) 100%);
  pointer-events: none;
  z-index: 1;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(800px 300px at 80% 0%, rgba(0,163,224,.15), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 14px;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}
.page-hero h1 span { color: #FFD166; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.page-hero .section-eyebrow,
.page-hero .section-eyebrow[style] {
  color: #FFD166 !important;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.page-hero p.lead {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 760px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
  margin-bottom: 22px;
}
.page-hero .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Breadcrumb ---- */
.breadcrumb-kbit {
  background: var(--light);
  border-bottom: 1px solid #e5ebf2;
  padding: 14px 0;
  font-size: .9rem;
}
.breadcrumb-kbit ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.breadcrumb-kbit li { color: #6b7280; }
.breadcrumb-kbit li + li::before {
  content: "›"; margin-right: 6px; color: #9ca3af;
}
.breadcrumb-kbit a { color: var(--primary); text-decoration: none; font-weight: 500; }
.breadcrumb-kbit a:hover { color: var(--secondary); }
.breadcrumb-kbit li[aria-current="page"] { color: var(--dark); font-weight: 600; }

/* ---- Generic page section ---- */
.page-section { padding: 70px 0; }
.page-section.bg-soft { background: var(--light); }
.section-eyebrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--secondary);
  font-size: .82rem;
  margin-bottom: 8px;
}
.section-title-2 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--primary);
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.section-lead {
  font-family: 'DM Sans', sans-serif;
  color: #4b5563;
  max-width: 780px;
  margin-bottom: 36px;
}

/* ---- Detail grid (icon + text tiles) ---- */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.detail-tile {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  padding: 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.detail-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 38px rgba(15,43,70,.10);
  border-color: rgba(0,163,224,.35);
}
.detail-tile .icon {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #fff; font-size: 1.2rem;
  margin-bottom: 14px;
}
.detail-tile h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--primary); margin-bottom: 8px;
}
.detail-tile p {
  font-family: 'DM Sans', sans-serif;
  color: #4b5563; font-size: .95rem;
  margin: 0;
}

/* ---- Two-column feature row ---- */
.feature-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.feature-row.reverse { grid-template-columns: 1fr 1.1fr; }
.feature-row img { width: 100%; border-radius: 16px; box-shadow: 0 18px 40px rgba(15,43,70,.12); }
.feature-row ul.checks { list-style: none; padding: 0; margin: 16px 0 0; }
.feature-row ul.checks li { padding: 8px 0 8px 28px; position: relative; color: #374151; font-family: 'DM Sans', sans-serif; }
.feature-row ul.checks li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 9px;
  color: var(--accent);
}
@media (max-width: 768px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
}

/* ---- Tech / chip pills ---- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.chip {
  padding: 7px 14px; border-radius: 999px;
  background: rgba(0,163,224,.08); color: var(--primary);
  font-family: 'DM Sans', sans-serif; font-size: .88rem; font-weight: 600;
  border: 1px solid rgba(0,163,224,.18);
}

/* ---- CTA strip ---- */
.cta-strip {
  background: linear-gradient(135deg, var(--primary), #163a5f 60%, var(--secondary));
  color: #fff; padding: 50px 0;
  border-radius: 18px;
  margin: 30px auto;
}
.cta-strip h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 800; color: #fff;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: 8px;
}
.cta-strip p { color: rgba(255,255,255,.92); margin-bottom: 18px; }
.cta-strip .btn-primary-custom { background: var(--accent); border-color: var(--accent); color: var(--primary); }
.cta-strip .btn-primary-custom:hover { background: #fff; border-color: #fff; }

/* ---- Job card ---- */
.job-card {
  background: #fff;
  border: 1px solid #eef2f7;
  border-left: 4px solid var(--secondary);
  border-radius: 12px;
  padding: 22px 24px;
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
  display: flex; flex-direction: column;
}
.job-card:hover { transform: translateY(-4px); box-shadow: 0 14px 38px rgba(15,43,70,.10); }
.job-card .job-tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--secondary); margin-bottom: 8px;
}
.job-card h3 {
  font-family: 'Inter', sans-serif; font-weight: 700;
  color: var(--primary); font-size: 1.15rem; margin-bottom: 6px;
}
.job-card .job-meta {
  font-family: 'DM Sans', sans-serif; font-size: .88rem;
  color: #6b7280; margin-bottom: 12px;
  display: flex; flex-wrap: wrap; gap: 10px 16px;
}
.job-card .job-meta span i { color: var(--secondary); margin-right: 5px; }
.job-card p { color: #4b5563; font-family: 'DM Sans', sans-serif; flex-grow: 1; }
.job-card .job-actions { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.job-card .job-actions .btn-apply {
  background: var(--primary); color: #fff;
  padding: 8px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: .9rem;
  transition: background .2s ease;
}
.job-card .job-actions .btn-apply:hover { background: var(--secondary); color: #fff; }
.job-card .job-actions .btn-detail {
  border: 1px solid #d1d5db; color: var(--primary);
  padding: 8px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: .9rem;
}
.job-card .job-actions .btn-detail:hover { border-color: var(--secondary); color: var(--secondary); }

/* ---- Why-work tiles ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.why-tile {
  background: #fff; padding: 22px;
  border-radius: 14px; border: 1px solid #eef2f7;
  text-align: center;
}
.why-tile .icon-circle {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #fff; font-size: 1.4rem;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.why-tile h4 {
  font-family: 'Inter', sans-serif; color: var(--primary);
  font-weight: 700; font-size: 1.05rem; margin-bottom: 6px;
}
.why-tile p { color: #4b5563; font-family: 'DM Sans', sans-serif; font-size: .92rem; margin: 0; }

/* ---- Hiring process steps ---- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  counter-reset: step;
}
.process-step {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  padding: 22px 18px 18px;
  position: relative;
}
.process-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: -16px; left: 18px;
  width: 36px; height: 36px;
  background: var(--primary); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: 'Inter', sans-serif;
  box-shadow: 0 6px 18px rgba(15,43,70,.25);
}
.process-step h4 {
  font-family: 'Inter', sans-serif; color: var(--primary);
  font-weight: 700; font-size: 1rem;
  margin: 6px 0 6px;
}
.process-step p { color: #4b5563; font-family: 'DM Sans', sans-serif; font-size: .9rem; margin: 0; }

/* ---- Apply form ---- */
.apply-form {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 14px 40px rgba(15,43,70,.10);
  border: 1px solid #eef2f7;
}
.apply-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 16px;
}
.apply-form .form-row.full { grid-template-columns: 1fr; }
@media (max-width: 640px) {
  .apply-form .form-row { grid-template-columns: 1fr; }
  .apply-form { padding: 22px; }
}
.apply-form label {
  display: block;
  font-family: 'Inter', sans-serif; font-weight: 600;
  color: var(--primary); font-size: .9rem;
  margin-bottom: 6px;
}
.apply-form label .req { color: #e11d48; }
.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0,163,224,.15);
}
.apply-form textarea { resize: vertical; min-height: 120px; }
.apply-form .consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: 'DM Sans', sans-serif; color: #4b5563; font-size: .88rem;
}
.apply-form .consent input { width: auto; margin-top: 4px; }
.apply-form .form-note {
  background: rgba(0,163,224,.07);
  border-left: 3px solid var(--secondary);
  padding: 10px 14px; border-radius: 8px;
  font-family: 'DM Sans', sans-serif; color: #374151; font-size: .9rem;
  margin-bottom: 16px;
}
.apply-form button[type="submit"] {
  background: var(--primary);
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.apply-form button[type="submit"]:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

/* ---- KPI strip (industry pages) ---- */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  background: #fff; border-radius: 14px;
  padding: 24px; border: 1px solid #eef2f7;
}
.kpi-strip .kpi { text-align: center; }
.kpi-strip .kpi .num {
  font-family: 'Inter', sans-serif; font-weight: 800;
  color: var(--primary); font-size: 1.8rem;
}
.kpi-strip .kpi .lbl {
  font-family: 'DM Sans', sans-serif; color: #6b7280;
  font-size: .85rem;
}

/* ---- FAQ accordion (lightweight, no Bootstrap dependency) ---- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid #eef2f7;
  border-radius: 12px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 16px 20px;
  font-family: 'Inter', sans-serif; font-weight: 600;
  color: var(--primary);
  list-style: none;
  position: relative;
}
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 14px;
  font-size: 1.4rem; color: var(--secondary);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body {
  padding: 0 20px 18px; color: #4b5563;
  font-family: 'DM Sans', sans-serif;
}
