/* =============================================================
   On Site First Aid Training — Design System
   Part of Skills Training Group
   -------------------------------------------------------------
   Brand colours are defined once below. To match exact brand
   guidelines, update the custom properties in :root only.
   ============================================================= */

:root {
  /* Brand */
  --navy-900: #0F2A44;
  --navy-800: #14334F;
  --navy-700: #17395D;   /* Primary brand navy (Skills Training Group) */
  --navy-100: #E7EDF4;
  --navy-050: #F4F7FA;

  --green-700: #2F8428;
  --green-600: #3FA535;  /* Primary action green (Skills Training Group) */
  --green-100: #E4F4E1;

  --trustpilot: #00B67A;

  /* Neutrals */
  --ink-900: #1A2430;
  --ink-700: #3D4A59;
  --ink-500: #5E6E80;
  --line: #DCE4EC;
  --white: #FFFFFF;

  /* Type */
  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(15, 42, 68, .08);
  --shadow-md: 0 6px 24px rgba(15, 42, 68, .10);
  --shadow-lg: 0 16px 48px rgba(15, 42, 68, .16);
}

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

html { scroll-behavior: smooth; }

/* Keep anchored sections clear of the sticky header (+ quick-jump bar on home) */
[id] { scroll-margin-top: 150px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-800);
  line-height: 1.2;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1em; }

a { color: var(--green-700); }
a:hover { color: var(--green-600); }

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

ul { padding-left: 1.2em; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tint { background: var(--navy-050); }
.section--navy { background: var(--navy-700); }
.section--navy h2, .section--navy h3, .section--navy p { color: var(--white); }

.section-intro {
  max-width: 720px;
  margin-bottom: 2.5rem;
}
.section-intro--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: .75rem;
}
.section--navy .eyebrow { color: #B7CADD; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-800);
  color: var(--white);
  padding: .75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: var(--white); }

:focus-visible {
  outline: 3px solid var(--green-600);
  outline-offset: 2px;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  padding: .8rem 1.6rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.btn--primary { background: var(--green-600); color: var(--white); }
.btn--primary:hover { background: var(--green-700); color: var(--white); }

.btn--navy { background: var(--navy-700); color: var(--white); }
.btn--navy:hover { background: var(--navy-900); color: var(--white); }

.btn--outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); color: var(--white); }

.btn--outline { border-color: var(--navy-700); color: var(--navy-700); background: transparent; }
.btn--outline:hover { background: var(--navy-100); color: var(--navy-800); }

.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ---------- Utility bar ---------- */
.utility-bar {
  background: var(--navy-900);
  color: #C8D6E4;
  font-size: .85rem;
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 38px;
  flex-wrap: wrap;
}
.utility-bar a { color: var(--white); text-decoration: none; font-weight: 600; }
.utility-bar a:hover { text-decoration: underline; color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
}
.brand__mark {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 10px;
  background: var(--navy-700);
  color: var(--white);
  display: grid;
  place-items: center;
}
.brand__text { line-height: 1.15; }
.brand__name {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-800);
}
.brand__tagline {
  display: block;
  font-size: .72rem;
  font-weight: 500;
  color: var(--ink-500);
  letter-spacing: .02em;
}

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}
.site-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .95rem;
  color: var(--navy-800);
  text-decoration: none;
  padding-block: .5rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--green-700);
  border-bottom-color: var(--green-600);
}

/* Courses mega menu */
.has-mega > a svg {
  vertical-align: middle;
  margin-left: .25rem;
  transition: transform .15s ease;
}
.has-mega:hover > a svg,
.has-mega:focus-within > a svg { transform: rotate(180deg); }

.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .25s;
  z-index: 90;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.mega__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 2rem 1.25rem 2.25rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.mega__col h3 {
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink-500);
  margin-bottom: .8rem;
}
.mega__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .1rem;
}
.site-nav .mega__col a {
  display: block;
  padding: .5rem .6rem;
  margin-inline: -.6rem;
  border-radius: 8px;
  border-bottom: none;
  font-weight: 600;
  font-size: .92rem;
  line-height: 1.3;
  color: var(--navy-800);
}
.site-nav .mega__col a:hover {
  background: var(--navy-050);
  color: var(--green-700);
  border-bottom: none;
  white-space: normal;
}
.site-nav .mega__col a { white-space: normal; }
.mega__col a span {
  display: block;
  font-size: .78rem;
  font-weight: 500;
  color: var(--ink-500);
}
.site-nav a.mega__all {
  display: inline-block;
  margin-top: .9rem;
  padding: 0;
  font-size: .88rem;
  font-weight: 600;
  color: var(--green-700);
  white-space: normal;
}
@media (max-width: 820px) {
  /* Mobile: mega menu becomes a tap-to-expand accordion inside the menu */
  .mega {
    display: none;
    position: static;
    border-top: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .has-mega.is-open .mega { display: block; }
  .has-mega:hover .mega { display: none; }
  .has-mega.is-open:hover .mega,
  .has-mega.is-open:focus-within .mega { display: block; }
  .mega__inner {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    padding: .25rem 0 1rem .75rem;
    max-width: none;
  }
  .mega__col h3 { margin-bottom: .4rem; }
  .site-nav .mega__col a {
    padding: .45rem 0;
    margin: 0;
    border-bottom: none;
  }
  .site-nav a.mega__all { margin-top: .5rem; border-bottom: none; }
  .has-mega.is-open > a svg { transform: rotate(180deg); }
}

.header-cta { display: flex; align-items: center; gap: 1.25rem; }
.header-phone {
  text-decoration: none;
  text-align: right;
  line-height: 1.2;
}
.header-phone__label {
  display: block;
  font-size: .72rem;
  color: var(--ink-500);
}
.header-phone__number {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-800);
}
.header-phone:hover .header-phone__number { color: var(--green-700); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: .5rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--navy-800);
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(120deg, rgba(15, 42, 68, .96) 35%, rgba(23, 57, 93, .82)),
    var(--navy-700);
  color: var(--white);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 3rem;
  align-items: center;
}
.hero h1 { color: var(--white); margin-bottom: .5rem; }
.hero__price {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}
.hero__lead {
  font-size: 1.1rem;
  color: #D6E2EE;
  max-width: 56ch;
  margin-bottom: 1.75rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.25rem; }

.hero__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .6rem;
  font-size: .95rem;
  color: #D6E2EE;
}
.hero__points li { display: flex; gap: .6rem; align-items: flex-start; }
.hero__points svg { flex: none; margin-top: .2em; }

.hero__card {
  background: var(--white);
  color: var(--ink-700);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}
.hero__card h2 { font-size: 1.15rem; margin-bottom: 1rem; }

.trust-score {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.trust-score__rating {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy-800);
}
.trust-score__tp {
  height: 68px;
  width: auto;
  flex: none;
}
.trust-score__stars { display: flex; gap: 2px; }
.trust-score__stars span {
  width: 22px; height: 22px;
  background: var(--trustpilot);
  display: grid;
  place-items: center;
}
.trust-score__stars svg { width: 14px; height: 14px; fill: var(--white); }
.trust-score__meta { font-size: .85rem; color: var(--ink-500); }
.trust-score__meta a { font-weight: 600; }

.hero__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 1rem;
}
.hero__logos img {
  height: 34px;
  width: auto;
}
@media (max-width: 600px) {
  .hero__logos {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: .6rem;
  }
  .hero__logos img { height: 24px; }
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.hero__badges .badge {
  flex: 1 1 0;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  font-size: .76rem;
  padding: .35rem .5rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--navy-050);
  border: 1px solid var(--line);
  color: var(--navy-800);
  font-size: .8rem;
  font-weight: 600;
  border-radius: 999px;
  padding: .35rem .85rem;
}

/* ---------- Trusted-by strip ---------- */
.trusted-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding-block: 2rem;
}
.trusted-strip__label {
  text-align: center;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin: 0 0 1.4rem;
}
.trusted-strip__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem 3.5rem;
}
.trusted-strip__logos img {
  height: 48px;
  width: auto;
}
@media (max-width: 600px) {
  .trusted-strip__logos { gap: 1.5rem 2rem; }
  .trusted-strip__logos img { height: 38px; }
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  padding: 0;
  margin: 0;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--navy-100);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.06); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,42,68,.35), transparent 45%);
  opacity: 0;
  transition: opacity .3s ease;
}
.gallery-item:hover::after { opacity: 1; }

@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; } }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 4vmin;
  background: rgba(15, 42, 68, .94);
}
.lightbox.is-open { display: grid; }
.lightbox figure { margin: 0; text-align: center; max-width: 100%; }
.lightbox img {
  max-width: 92vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox figcaption {
  color: #D6E2EE;
  font-size: .95rem;
  margin-top: 1rem;
  max-width: 60ch;
  margin-inline: auto;
}
.lightbox__btn {
  position: absolute;
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  border: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s ease;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .25); }
.lightbox__close { top: 4vmin; right: 4vmin; }
.lightbox__prev { left: 3vmin; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 3vmin; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox__prev { left: 1vmin; }
  .lightbox__next { right: 1vmin; }
}

/* ---------- Quick-jump nav ---------- */
.quicknav {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 76px;            /* sits directly below the sticky header */
  z-index: 80;          /* below header (100) and mega menu */
  box-shadow: var(--shadow-sm);
}
@media (max-width: 820px) {
  .quicknav { top: 64px; }   /* shorter header on mobile */
}
.quicknav .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  padding-block: 1.1rem;
}
.quicknav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  color: var(--navy-800);
  text-decoration: none;
  padding: .45rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.quicknav a:hover,
.quicknav a:focus-visible {
  background: var(--navy-050);
  color: var(--green-700);
  border-color: var(--green-600);
}
@media (max-width: 640px) {
  .quicknav .container {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .quicknav .container::-webkit-scrollbar { display: none; }
}

/* ---------- Course cards ---------- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.course-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.course-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.course-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-100);
}
.course-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.course-card__media--icon {
  display: grid;
  place-items: center;
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700));
  color: #8FD487;
}
.course-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}
.course-card__title { margin-bottom: .75rem; }
.course-card__title a {
  color: var(--navy-800);
  text-decoration: none;
}
.course-card__title a:hover { color: var(--green-700); }

.course-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .9rem;
}
.course-card__meta span {
  font-size: .78rem;
  font-weight: 600;
  border-radius: 999px;
  padding: .25rem .7rem;
}
.meta-price { background: var(--green-100); color: var(--green-700); }
.meta-duration { background: var(--navy-100); color: var(--navy-700); }
.meta-group { background: #FFF3DD; color: #9A6700; }

.course-card__desc {
  font-size: .92rem;
  margin-bottom: 1.25rem;
  flex: 1;
}
.course-card__actions {
  display: flex;
  gap: .75rem;
}
.course-card__actions .btn { flex: 1; padding: .65rem 1rem; font-size: .88rem; }

/* ---------- Feature / benefit cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.feature-card__icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--green-100);
  color: var(--green-700);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.feature-card h3 { margin-bottom: .4rem; }
.feature-card p { font-size: .93rem; margin: 0; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  opacity: .9;
  margin-bottom: .75rem;
}
.step h3 { color: var(--white); }
.step p { color: #C8D6E4; font-size: .93rem; margin: 0; }

/* ---------- Accreditation ---------- */
.accreditation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}
.accreditation-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.accreditation-card h3 { display: flex; align-items: center; gap: .6rem; }
.accreditation-card__logo {
  height: 48px;
  width: auto;
  margin-bottom: 1.1rem;
}
.accreditation-card p { font-size: .95rem; margin: 0; }
.accreditation-card .pill {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  background: var(--navy-700);
  color: var(--white);
  padding: .25rem .6rem;
  border-radius: 6px;
}

/* ---------- Reviews ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.review-card__stars { display: flex; gap: 2px; margin-bottom: .8rem; }
.review-card__stars span {
  width: 18px; height: 18px;
  background: var(--trustpilot);
  display: grid;
  place-items: center;
}
.review-card__stars svg { width: 11px; height: 11px; fill: var(--white); }
.review-card h3 { font-size: 1.02rem; margin-bottom: .4rem; }
.review-card blockquote {
  margin: 0 0 1rem;
  font-size: .92rem;
  flex: 1;
}
.review-card footer {
  font-size: .82rem;
  color: var(--ink-500);
}
.review-card footer strong { color: var(--navy-800); }

/* Google Business Profile panel */
.gbp {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem 2rem;
}
.gbp > svg { flex: none; width: 56px; height: 56px; }
.gbp__body { text-align: left; }
.gbp__head { display: flex; align-items: baseline; gap: .6rem; }
.gbp__rating { font-family: var(--font-head); font-size: 2.1rem; font-weight: 700; color: var(--navy-800); line-height: 1; }
.gbp__stars { color: #FBBC05; font-size: 1.25rem; letter-spacing: 2px; }
.gbp__meta { margin: .35rem 0 1rem; font-size: .92rem; color: var(--ink-500); }
.gbp__actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.gbp__actions .btn { padding: .55rem 1.1rem; font-size: .88rem; }
@media (max-width: 560px) {
  .gbp { flex-direction: column; text-align: center; gap: 1rem; padding: 1.5rem; }
  .gbp__body { text-align: center; }
  .gbp__head { justify-content: center; }
  .gbp__actions { justify-content: center; }
}

/* Google reviews badge */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .7rem 1.25rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .15s ease, transform .15s ease;
}
.google-badge:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.google-badge > svg { flex: none; width: 30px; height: 30px; }
.google-badge__text { display: flex; flex-direction: column; gap: .15rem; line-height: 1.15; text-align: left; }
.google-badge__top { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink-900); }
.google-badge__sub { font-size: .8rem; color: var(--ink-500); }
.google-badge--footer { margin-top: 1.1rem; }

/* crisp gold review stars */
.g-stars { display: block; height: 14px; width: auto; }
.g-stars--lg { height: 20px; }

/* gold stars on Google review cards */
.review-grid--google .review-card__stars span { background: #FBBC05; }

/* Trustpilot mark in section intros */
.tp-mark {
  display: block;
  height: 64px;
  width: auto;
  margin: .25rem auto 1rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: .9rem;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy-800);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--green-700);
  flex: none;
  line-height: 1;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__answer { padding: 0 1.4rem 1.25rem; font-size: .95rem; }
.faq-item__answer p:last-child { margin-bottom: 0; }

/* ---------- Stats band (About) ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
  margin-top: 2.25rem;
}
.stat {
  text-align: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  padding: 1.4rem 1rem;
}
.stat__value {
  display: block;
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.stat__label {
  color: #C8D6E4;
  font-size: .88rem;
}

/* ---------- Coverage (About) ---------- */
.coverage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}
.coverage-grid img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.coverage-visual {
  background: radial-gradient(120% 120% at 20% 10%, #1D4A78 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.25rem;
}
.coverage-visual svg { display: block; width: 100%; height: auto; }
.coverage-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: .6rem;
}
.coverage-list li { display: flex; gap: .6rem; align-items: flex-start; }
.coverage-list svg { flex: none; margin-top: .25em; color: var(--green-600); }
@media (max-width: 980px) {
  .coverage-grid { grid-template-columns: 1fr; }
}

/* ---------- Price match banner ---------- */
.pm-banner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--green-100);
  border: 2px solid var(--green-600);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
}
.pm-banner__icon {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-600);
  color: var(--white);
  display: grid;
  place-items: center;
}
.pm-banner h2 {
  font-size: 1.25rem;
  margin-bottom: .25rem;
}
.pm-banner p { margin: 0; font-size: .95rem; }
.pm-banner__cta { margin-left: auto; flex: none; }
@media (max-width: 760px) {
  .pm-banner { flex-direction: column; text-align: center; }
  .pm-banner__cta { margin-left: 0; }
}

/* Sidebar price-match note (course pages) */
.course-sidebar__pricematch {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  background: var(--green-100);
  border-radius: 8px;
  padding: .65rem .8rem;
  font-size: .82rem;
  color: var(--green-700);
  font-weight: 500;
  margin: .75rem 0 0;
}
.course-sidebar__pricematch svg { flex: none; margin-top: .15em; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(115deg, var(--navy-800), var(--navy-700));
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band h2 { color: var(--white); margin-bottom: .4rem; }
.cta-band p { color: #C8D6E4; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--navy-700);
  color: var(--white);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.page-hero h1 { color: var(--white); margin-bottom: .35rem; }
.page-hero p { color: #C8D6E4; max-width: 64ch; margin: 0; }

.breadcrumbs {
  font-size: .82rem;
  margin-bottom: 1rem;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: 0;
  padding: 0;
}
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; color: #7E96AF; }
.breadcrumbs a { color: #B7CADD; text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs [aria-current] { color: var(--white); }

/* ---------- Course detail layout ---------- */
.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 3rem;
  align-items: start;
}
.course-content h2 { font-size: 1.45rem; margin-top: 2rem; }
.course-content h2:first-child { margin-top: 0; }

.checklist {
  list-style: none;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.checklist li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
}
.checklist svg { flex: none; margin-top: .25em; color: var(--green-600); }

.course-sidebar {
  position: sticky;
  top: 100px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.75rem;
}
.course-sidebar__price {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy-800);
}
.course-sidebar__price small {
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-500);
}
.course-sidebar dl {
  margin: 1.25rem 0;
  display: grid;
  gap: .65rem;
  font-size: .92rem;
}
.course-sidebar dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: .65rem;
}
.course-sidebar dt { color: var(--ink-500); flex: none; }
.course-sidebar dd { margin: 0; font-weight: 600; color: var(--navy-800); text-align: right; }
.course-sidebar dd img { height: 30px; width: auto; display: inline-block; vertical-align: middle; }
.course-sidebar .btn { width: 100%; margin-bottom: .65rem; }
.course-sidebar__tp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin: .4rem 0 .75rem;
  text-decoration: none;
}
.course-sidebar__tp img { height: 42px; width: auto; }
.course-sidebar__tp span {
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-500);
}
.course-sidebar__tp:hover span { color: var(--green-700); }
.course-sidebar__note {
  font-size: .8rem;
  color: var(--ink-500);
  text-align: center;
  margin: 0;
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-field { display: grid; gap: .35rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--navy-800);
}
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  padding: .75rem .9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink-900);
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--green-600);
  outline: 2px solid var(--green-100);
}
.form-note { font-size: .82rem; color: var(--ink-500); }

.contact-reassure {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  background: var(--green-100);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 1.5rem;
  font-size: .9rem;
  color: var(--ink-700);
}
.contact-reassure svg { flex: none; color: var(--green-700); margin-top: .1em; }

.contact-pref { border: 0; padding: 0; margin: 0; min-width: 0; }
.contact-pref legend {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--navy-800);
  padding: 0;
  margin-bottom: .5rem;
}
.contact-pref .checkbox {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0 1.5rem .4rem 0;
  font-size: .95rem;
  color: var(--ink-700);
  cursor: pointer;
}
.contact-pref .checkbox input {
  width: auto;
  margin: 0;
  accent-color: var(--green-600);
}

/* ---------- Contact cards ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 3rem;
  align-items: start;
}
.contact-card {
  background: var(--navy-050);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.contact-aside__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}
.contact-card h3 { margin-bottom: .3rem; }
.contact-card p { margin: 0; font-size: .95rem; }
.contact-card a { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #B7C7D8;
  font-size: .92rem;
}
.site-footer a { color: #DCE8F3; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

.site-footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-block: 3.5rem;
}
.site-footer h2 {
  color: var(--white);
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.site-footer__about p { margin-bottom: 1rem; }
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: .82rem;
}
.site-footer__bottom nav { display: flex; gap: 1.25rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header-phone { display: none; }
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .course-layout,
  .contact-grid { grid-template-columns: 1fr; }
  /* Booking card first on mobile so price and CTA are seen immediately */
  .course-sidebar { position: static; order: -1; }
  .site-footer__main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-header .container { min-height: 64px; gap: .75rem; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: .92rem; line-height: 1.2; }
  .brand__tagline { display: none; }
  .header-cta { gap: .75rem; }
  .header-cta .btn { padding: .6rem 1rem; font-size: .85rem; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav {
    /* Long menus (Courses accordion) scroll inside the panel */
    max-height: calc(100vh - 110px);
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .75rem 1.25rem;
  }
  .site-nav a {
    display: block;
    padding: .85rem 0;
    border-bottom: 1px solid var(--line);
  }
  .header-phone { display: none; }
}

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .site-footer__main { grid-template-columns: 1fr; }
  .utility-bar .container { justify-content: center; }
  /* Mobile: keep the utility bar to one line — contact details only */
  .utility-bar .container > p:first-child { display: none; }
}
