/* Shared styles for Careers, Workplace Services and Recruiter pages.
   Matches the colors and type of the homepage. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue:#2563eb; --blue-dark:#1d57c7; --blue-light:#60a5fa; --blue-pale:#eff6ff;
  --navy:#0d1b2a; --navy-2:#142233; --navy-3:#1a2d40;
  --white:#ffffff; --off-white:#f4f8ff;
  --text-dark:#111827; --text-muted:#6b7280; --border-light:#dde6f5;
  --green:#15803d; --green-pale:#e8f6ee; --amber:#b45309; --amber-pale:#fdf3e2; --red:#b91c1c; --red-pale:#fdecec;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); background: var(--white); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

/* header (same as homepage) */
header.site {
  position: sticky; top: 0; z-index: 200; background: var(--white);
  border-bottom: 3px solid var(--blue);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%; height: 78px; box-shadow: 0 2px 16px rgba(37,99,235,.1);
}
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-wrap img { height: 42px; width: auto; }
.logo-text { font-size: 1.5rem; font-weight: 800; letter-spacing: .5px; }
.logo-text span { color: var(--blue); }
header.site nav { display: flex; gap: 28px; align-items: center; }
header.site nav a { color: rgba(17,24,39,.65); font-size: .9rem; font-weight: 500; transition: color .2s; }
header.site nav a:hover, header.site nav a.active { color: var(--blue); }
.btn-nav { background: var(--blue); color: var(--white) !important; padding: 10px 22px; border-radius: 6px; font-weight: 700 !important; font-size: .88rem !important; }
.btn-nav:hover { background: var(--blue-dark); }

/* page hero */
.page-hero { background: var(--navy); color: var(--white); padding: 72px 6% 64px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--blue); }
.page-hero .inner { max-width: 1120px; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; background: rgba(37,99,235,.15); border: 1px solid rgba(37,99,235,.4); border-radius: 30px; padding: 6px 16px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--blue-light); margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.1; margin-bottom: 14px; letter-spacing: -.5px; }
.page-hero h1 span { color: var(--blue-light); }
.page-hero p.lead { color: rgba(255,255,255,.68); max-width: 640px; font-size: 1.05rem; line-height: 1.75; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 6%; }
section.block { padding: 72px 6%; }
.label-tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; color: var(--blue); border-left: 3px solid var(--blue); padding-left: 10px; margin-bottom: 14px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.section-title span { color: var(--blue); }
.muted { color: var(--text-muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; border-radius: 8px; font-weight: 700; font-size: .95rem; cursor: pointer; border: none; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37,99,235,.3); }
.btn-primary:disabled { opacity: .6; cursor: wait; transform: none; box-shadow: none; }
.btn-outline { background: var(--white); color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue-pale); }
.btn-sm { padding: 8px 16px; font-size: .85rem; }

/* chips */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--blue); background: rgba(37,99,235,.08); border: 1px solid rgba(37,99,235,.2); padding: 4px 12px; border-radius: 20px; white-space: nowrap; }
.chip.grey { color: var(--text-muted); background: var(--off-white); border-color: var(--border-light); }

/* forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-size: .85rem; font-weight: 600; color: var(--text-dark); }
.field .hint { font-size: .78rem; color: var(--text-muted); font-weight: 400; }
.req { color: var(--blue); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=url], input[type=date], input[type=password], select, textarea {
  width: 100%; border: 1px solid var(--border-light); border-radius: 8px; padding: 11px 13px; background: var(--white); font-size: .95rem; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
textarea { min-height: 110px; resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.yesno { display: flex; gap: 10px; margin-top: 2px; }
.yesno label { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border-light); border-radius: 8px; padding: 9px 18px; cursor: pointer; font-weight: 500; font-size: .9rem; }
.yesno input { accent-color: var(--blue); }
.yesno label:has(input:checked) { border-color: var(--blue); background: var(--blue-pale); color: var(--blue); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checks label { display: flex; align-items: flex-start; gap: 10px; border: 1px solid var(--border-light); border-radius: 8px; padding: 10px 12px; cursor: pointer; font-size: .88rem; font-weight: 500; line-height: 1.4; }
.checks input { accent-color: var(--blue); margin-top: 2px; }
.checks label:has(input:checked) { border-color: var(--blue); background: var(--blue-pale); }
.drop { border: 2px dashed var(--blue); background: var(--blue-pale); border-radius: 12px; padding: 22px; text-align: center; cursor: pointer; transition: background .2s; }
.drop:hover, .drop.over { background: #e3edff; }
.drop strong { color: var(--blue); }
.drop .file-name { margin-top: 6px; font-weight: 600; color: var(--text-dark); font-size: .9rem; }
.form-error { background: var(--red-pale); color: var(--red); border-radius: 8px; padding: 10px 14px; font-size: .9rem; display: none; }
.form-error.show { display: block; }

/* footer */
footer.site { background: var(--navy); border-top: 3px solid var(--blue); padding: 40px 6% 26px; color: rgba(255,255,255,.55); font-size: .85rem; }
footer.site .row { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer.site a { color: rgba(255,255,255,.7); }
footer.site a:hover { color: var(--blue-light); }
footer.site .links { display: flex; gap: 22px; flex-wrap: wrap; }

/* mobile menu button */
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--border-light); border-radius: 8px; background: var(--white); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--text-dark); transition: transform .2s, opacity .2s; }
.menu-btn.x span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.x span:nth-child(2) { opacity: 0; }
.menu-btn.x span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* full footer */
footer.site-full { background: var(--navy); border-top: 3px solid var(--blue); padding: 56px 6% 28px; }
.ft-top { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ft-brand img { height: 36px; width: auto; margin-bottom: 14px; }
.ft-brand p { font-size: .85rem; color: rgba(255,255,255,.45); line-height: 1.75; max-width: 300px; }
.ft-col h4 { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.8px; color: var(--blue-light); margin-bottom: 14px; }
.ft-col a { display: block; font-size: .86rem; color: rgba(255,255,255,.55); margin-bottom: 9px; }
.ft-col a:hover { color: var(--blue-light); }
.ft-col address { font-style: normal; font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.8; margin-bottom: 8px; }
.ft-bottom { max-width: 1120px; margin: 24px auto 0; text-align: center; font-size: .78rem; color: rgba(255,255,255,.28); }

@media (max-width: 1080px) {
  header.site .menu-btn { display: flex; }
  header.site nav#main-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 6% 18px; border-bottom: 3px solid var(--blue); box-shadow: 0 16px 30px rgba(13,27,42,.12); }
  header.site nav#main-nav.open { display: flex; }
  header.site nav#main-nav a { display: block !important; padding: 13px 0; border-bottom: 1px solid var(--border-light); font-size: 1rem; }
  header.site nav#main-nav a.btn-nav { margin-top: 12px; text-align: center; border-bottom: none; }
  .ft-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  header.site { padding: 0 4%; }
  .ft-top { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .checks { grid-template-columns: 1fr; }
  section.block { padding: 52px 4%; }
  .page-hero { padding: 52px 4% 48px; }
  .wrap { padding: 0 4%; }
}
