:root {
  --navy: #1e3a5f;
  --navy-deep: #152a46;
  --sky: #e8f1f8;
  --sky-soft: #f5f9fc;
  --blue: #3e8ed0;
  --blue-hover: #2d78b8;
  --ice: #8fd4ff;
  --mist: #6bb2f5;
  --text: #243447;
  --muted: #5b6b7c;
  --line: #d5e3ee;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(30, 58, 95, 0.12);
  --radius: 16px;
  --header-h: 84px;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-hover);
}

h1,
h2,
h3,
h4 {
  font-family: Inter, system-ui, sans-serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--white);
  color: var(--navy);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--sky);
  border-bottom: 1px solid rgba(30, 58, 95, 0.08);
}

.header-inner {
  width: min(1600px, calc(100% - 48px));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.logo:hover {
  opacity: 0.92;
}

.logo img {
  display: block;
  height: 64px;
  width: auto;
  border-radius: 50%;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--blue);
  background: rgba(62, 142, 208, 0.1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 6px 0;
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(21, 42, 70, 0.88) 8%, rgba(21, 42, 70, 0.42) 58%, rgba(21, 42, 70, 0.2)),
    var(--hero, url("../images/hero-rep.webp")) center / cover no-repeat;
}

.hero--home {
  --hero: url("../images/Home.jpg");
}

.hero--certifications {
  --hero: url("../images/certifications.jpg");
}

.hero--skills {
  --hero: url("../images/skills needed.webp");
}

.hero--degree {
  --hero: url("../images/degree.jpg");
}

.hero--day {
  --hero: url("../images/day in life.avif");
}

.hero--types {
  --hero: url("../images/types of reps.jpg");
}

.hero--salary {
  --hero: url("../images/salary.jpg");
}

.hero--page {
  min-height: 320px;
  align-items: center;
}

.hero-copy {
  padding: 72px 0 64px;
  max-width: 720px;
}

.hero h1,
.hero h2,
.hero p,
.kicker {
  color: var(--white);
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.08rem;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.92);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  border-radius: 999px;
  padding: 13px 22px;
  border: 2px solid var(--blue);
  transition: 0.2s ease;
}

.btn:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.section {
  padding: 88px 0;
}

.section.alt {
  background: var(--sky-soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.split img,
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
}

.frame--tall {
  min-height: 420px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.05);
}

.card h3 {
  margin-bottom: 10px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cert-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  align-items: center;
}

.cert-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: #111;
  border-radius: 50%;
  padding: 8px;
}

.cert-card img.logo-wide {
  border-radius: 12px;
  background: var(--white);
  padding: 10px;
  height: auto;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px;
}

.stat strong {
  display: block;
  font-size: 1.6rem;
  font-family: Inter, sans-serif;
  margin-bottom: 6px;
}

.stat span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--line);
}

.list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  left: 0;
  top: 18px;
}

.skill-grid,
.rep-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.icon-tile {
  background: var(--white);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.pill {
  display: inline-block;
  background: var(--sky);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.cta-band {
  background:
    linear-gradient(120deg, rgba(30, 58, 95, 0.92), rgba(62, 142, 208, 0.78)),
    url("../images/meeting.jpg") center / cover no-repeat;
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band p {
  max-width: 62ch;
  margin: 0 auto 24px;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 40px;
  padding-bottom: 40px;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-left: 3px solid var(--ice);
  padding-left: 12px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer a:hover {
  color: var(--mist);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.site-footer .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--white);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.site-footer .social-icon:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  color: var(--white);
}

.site-footer .social-icon svg {
  width: 40px;
  height: 40px;
  display: block;
}

.site-footer .social-icon--facebook {
  background: transparent;
}

.legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.prose h2 {
  margin-top: 8px;
}

.quote {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  border-left: 4px solid var(--ice);
  padding-left: 16px;
}

.salary-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.salary-table th,
.salary-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.salary-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  background: var(--sky);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

@media (max-width: 980px) {
  .split,
  .cards,
  .cert-grid,
  .stat-row,
  .skill-grid,
  .rep-grid,
  .benefit-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cert-card {
    grid-template-columns: 80px 1fr;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    inset: var(--header-h) 12px auto;
    background: var(--sky);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 12px;
    flex-direction: column;
  }

  .site-nav.is-open {
    display: flex;
  }

  body.nav-open {
    overflow: hidden;
  }

  .split,
  .cards,
  .cert-grid,
  .stat-row,
  .skill-grid,
  .rep-grid,
  .benefit-grid,
  .footer-grid,
  .cert-card {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

  .hero {
    min-height: 440px;
    background:
      linear-gradient(180deg, rgba(21, 42, 70, 0.78), rgba(21, 42, 70, 0.72)),
      var(--hero, url("../images/hero-rep.webp")) center / cover no-repeat;
  }

  .section {
    padding: 64px 0;
  }
}
