/* ============================================================
   EBCS Design System — main.css
   ============================================================ */

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
  /* Brand — navy + soft blue (2026 rebrand, replaces the original green/teal) */
  --navy:          #132a60;
  --navy-dark:     #0d1d43;
  --navy-light:    #1e3d85;
  --accent:        #93c5c6;
  --accent-dark:   #437576;  /* deepened for 5.1:1 contrast on white — used for link text */
  --accent-light:  #b3d7d8;

  /* Readable navy for link/body text on white (accent alone is too light) */
  --link:          #132a60;
  --link-hover:    #1e3d85;

  /* Legacy aliases — kept so any older rule/template still resolves.
     Prefer --navy / --accent in new code. */
  --green:         var(--navy);
  --green-dark:    var(--navy-dark);
  --green-light:   var(--navy-light);
  --teal:          var(--accent);
  --teal-dark:     var(--accent-dark);
  --teal-light:    var(--accent-light);

  --white:         #ffffff;
  --bg-light:      #f4f7fb;
  --border:        #e0e0e0;
  --text:          #1a1a1a;
  --text-muted:    #6b7280;
  --text-light:    #9ca3af;

  /* Status */
  --status-green:  #15803d;
  --status-green-bg: #dcfce7;
  --status-amber:  #92400e;
  --status-amber-bg: #fef3c7;
  --status-red:    #991b1b;
  --status-red-bg: #fee2e2;
  --status-blue:   #1e40af;
  --status-blue-bg: #dbeafe;

  /* Spacing */
  --radius:        8px;
  --radius-sm:     6px;
  --radius-lg:     12px;
  --card-pad:      24px;
  --card-pad-sm:   16px;

  /* Typography */
  --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Transitions */
  --transition:    0.15s ease;
  --transition-md: 0.25s ease;

  /* Shadows */
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
  --shadow:        0 2px 8px rgba(0,0,0,0.10);
  --shadow-lg:     0 4px 20px rgba(0,0,0,0.12);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  margin: 0;
  padding: 0;
}

body.ebcs-demo-active {
  padding-top: 44px;
}

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

a {
  color: var(--teal-dark);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--green); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 0.75em;
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
h5, h6 { font-size: 1rem; }

p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.5rem; }

/* ── Demo Banner ────────────────────────────────────────────── */
.ebcs-demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fef3c7;
  border-bottom: 2px solid #f59e0b;
  color: #78350f;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  padding: 10px 16px;
  letter-spacing: 0.01em;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 760px; }
.container--wide   { max-width: 1400px; }

/* ── Site Header ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

body.ebcs-demo-active .site-header {
  top: 44px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 108px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--green);
  font-size: 1.125rem;
  font-weight: 700;
  flex-shrink: 0;
}
.site-header__logo:hover { color: var(--green-dark); text-decoration: none; }
.site-header__crest { width: 96px; height: 96px; display: block; }

.primary-nav { flex: 1; }
.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav__list li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.primary-nav__list li a:hover,
.primary-nav__list li.current-menu-item > a {
  background: var(--bg-light);
  color: var(--green);
  text-decoration: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }

.btn--primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn--primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(19,42,96,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn--outline:hover {
  background: var(--green);
  color: var(--white);
}

.btn--teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn--teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
}

.btn--teal-outline {
  background: transparent;
  color: var(--teal-dark);
  border-color: var(--teal);
}
.btn--teal-outline:hover {
  background: var(--teal);
  color: var(--white);
}

.btn--sm   { padding: 7px 16px; font-size: 0.875rem; }
.btn--lg   { padding: 14px 32px; font-size: 1.0625rem; }
.btn--full { width: 100%; }

.btn--primary.btn--lg {
  height: 48px;
}

/* ── Form elements ──────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group:last-child { margin-bottom: 0; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

textarea {
  height: auto;
  min-height: 100px;
  padding: 10px 12px;
  resize: vertical;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(19,42,96,0.12);
}

input.error, select.error, textarea.error {
  border-color: #dc2626;
}

.form-error {
  font-size: 0.8125rem;
  color: #dc2626;
  font-weight: 500;
}

.form-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Checkbox + radio */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
  accent-color: var(--green);
}
.form-check label {
  font-weight: 400;
  cursor: pointer;
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--card-pad);
  box-shadow: var(--shadow-sm);
}

.card--sm { padding: var(--card-pad-sm); }

.card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--green);
  margin: 0;
}

/* ── Status Pills ───────────────────────────────────────────── */
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.pill--green  { background: var(--status-green-bg);  color: var(--status-green); }
.pill--amber  { background: var(--status-amber-bg);  color: var(--status-amber); }
.pill--red    { background: var(--status-red-bg);    color: var(--status-red); }
.pill--blue   { background: var(--status-blue-bg);   color: var(--status-blue); }
.pill--grey   { background: #f3f4f6;                 color: #6b7280; }

/* ── Alert Banners ──────────────────────────────────────────── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.alert--red {
  background: var(--status-red-bg);
  color: var(--status-red);
  border: 1px solid #fca5a5;
}
.alert--amber {
  background: var(--status-amber-bg);
  color: var(--status-amber);
  border: 1px solid #fcd34d;
}
.alert--green {
  background: var(--status-green-bg);
  color: var(--status-green);
  border: 1px solid #86efac;
}
.alert--blue {
  background: var(--status-blue-bg);
  color: var(--status-blue);
  border: 1px solid #93c5fd;
}
.alert__icon { flex-shrink: 0; margin-top: 1px; }

/* ── Site Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--green);
  color: rgba(255,255,255,0.85);
  margin-top: 80px;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding: 56px 24px;
}
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.site-footer__brand img { width: 52px; height: 52px; }
.site-footer__tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(255,255,255,0.8);
}
.site-footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.site-footer__col h4 {
  color: var(--white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.site-footer__col ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col li { margin-bottom: 8px; }
.site-footer__col a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.site-footer__col a:hover { color: var(--white); text-decoration: none; }

.site-footer__bottom {
  background: var(--green-dark);
  padding: 16px 24px;
  text-align: center;
}
.site-footer__bottom p {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
}

/* ── Hero Section ───────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--green);
  color: var(--white);
  overflow: hidden;
}
.hero--with-image {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero__image {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.25;
}
.hero__video,
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__video-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, rgba(19,42,96,0.78) 0%, rgba(13,29,67,0.82) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  text-align: center;
}
.hero__eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero__title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
}
.hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero .btn--white {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}
.hero .btn--white:hover {
  background: rgba(255,255,255,0.9);
  color: var(--green-dark);
}
.hero .btn--white-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.hero .btn--white-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

/* ── Membership cost banner ─────────────────────────────────── */
/* A white card pulled up over the hero's bottom edge. */
.membership-banner {
  background: var(--white);
  position: relative;
  z-index: 2;
}
.membership-banner__card {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(13, 29, 67, 0.16);
  padding: 28px 32px;
  margin-top: -44px;
}
.membership-banner__price {
  text-align: center;
  padding-right: 32px;
  border-right: 1px solid var(--border);
}
.membership-banner__amount {
  display: block;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--green);
}
.membership-banner__per {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-top: 6px;
}
.membership-banner__text {
  flex: 1;
  min-width: 260px;
}
.membership-banner__text h3 {
  font-size: 1.125rem;
  color: var(--green);
  margin: 0 0 6px;
}
.membership-banner__text p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}
@media (max-width: 720px) {
  .membership-banner__card {
    flex-direction: column;
    text-align: center;
    margin-top: -28px;
  }
  .membership-banner__price {
    padding-right: 0;
    border-right: none;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }
}

/* ── Pathway steps (How to Become a Coach) ──────────────────── */
.pathway-steps {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pathway-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.pathway-step__num {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pathway-step__body h3 {
  font-size: 1.125rem;
  margin: 0 0 8px;
  color: var(--green);
}
.pathway-step__body p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.signup-list {
  margin: 0 0 20px 20px;
  padding: 0;
}
.signup-list li {
  margin-bottom: 10px;
  line-height: 1.7;
}

/* ── Home Page Sections ─────────────────────────────────────── */
.section {
  padding: 72px 0;
}
.section--light { background: var(--bg-light); }
.section--dark  { background: var(--green); color: var(--white); }

.section__header {
  text-align: center;
  margin-bottom: 48px;
}
.section__label {
  display: inline-block;
  color: var(--teal-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
}
.section--dark .section__title { color: var(--white); }
.section__intro {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

/* ── Feature Grid ───────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--card-pad);
  transition: box-shadow var(--transition-md), transform var(--transition-md);
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.feature-card__icon {
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--green);
}
.feature-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 8px;
}
.feature-card__body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Qualification Level Cards ──────────────────────────────── */
.level-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.level-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px var(--card-pad);
  text-align: center;
  transition: border-color var(--transition-md), box-shadow var(--transition-md);
}
.level-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}
.level-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--bg-light);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green);
  margin: 0 auto 16px;
  border: 2px solid var(--teal-light);
}
.level-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 8px;
}
.level-card__body {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── News / Posts ───────────────────────────────────────────── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.post-card { padding: 0; overflow: hidden; }
.post-card__thumb img { width: 100%; height: 200px; object-fit: cover; }
.post-card__body { padding: var(--card-pad); }
.post-card__date { font-size: 0.8125rem; color: var(--text-muted); display: block; margin-bottom: 8px; }
.post-card__title { font-size: 1.0625rem; margin-bottom: 10px; }
.post-card__title a { color: var(--text); }
.post-card__title a:hover { color: var(--green); text-decoration: none; }
.post-card__excerpt { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }

.posts-list { display: flex; flex-direction: column; gap: 32px; }
.news-item { border-bottom: 1px solid var(--border); padding-bottom: 32px; }
.news-item:last-child { border-bottom: none; }
.news-item__date { font-size: 0.8125rem; color: var(--text-muted); display: block; margin-bottom: 6px; }
.news-item__title { font-size: 1.25rem; margin-bottom: 10px; }
.news-item__title a { color: var(--text); }
.news-item__title a:hover { color: var(--green); text-decoration: none; }
.news-item__excerpt { color: var(--text-muted); margin-bottom: 12px; }

.link-arrow {
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.9rem;
}
.link-arrow:hover { color: var(--green); text-decoration: none; }

/* ── About / Two-col layout ─────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col--reverse .two-col__image { order: 2; }
.two-col__image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.two-col__label {
  display: inline-block;
  color: var(--teal-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.two-col__title { font-size: 1.875rem; color: var(--green); margin-bottom: 16px; }
.two-col__body { color: var(--text-muted); line-height: 1.75; margin-bottom: 24px; }

/* ── CTA Strip ──────────────────────────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.cta-strip h2 { color: var(--white); font-size: 2rem; margin-bottom: 12px; }
.cta-strip p  { color: rgba(255,255,255,0.85); font-size: 1.0625rem; max-width: 540px; margin: 0 auto 32px; }
.cta-strip .btn--white {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}
.cta-strip .btn--white:hover {
  background: rgba(255,255,255,0.9);
}

/* ── Coaching Structure Page ────────────────────────────────── */
.pathway {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 40px;
}
.pathway::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--teal-light);
}
.pathway-step {
  position: relative;
  padding-bottom: 32px;
}
.pathway-step__dot {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 32px;
  height: 32px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  z-index: 1;
}
.pathway-step__title { font-size: 1.125rem; color: var(--green); margin-bottom: 6px; }
.pathway-step__body  { color: var(--text-muted); font-size: 0.9375rem; }

/* ── Contact Page ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info__item { display: flex; gap: 12px; align-items: flex-start; }
.contact-info__icon {
  width: 40px;
  height: 40px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.contact-info__label { font-size: 0.8125rem; color: var(--text-muted); }
.contact-info__value { font-weight: 600; color: var(--text); }

/* ── Find a Coach ───────────────────────────────────────────── */
.coach-search {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: var(--card-pad);
  margin-bottom: 32px;
}
.coach-search__filters {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}
.coach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.coach-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.coach-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  overflow: hidden;
  flex-shrink: 0;
}
.coach-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.coach-card__info { flex: 1; }
.coach-card__name  { font-weight: 700; font-size: 1rem; color: var(--text); margin-bottom: 4px; }
.coach-card__meta  { font-size: 0.875rem; color: var(--text-muted); }
.coach-card__badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.coach-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  color: var(--text-muted);
}

/* ── Public Resources ───────────────────────────────────────── */
.resource-list { display: flex; flex-direction: column; gap: 12px; }
.resource-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: var(--card-pad-sm) var(--card-pad);
}
.resource-item__icon {
  width: 40px;
  height: 40px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.resource-item__info { flex: 1; }
.resource-item__title { font-weight: 600; font-size: 0.9375rem; color: var(--text); margin-bottom: 2px; }
.resource-item__desc  { font-size: 0.8125rem; color: var(--text-muted); }
.resource-item__badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg-light);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Login Page ─────────────────────────────────────────────── */
.login-page {
  min-height: calc(100vh - 68px);
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}
.login-card {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.login-card__logo {
  text-align: center;
  margin-bottom: 32px;
}
.login-card__logo img {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
}
.login-card__logo h2 {
  font-size: 1.125rem;
  color: var(--green);
  margin: 0;
}
.login-card__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--green);
  text-align: center;
  margin-bottom: 28px;
}
.login-card__forgot {
  font-size: 0.875rem;
  color: var(--teal-dark);
  text-align: right;
}
.login-card__divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}
.login-card__register {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.login-card__register a { color: var(--teal-dark); font-weight: 600; }
.login-card__footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 16px;
}
.login-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* ── Step Indicator (Registration / Portals) ─────────────────── */
.step-indicator {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
}
.step-indicator__item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.step-indicator__item:last-child { flex: 0; }
.step-indicator__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.step-indicator__item.active .step-indicator__num {
  background: var(--green);
  color: var(--white);
}
.step-indicator__item.completed .step-indicator__num {
  background: var(--status-green-bg);
  color: var(--status-green);
}
.step-indicator__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}
.step-indicator__item.active .step-indicator__label { color: var(--green); font-weight: 600; }
.step-indicator__line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 8px;
}
.step-indicator__item.completed + .step-indicator__line { background: var(--teal-light); }

/* ── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.page-hero h1 {
  color: var(--white);
  font-size: 2.25rem;
  margin-bottom: 12px;
}
.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Page content ───────────────────────────────────────────── */
.page-content { padding: 56px 0; }
.page-header  { margin-bottom: 32px; }
.page-title   { color: var(--green); font-size: 2rem; }
.page-body h2 { color: var(--green); font-size: 1.375rem; }
.page-body p  { line-height: 1.75; color: #374151; }

/* ── Archive Header ─────────────────────────────────────────── */
.archive-header { margin-bottom: 40px; }
.archive-title  { color: var(--green); font-size: 2rem; }

/* ── 404 ────────────────────────────────────────────────────── */
.error-404 {
  padding: 80px 0;
  text-align: center;
}
.error-404 h1 {
  font-size: 6rem;
  color: var(--teal-light);
  margin-bottom: 0;
}
.error-404 h2 { color: var(--green); }
.error-404 p  { color: var(--text-muted); margin-bottom: 24px; }

/* ── Pagination ─────────────────────────────────────────────── */
.nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.page-numbers:hover {
  background: var(--bg-light);
  text-decoration: none;
  color: var(--green);
}
.page-numbers.current {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

/* ── Post Navigation ────────────────────────────────────────── */
.post-navigation { margin-top: 40px; }
.post-hero-image { margin-bottom: 32px; border-radius: var(--radius); overflow: hidden; }

/* ── Post Meta ──────────────────────────────────────────────── */
.post-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* ── No results ─────────────────────────────────────────────── */
.no-results { color: var(--text-muted); font-size: 1rem; padding: 32px 0; }

/* ── Text utils ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.text-green  { color: var(--green); }
.text-teal   { color: var(--teal-dark); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .level-cards { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .two-col--reverse .two-col__image { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }

  .hero__title { font-size: 2.25rem; }
  .hero__inner { padding: 72px 0; }

  .site-header__actions { display: none; }
  .nav-toggle { display: flex; }

  .primary-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 16px;
    z-index: 99;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav__list { flex-direction: column; }
  .primary-nav__list li a { padding: 12px 16px; }

  .feature-grid { grid-template-columns: 1fr; }
  .level-cards  { grid-template-columns: 1fr; }

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

  .site-footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__links { grid-template-columns: 1fr 1fr; }

  .coach-search__filters { grid-template-columns: 1fr; }

  .section { padding: 48px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__actions { flex-direction: column; align-items: center; }
  .site-footer__links { grid-template-columns: 1fr; }
  .login-card { padding: 28px 20px; }
}
