:root {
  --ink: #061a35;
  --blue: #0a3769;
  --deep: #071224;
  --line: rgba(8, 31, 60, 0.14);
  --lime: #c7ea2e;
  --white: #ffffff;
  --soft: #f5f8fb;
  --muted: #52657c;
  --shadow: 0 24px 60px rgba(4, 20, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(rgba(7, 18, 36, 0.48), rgba(7, 18, 36, 0.62)),
    url("/assets/diagnostic-background-1600.jpg") center / cover fixed,
    var(--deep);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  backdrop-filter: blur(18px);
  background: rgba(4, 14, 28, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 0.92rem;
}

.nav a {
  text-decoration: none;
  opacity: 0.82;
}

.nav a:hover {
  opacity: 1;
}

main {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(30px, 7vw, 80px) 0;
  color: var(--white);
}

.hero-media {
  align-self: stretch;
  min-height: 560px;
  display: flex;
  align-items: end;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--lime);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(1.38rem, 2.35vw, 2.05rem);
  line-height: 1.2;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  line-height: 1.55;
}

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

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.1;
}

.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 30px rgba(10, 55, 105, 0.28);
}

.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  margin: 18px 0;
  padding: clamp(30px, 6vw, 64px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.intro-band {
  background: var(--lime);
  color: var(--ink);
}

.intro-band p {
  max-width: 900px;
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  line-height: 1.45;
  font-weight: 700;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading .eyebrow,
.split .eyebrow,
.contact .eyebrow {
  color: var(--blue);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.topic,
.offer {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.topic {
  padding: 22px;
}

.topic p,
.offer p,
.education-copy p,
.contact p {
  color: var(--muted);
  line-height: 1.55;
}

.offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.offer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 100%;
  padding: 24px;
}

.offer.is-featured {
  color: var(--white);
  background: var(--blue);
  border-color: transparent;
}

.offer.is-featured p,
.offer.is-featured dd {
  color: rgba(255, 255, 255, 0.82);
}

.offer.is-featured .primary {
  color: var(--ink);
  background: var(--lime);
  box-shadow: none;
}

.offer-kicker {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.offer.is-featured .offer-kicker {
  color: var(--lime);
}

dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

dl div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.offer.is-featured dl div {
  border-top-color: rgba(255, 255, 255, 0.18);
}

dt {
  font-size: 0.76rem;
  font-weight: 900;
  color: var(--blue);
  text-transform: uppercase;
}

.offer.is-featured dt {
  color: var(--lime);
}

dd {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.split,
.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(26px, 5vw, 60px);
}

.legal {
  margin-top: 24px;
  font-size: 0.95rem;
}

.certificates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.certificates a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.certificates img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 180ms ease;
}

.certificates a:hover img {
  transform: scale(1.03);
}

.contact {
  color: var(--white);
  background: rgba(7, 18, 36, 0.92);
}

.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact .contact-actions {
  align-content: start;
  margin-top: 0;
}

.footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 40px;
  color: rgba(255, 255, 255, 0.78);
}

.footer a {
  text-decoration: none;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 420px;
  }

  .topic-grid,
  .offers,
  .certificates {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }
}

@media (max-width: 560px) {
  main,
  .footer {
    width: min(100% - 20px, 1160px);
  }

  .site-header {
    padding: 14px 16px;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-media {
    min-height: 350px;
  }

  h1 {
    font-size: clamp(1.45rem, 6.8vw, 1.95rem);
  }

  .section {
    padding: 24px;
  }

  .primary,
  .secondary {
    width: 100%;
  }
}
