/* BE Education — component styles (beeducation.com) */
:root {
  --primary: #002753;
  --title: #003088;
  --border: #bfcbe1;
  --accent-blue: #0679e0;
  --accent-light-blue: #e8eff9;
  --accent-lightest: #f9fafc;
  --accent-red: #b71c2c;
  --accent-orange: #f39200;
  --accent-gold: #a67c52;
  --text-muted: #5a7184;
  --text-body: #667085;
  --white: #fff;
  --max-w: 1140px;
  --section-pad: clamp(4rem, 8vw, 5.5rem);
  --font-sans: "Montserrat", "Montserrat Fallback", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --footer-muted: #aebdd0;
  --footer-dash: #4574c4;
  --footer-border: #1f2937;
  --card-red: #d15b5e;
  --card-blue: #0679e0;
  --card-orange: #f9a825;
  --card-teal: #00897b;
  --icon-blue: #0679e0;
  --icon-rose: #c55a5a;
  --icon-teal: #00897b;
  --goal-peach: #fff5f0;
  --goal-peach-text: #e67e22;
  --goal-mint: #f0f9f9;
  --goal-mint-text: #00897b;
  --accent-purple: #6b4c9a;
  --tint-blue: #e8f2fc;
  --tint-teal: #e6f5f3;
  --tint-purple: #f0ebf7;
  --tint-orange: #fff5ee;
  --nav-link: #003088;
  --header-max-w: 1680px;
  --header-px: 1rem;
  --header-py: 1rem;
  --header-logo-h: 3.75rem;
  --header-logo-w: 12.25rem;
  --header-height: calc(var(--header-logo-h) + var(--header-py) * 2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}
body {
  font-family: var(--font-sans) !important;
  color: var(--primary);
  background: var(--white);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Header (padding aligned with beeducation.com) ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.header-inner {
  position: relative;
  max-width: var(--header-max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-sizing: border-box;
  min-height: var(--header-height);
  padding: var(--header-py) var(--header-px);
}
.logo { flex-shrink: 0; line-height: 0; }
.logo img {
  display: block;
  width: var(--header-logo-w);
  height: var(--header-logo-h);
  object-fit: contain;
  object-position: left center;
}
.main-nav {
  display: flex;
  flex: 1;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(0.35rem, 0.85vw, 1.25rem);
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  flex-shrink: 0;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: -0.2px;
  text-transform: uppercase;
  color: var(--nav-link);
  white-space: nowrap;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--accent-orange); }
.main-nav a.is-active { font-weight: 700; }
.menu-toggle {
  display: none;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
  line-height: 0;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin: 5px 0;
}

/* ── Page hero (Our Students style) ── */
.be-hero {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: clamp(4rem, 10vw, 6rem) clamp(1.25rem, 4vw, 2rem);
  margin-bottom: 0;
}
.be-hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem 1rem;
}
.be-hero__title::before,
.be-hero__title::after {
  content: "/";
  color: var(--accent-gold);
  font-family: var(--font-sans);
  font-weight: 300;
  font-style: normal;
  font-size: .85em;
  opacity: .9;
}
.be-hero__title em {
  font-style: normal;
  font-weight: 700;
}
.be-hero__lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(.95rem, 2vw, 1.125rem);
  font-weight: 400;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
}
.be-hero__tagline {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255,255,255,.85);
}

.main-content { overflow-x: hidden; }

/* ── Section shell (white / alt) ── */
.be-section {
  padding: var(--section-pad) clamp(1.25rem, 4vw, 2.5rem);
}
.be-section--alt { background: var(--accent-lightest); }
.be-section--flush {
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}
.be-section--flush .be-section__inner {
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}
.be-section__inner { max-width: var(--max-w); margin: 0 auto; }

.be-heading { text-align: center; margin-bottom: 2.5rem; }
.be-heading h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--title);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.be-heading p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.be-subheading {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--accent-blue);
  text-align: center;
  text-transform: none;
  letter-spacing: normal;
  margin: 2rem 0 1.25rem;
}
.be-section__inner > .be-subheading:first-of-type { margin-top: 0; }

.be-mode-card__text {
  font-size: .9rem;
  color: var(--text-body);
  line-height: 1.65;
}

.be-scope-list {
  padding-left: 1.25rem;
  margin: 0;
}
.be-scope-list li {
  font-size: .9rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: .65rem;
}

/* Orange-dot bullet list (story / exclusions) */
.be-bullet-list {
  margin: 0.5rem 0 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  list-style: none;
}
.be-bullet-list li {
  font-size: clamp(0.875rem, 1.2vw, 0.9375rem);
  line-height: 1.65;
  color: var(--text-muted);
  padding-left: 1.125rem;
  position: relative;
}
.be-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-orange);
}
.be-bullet-list li strong {
  color: var(--title);
  font-weight: 700;
}

.be-oversight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.be-oversight-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--title);
  margin-bottom: .5rem;
}
.be-oversight-item p {
  font-size: .9rem;
  color: var(--text-body);
  line-height: 1.6;
}
.be-red { color: var(--accent-red); }

.be-story__content .be-bullet-list {
  margin-bottom: 1rem;
}

/* ── Story split (image left, #e8eff9 right, mask divider) ── */
.be-story {
  display: flex;
  align-items: stretch;
  min-height: clamp(28rem, 52vw, 38.75rem);
  background: var(--accent-light-blue);
  margin: 0;
  line-height: normal;
  scroll-margin-top: 88px;
}
.be-story__media {
  position: relative;
  flex: 0 0 51.67%;
  max-width: 51.67%;
  min-height: inherit;
  overflow: hidden;
}
.be-story__media > img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 35% center;
  display: block;
}
.be-story__divider {
  position: absolute;
  right: -1px;
  top: 0;
  z-index: 2;
  width: clamp(3rem, 4.7vw, 4.5rem);
  height: 100%;
  pointer-events: none;
}
.be-story__divider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: rotate(180deg);
  display: block;
}
.be-story__content {
  flex: 1;
  min-width: 0;
  background: var(--accent-light-blue);
  color: var(--title);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 5.6rem);
  padding-left: clamp(1.25rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}
.be-story__content h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.13rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--title);
  margin-bottom: 0.75rem;
}
.be-story__content h3 {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--accent-blue);
  margin-bottom: 1rem;
}
.be-story__content p {
  font-size: clamp(0.875rem, 1.2vw, 0.9375rem);
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.be-story__quote {
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--accent-orange);
}
.be-story__quote p {
  font-weight: 700;
  color: var(--title);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ── What We Do / Services link cards (beeducation.com) ── */
.be-whatwedo__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.be-link-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.2s ease;
}
.be-link-card:hover {
  box-shadow: 0 8px 24px rgba(0, 39, 83, 0.08);
}
.be-link-card__icon {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  margin-bottom: 1.25rem;
}
.be-link-card__icon svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke-width: 1.5;
}
.be-link-card--red .be-link-card__icon { background: var(--card-red); }
.be-link-card--blue .be-link-card__icon { background: var(--accent-blue); }
.be-link-card--teal .be-link-card__icon { background: var(--card-teal); }
.be-link-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.65rem;
}
.be-link-card--red h3 { color: var(--card-red); }
.be-link-card--blue h3 { color: var(--accent-blue); }
.be-link-card--teal h3 { color: var(--card-teal); }
.be-link-card > p {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #858488;
  flex: 1;
  margin: 0;
}
.be-link-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  width: fit-content;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.be-link-card__more { color: var(--title); }
.be-link-card:hover .be-link-card__more {
  color: var(--accent-orange);
  border-color: var(--accent-orange);
}
.be-link-card__arrow {
  font-size: 0.875rem;
  line-height: 1;
}

.be-callout {
  margin-top: 2rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 12px;
  padding: 2rem 2.25rem;
  text-align: center;
}
.be-callout h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: .75rem;
}
.be-callout p {
  font-size: .95rem;
  line-height: 1.7;
  opacity: .92;
  max-width: 720px;
  margin: 0 auto;
}

/* ── Why Choose (3-col circle icons) ── */
.be-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.be-why__grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
.be-why__grid--4 { grid-template-columns: repeat(2, 1fr); }

.be-why-card { text-align: left; }
.be-why-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--white);
}
.be-why-card__icon svg { width: 28px; height: 28px; }
.be-why-card--blue .be-why-card__icon { background: var(--icon-blue); }
.be-why-card--rose .be-why-card__icon { background: var(--icon-rose); }
.be-why-card--teal .be-why-card__icon { background: var(--icon-teal); }
.be-why-card--navy .be-why-card__icon { background: var(--primary); }
.be-why-card--orange .be-why-card__icon { background: var(--accent-orange); }

.be-why-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--title);
  margin-bottom: .65rem;
  line-height: 1.35;
}
.be-why-card p {
  font-size: .9375rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* ── Mentoring blocks ── */
.be-mentoring-stack {
  width: 100%;
}
.be-mentoring-stack .be-mentoring-block:first-child {
  padding-top: 0;
}
.be-mentoring-block {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.be-mentoring-block:last-child { border-bottom: none; padding-bottom: 0; }
.be-mentoring-block:first-child { padding-top: 0; }

.be-mentoring-block__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  line-height: 1.35;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
}
.be-mentoring-block__title-sub {
  font-weight: 600;
  opacity: 0.9;
}
.be-mentoring-block--orange .be-mentoring-block__title {
  background: var(--goal-peach);
  color: var(--goal-peach-text);
}
.be-mentoring-block--purple .be-mentoring-block__title {
  background: var(--tint-purple);
  color: #4a3570;
}
.be-mentoring-block--blue .be-mentoring-block__title {
  background: var(--tint-blue);
  color: #1a5a9e;
}
.be-mentoring-block--rose .be-mentoring-block__title {
  background: #fdf0f0;
  color: var(--icon-rose);
}

.be-mentoring-block__head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.be-mentoring-block__head svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.be-mentoring-block--peach .be-mentoring-block__head { color: var(--goal-peach-text); }
.be-mentoring-block--mint .be-mentoring-block__head { color: var(--goal-mint-text); }
.be-mentoring-block--navy .be-mentoring-block__head { color: var(--primary); }

.be-mentoring-block__head h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--title);
}

.be-goal-box {
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  font-size: .9375rem;
  line-height: 1.6;
}
.be-mentoring-block--peach .be-goal-box {
  background: var(--goal-peach);
  color: var(--goal-peach-text);
}
.be-mentoring-block--mint .be-goal-box {
  background: var(--goal-mint);
  color: var(--goal-mint-text);
}
.be-goal-box strong { font-weight: 700; }
.be-goal-box p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.be-mentoring-block--orange .be-goal-box {
  background: var(--tint-orange);
  color: #9a5c00;
}
.be-mentoring-block--orange .be-goal-box strong { color: var(--accent-orange); }
.be-mentoring-block--purple .be-goal-box {
  background: var(--tint-purple);
  color: #4a3570;
}
.be-mentoring-block--purple .be-goal-box strong { color: var(--accent-purple); }
.be-mentoring-block--blue .be-goal-box {
  background: var(--tint-blue);
  color: #1a5a9e;
}
.be-mentoring-block--blue .be-goal-box strong { color: var(--accent-blue); }
.be-mentoring-block--rose .be-goal-box {
  background: #fdf0f0;
  color: #8b3a3a;
}
.be-mentoring-block--rose .be-goal-box strong { color: var(--icon-rose); }

.be-mentoring-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.be-mentoring-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: .85rem;
  font-size: .9375rem;
  color: var(--text-body);
  line-height: 1.6;
}
.be-mentoring-block--peach .be-mentoring-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--goal-peach-text);
}
.be-mentoring-block--mint .be-mentoring-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--goal-mint-text);
}
.be-mentoring-block--navy .be-mentoring-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
}
.be-mentoring-block--orange .be-mentoring-list li::before { background: var(--accent-orange); }
.be-mentoring-block--purple .be-mentoring-list li::before { background: var(--accent-purple); }
.be-mentoring-block--blue .be-mentoring-list li::before { background: var(--accent-blue); }
.be-mentoring-block--rose .be-mentoring-list li::before { background: var(--icon-rose); }
.be-mentoring-list li strong {
  color: var(--title);
  font-weight: 700;
}

/* Selection flow — colored headers like PDF but cleaner */
.be-flow-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.be-flow-step {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.be-flow-step__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3.75rem;
  padding: 1rem 1.25rem;
  text-align: center;
  color: var(--white);
}
.be-flow-step__num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
}
.be-flow-step__title {
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.be-flow-step:nth-child(1) .be-flow-step__head { background: var(--accent-orange); }
.be-flow-step:nth-child(2) .be-flow-step__head { background: var(--icon-blue); }
.be-flow-step:nth-child(3) .be-flow-step__head { background: var(--primary); }
.be-flow-step__body {
  flex: 1;
  padding: 1.35rem 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
  border-top: 3px solid;
}
.be-flow-step:nth-child(1) .be-flow-step__body { border-color: var(--accent-orange); }
.be-flow-step:nth-child(2) .be-flow-step__body { border-color: var(--icon-blue); }
.be-flow-step:nth-child(3) .be-flow-step__body { border-color: var(--primary); }

/* ── Results stats ── */
.be-results__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: .5rem;
}
.be-stat-card {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
}
.be-stat-card__num {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--accent-orange);
  line-height: 1;
  margin-bottom: .5rem;
}
.be-stat-card__currency {
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: .04em;
  vertical-align: 0.35em;
  margin-left: 0.2rem;
}
.be-stat-card__label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--title);
  margin-bottom: .35rem;
  line-height: 1.3;
}
.be-stat-card__note {
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 16rem;
  margin: 0 auto;
}

.be-exclusions {
  margin: 2rem 0 2.5rem;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.25rem, 3vw, 1.75rem);
  background: var(--accent-light-blue);
  border-radius: 12px;
  text-align: left;
}
.be-exclusions__lead {
  font-size: clamp(0.875rem, 1.2vw, 0.9375rem);
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.be-framework-intro__title {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 700;
  color: var(--title);
  margin-bottom: 0.75rem;
}
.be-framework-intro__text {
  font-size: clamp(0.875rem, 1.2vw, 0.9375rem);
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.be-fees-photo {
  margin-top: 2.5rem;
  margin-left: calc(-1 * clamp(1.25rem, 4vw, 2.5rem));
  margin-right: calc(-1 * clamp(1.25rem, 4vw, 2.5rem));
  width: calc(100% + 2 * clamp(1.25rem, 4vw, 2.5rem));
}
.be-fees-photo img {
  width: 100%;
  min-height: 240px;
  object-fit: cover;
}

/* Process steps — 4-column row with ellipse-step markers */
.be-process-steps {
  list-style: none;
  margin: 2.5rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.be-process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
}
.be-step-marker {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}
.be-step-marker img {
  position: absolute;
  top: -2px;
  right: -5px;
  width: 2.5rem;
  height: auto;
  display: block;
  pointer-events: none;
}
.be-step-marker__num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  z-index: 1;
}
.be-process-step--1 .be-step-marker__num { color: #0679e0; }
.be-process-step--2 .be-step-marker__num { color: #7c3aed; }
.be-process-step--3 .be-step-marker__num { color: #008081; }
.be-process-step--4 .be-step-marker__num { color: #1ba2d5; }
.be-process-step__content {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.be-process-step__content h4 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.013em;
  margin-bottom: 0.5rem;
}
.be-process-step--1 .be-process-step__content h4 { color: #0679e0; }
.be-process-step--2 .be-process-step__content h4 { color: #7c3aed; }
.be-process-step--3 .be-process-step__content h4 { color: #008081; }
.be-process-step--4 .be-process-step__content h4 { color: #1ba2d5; }
.be-process-step__content > p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #858488;
  letter-spacing: -0.013em;
}
.be-journey-photo img {
  width: 100%;
  border-radius: 12px;
  min-height: 280px;
  object-fit: cover;
}
.be-journey-banner {
  position: relative;
  margin-top: 2.5rem;
  border-radius: 12px;
  overflow: hidden;
}
.be-journey-banner img {
  display: block;
  width: 100%;
  min-height: clamp(280px, 40vw, 420px);
  object-fit: cover;
  border-radius: 0;
}
.be-journey-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 39, 83, 0.62);
  pointer-events: none;
}
.be-journey-banner__caption {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  margin: 0;
}
.be-journey-banner__caption p {
  max-width: 42rem;
  margin: 0;
  text-align: center;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--white);
}

/* ── Feature cards (Designed for Your Success) ── */
.be-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.be-feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.be-feature-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.be-feature-card__body {
  padding: 1.35rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.be-feature-card__body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .65rem;
}
.be-feature-card__body > p {
  font-size: .9rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.be-feature-card--blue h3 { color: var(--accent-blue); }
.be-feature-card--teal h3 { color: var(--card-teal); }
.be-feature-card--orange h3 { color: var(--accent-orange); }
.be-feature-list {
  margin-top: auto;
  padding-left: 1.1rem;
}
.be-feature-card--blue .be-feature-list { color: var(--accent-blue); }
.be-feature-card--teal .be-feature-list { color: var(--card-teal); }
.be-feature-card--orange .be-feature-list { color: var(--accent-orange); }
.be-feature-list li {
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: .35rem;
  color: var(--title);
}
.be-feature-list li::marker { color: inherit; font-size: 1.1em; }

/* ── Mode cards (Teaching That Adapts) ── */
.be-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.be-mode-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
}
.be-mode-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.be-mode-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.be-mode-card--blue .be-mode-card__title { color: var(--accent-blue); }
.be-mode-card--teal .be-mode-card__title { color: var(--card-teal); }
.be-mode-card--purple .be-mode-card__title { color: var(--accent-purple); }
.be-mode-card--orange .be-mode-card__title { color: var(--accent-orange); }
.be-mode-card--rose .be-mode-card__title { color: var(--icon-rose); }
.be-mode-card--navy .be-mode-card__title { color: var(--primary); }
.be-mode-card > p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-body);
}
.be-mode-card > p strong {
  color: var(--title);
  font-weight: 700;
}
.be-mode-card--flat {
  border: none;
  padding: 0;
  background: transparent;
}

.be-mode-card__label {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--title);
  margin-bottom: .65rem;
}
.be-mode-features {
  padding-left: 1.1rem;
  margin-bottom: 1.25rem;
  flex: 1;
}
.be-mode-card--blue .be-mode-features { color: var(--accent-blue); }
.be-mode-card--teal .be-mode-features { color: var(--card-teal); }
.be-mode-card--purple .be-mode-features { color: var(--accent-purple); }
.be-mode-card--orange .be-mode-features { color: var(--accent-orange); }
.be-mode-card--rose .be-mode-features { color: var(--icon-rose); }
.be-mode-card--navy .be-mode-features { color: var(--primary); }
.be-mode-features li {
  font-size: .875rem;
  line-height: 1.55;
  margin-bottom: .4rem;
  color: var(--text-body);
}
.be-mode-features li::marker { color: inherit; }

.be-mode-best {
  border-radius: 10px;
  padding: 1rem 1.15rem;
  font-size: .875rem;
  line-height: 1.55;
  margin-top: auto;
}
.be-mode-card--blue .be-mode-best { background: var(--tint-blue); color: #1a5a9e; }
.be-mode-card--teal .be-mode-best { background: var(--tint-teal); color: #0d6b62; }
.be-mode-card--purple .be-mode-best { background: var(--tint-purple); color: #4a3570; }
.be-mode-card--orange .be-mode-best { background: var(--tint-orange); color: #b35f00; }
.be-mode-card--rose .be-mode-best { background: #fdf0f0; color: #8b3a3a; }
.be-mode-card--navy .be-mode-best { background: var(--accent-light-blue); color: var(--primary); }
.be-mode-best strong { font-weight: 700; }

/* ── Profile cards (Our Tutors) ── */
.be-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.be-profile-grid--3 { grid-template-columns: repeat(3, 1fr); }
.be-profile-grid--4 { grid-template-columns: repeat(4, 1fr); }
.be-profile-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.be-profile-card__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}
.be-profile-card__avatar--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light-blue);
  color: var(--accent-blue);
  padding: 1.25rem;
  box-sizing: border-box;
}
.be-profile-card__avatar--icon svg,
.be-profile-card__avatar--icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}
.be-profile-card__avatar--logo {
  padding: 0.75rem;
}
.be-profile-card__avatar--logo img {
  width: auto;
  height: 2.25rem;
  max-width: 85%;
  object-fit: contain;
  display: block;
}
.be-profile-card--teal .be-profile-card__avatar--icon {
  background: var(--tint-teal);
  color: var(--card-teal);
  border-color: var(--tint-teal);
}
.be-profile-card--teal .be-profile-card__avatar--icon.be-profile-card__avatar--logo {
  background: var(--primary);
  border-color: var(--primary);
  padding: 0.65rem;
}
.be-profile-card--teal .be-profile-card__avatar--logo img {
  height: 2.75rem;
  max-width: 78%;
}
.be-profile-card--blue .be-profile-card__avatar--icon {
  background: var(--tint-blue);
  color: var(--accent-blue);
  border-color: var(--tint-blue);
}
.be-profile-card--orange .be-profile-card__avatar--icon {
  background: var(--tint-orange);
  color: var(--accent-orange);
  border-color: var(--tint-orange);
}
.be-profile-card--rose .be-profile-card__avatar--icon {
  background: #fdf0f0;
  color: var(--icon-rose);
  border-color: #f5d8d8;
}
.be-profile-card--navy .be-profile-card__avatar--icon {
  background: var(--accent-light-blue);
  color: var(--primary);
  border-color: var(--border);
}
.be-profile-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--title);
  margin-bottom: .35rem;
}
.be-profile-card__role {
  font-size: .875rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: .75rem;
}
.be-profile-card--parent .be-profile-card__role {
  color: var(--accent-blue);
}
.be-profile-card--teal .be-profile-card__role {
  color: var(--card-teal);
}
.be-profile-card--guardian .be-profile-card__role {
  color: var(--accent-purple);
}
.be-profile-card--parent .be-profile-card__avatar--icon {
  background: var(--tint-blue);
  color: var(--accent-blue);
  border-color: var(--tint-blue);
}
.be-profile-card--guardian .be-profile-card__avatar--icon {
  background: var(--tint-purple);
  color: var(--accent-purple);
  border-color: var(--tint-purple);
}
.be-profile-card--orange .be-profile-card__role { color: var(--accent-orange); }
.be-profile-card p {
  font-size: .875rem;
  color: var(--text-body);
  line-height: 1.6;
  flex: 1;
}

.be-section-spaced { margin-top: 2.5rem; }

/* Footer CTA + footer (beeducation.com) */
.be-footer-cta {
  padding: clamp(3.5rem, 7vw, 5rem) clamp(1rem, 3vw, 2rem) clamp(2.5rem, 5vw, 3.5rem);
}
.be-footer-cta__inner {
  max-width: 1280px;
  margin: 0 auto;
}
.be-footer-cta__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}
.be-footer-cta__accent {
  flex-shrink: 0;
  font-size: 0.85em;
  font-weight: 300;
  line-height: 1;
  color: var(--accent-gold);
  opacity: 0.9;
}
.be-footer-cta__lead {
  margin: 0 0 1.75rem;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}
.be-footer-cta__contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.be-footer-cta__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #003088;
  border-radius: 50%;
  padding: 2px;
  line-height: 0;
}
.be-footer-cta__icon svg {
  display: block;
  width: 20px;
  height: 20px;
}
.be-footer-cta__contact a {
  color: var(--white);
  transition: color 0.2s;
}
.be-footer-cta__contact a:hover { color: var(--footer-muted); }

.site-footer {
  position: relative;
  background: var(--primary);
  color: var(--footer-muted);
  padding: 0 clamp(1rem, 3vw, 2rem) clamp(3rem, 6vw, 4.5rem);
}
.footer-dash {
  width: min(1400px, calc(100% - 2rem));
  margin: 0 auto clamp(2.5rem, 5vw, 3rem);
  height: 0;
  border-bottom: 1px dashed var(--footer-dash);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 30.13rem) repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding-right: 2rem;
}
.footer-brand > img {
  width: auto;
  height: 4.5rem;
  max-width: 11rem;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 1rem;
}
.footer-brand > p {
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--footer-muted);
  max-width: 30rem;
  margin: 0 0 1.5rem;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0;
}
.footer-social a,
.footer-social__wechat {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}
.footer-social img {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}
.footer-social a {
  transition: opacity 0.2s;
}
.footer-social a:hover { opacity: 0.75; }
.footer-social__wechat {
  cursor: help;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.75rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.footer-col a {
  display: block;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--footer-muted);
  padding: 0.125rem 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-col--contact a { white-space: nowrap; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2.06rem;
  border-top: 1px solid var(--footer-border);
}
.footer-bottom > p {
  font-size: 0.81rem;
  line-height: 1.5;
  color: var(--footer-muted);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: 0.75rem;
  line-height: 1.25rem;
  color: var(--footer-muted);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--white); }

/* Responsive */
@media (max-width: 1024px) {
  .be-story {
    flex-direction: column;
    min-height: 0;
  }
  .be-story__media {
    flex: none;
    max-width: none;
    width: 100%;
    min-height: 16rem;
  }
  .be-story__media > img {
    min-height: 16rem;
    object-position: center 40%;
  }
  .be-story__divider { display: none; }
  .be-story__content {
    padding: 2rem 1.5rem;
  }
  .be-whatwedo__grid,
  .be-why__grid,
  .be-why__grid--4,
  .be-results__grid,
  .be-flow-row,
  .be-process-steps,
  .be-feature-grid,
  .be-mode-grid,
  .be-mode-grid--2,
  .be-profile-grid,
  .be-profile-grid--3,
  .be-profile-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .be-oversight-grid { grid-template-columns: 1fr; }
  .be-flow-step:not(:last-child) { border-bottom: 1px solid var(--border); }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
  .footer-col--contact {
    grid-column: 1 / -1;
  }
}

/* Tablet / mobile header — BE: px-4 py-4 (xs) */
@media (max-width: 1279px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex: none;
    overflow-x: visible;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem var(--header-px) 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 39, 83, 0.1);
  }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: 0.9375rem; }
}

/* Small mobile — BE: px-6 pt-8 pb-2 */
@media (max-width: 479px) {
  :root {
    --header-px: 1.5rem;
    --header-py: 0.5rem;
    --header-py-top: 2rem;
    --header-height: calc(var(--header-logo-h) + var(--header-py-top) + var(--header-py));
  }
  .header-inner {
    align-items: flex-end;
    padding: var(--header-py-top) var(--header-px) var(--header-py);
  }
  .logo img {
    width: 8rem;
    height: auto;
    max-height: var(--header-logo-h);
  }
}

@media (max-width: 768px) {
  .be-hero__title::before,
  .be-hero__title::after { display: none; }
  .be-footer-cta { padding: 3rem 1.25rem 2rem; }
  .footer-dash { margin-bottom: 2rem; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem 3rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col--contact { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-direction: column; gap: 0.25rem; }
  .be-whatwedo__grid,
  .be-why__grid,
  .be-why__grid--2,
  .be-why__grid--4,
  .be-results__grid,
  .be-flow-row,
  .be-process-steps,
  .be-feature-grid,
  .be-mode-grid,
  .be-mode-grid--2,
  .be-profile-grid,
  .be-profile-grid--3,
  .be-profile-grid--4 { grid-template-columns: 1fr; }
}
