:root {
  --ink: #17202a;
  --muted: #566371;
  --line: #dfe5ea;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --blue: #1d4387;
  --blue-deep: #102f62;
  --teal: #1f7a78;
  --gold: #d2a62a;
  --gold-deep: #a97913;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
}

img { max-width: 100%; }

a { color: inherit; }

h1, h2, h3 {
  color: var(--blue-deep);
  font-family: "Roboto Slab", serif;
  line-height: 1.15;
}

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

p + p { margin-top: 16px; }

.nav {
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 18px rgba(16, 47, 98, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 14px 22px;
}

.nav-logo img {
  display: block;
  height: 50px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover { color: var(--gold-deep); }

.nav-links .nav-cta {
  background: var(--blue);
  border-radius: 7px;
  color: #fff;
  padding: 10px 18px;
}

.nav-links .nav-cta:hover { background: var(--blue-deep); color: #fff; }

.hamburger {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.hamburger span {
  background: var(--blue-deep);
  border-radius: 2px;
  display: block;
  height: 3px;
  width: 28px;
}

.hero {
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 760px) minmax(320px, 360px);
  justify-content: space-between;
  min-height: 720px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2 + 24px));
  position: relative;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(16,47,98,0.92), rgba(16,47,98,0.78) 50%, rgba(16,47,98,0.16)),
    url("https://imagotraining.co.za/Media/Imago-Relationship-Training-validation.jpg") center/cover no-repeat;
  inset: 0;
  position: absolute;
}

.hero-content {
  align-self: center;
  max-width: 760px;
  padding: 104px 0 110px;
  position: relative;
  z-index: 1;
}

.eyebrow, .kicker {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero h1 {
  color: #fff;
  font-size: clamp(42px, 6vw, 74px);
  max-width: 760px;
}

.hero-copy {
  color: rgba(255,255,255,0.9);
  font-size: 19px;
  margin: 24px 0 34px;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gold);
  color: #fff;
}

.btn-primary:hover { background: var(--gold-deep); }

.btn-secondary {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.7);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.hero-panel {
  align-self: end;
  background: rgba(255,255,255,0.96);
  border-left: 5px solid var(--gold);
  box-shadow: 0 22px 55px rgba(16,47,98,0.22);
  display: grid;
  gap: 0;
  margin: 0 0 56px;
  min-width: 320px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.hero-panel div {
  border-bottom: 1px solid var(--line);
  padding: 22px 26px;
}

.hero-panel div:last-child { border-bottom: 0; }
.hero-panel span { color: var(--muted); display: block; font-size: 13px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; }
.hero-panel strong { color: var(--blue-deep); display: block; font-family: "Roboto Slab", serif; font-size: 23px; margin-top: 4px; }

.training-hero {
  background:
    linear-gradient(135deg, rgba(16,47,98,0.94), rgba(31,122,120,0.78)),
    url("https://imagotraining.co.za/Media/Imago-Relationship-Training-dialogue.jpg") center/cover no-repeat;
  color: #fff;
  padding: 94px 24px 104px;
}

.training-hero-inner {
  max-width: 900px;
}

.training-hero h1 {
  color: #fff;
  font-size: clamp(40px, 6vw, 68px);
  margin-bottom: 24px;
  max-width: 820px;
}

.training-hero p:not(.eyebrow) {
  color: rgba(255,255,255,0.9);
  font-size: 19px;
  max-width: 780px;
}

.training-hero .hero-actions {
  margin-top: 34px;
}

.trust-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  max-width: 1180px;
}

.trust-strip div {
  border-right: 1px solid var(--line);
  padding: 26px 22px;
}

.trust-strip div:last-child { border-right: 0; }
.trust-strip strong { color: var(--blue-deep); display: block; font-family: "Roboto Slab", serif; font-size: 21px; }
.trust-strip span { color: var(--muted); display: block; font-size: 14px; margin-top: 5px; }

.section { padding: 88px 24px; }
.section-soft { background: var(--soft); }
.section-inner { margin: 0 auto; max-width: 1120px; }

.split {
  align-items: start;
  display: grid;
  gap: 56px;
  grid-template-columns: 1fr 0.9fr;
}

.section h2 {
  font-size: clamp(31px, 4vw, 48px);
  margin-bottom: 22px;
}

.section-heading {
  margin: 0 auto 42px;
  max-width: 800px;
  text-align: center;
}

.section-heading p:last-child {
  font-size: 17px;
  margin: 0 auto;
  max-width: 740px;
}

.insight-list {
  border-top: 1px solid var(--line);
}

.insight-list div {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.insight-list strong {
  color: var(--blue-deep);
  display: block;
  font-family: "Roboto Slab", serif;
  font-size: 21px;
  margin-bottom: 5px;
}

.insight-list span { color: var(--muted); }

.paradigm-section {
  background:
    linear-gradient(180deg, rgba(244,247,248,0.96), rgba(255,255,255,0.98)),
    url("https://imagotraining.co.za/Media/Imago-Relationship-Training-dialogue.jpg") center/cover fixed;
}

.paradigm-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 26px;
}

.paradigm-feature {
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(16,47,98,0.08);
  padding: 28px;
}

.paradigm-feature span {
  color: var(--gold-deep);
  display: block;
  font-family: "Roboto Slab", serif;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
}

.paradigm-feature h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.effectiveness-panel {
  align-items: center;
  background: var(--blue-deep);
  border-radius: 8px;
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr 0.8fr;
  padding: 34px;
}

.effectiveness-panel h3 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 12px;
}

.effectiveness-panel p,
.effectiveness-panel li {
  color: rgba(255,255,255,0.82);
}

.effectiveness-panel ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.effectiveness-panel li {
  border-left: 3px solid var(--gold);
  padding-left: 14px;
}

.learning-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.learning-grid article,
.pricing-grid article,
.fit-grid div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(16,47,98,0.06);
  padding: 26px;
}

.learning-grid h3,
.pricing-grid h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.pathway {
  border-left: 2px solid var(--line);
  margin: 0 auto;
  max-width: 880px;
}

.path-step {
  display: grid;
  gap: 24px;
  grid-template-columns: 82px 1fr;
  padding: 0 0 34px 34px;
  position: relative;
}

.path-step::before {
  background: var(--paper);
  border: 3px solid var(--teal);
  border-radius: 50%;
  content: "";
  height: 18px;
  left: -10px;
  position: absolute;
  top: 4px;
  width: 18px;
}

.path-step:last-child { padding-bottom: 0; }

.step-number {
  color: var(--gold-deep);
  font-family: "Roboto Slab", serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.path-step h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.path-step a {
  color: var(--blue);
  display: inline-block;
  font-weight: 800;
  margin-top: 10px;
  text-decoration: none;
}

.featured-step {
  background: #f9fbff;
  border: 1px solid #d7e1f0;
  border-radius: 8px;
  margin: 0 0 34px 34px;
  padding: 24px 24px 24px 28px;
}

.featured-step::before { left: -45px; top: 28px; }
.price-note { color: var(--blue-deep); font-weight: 800; margin-top: 12px; }

.section-dark {
  background: var(--blue-deep);
  color: #fff;
}

.section-dark h2,
.section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.78); }
.kicker.light { color: var(--gold); }

.pricing-layout {
  display: grid;
  gap: 44px;
  grid-template-columns: 1fr;
}

.pricing-layout > div:first-child {
  max-width: 720px;
}

.pricing-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.pricing-grid article {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  box-shadow: none;
}

.pricing-grid span {
  color: var(--gold);
  display: block;
  font-family: "Roboto Slab", serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-grid a {
  color: #fff;
  display: inline-block;
  font-weight: 800;
  margin-top: 16px;
  text-decoration: none;
}

.price-structure {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, 1fr);
}

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(16,47,98,0.08);
  padding: 24px;
}

.price-card span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.9px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.price-card strong {
  color: var(--blue-deep);
  display: block;
  font-family: "Roboto Slab", serif;
  font-size: 29px;
  line-height: 1.1;
  margin-bottom: 14px;
}

.primary-price {
  border-left: 5px solid var(--gold);
  grid-column: span 2;
}

.simple-pricing {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, 1fr);
}

.simple-price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 32px rgba(16,47,98,0.08);
  padding: 30px;
}

.simple-price-card span {
  color: var(--gold-deep);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.simple-price-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.simple-price-card strong {
  color: var(--blue-deep);
  display: block;
  font-family: "Roboto Slab", serif;
  font-size: 38px;
  line-height: 1;
  margin-bottom: 14px;
}

.normal-price {
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 14px;
}

.price-breakdown {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  margin-top: 14px;
  padding-top: 14px;
}

.highlighted-price {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.highlighted-price h3,
.highlighted-price strong {
  color: #fff;
}

.highlighted-price p,
.highlighted-price .normal-price,
.highlighted-price .price-breakdown {
  border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.82);
}

.article-link-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.article-link-grid a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(16,47,98,0.08);
  padding: 26px;
  text-decoration: none;
}

.article-link-grid span {
  color: var(--gold-deep);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.article-link-grid strong {
  color: var(--blue-deep);
  display: block;
  font-family: "Roboto Slab", serif;
  font-size: 22px;
  line-height: 1.25;
}

.article-page {
  background: #fff;
}

.article-hero {
  background:
    linear-gradient(135deg, rgba(16,47,98,0.94), rgba(31,122,120,0.82)),
    url("https://imagotraining.co.za/Media/Imago-Relationship-Training-validation.jpg") center/cover no-repeat;
  color: #fff;
  padding: 88px 24px 96px;
}

.article-hero .section-inner {
  max-width: 900px;
}

.article-hero h1 {
  color: #fff;
  font-size: clamp(38px, 6vw, 64px);
  margin-bottom: 22px;
}

.article-hero p:not(.eyebrow) {
  color: rgba(255,255,255,0.9);
  font-size: 20px;
  max-width: 780px;
}

.article-body {
  margin: 0 auto;
  max-width: 820px;
  padding: 72px 24px 88px;
}

.article-body h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 44px 0 16px;
}

.article-body p,
.article-body li {
  color: var(--ink);
  font-size: 18px;
}

.article-body p {
  margin-bottom: 18px;
}

.article-body ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 26px;
  padding-left: 24px;
}

.article-button {
  background: var(--blue);
  border-radius: 8px;
  color: #fff;
  display: inline-block;
  font-weight: 800;
  padding: 14px 22px;
  text-decoration: none;
}

.article-button:hover {
  background: var(--blue-deep);
}

.module-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(16,47,98,0.07);
  margin-top: 28px;
  overflow: hidden;
}

.module-header {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: #fff;
  padding: 34px;
}

.module-header span {
  color: var(--gold);
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.module-header h2 {
  color: #fff;
  margin-bottom: 10px;
}

.module-header p {
  color: rgba(255,255,255,0.82);
  font-size: 17px;
}

.module-content {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, 1fr);
}

.module-content section {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 26px;
}

.module-content section:nth-child(2n) {
  border-right: 0;
}

.module-content section:last-child:nth-child(odd) {
  grid-column: span 2;
}

.module-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.outcomes-layout {
  display: grid;
  gap: 48px;
  grid-template-columns: 0.8fr 1.2fr;
}

.outcome-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.outcome-list li {
  background: var(--soft);
  border-left: 4px solid var(--teal);
  border-radius: 6px;
  color: var(--ink);
  font-weight: 700;
  padding: 15px 18px;
}

.faculty {
  align-items: center;
  grid-template-columns: 360px 1fr;
}

.faculty-image {
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(16,47,98,0.16);
  width: 100%;
}

.fit-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.fit-grid strong {
  color: var(--blue-deep);
  display: block;
  font-family: "Roboto Slab", serif;
  font-size: 19px;
  margin-bottom: 8px;
}

.fit-grid span { color: var(--muted); }

.cta-section {
  background:
    linear-gradient(135deg, rgba(16,47,98,0.94), rgba(31,122,120,0.86)),
    url("https://imagotraining.co.za/Media/Imago-Relationship-Training-consciousness.jpg") center/cover no-repeat;
  color: #fff;
  padding: 92px 24px;
  text-align: center;
}

.cta-inner {
  margin: 0 auto;
  max-width: 780px;
}

.cta-section h2 {
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  margin-bottom: 18px;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  margin: 0 auto 30px;
  max-width: 680px;
}

.cta-section .hero-actions { justify-content: center; }

.footer {
  background: #17202a;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  padding: 38px 24px;
  text-align: center;
}

.footer p { color: rgba(255,255,255,0.72); }
.footer p + p { margin-top: 8px; }
.footer a { color: var(--gold); text-decoration: none; }
.copyright { font-size: 12px; opacity: 0.65; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-links.show {
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 28px rgba(16,47,98,0.14);
    display: flex;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 12px 22px 20px;
    position: absolute;
    right: 0;
    top: 79px;
  }
  .nav-links.show li { padding: 9px 0; text-align: center; width: 100%; }
  .hamburger { display: flex; }
  .hero {
    display: block;
    min-height: auto;
    padding: 0;
  }
  .hero-content {
    padding: 82px 24px 48px;
  }
  .hero-panel {
    margin: 0 24px 36px;
  }
  .trust-strip,
  .learning-grid,
  .paradigm-grid,
  .effectiveness-panel,
  .pricing-layout,
  .pricing-grid,
  .price-structure,
  .simple-pricing,
  .article-link-grid,
  .module-content,
  .outcomes-layout,
  .fit-grid,
  .split,
  .faculty {
    grid-template-columns: 1fr;
  }
  .primary-price,
  .module-content section:last-child:nth-child(odd) {
    grid-column: auto;
  }
  .module-content section {
    border-right: 0;
  }
  .trust-strip div { border-bottom: 1px solid var(--line); border-right: 0; }
}

@media (max-width: 640px) {
  .nav-logo img { height: 44px; }
  .hero h1 { font-size: 40px; }
  .hero-copy { font-size: 17px; }
  .btn { width: 100%; }
  .section { padding: 64px 20px; }
  .training-hero { padding: 72px 20px 78px; }
  .pathway { border-left: 0; }
  .path-step,
  .featured-step {
    display: block;
    margin-left: 0;
    padding: 0 0 30px;
  }
  .path-step::before { display: none; }
  .step-number { display: block; margin-bottom: 10px; }
  .featured-step {
    padding: 22px;
  }
}
