/* ═══════════════════════════════════════════════════════
   AXON SYNERGY — Design System
   Skill Intelligence & Workforce Development
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── Variables ─────────────────────────────────────── */
:root {
  --navy: #1A3263;
  --navy-light: #223D73;
  --blue: #547792;
  --blue-muted: rgba(84, 119, 146, 0.3);
  --gold: #FAB95B;
  --gold-hover: #FFC97A;
  --cream: #E8E2DB;
  --cream-dim: rgba(232, 226, 219, 0.7);
  --cream-faint: rgba(232, 226, 219, 0.12);
  --white: #FFFFFF;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'DM Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --max-width: 1140px;
  --section-pad: 100px;
  --section-pad-mobile: 60px;
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.75;
  color: var(--cream);
  background-color: var(--navy);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-hover); }

/* ── Typography ────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: 16px;
}

h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

p {
  margin-bottom: 1.25em;
  color: var(--cream-dim);
}

p:last-child { margin-bottom: 0; }

strong { color: var(--cream); font-weight: 600; }

/* ── Layout ────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: var(--section-pad) 0;
}

.section--bordered {
  border-top: 1px solid var(--cream-faint);
}

/* ── Navigation ────────────────────────────────────── */
.nav {
  padding: 24px 0;
  border-bottom: 1px solid var(--cream-faint);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
}

.nav__logo span {
  color: var(--gold);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cream-dim);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav__links a:hover {
  color: var(--white);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__links a.active {
  color: var(--gold);
}

.nav__links a.active::after {
  width: 100%;
}

/* Mobile hamburger */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  margin: 5px 0;
  transition: 0.3s;
}

/* ── Hero ──────────────────────────────────────────── */
.hero {
  padding: 100px 0 80px;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero--tall {
  min-height: 70vh;
}

.hero__content {
  max-width: 680px;
}

.hero__label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.hero__subtitle {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--cream-dim);
  max-width: 600px;
}

/* Hero with image layout */
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero__grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.hero__grid--reverse .hero__content {
  order: 2;
}

.hero__grid--reverse .hero__image {
  order: 1;
}

/* ── Image Placeholder ─────────────────────────────── */
.image-placeholder {
  background: var(--cream-faint);
  border: 1px solid var(--blue-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  min-height: 340px;
  position: relative;
  overflow: hidden;
}

.image-placeholder::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border: 1px solid var(--blue-muted);
  margin: 12px;
  pointer-events: none;
}

.image-placeholder--wide {
  min-height: 400px;
}

.image-placeholder--banner {
  min-height: 300px;
  margin: 0 -40px;
}

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 16px 36px;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  border: none;
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}

.btn--gold:hover {
  background: var(--gold-hover);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(250, 185, 91, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn--outline:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn__group {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* ── Cards ─────────────────────────────────────────── */
.card {
  background: rgba(84, 119, 146, 0.08);
  border: 1px solid var(--cream-faint);
  padding: 40px;
  transition: border-color 0.3s, transform 0.3s;
}

.card:hover {
  border-color: var(--blue-muted);
  transform: translateY(-3px);
}

.card__label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.card__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.card__body {
  color: var(--cream-dim);
  font-size: 0.95rem;
  line-height: 1.75;
}

.card__link {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  transition: letter-spacing 0.3s;
}

.card__link:hover {
  letter-spacing: 0.08em;
}

.card__link::after {
  content: ' →';
}

/* Card grid */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ── Steps / Process ───────────────────────────────── */
.steps {
  counter-reset: step-counter;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.step {
  counter-increment: step-counter;
  padding: 36px;
  border: 1px solid var(--cream-faint);
  position: relative;
}

.step::before {
  content: counter(step-counter, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 20px;
  right: 24px;
  line-height: 1;
}

.step__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.step__body {
  font-size: 0.95rem;
  color: var(--cream-dim);
  line-height: 1.7;
}

/* ── CTA Section ───────────────────────────────────── */
.cta-section {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--cream-faint);
}

.cta-section__inner {
  max-width: 620px;
}

.cta-section__contact {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta-section__contact a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gold);
}

/* ── Content Blocks ────────────────────────────────── */
.content-block {
  max-width: 720px;
}

.content-block--wide {
  max-width: 840px;
}

.content-block--center {
  margin: 0 auto;
  text-align: center;
}

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.two-col--offset {
  grid-template-columns: 5fr 4fr;
}

/* ── List Styles ───────────────────────────────────── */
.feature-list {
  list-style: none;
  margin-top: 32px;
}

.feature-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--cream-faint);
}

.feature-list li:first-child {
  border-top: 1px solid var(--cream-faint);
}

.feature-list__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 6px;
}

.feature-list__desc {
  font-size: 0.95rem;
  color: var(--cream-dim);
  line-height: 1.7;
}

/* Audience list */
.audience-list {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.audience-list li {
  padding-left: 20px;
  border-left: 2px solid var(--gold);
  color: var(--cream-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

.audience-list li strong {
  color: var(--white);
}

/* ── Divider ───────────────────────────────────────── */
.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 40px 0;
}

.divider--center {
  margin: 40px auto;
}

/* ── Footer ────────────────────────────────────────── */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--cream-faint);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__brand {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.footer__brand span {
  color: var(--gold);
}

.footer__info {
  font-size: 0.82rem;
  color: rgba(232, 226, 219, 0.4);
  text-align: right;
}

.footer__info a {
  color: rgba(232, 226, 219, 0.5);
}

.footer__info a:hover {
  color: var(--gold);
}

/* ── Contact Form ──────────────────────────────────── */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 14px 16px;
  background: rgba(84, 119, 146, 0.08);
  border: 1px solid var(--cream-faint);
  color: var(--cream);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group select option {
  background: var(--navy);
  color: var(--cream);
}

/* ── Utility ───────────────────────────────────────── */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mb-6 { margin-bottom: 48px; }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }

.nav__links .btn.btn--gold {
  color: var(--navy) !important;
}
.nav__links .btn.btn--gold.active,
.nav__links .btn.btn--gold:visited {
  color: var(--blue) !important;
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .section { padding: var(--section-pad-mobile) 0; }
  .cta-section { padding: var(--section-pad-mobile) 0; }

  .hero { padding: 60px 0 40px; min-height: auto; }
  .hero--tall { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__grid--reverse .hero__content { order: 1; }
  .hero__grid--reverse .hero__image { order: 2; }

  .card-grid--3, .card-grid--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col--offset { grid-template-columns: 1fr; }

  .image-placeholder--banner { margin: 0; }

  /* Mobile nav */
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 24px 40px;
    gap: 20px;
    border-bottom: 1px solid var(--cream-faint);
    z-index: 100;
  }

  .nav__links.open { display: flex; }
  .nav__toggle { display: block; }
  .nav .container { position: relative; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .card { padding: 28px; }
  .step { padding: 28px; }
}
