/* WeApply design system
   Brand: deep navy #071433 and gold #EFAA0C, sampled from the client logo.
   Plain hand-coded CSS, no frameworks. All paths relative for portability. */

:root {
  --navy: #071433;
  --navy-2: #0d2350;
  --navy-3: #14305f;
  --gold: #efaa0c;
  --gold-dark: #c78d05;
  --ink: #1c2733;
  --muted: #5a6a7e;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --line: #dfe5ee;
  --radius: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

img { max-width: 100%; }

a { color: var(--navy-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand img { height: 52px; width: auto; display: block; }

.nav-toggle {
  display: none;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 16px;
  cursor: pointer;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}
.main-nav li { position: relative; }
.main-nav a {
  display: block;
  padding: 9px 11px;
  color: var(--navy);
  font-weight: 600;
  font-size: 15.5px;
  border-radius: 8px;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--bg-soft); text-decoration: none; }
.main-nav .has-sub > a::after { content: " \25BE"; color: var(--gold-dark); }

.main-nav .sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(7, 20, 51, 0.16);
  min-width: 250px;
  padding: 8px;
  flex-direction: column;
  align-items: stretch;
  z-index: 60;
}
.main-nav li:hover .sub,
.main-nav li:focus-within .sub { display: flex; }
.main-nav .sub a { font-weight: 500; white-space: normal; }

.main-nav a.portal-btn {
  background: var(--gold);
  color: var(--navy);
  margin-left: 8px;
  padding: 9px 16px;
}
.main-nav a.portal-btn:hover { background: var(--gold-dark); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 62%, var(--navy-3) 100%);
  color: #fff;
  padding: 78px 0 84px;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 14px;
  max-width: 820px;
}
.hero h1 .accent { color: var(--gold); }
.hero .sub {
  font-size: 23px;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 16px;
}
.hero p { max-width: 760px; font-size: 18px; color: #dbe4f5; margin: 0 0 30px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 16.5px;
  border: 2px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-soft); }
.section h2 {
  font-size: 31px;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.25;
}
.section .lead { font-size: 18.5px; max-width: 860px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-dark);
  margin: 0 0 8px;
}

/* Services grid */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 3px 12px rgba(7, 20, 51, 0.05);
}
.card h3 { margin: 0 0 8px; font-size: 20px; color: var(--navy); }
.card p { margin: 0 0 14px; color: var(--muted); font-size: 16px; }
.card a { font-weight: 700; font-size: 15.5px; }

/* Steps */
.steps {
  counter-reset: step;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 18px 66px;
  position: relative;
  min-height: 76px;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

/* Check lists */
.checks {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
}
.checks li { padding-left: 32px; position: relative; font-size: 17.5px; }
.checks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.serve-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
}
.serve-list li {
  background: #fff;
  border-left: 4px solid var(--navy);
  border-radius: 6px;
  padding: 12px 16px;
  box-shadow: 0 2px 8px rgba(7, 20, 51, 0.05);
}

.office-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.office-chips span {
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 15px;
  font-weight: 600;
}
.office-chips span b { color: var(--gold); font-weight: 700; }

/* Final CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 62px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; font-size: 32px; margin: 0 0 12px; }
.cta-band p { max-width: 720px; margin: 0 auto 26px; color: #dbe4f5; font-size: 18px; }

/* Page hero for inner pages */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 52px 0;
}
.page-hero h1 { margin: 0; font-size: 36px; }
.page-hero p { margin: 8px 0 0; color: #dbe4f5; max-width: 720px; }

.stub-note {
  background: var(--bg-soft);
  border: 1px dashed var(--gold-dark);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-top: 8px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #c9d5ea;
  padding: 52px 0 0;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 28px;
}
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 16.5px; }
.site-footer p, .site-footer address { font-style: normal; font-size: 15px; line-height: 1.55; margin: 0 0 10px; }
.site-footer a { color: #c9d5ea; }
.site-footer a:hover { color: var(--gold); }
.footer-brand img { height: 46px; width: auto; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; font-size: 15px; }
.footer-mail { color: var(--gold); font-weight: 700; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 38px;
  padding: 18px 0;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: space-between;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .header-inner { flex-wrap: wrap; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 10px 0 14px; }
  .main-nav .sub {
    display: flex;
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 16px;
    min-width: 0;
  }
  .main-nav a.portal-btn { margin: 8px 0 0; text-align: center; }
  .hero h1 { font-size: 33px; }
  .hero { padding: 54px 0 60px; }
  .steps, .checks, .serve-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
