/* British Council – One Calendar concept
   Campaign landing pages (landing-*.html). Builds on styles.css and b2b.css:
   the hero, feature grid, course grid, stat strip and CTA band come from
   there; this file adds the steps, the audience cards, the on-page AiBC chat
   and the embedded booking section. */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.lp-hero .sector-hero-ctas .btn { padding: 13px 22px; font-size: 15px; }
.lp-hero-note { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.78); line-height: 1.5; }

/* ---- How it works ---- */
.lp-steps {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: none;
}
.lp-step {
  position: relative;
  background: var(--white);
  border-top: 5px solid var(--red);
  padding: 24px 22px 22px;
}
.lp-step-num {
  position: absolute;
  top: 18px;
  inset-inline-end: 20px;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: var(--grey-100);
}
.lp-step-icon {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  background: var(--violet-block);
  color: var(--white);
}
.lp-step-icon .msym { font-size: 26px; }
.lp-step h3 { font-size: 18px; font-weight: 800; color: var(--ink); margin-top: 14px; }
.lp-step p { font-size: 15px; line-height: 1.55; color: var(--grey-800); margin-top: 6px; }

/* ---- Audience cards (ages / formats) ---- */
.lp-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.lp-cards-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.lp-card {
  background: var(--grey-50);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 5px solid var(--violet-block);
}
.lp-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lp-card-icon { color: var(--violet-block); }
.lp-card-icon .msym { font-size: 32px; }
.lp-card-ages {
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
}
.lp-card h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin-top: 4px; }
.lp-card p { font-size: 14.5px; line-height: 1.55; color: var(--grey-800); }
.lp-card-meta {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  gap: 7px;
  align-items: flex-start;
  font-size: 13.5px !important;
  color: var(--ink-3) !important;
}
.lp-card-meta .msym { font-size: 18px; flex: none; }
.lp-more-link { margin-top: 20px; }
.lp-more-link a {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 800; font-size: 15px; color: var(--violet-block);
}
.lp-more-link a:hover { text-decoration: underline; }
.lp-more-link .msym { font-size: 19px; }

/* ---- On-page AiBC chat ---- */
.lp-chat-section { background: var(--violet-block); color: var(--white); }
.lp-chat-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}
.lp-chat-copy h2 { font-size: 30px; font-weight: 800; line-height: 1.2; margin-top: 14px; }
.lp-chat-copy p { font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.88); margin-top: 12px; }
.lp-chat-copy .lp-chat-disclaimer { font-size: 12.5px; color: rgba(255, 255, 255, 0.66); margin-top: 18px; }

.lp-chat {
  background: var(--white);
  color: var(--text);
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 40px rgba(20, 4, 60, 0.35);
}
.lp-chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: var(--ink);
  color: var(--white);
}
.lp-chat-head strong { display: block; font-size: 15px; }
.lp-chat-head small { font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.lp-chat-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cyan-bright); color: var(--ink);
}
.lp-chat-avatar .msym { font-size: 22px; }
.lp-chat-body {
  height: 320px;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--grey-50);
}
.lp-msg { max-width: 86%; padding: 11px 14px; font-size: 15px; line-height: 1.5; border-radius: 14px; }
.lp-msg-bot { background: var(--white); align-self: flex-start; border-end-start-radius: 3px; box-shadow: 0 1px 3px rgba(35, 8, 89, 0.12); }
.lp-msg-user { background: var(--ink-3); color: var(--white); align-self: flex-end; border-end-end-radius: 3px; }
.lp-chat-suggest { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--grey-100); }
.lp-chat-suggest button {
  border: 1.5px solid var(--violet-block);
  background: var(--white);
  color: var(--violet-block);
  font-size: 13.5px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 18px;
}
.lp-chat-suggest button:hover { background: var(--violet-block); color: var(--white); }
.lp-chat-input { display: flex; gap: 8px; padding: 12px 18px 16px; }
.lp-chat-input input {
  flex: 1; min-width: 0;
  font: inherit; font-size: 15px;
  padding: 11px 14px;
  border: 1.5px solid var(--grey-200);
  border-radius: 24px;
}
.lp-chat-input input:focus { outline: none; border-color: var(--violet-block); }

/* ---- CTA band ---- */
.lp-final-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lp-final-ctas .btn { padding: 13px 22px; font-size: 15px; }

/* ---- Embedded consultation booking ---- */
.lp-book .hero-badge { margin-bottom: 12px; }
.lp-book-mount { margin-top: 24px; }


@media (max-width: 1100px) {
  .lp-cards-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .lp-steps { grid-template-columns: minmax(0, 1fr); }
  .lp-cards, .lp-cards-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-chat-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 560px) {
  .lp-cards, .lp-cards-5 { grid-template-columns: minmax(0, 1fr); }
  .lp-chat-copy h2 { font-size: 24px; }
  .lp-chat-body { height: 280px; }
  .lp-chat-input .btn span:last-child { display: none; }
}

/* The hero photo fills a fixed-height box instead of setting the height
   itself: a portrait photograph (the family one) would otherwise stretch the
   hero to the photo's own proportions. */
.lp-hero .sector-hero-media { min-height: 440px; overflow: hidden; }
.lp-hero .sector-hero-media img { position: absolute; inset: 0; min-height: 0; }
@media (max-width: 900px) {
  .lp-hero .sector-hero-media { min-height: 260px; }
}

/* Four solution cards in one row rather than three plus an orphan. */
.lp-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .lp-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lp-grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---- Assessment options (higher education, schools) ---- */
.lp-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-subtitle { font-size: 20px; font-weight: 800; color: var(--ink); margin-top: 40px; }

/* The pathway reads left to right as a journey: numbered stages joined by a
   line, each naming the stage, the test and what it is for. */
.lp-pathway {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}
.lp-pathway::before {
  content: '';
  position: absolute;
  top: 26px;
  inset-inline: 26px;
  height: 3px;
  background: var(--violet-block);
  opacity: 0.25;
}
.lp-path-step { position: relative; display: flex; flex-direction: column; gap: 6px; }
.lp-path-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--violet-block);
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--white);
  margin-bottom: 8px;
}
.lp-path-icon .msym { font-size: 26px; }
.lp-path-stage { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--red); }
.lp-path-test { font-size: 18px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.lp-path-step p { font-size: 14.5px; line-height: 1.55; color: var(--grey-800); }
.lp-assess table.b2b-table { font-size: 14px; }
.lp-assess-cta { margin-top: 24px; }

@media (max-width: 900px) {
  .lp-cards-3 { grid-template-columns: minmax(0, 1fr); }
  .lp-pathway { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .lp-pathway::before { top: 26px; bottom: 26px; inset-inline-start: 25px; inset-inline-end: auto; width: 3px; height: auto; }
  .lp-path-step { padding-inline-start: 70px; min-height: 52px; }
  .lp-path-icon { position: absolute; inset-inline-start: 0; top: 0; margin: 0; }
}

/* ===== Success-story KPIs (B2B landings) ===== */
.lp-proof .section-title { margin-top: 10px; }
.lp-proof-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 28px;
  margin-top: 20px; padding: 26px 28px;
  background: var(--grey-50); border-radius: var(--radius);
}
.lp-proof-kind {
  display: inline-block; font-size: 11.5px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--purple);
}
.lp-proof-story h3 { font-size: 22px; font-weight: 800; color: var(--ink); margin: 6px 0 10px; }
.lp-proof-story p { font-size: 15px; line-height: 1.55; color: var(--grey-800); margin: 0 0 14px; }
.lp-proof-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--ink-3); font-size: 14px; }
.lp-proof-link .msym { font-size: 17px; }
.lp-proof-link:hover { text-decoration: underline; }
.lp-proof-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.lp-proof-kpis div { background: var(--white); border-radius: 12px; padding: 16px 18px; }
.lp-proof-kpis dt { font-size: 32px; font-weight: 800; line-height: 1; color: var(--ink); }
.lp-proof-kpis dd { margin: 8px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--grey-800); }
.lp-proof-source { margin-top: 14px; font-size: 12.5px; color: var(--grey-600); }
.lp-proof-source a { color: var(--ink-3); font-weight: 700; text-decoration: underline; }
@media (max-width: 800px) {
  .lp-proof-card { grid-template-columns: 1fr; padding: 20px; gap: 18px; }
  .lp-proof-kpis dt { font-size: 26px; }
}
