/* Marketing & content pages (Step 7) */
body.marketing-page,
body.content-page {
  --mkt-ink: #071330;
  --mkt-muted: #5a6680;
  --mkt-beige: #f5f1ea;
  --mkt-line: #e3e7ef;
  --mkt-accent: #a6192e;
}

body.marketing-page main,
body.content-page main {
  color: var(--mkt-ink);
}

/* Hero */
body.marketing-page .mkt-hero .page-hero__badge {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f07a88;
}

body.marketing-page .mkt-hero .mkt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

body.marketing-page .mkt-section-title {
  font-family: "Exo 2", sans-serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 20px;
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 3px solid #a6192e;
  color: var(--mkt-ink);
}

body.marketing-page .mkt-section-title--on-dark {
  color: #fff;
  border-bottom-color: #e0475a;
}

body.marketing-page .mkt-hero .h1 {
  font-family: "Exo 2", sans-serif;
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 52px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

body.marketing-page .mkt-hero__btn-solid {
  background: #a6192e !important;
  color: #fff !important;
  border: 2px solid #a6192e !important;
}

body.marketing-page .mkt-hero__btn-solid:hover {
  background: #861426 !important;
  border-color: #861426 !important;
  color: #fff !important;
}

body.marketing-page .mkt-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}

/* Accent cards */
.mkt-accent-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.mkt-accent-card {
  background: #fff;
  border: 1px solid var(--mkt-line);
  border-left: 4px solid var(--accent);
  padding: 24px 22px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mkt-accent-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.mkt-accent-card p {
  margin: 0;
  color: var(--mkt-muted);
  font-size: 15px;
  line-height: 1.55;
}

.mkt-accent-card a {
  font-weight: 600;
  color: var(--accent);
}

/* Stats strip */
.mkt-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--mkt-muted);
  margin: 16px 0 0;
}

.mkt-stats strong {
  color: var(--mkt-ink);
}

/* Two column */
.mkt-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 860px) {
  .mkt-split {
    grid-template-columns: 1fr;
  }
}

.mkt-split__media img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.mkt-split__media--cover {
  min-height: 280px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}

/* Company table box */
.mkt-beige-panel {
  background: var(--mkt-beige);
  padding: 28px 32px;
  border-radius: 4px;
}

.mkt-beige-panel .table-wrap {
  margin-top: 12px;
}

.mkt-beige-panel table {
  width: 100%;
  font-size: 15px;
}

.mkt-beige-panel th {
  text-align: left;
  font-weight: 600;
  padding: 8px 16px 8px 0;
  vertical-align: top;
  white-space: nowrap;
  color: var(--mkt-muted);
}

.mkt-beige-panel td {
  padding: 8px 0;
}

/* Note callout */
.mkt-note {
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--mkt-line);
  border-left-width: 4px;
  border-left-color: var(--accent);
  font-size: 15px;
  line-height: 1.6;
}

.mkt-note strong {
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.06em;
}

/* Split CTA */
.mkt-split-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 720px) {
  .mkt-split-cta {
    grid-template-columns: 1fr;
  }
}

.mkt-split-cta__panel {
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: center;
}

.mkt-split-cta__panel--dark {
  background: var(--charcoal);
  color: #fff;
}

.mkt-split-cta__panel--dark h2 {
  color: #fff;
  margin: 0;
  font-size: 1.35rem;
}

.mkt-split-cta__panel--accent {
  background: var(--accent);
  color: #fff;
}

.mkt-split-cta__panel--accent h2 {
  color: #fff;
  margin: 0;
  font-size: 1.35rem;
}

/* Numbered steps */
.mkt-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: mktstep;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mkt-steps li {
  counter-increment: mktstep;
  padding: 0;
  position: relative;
  padding-top: 48px;
}

.mkt-steps li::before {
  content: counter(mktstep);
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mkt-steps h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.mkt-steps p {
  margin: 0;
  color: var(--mkt-muted);
  font-size: 15px;
  line-height: 1.55;
}

/* Points grid */
.mkt-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mkt-points li {
  padding: 20px;
  border: 1px solid var(--mkt-line);
  border-radius: 4px;
}

.mkt-points h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.mkt-points p {
  margin: 0;
  font-size: 15px;
  color: var(--mkt-muted);
  line-height: 1.55;
}

/* Subject grid */
.mkt-area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.mkt-area-grid a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--mkt-line);
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  color: var(--mkt-ink);
  text-decoration: none;
}

.mkt-area-grid a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Verify box */
.mkt-verify {
  background: var(--charcoal);
  color: #fff;
  padding: 48px 0;
}

.mkt-verify .form {
  max-width: 640px;
}

.mkt-verify label {
  color: #e8e4df;
}

.mkt-verify .h2 {
  color: #fff;
}

/* In-page nav */
.mkt-anchor-bar {
  background: #fff;
  border-bottom: 1px solid var(--mkt-line);
  position: static;
}

.mkt-anchor-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 14px;
  padding-bottom: 14px;
  align-items: center;
}

.mkt-anchor-bar a {
  font-size: 14px;
  font-weight: 600;
  color: var(--mkt-ink);
  text-decoration: none;
}

.mkt-anchor-bar a:hover {
  color: var(--accent);
}

.mkt-anchor-bar a.mkt-anchor-bar__cta {
  color: var(--accent);
  margin-left: auto;
}

/* FAQ */
.mkt-faq details {
  border-bottom: 1px solid var(--mkt-line);
  padding: 16px 0;
}

.mkt-faq details summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.mkt-faq details summary::-webkit-details-marker {
  display: none;
}

.mkt-faq details p {
  margin: 12px 0 0;
  color: var(--mkt-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Contact cards */
.mkt-contact-card {
  text-align: center;
  padding: 28px 20px;
}

.mkt-contact-card h3 {
  margin: 0 0 10px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mkt-muted);
}

.mkt-contact-card a {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--mkt-ink);
}

/* Map */
.mkt-map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 4px;
  display: block;
}

/* Quick links */
.mkt-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mkt-quick-links a {
  font-weight: 600;
  color: var(--accent);
}

/* Info section restyle on marketing pages */
body.marketing-page #get-info .info-form-col {
  max-width: 720px;
}

body.marketing-page #get-info .form {
  background: #fff;
  padding: 28px;
  border: 1px solid var(--mkt-line);
  border-radius: 4px;
}

/* Contact form block */
.mkt-contact-form-wrap .form {
  background: #fff;
  padding: 28px;
  border: 1px solid var(--mkt-line);
  border-radius: 4px;
  max-width: 720px;
}

/* Two boxes */
.mkt-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 720px) {
  .mkt-duo {
    grid-template-columns: 1fr;
  }
}

.mkt-duo__box {
  padding: 24px;
  border: 1px solid var(--mkt-line);
  border-radius: 4px;
}

.mkt-duo__box h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

body.content-page .prose {
  max-width: 820px;
}

body.content-page .prose h2 {
  scroll-margin-top: 80px;
}

.mkt-step-with-cert {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
  gap: 24px;
  align-items: start;
}
.mkt-steps--accreditation .mkt-step-with-cert__media {
  max-width: 280px;
}
.mkt-split__media--cert {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.mkt-split--corporate {
  align-items: center;
}
@media (max-width: 720px) {
  .mkt-step-with-cert {
    grid-template-columns: 1fr;
  }
}

.sample-certificate {
  margin: 0;
}
.sample-certificate__frame {
  position: relative;
  display: inline-block;
  max-width: 100%;
  border: 1px solid var(--mkt-line);
  border-radius: 4px;
  box-shadow: 0 16px 40px -24px rgba(34, 32, 31, 0.35);
  overflow: hidden;
  background: #fff;
}
.sample-certificate__frame img {
  display: block;
  width: 100%;
  height: auto;
}
.sample-certificate__watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Exo 2", Inter, sans-serif;
  font-size: clamp(1.5rem, 8vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0.3em;
  color: rgba(7, 19, 48, 0.22);
  transform: rotate(-32deg);
  pointer-events: none;
}
.sample-certificate__caption {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--mkt-muted);
}

/* Stats band — /about */
.mkt-stats-band {
  background: #f3f3f1;
  padding: 56px 0;
}

.mkt-stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 32px;
  text-align: center;
}

@media (max-width: 720px) {
  .mkt-stats-band__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mkt-stats-band__num {
  margin: 0;
  font-family: "Exo 2", sans-serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  color: #a6192e;
}

.mkt-stats-band__label {
  margin: 8px 0 0;
  font-size: 16px;
  color: #4a4542;
}

.mkt-cpd-clarity__copy {
  max-width: 860px;
}

.mkt-cpd-clarity__lead {
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: #4a4542;
}

.mkt-cpd-clarity__body {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.65;
  color: #5e5955;
}

/* Closing band — about, accreditation, student-support */
.mkt-closing-band {
  display: flex;
  flex-wrap: wrap;
}

.mkt-closing-band__half {
  flex: 1 1 320px;
  min-width: min(100%, 280px);
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.mkt-closing-band__half::before {
  content: "";
  position: absolute;
  width: clamp(220px, 40vw, 360px);
  height: clamp(220px, 40vw, 360px);
  border-radius: 50%;
  opacity: 0.12;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
}

.mkt-closing-band__half > * {
  position: relative;
  z-index: 1;
}

.mkt-closing-band__half--charcoal {
  background: #2e2b29;
  color: #e6e1db;
}

.mkt-closing-band__half--red {
  background: #a6192e;
  color: #fff;
}

.mkt-closing-band__half h2 {
  margin: 0;
  font-family: "Exo 2", sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: inherit;
}

.mkt-closing-band__half p {
  margin: 0;
  max-width: 36ch;
  font-size: 16px;
  line-height: 1.55;
  color: inherit;
}

.mkt-closing-band__half--charcoal p {
  color: #e6e1db;
}

.mkt-closing-band__half--red p {
  color: rgba(255, 255, 255, 0.92);
}

.mkt-closing-band__ghost {
  margin-top: 8px;
  background: transparent !important;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: none !important;
}

.mkt-closing-band__ghost:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}

/* Numbered step cards band */
.mkt-step-band {
  background: #f3f3f1;
  padding: 72px 0;
}

.mkt-step-band .wrap {
  padding-left: 24px;
  padding-right: 24px;
}

.mkt-step-cards {
  display: grid;
  gap: 20px;
}

.mkt-step-band--cols-4 .mkt-step-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mkt-step-band--cols-3 .mkt-step-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .mkt-step-band--cols-4 .mkt-step-cards,
  .mkt-step-band--cols-3 .mkt-step-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .mkt-step-band--cols-4 .mkt-step-cards,
  .mkt-step-band--cols-3 .mkt-step-cards {
    grid-template-columns: 1fr;
  }
}

.mkt-step-card {
  background: #fff;
  border-top: 4px solid #a6192e;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
}

.mkt-step-card p.mkt-step-card__num {
  margin: 0 0 6px;
  font-family: "Exo 2", sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: #a6192e;
}

.mkt-step-card h3 {
  margin: 0;
  font-family: "Exo 2", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--mkt-ink);
}

.mkt-step-card p:not(.mkt-step-card__num) {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #5e5955;
}

.mkt-step-card__cert {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.mkt-step-card__cert .sample-certificate {
  max-width: 220px;
  width: 100%;
}

.mkt-step-band__cta {
  margin: 28px 0 0;
  text-align: center;
}

.mkt-step-band__btn {
  background: #a6192e !important;
  color: #fff !important;
  border-color: #a6192e !important;
  min-width: 200px;
}

/* CPD duo + verify side by side */
.mkt-accred-duo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: stretch;
}

.mkt-accred-duo__left {
  flex: 1 1 300px;
  min-width: min(100%, 280px);
}

.mkt-accred-duo__right {
  flex: 1 1 300px;
  min-width: min(100%, 280px);
}

.mkt-duo--stacked {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mkt-duo__box--is {
  background: #eef6ef;
  border-color: #d4e8d6;
}

.mkt-duo__box--isnt {
  background: #f8ecee;
  border-color: #ecd5da;
}

.mkt-verify-dark {
  background: #22201f;
  color: #e6e1db;
  padding: 32px 28px;
  border-radius: 4px;
}

.mkt-verify-dark .mkt-section-title {
  margin-bottom: 12px;
}

.mkt-verify-dark__lead {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.55;
  color: #e6e1db;
}

.mkt-verify-dark__panel {
  background: #fff;
  padding: 24px;
  border-radius: 4px;
  color: var(--mkt-ink);
}

.mkt-verify-dark__panel .form {
  max-width: none;
}

/* Marketing FAQ uses global .faq accordion from site.css */
body.marketing-page .mkt-faq-accordion.faq details {
  border: 1px solid #e2ded8;
  border-bottom: 1px solid #e2ded8;
  margin-bottom: 8px;
}

body.marketing-page .mkt-faq-accordion.faq {
  border-top: none;
}

/* Contact opening hours */
.mkt-office-hours-title {
  margin: 24px 0 8px;
  font-family: "Exo 2", sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.mkt-office-hours-line {
  margin: 0;
  font-size: 16px;
  color: var(--mkt-muted);
}

/* Fee cards — student support */
.mkt-fee-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.mkt-fee-card {
  background: #fff;
  border: 1px solid var(--mkt-line);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  padding: 0 0 0;
  overflow: hidden;
  min-height: 100%;
}

.mkt-fee-card__title {
  margin: 0;
  padding: 22px 22px 0;
  font-family: "Exo 2", sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.mkt-fee-card__price {
  margin: 8px 22px 0;
  font-family: "Exo 2", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  color: #a6192e;
}

.mkt-fee-card__sub {
  margin: 6px 22px 0;
  font-size: 13px;
  color: #5e5955;
}

.mkt-fee-card__desc {
  margin: 12px 22px 0;
  flex: 1;
  font-size: 15px;
  line-height: 1.55;
  color: var(--mkt-muted);
}

.mkt-fee-card__action {
  display: block;
  margin-top: 20px;
  padding: 14px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  background: #a6192e;
  color: #fff !important;
}

.mkt-fee-card__action:hover {
  background: #861426;
  color: #fff !important;
}

.mkt-fee-foot {
  margin-top: 24px;
  padding: 20px 24px;
  background: #f4eee4;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--mkt-ink);
}

.mkt-fee-foot p {
  margin: 0;
}

.mkt-fee-foot p + p {
  margin-top: 8px;
}

/* Red square marker lists */
.mkt-icon-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mkt-icon-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.55;
  color: #5e5955;
}

.mkt-icon-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  background: #a6192e;
}

.mkt-icon-list strong {
  color: var(--mkt-ink);
  font-weight: 700;
}

/* Studying online split */
.mkt-study-split {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 380px);
  gap: 40px;
  align-items: start;
}

@media (max-width: 860px) {
  .mkt-study-split {
    grid-template-columns: 1fr;
  }
}

.mkt-study-split__cert {
  max-width: 380px;
  width: 100%;
  justify-self: end;
}

.mkt-study-split__cert .sample-certificate {
  max-width: 380px;
}

/* Corporate why split */
.mkt-corp-why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 860px) {
  .mkt-corp-why {
    grid-template-columns: 1fr;
  }
}

.mkt-corp-why__photo {
  height: 380px;
  overflow: hidden;
  border-radius: 4px;
}

.mkt-corp-why__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Contact link tiles */
.mkt-link-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 960px) {
  .mkt-link-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .mkt-link-tiles {
    grid-template-columns: 1fr;
  }
}

.mkt-link-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: #f3f3f1;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  color: var(--mkt-ink);
  text-decoration: none;
}

.mkt-link-tile__arrow {
  color: #a6192e;
  font-size: 18px;
}

.mkt-link-tile:hover {
  color: #7e1222;
}

.mkt-link-tile:hover .mkt-link-tile__arrow {
  color: #7e1222;
}