/* staffing/staffing.css
   Staffing page styles
   Uses variables from ../css/style.css
*/

/* =========================
   HERO SECTION
========================= */

.st-hero {
  padding: 96px 0 56px;
}

.st-hero .wrap {
  display: block;
}

.st-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.08;
  max-width: 860px;
  margin: 14px 0 0;
}

.st-hero p.lede {
  color: var(--muted);
  max-width: 660px;
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.6;
}

.st-hero .hero-actions {
  margin-top: 28px;
}

/* =========================
   GENERAL SECTIONS
========================= */

.st-sec {
  padding: 56px 0;
}

.st-sec h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.4vw, 38px);
  margin: 0 0 8px;
}

.st-sec p.sub {
  color: var(--muted);
  max-width: 720px;
  line-height: 1.6;
  margin: 0 0 6px;
}

/* =========================
   SERVICE GRID
========================= */

.st-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.st-card {
  display: block;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

a.st-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.st-card h3 {
  font-family: var(--font-head);
  font-size: 19px;
  margin: 0 0 8px;
}

.st-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

/* =========================
   SERVICE DETAIL BLOCKS
========================= */

.st-block {
  border-top: 1px solid var(--border);
  padding: 34px 0;
  scroll-margin-top: 90px;
}

.st-block h2 {
  font-family: var(--font-head);
  font-size: 26px;
  margin: 0 0 10px;
}

.st-block p {
  color: var(--muted);
  line-height: 1.65;
  max-width: 760px;
  margin: 0 0 10px;
}

.st-block .st-best {
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
}

/* =========================
   INFORMATION BLOCK
========================= */

.st-info {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 8px 18px;
  margin-top: 18px;
  max-width: 640px;
}

.st-info dt {
  color: var(--muted);
}

.st-info dd {
  margin: 0;
}

/* =========================
   FORM
========================= */

.st-form {
  max-width: 640px;
  margin-top: 24px;
}

.st-form .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.st-form .hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.st-form .field textarea {
  min-height: 130px;
  resize: vertical;
}

/* =========================
   ALL FORM CONTROLS
========================= */

.st-form input,
.st-form select,
.st-form textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  font-family: inherit;
  font-size: 16px;
}

/* ---------- Select: closed state ---------- */

.st-form select {
  display: block;
  min-height: 54px;
  padding: 14px 42px 14px 16px;

  background-color: #1c2433;
  color: #f8fafc;

  border: 1px solid rgba(45, 212, 191, 0.55);
  border-radius: 14px;

  line-height: 1.5;
  cursor: pointer;
  opacity: 1;

  /* makes the native popup render in dark mode too */
  color-scheme: dark;
}

/* ---------- Select: dropdown options (dark bg + light text) ---------- */

.st-form select option {
  background-color: #1c2433;
  color: #f8fafc;
  font-family: inherit;
  font-size: 16px;
}

/* Placeholder option ("Select a service") */
.st-form select option[value=""] {
  color: #aab4c5;
}

/* Highlighted / selected option */
.st-form select option:checked {
  background-color: #1f6feb;
  color: #ffffff;
}

/* Hover and focus */

.st-form select:hover {
  border-color: var(--teal);
}

.st-form select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}

/* ---------- Input and textarea ---------- */

.st-form input,
.st-form textarea {
  background-color: #1c2433;
  color: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}

.st-form input::placeholder,
.st-form textarea::placeholder {
  color: #aab4c5;
  opacity: 1;
}

.st-form input:focus,
.st-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.12);
}

/* =========================
   FOOTER LINKS
========================= */

.st-foot-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.st-foot-links a {
  color: var(--muted);
  text-decoration: none;
}

.st-foot-links a:hover {
  color: var(--text);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 640px) {
  .st-hero {
    padding: 64px 0 36px;
  }

  .st-form .row2 {
    grid-template-columns: 1fr;
  }

  .st-info {
    grid-template-columns: 1fr;
  }

  .st-form select {
    font-size: 16px;
  }
}