:root {
  --color-ink: #0c1423;
  --color-muted: #536276;
  --color-line: #c5d1df;
  --color-surface: #e7eef5;
  --color-white: #fbfdff;
  --color-navy: #0f172a;
  --color-blue: #0b6ea8;
  --color-red: #e11d2e;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-ink);
  background: #edf3f8;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.08;
  letter-spacing: 0;
  hyphens: auto;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.15rem, 3.25vw, 3.65rem);
  max-width: 920px;
}

h2 {
  font-size: clamp(1.65rem, 2.25vw, 2.45rem);
}

h3 {
  font-size: 1.12rem;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  z-index: 100;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: var(--color-white);
  border: 1px solid var(--color-line);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(243, 247, 251, 0.96);
  border-bottom: 1px solid rgba(217, 226, 236, 0.85);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.logo-lockup {
  position: relative;
  display: inline-flex;
  width: 166px;
  height: 54px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #b8c3cf;
  background: #fff;
}

.logo-lockup img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
}

.primary-nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border-radius: var(--radius);
  padding: 0 13px;
  color: #344054;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--color-red);
  background: #fff1f2;
}

.primary-nav .nav-cta {
  color: var(--color-white);
  background: var(--color-red);
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta.active {
  color: var(--color-white);
  background: #bd1423;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
}

.nav-toggle span:not(.sr-only) {
  width: 19px;
  height: 2px;
  background: var(--color-ink);
}

.hero {
  padding: 74px 0 82px;
  background:
    radial-gradient(circle at 78% 18%, rgba(11, 110, 168, 0.22), transparent 34%),
    linear-gradient(180deg, #e7eff7 0%, #edf3f8 100%);
}

.hero-grid,
.page-hero-grid,
.split,
.visual-band-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 56px;
  align-items: center;
}

.hero-content {
  padding-top: 12px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--color-red);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-lead,
.page-hero p,
.section-heading p {
  max-width: 760px;
  color: #475467;
  font-size: 1.08rem;
}

.hero-actions,
.cta-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 20px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--color-white);
  background: var(--color-red);
}

.button.primary:hover {
  background: #bd1423;
}

.button.secondary {
  color: var(--color-ink);
  border-color: var(--color-line);
  background: var(--color-white);
}

.button.secondary.light {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.hero-media {
  position: relative;
}

.hero-media img,
.page-hero-grid img,
.visual-band img,
.media-stack img,
.profile-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media img {
  object-position: center center;
}

.visual-band img {
  aspect-ratio: 16 / 10;
}

.hero-stat {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: min(240px, 68%);
  padding: 18px;
  border-radius: var(--radius);
  color: var(--color-white);
  background: var(--color-navy);
  box-shadow: var(--shadow);
}

.hero-stat strong {
  display: block;
  font-size: 1.55rem;
}

.hero-stat span {
  color: #cbd5e1;
  font-size: 0.94rem;
}

.section {
  padding: 86px 0;
}

.section-quiet {
  background: var(--color-surface);
}

.section-heading.compact {
  max-width: 740px;
  margin-bottom: 34px;
}

.feature-grid,
.service-grid,
.training-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.service-card,
.training-grid article,
.profile-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 26px;
  background: #f9fbfd;
}

.feature-number,
.service-card span,
.timeline span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--color-blue);
  font-weight: 900;
}

.feature-card p,
.service-card p,
.training-grid p {
  color: var(--color-muted);
}

.split {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--color-red);
  font-weight: 900;
}

.service-list {
  display: grid;
  gap: 10px;
}

.service-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 0 18px;
  background: #f9fbfd;
  font-weight: 800;
}

.service-list a::after {
  content: ">";
  color: var(--color-red);
}

.visual-band {
  color: var(--color-white);
  background: linear-gradient(135deg, #0f172a 0%, #164e63 100%);
}

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

.visual-band p:not(.eyebrow) {
  color: #d8e7f3;
}

.cta-panel {
  justify-content: space-between;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 34px;
  background: #f9fbfd;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.cta-panel > div {
  max-width: 780px;
}

.page-hero {
  padding: 82px 0;
  background:
    radial-gradient(circle at 82% 22%, rgba(11, 110, 168, 0.16), transparent 32%),
    var(--color-surface);
}

.page-hero.narrow .container {
  max-width: 900px;
}

.page-hero h1 {
  max-width: 780px;
  font-size: clamp(2rem, 2.85vw, 3.2rem);
}

.service-grid.detailed {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card h2 {
  font-size: 1.55rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 16px 16px 16px 46px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #f9fbfd;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 18px;
  width: 14px;
  height: 14px;
  border: 4px solid var(--color-blue);
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline article {
  display: grid;
  grid-template-columns: 76px minmax(180px, 0.32fr) 1fr;
  gap: 24px;
  align-items: start;
  border-bottom: 1px solid var(--color-line);
  padding: 0 0 24px;
}

.timeline h2 {
  font-size: 1.35rem;
}

.timeline p {
  color: var(--color-muted);
}

.about-hero {
  background: linear-gradient(135deg, #e8f0f7 0%, #dde8f1 100%);
}

.profile-card {
  background: var(--color-navy);
  color: var(--color-white);
}

.profile-card strong {
  display: block;
  font-size: 1.6rem;
}

.profile-card span {
  display: block;
  margin: 6px 0 18px;
  color: #a8d8f0;
  font-weight: 800;
}

.profile-card p {
  color: #d8e7f3;
}

.profile-visual {
  display: grid;
  gap: 18px;
}

.profile-visual img {
  aspect-ratio: 16 / 9;
}

.media-stack {
  display: grid;
  gap: 18px;
}

.media-stack img {
  aspect-ratio: 16 / 9;
}

.contact-grid {
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  align-items: start;
}

.contact-details,
.contact-form {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 30px;
  background: #f9fbfd;
}

.contact-details a {
  color: var(--color-red);
  font-weight: 900;
}

.address-grid {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

address {
  font-style: normal;
  color: var(--color-muted);
}

address strong {
  color: var(--color-ink);
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

label {
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--color-ink);
  background: var(--color-white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.hidden {
  display: none;
}

.thank-you {
  display: flex;
  min-height: 100vh;
  align-items: center;
  background: var(--color-surface);
}

.site-footer {
  padding: 34px 0;
  color: #d8e7f3;
  background: linear-gradient(135deg, #0f172a 0%, #111827 58%, #0b6ea8 180%);
}

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

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--color-white);
}

.site-footer p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.55;
}

.site-footer a {
  color: var(--color-white);
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    padding: 12px;
    background: var(--color-white);
    box-shadow: var(--shadow);
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav a {
    justify-content: center;
  }

  .brand-copy {
    display: none;
  }

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

  .feature-grid,
  .service-grid.detailed,
  .training-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 50px;
  }

  .timeline article {
    grid-template-columns: 58px 1fr;
  }

  .timeline p {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .nav-shell {
    min-height: 66px;
  }

  .primary-nav {
    top: 66px;
    right: 14px;
    left: 14px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .hero,
  .section,
  .page-hero {
    padding: 56px 0;
  }

  .hero-stat {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .cta-panel {
    padding: 24px;
  }

  .button {
    width: 100%;
  }
}
