:root {
  color-scheme: light;
  --navy: #061526;
  --navy-2: #09213b;
  --blue: #114b91;
  --blue-2: #1d6ed0;
  --cyan: #2aa8e8;
  --sky: #eaf5ff;
  --paper: #f7fbff;
  --white: #ffffff;
  --ink: #0c2340;
  --muted: #55708c;
  --line: #d7e6f5;
  --line-dark: rgba(117, 175, 224, 0.28);
  --gold: #d7ae56;
  --shadow: 0 22px 60px rgba(4, 22, 43, 0.16);
  --radius: 8px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 36px), var(--max));
  padding: 8px 10px;
  border: 1px solid rgba(12, 35, 64, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(4, 22, 43, 0.12);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img,
.footer-brand img {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(215, 174, 86, 0.48);
  border-radius: var(--radius);
  object-fit: cover;
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong,
.footer-brand span {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 7px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(17, 75, 145, 0.08);
  color: var(--blue);
  outline: none;
}

.main-nav .nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: white;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(17, 75, 145, 0.18);
  border-radius: var(--radius);
  background: var(--navy);
  color: white;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.mobile-nav {
  display: none;
}

section {
  scroll-margin-top: 96px;
}

.hero {
  position: relative;
  min-height: 710px;
  padding: 138px 0 140px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 21, 38, 0.98) 0%, rgba(6, 21, 38, 0.92) 48%, rgba(6, 21, 38, 0.76) 100%),
    linear-gradient(180deg, rgba(6, 21, 38, 0.18), rgba(6, 21, 38, 0.78)),
    url("/assets/hero-command-center.png") center / cover;
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--paper));
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(220px, 0.36fr);
  align-items: center;
  gap: 64px;
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
}

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

.hero-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 8vw, 7.2rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--sky);
  font-size: clamp(1.18rem, 2vw, 1.65rem);
  line-height: 1.35;
}

.hero-text {
  max-width: 570px;
  margin: 24px 0 0;
  color: rgba(234, 245, 255, 0.82);
  font-size: 1.02rem;
}

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

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

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  background: linear-gradient(135deg, var(--gold), #f1cf77);
  color: #102033;
  box-shadow: 0 18px 36px rgba(215, 174, 86, 0.28);
}

.button.secondary {
  border-color: rgba(234, 245, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.hero-mark {
  justify-self: end;
  width: min(100%, 260px);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(6, 21, 38, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-mark img {
  width: 100%;
  border-radius: 7px;
}

.program-overview {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 36px), var(--max));
  margin: -104px auto 0;
  padding-bottom: 76px;
}

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

.program-card {
  overflow: hidden;
  border: 1px solid rgba(17, 75, 145, 0.22);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.program-card:hover,
.program-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 26px 72px rgba(4, 22, 43, 0.2);
  outline: none;
}

.program-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #eef4fa;
  object-fit: contain;
}

.program-card div {
  min-height: 214px;
  padding: 22px;
  background: linear-gradient(180deg, #08213a, #05172a);
  color: white;
}

.program-card h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1.1;
}

.program-card p {
  margin: 0;
  color: rgba(234, 245, 255, 0.82);
  font-size: 0.95rem;
}

.program-card span {
  display: inline-flex;
  margin-top: 22px;
  color: #f1cf77;
  font-weight: 800;
}

.section-intro {
  max-width: 760px;
  margin: 54px auto 0;
  text-align: center;
}

.section-intro.align-left {
  margin: 0;
  text-align: left;
}

.section-intro p,
.split-copy p,
.contact-copy p,
.implementation-section p {
  margin: 0 0 9px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-intro h2,
.split-copy h2,
.contact-copy h2,
.implementation-section h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.95rem, 3.1vw, 2.9rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-intro span,
.split-copy span,
.contact-copy span {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

.audit-section,
.split-section,
.academy-section,
.implementation-section,
.contact-section {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 72px 0;
}

.audit-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.audit-steps article {
  position: relative;
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 18px 42px rgba(4, 22, 43, 0.08);
}

.audit-steps strong,
.catalog-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-weight: 850;
}

.audit-steps h3,
.catalog-grid h3 {
  margin: 42px 0 10px;
  color: var(--ink);
  font-size: 1.25rem;
}

.audit-steps p,
.catalog-grid p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  align-items: center;
  gap: 58px;
  width: 100%;
  max-width: none;
  padding: 72px max(18px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(135deg, #edf7ff, #f8fcff);
}

.split-copy {
  max-width: 560px;
}

.split-copy ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.split-copy li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 650;
}

.split-copy li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 11px;
  height: 11px;
  border: 3px solid var(--blue);
  border-radius: 50%;
}

.split-image {
  padding: 12px;
  border: 1px solid rgba(17, 75, 145, 0.2);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.split-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 7px;
  object-fit: cover;
}

.academy-section {
  padding-bottom: 96px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.catalog-grid article {
  min-height: 238px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 18px 42px rgba(4, 22, 43, 0.08);
}

.catalog-grid h3 {
  margin-top: 34px;
}

.implementation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.implementation-list {
  display: grid;
  gap: 12px;
}

.implementation-list span {
  display: block;
  padding: 16px 18px;
  border: 1px solid rgba(17, 75, 145, 0.18);
  border-radius: var(--radius);
  background: var(--sky);
  color: var(--ink);
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: 52px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 72px max(18px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(135deg, #071b33, #0b3158);
  color: white;
}

.contact-copy h2,
.contact-copy span {
  color: white;
}

.contact-copy p {
  color: #8fd5ff;
}

.contact-copy span {
  color: rgba(234, 245, 255, 0.82);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(234, 245, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-form label.wide,
.contact-form button,
.form-note {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid rgba(234, 245, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  outline: none;
}

.contact-form textarea {
  min-height: 116px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #8fd5ff;
  box-shadow: 0 0 0 3px rgba(143, 213, 255, 0.12);
}

.contact-form option {
  color: var(--ink);
}

.form-note {
  margin: 0;
  color: rgba(234, 245, 255, 0.64);
  font-size: 0.86rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px max(18px, calc((100vw - var(--max)) / 2));
  background: #04101e;
  color: rgba(234, 245, 255, 0.72);
  font-size: 0.9rem;
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

.footer-brand span {
  color: white;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    top: 76px;
    left: 18px;
    right: 18px;
    z-index: 39;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    background: rgba(6, 21, 38, 0.96);
    box-shadow: var(--shadow);
  }

  .mobile-nav.open {
    display: grid;
    gap: 4px;
  }

  .mobile-nav a {
    padding: 12px;
    border-radius: 7px;
    color: rgba(234, 245, 255, 0.86);
    font-weight: 700;
  }

  .mobile-nav a:hover,
  .mobile-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    outline: none;
  }

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

  .hero-mark {
    display: none;
  }

  .program-cards,
  .audit-steps,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .program-card {
    display: grid;
    grid-template-columns: 0.42fr 1fr;
  }

  .program-card img {
    height: 100%;
    min-height: 230px;
    object-fit: contain;
  }

  .program-card div {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: min(calc(100% - 24px), var(--max));
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand small {
    max-width: 165px;
  }

  .hero {
    min-height: auto;
    padding: 118px 0 118px;
  }

  .hero-inner,
  .program-overview,
  .audit-section,
  .academy-section,
  .implementation-section {
    width: min(calc(100% - 24px), var(--max));
  }

  .hero-copy h1 {
    font-size: 3.2rem;
  }

  .hero-subtitle {
    font-size: 1.18rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .program-overview {
    margin-top: -82px;
    padding-bottom: 58px;
  }

  .program-card {
    display: block;
  }

  .program-card img {
    min-height: 0;
  }

  .program-card div {
    min-height: auto;
    padding: 20px;
  }

  .section-intro {
    margin-top: 42px;
  }

  .audit-section,
  .split-section,
  .academy-section,
  .implementation-section,
  .contact-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
