/* Bsmart Consultancy: page sections. Loaded in order: base.css, sections.css, responsive.css. Why it matters through the footer. */

/* ---------- why it matters (dark) ---------- */
.stats {
  display: grid;
  gap: 40px 32px;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}
.stat { border-top: 1px solid var(--teal-line); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.stat__num {
  font: 300 clamp(52px, 6vw, 72px) / 1 var(--serif);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.03em;
  color: var(--white);
}
.stat__num small { font-size: .4em; letter-spacing: 0; color: var(--pale); }
.stat p { font-size: 16px; color: var(--pale); }
.stat--accent { border-top-color: var(--apricot); }
.stat--accent .stat__num { color: var(--apricot); }

.timeline-wrap { border-top: 1px solid var(--teal-line); border-bottom: 1px solid var(--teal-line); }
.timeline-wrap summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  cursor: pointer;
  list-style: none;
  font: 500 22px/1.3 var(--serif);
  color: var(--white);
}
.timeline-wrap summary::-webkit-details-marker { display: none; }
.timeline-wrap summary::after {
  content: "";
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--teal-line);
  background:
    linear-gradient(var(--peach), var(--peach)) center / 12px 2px no-repeat,
    linear-gradient(var(--peach), var(--peach)) center / 2px 12px no-repeat;
  transition: transform .3s var(--ease-out);
}
.timeline-wrap[open] summary::after { transform: rotate(45deg); }
.timeline-wrap summary:hover { color: var(--peach); }
.timeline-wrap .timeline { margin-bottom: 20px; }
.timeline-wrap .timeline__close { margin-bottom: 28px; }
.timeline {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  counter-reset: step;
}
.timeline__step {
  position: relative;
  background: rgb(255 255 255 / .04);
  border: 1px solid var(--teal-line);
  border-radius: 14px;
  padding: 22px 20px;
  transition: background-color .25s, border-color .25s;
}
.timeline__step:hover { background: rgb(255 255 255 / .08); border-color: var(--peach); }
.timeline__step b { display: block; font: italic 400 15px/1 var(--serif); color: var(--peach); }
.timeline__step strong { display: block; margin-top: 12px; font: 500 20px/1.2 var(--serif); color: var(--white); }
.timeline__step p { margin-top: 8px; font-size: 15px; color: var(--pale); }
.timeline__close { font-size: 18px; color: var(--on-dark); }
.timeline__close strong { color: var(--peach); }

.note {
  max-width: 880px;
  border-top: 1px solid var(--teal-line);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.note p { color: var(--on-dark); }
.note strong { color: var(--white); }
.note .small { font-size: 14px; color: var(--pale); }
.note a { color: var(--peach); }
.note a:hover { color: var(--white); }

/* ---------- CCMA deadline checker (JS only) ---------- */
.checker { display: none; }
.js .checker {
  display: grid;
  gap: 32px 56px;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  padding: 44px;
  border-radius: 24px;
  background: var(--teal-dark);
  border: 1px solid var(--teal-line);
}
.checker__intro { display: flex; flex-direction: column; gap: 14px; }
.checker__intro p { color: var(--pale); }
.checker__form { display: flex; flex-direction: column; gap: 12px; }
.checker__form label { font-weight: 600; color: var(--white); }
.checker__row { display: flex; flex-wrap: wrap; gap: 12px; }
.checker__row input {
  flex: 1 1 220px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--pale);
  border-radius: 12px;
  background: var(--teal-ink);
  color: var(--white);
  font: 500 17px/1 var(--sans);
  color-scheme: dark;
}
.checker__row input[aria-invalid="true"] { border-color: var(--apricot); }
.checker__error { font-size: 15px; font-weight: 600; color: var(--apricot); }
/* kept rendered while empty (not display:none) so screen readers register the live region before the first result */
.checker__result:empty { padding: 0; border: 0; background: none; margin-top: -12px; } /* -12px cancels .checker__form's gap */
.checker__result {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px;
  border-radius: 14px;
  background: rgb(255 255 255 / .05);
  border-left: 3px solid var(--peach);
}
.checker__result.is-urgent { border-left-color: var(--apricot); }
.checker__date { font: 400 clamp(24px, 2.6vw, 30px)/1.2 var(--serif); color: var(--white); }
.checker__days { font-weight: 600; color: var(--peach); }
.checker__result.is-urgent .checker__days { color: var(--apricot); }
.checker__result p { color: var(--on-dark); }
.checker__result a { color: var(--peach); font-weight: 600; }
.checker__result a:hover { color: var(--white); }
.checker__fine { font-size: 14px; color: var(--pale); }
.checker__result .btn { align-self: flex-start; margin-top: 8px; color: var(--teal-ink); }
.checker__result .btn:hover { color: var(--teal-ink); }
@media (prefers-reduced-motion: no-preference) {
  .checker__result:not(:empty) { animation: panel-in .4s var(--ease-out); }
}

/* ---------- services (tabs) ---------- */
.services { display: grid; gap: 24px; align-items: start; }
.js .services { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.services__tabs { display: none; }
.services__panels { display: grid; gap: 24px; }

.js .services__tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.services__tabs button {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 60px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: none;
  font: 500 19px/1.2 var(--serif);
  color: var(--ink-soft);
  text-align: left;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.services__tabs button span { font: 500 13px/1 var(--sans); letter-spacing: .08em; color: var(--muted); }
.services__tabs button:hover { background: rgb(255 255 255 / .6); color: var(--teal); }
.services__tabs button[aria-selected="true"] {
  background: var(--white);
  border-color: var(--line);
  color: var(--teal);
  font-weight: 600;
  box-shadow: inset 4px 0 0 var(--accent), 0 12px 30px -24px rgb(18 60 74 / .6);
}
.services__tabs button[aria-selected="true"] span { color: var(--accent); }

.panel {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}
.js .panel[hidden] { display: none; }
.js .panel:not([hidden]) { animation: panel-in .45s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
.panel__num {
  position: absolute;
  right: 28px;
  top: 8px;
  font: 300 120px/1 var(--serif);
  color: var(--bg-alt);
  pointer-events: none;
}
.panel h3 { position: relative; padding-right: 112px; font: 500 34px/1.15 var(--serif); color: var(--teal); overflow-wrap: break-word; hyphens: auto; }
.panel__intro { position: relative; padding-right: 112px; font-size: 19px; color: var(--ink-soft); }
.panel ul {
  display: grid;
  gap: 4px 28px;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  margin-top: 6px;
}
.panel li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink-soft);
}
.panel li::before { content: "→"; content: "→" / ""; flex: none; color: var(--accent); }
.panel__sub { position: relative; margin-top: 8px; font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.panel .deliverables { gap: 0 28px; margin-top: 0; }
.deliverables li { flex-direction: column; gap: 2px; padding: 14px 0 14px 20px; position: relative; }
.deliverables li::before { position: absolute; left: 0; top: 14px; }
.deliverables strong { font-weight: 600; color: var(--teal); }
.deliverables span { font-size: 15px; }
.panel__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: auto;
}
.panel__fit {
  flex: 1 1 280px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--tint);
  font-size: 15px;
  color: var(--ink-soft);
}
.panel__fit strong { color: var(--teal); }
.panel__ask {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--teal);
  border-radius: 999px;
  color: var(--teal);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.panel__ask:hover { background: var(--teal); color: var(--white); }
.panel__ask span { transition: transform .25s var(--ease-out); }
.panel__ask:hover span { transform: translateX(3px); }

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  background: var(--accent);
  color: var(--white);
  border-radius: 20px;
  padding: 36px 44px;
}
.cta-band h3 { max-width: 640px; font: 400 clamp(24px, 2.6vw, 30px)/1.25 var(--serif); }

/* ---------- how we work ---------- */
.journey { display: block; width: 100%; height: auto; overflow: visible; }
.journey__reveal { stroke-dasharray: 1; stroke-dashoffset: 0; }
.journey__stop { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .js .journey__reveal { stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease-out); }
  .js .journey.is-visible .journey__reveal { stroke-dashoffset: 0; }
  .js .journey__stop { transform: scale(0); transition: transform .5s var(--ease-out); }
  .js .journey.is-visible .journey__stop { transform: none; }
  .js .journey.is-visible .journey__stop:nth-of-type(1) { transition-delay: .4s; }
  .js .journey.is-visible .journey__stop:nth-of-type(2) { transition-delay: 1.1s; }
  .js .journey.is-visible .journey__stop:nth-of-type(3) { transition-delay: 1.8s; }
}

/* no column gap: equal columns put the centres at 1/6, 1/2 and 5/6, matching the journey stops at x = 200/600/1000 */
.process {
  display: grid;
  row-gap: 40px;
  column-gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.process li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding-inline: 20px; }
/* dots only appear in the stacked mobile layout; desktop uses the SVG stops */
.process__dot {
  display: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--teal);
}
.process__dot--accent { background: var(--accent); border-color: var(--accent); }
.process__num { font: italic 400 15px/1 var(--serif); color: var(--accent); }
.process h3 { font: 500 26px/1.2 var(--serif); color: var(--teal); }
.process p { max-width: 34ch; color: var(--ink-soft); }

.pricing {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: grid;
  gap: 20px 32px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}
.pricing small {
  display: block;
  margin-bottom: 4px;
  font: 600 12px/1.4 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.pricing strong { font: 400 26px/1.3 var(--serif); color: var(--teal); }
.pricing__cta { justify-self: start; }
.pricing__note { margin-top: -16px; font-size: 14px; color: var(--muted); }

/* ---------- about ---------- */
.about__intro {
  display: grid;
  gap: 32px 64px;
  align-items: end;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
}
.purpose { display: grid; gap: 24px 48px; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }
.vm { border-top: 1px solid var(--line-strong); padding-top: 18px; }
.vm p { margin-top: 12px; font: 400 21px/1.4 var(--serif); color: var(--teal); text-wrap: pretty; }
.values {
  display: grid;
  gap: 0 32px;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
}
.values li { padding: 16px 0; border-top: 1px solid var(--line-strong); }
.values strong { font: 500 22px/1.3 var(--serif); color: var(--teal); }
.values span { display: block; margin-top: 2px; font-size: 16px; color: var(--ink-soft); }

/* ---------- leadership ---------- */
.leader {
  display: grid;
  gap: 56px 72px;
  align-items: start;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.leader__card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 56px 36px 36px;
  border-radius: 220px 220px var(--radius) var(--radius);
  background: var(--teal);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.leader__mark {
  align-self: center;
  width: 88px;
  height: 88px;
  --mark-tile: var(--bg);
  --mark-head: var(--teal);
}
.leader__years strong { display: block; font: 300 clamp(64px, 7vw, 88px)/1 var(--serif); color: var(--peach); }
.leader__years span { display: block; margin-top: 6px; font-size: 15px; letter-spacing: .04em; color: var(--pale); }
.leader__facts { display: grid; text-align: left; }
.leader__facts li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--teal-line);
  font-size: 15px;
  color: var(--on-dark);
}
.leader__facts li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .55em; border-radius: 50%; background: var(--apricot); }
.leader__quote {
  padding-top: 22px;
  border-top: 1px solid var(--teal-line);
  font: italic 400 19px/1.4 var(--serif);
  font-variation-settings: "SOFT" 100;
  color: var(--white);
  text-wrap: balance;
}
.leader__body { gap: 28px; }
.leader__body .h2 { margin-top: 14px; }
.role { margin-top: 6px; font-weight: 600; color: var(--ink-soft); }
.leader__body .lead { font-size: 19px; }
.bio {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 32px;
}
.bio div { padding-block: 18px; }
.bio div + div { border-top: 1px solid var(--line); }
.bio dt { font-weight: 600; color: var(--teal); }
.bio dd { margin-top: 2px; font-size: 16px; color: var(--ink-soft); }
.delivery { display: grid; gap: 10px; margin-top: 10px; }
.delivery li { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 14px; align-items: baseline; }
.delivery strong { font: 500 17px/1.3 var(--serif); color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.sectors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sectors li {
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg);
  font-size: 14px;
  color: var(--teal);
}
.tagline { font: italic 400 clamp(20px, 2.2vw, 26px)/1.3 var(--serif); font-variation-settings: "SOFT" 100; color: var(--accent); }

/* ---------- reviews (dark) ---------- */
.reviews {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-rows: auto auto;
}
.review {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  border: 1px solid var(--teal-line);
  border-radius: 20px;
  background: rgb(255 255 255 / .03);
}
.review blockquote { font: 400 19px/1.5 var(--serif); color: var(--white); }
.review blockquote::before {
  content: "\201C";
  content: "\201C" / "";
  display: block;
  height: .5em;
  font: 400 72px/1 var(--serif);
  color: var(--apricot);
}
.review figcaption { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--teal-line); font-size: 15px; color: var(--pale); }
.review--featured { grid-row: span 2; justify-content: space-between; background: var(--teal-dark); padding: 44px; }
.review--featured blockquote { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; }
.review--featured blockquote::before { font-size: 120px; }
/* column widths roughly follow quote length (Recruiter, Construction, Educator) so the three cards end level */
.reviews--row { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.3fr) minmax(0, .9fr); grid-template-rows: none; }

.feedback { border-top: 1px solid var(--teal-line); padding-top: 36px; display: flex; flex-direction: column; gap: 22px; }
.feedback__grid {
  display: grid;
  gap: 24px 32px;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  font-size: 16px;
  color: var(--on-dark);
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 40px 72px;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: start;
}
.faq__head { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.faq__head p { color: var(--ink-soft); }
.faq__head p a { white-space: nowrap; }
.faq__list details { border-top: 1px solid var(--line-strong); }
.faq__list details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding-block: 14px;
  cursor: pointer;
  list-style: none;
  font: 500 20px/1.3 var(--serif);
  color: var(--teal);
  transition: color .2s;
}
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(var(--accent), var(--accent)) center / 12px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 12px no-repeat;
  transition: transform .3s var(--ease-out), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--bg-alt); }
.faq details p { max-width: 64ch; padding-bottom: 24px; color: var(--ink-soft); }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] p { animation: panel-in .35s var(--ease-out); }
}

/* ---------- contact ---------- */
.contact { padding-block: 24px 112px; }
.contact__panel {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  background: var(--teal);
  color: var(--white);
  border-radius: 28px;
  padding: 72px 56px;
  overflow: hidden;
}
.contact__panel::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: -200px;
  bottom: -320px;
  border-radius: 50%;
  border: 1px solid var(--teal-line);
  box-shadow: 0 0 0 60px rgb(255 255 255 / .02), 0 0 0 120px rgb(255 255 255 / .015);
  pointer-events: none;
}
.contact__copy { position: relative; gap: 20px; }
.contact__panel p { font-size: 19px; color: var(--on-dark); }
.contact__links { position: relative; display: flex; flex-direction: column; gap: 14px; }
.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  min-height: 64px;
  padding: 12px 28px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s, transform .2s var(--ease-out);
}
.btn-row:hover { transform: translateY(-2px); }
.btn-row__label { font-size: 18px; }
.btn-row--accent { background: var(--accent); color: var(--white); }
.btn-row--accent:hover { background: var(--accent-dark); color: var(--white); }
.btn-row--white { background: var(--white); color: var(--teal); }
.btn-row--white:hover { background: var(--bg-alt); color: var(--teal); }
.contact__where { font-size: 15px; color: var(--pale); padding: 6px 4px; text-wrap: balance; }

/* ---------- footer ---------- */
.site-footer { background: var(--teal-ink); color: var(--pale); }
.site-footer__inner {
  display: grid;
  gap: 28px 48px;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding-block: 48px;
  font-size: 14px;
}
.site-footer__brand p { margin-top: 10px; font: italic 400 16px/1.4 var(--serif); color: var(--peach); }
.site-footer__brand .site-footer__tagline { margin-top: 2px; font: 400 14px/1.4 var(--sans); letter-spacing: .04em; color: var(--pale); }
.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 24px; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark); text-decoration: none; font-size: 15px; }
.site-footer__nav a:hover { color: var(--peach); }
.site-footer__legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 24px;
  border-top: 1px solid var(--teal-line);
}

/* ---------- mobile booking bar ---------- */
.mobile-cta { display: none; }
