/* ==========================================================================
   KOPLANT Construction Training — Construction Training Hampshire
   Design system ported from koplanttraining.co.uk
   Navy #022041 / Yellow #fad923 / Blue #066bd8 · Barlow Condensed + Roboto
   ========================================================================== */

:root {
  --navy: #022041;
  --navy-deep: #01162d;
  --blue: #066bd8;
  --yellow: #fad923;
  --green: #7cc143;
  --ink: #1b2430;
  --body: #4b5563;
  --muted: #5a6676;
  --line: #eaeaea;
  --paper: #fff;
  --mist: #f9f9f9;
  --radius: 5px;
  --shadow: 0 0 20px rgba(0, 0, 0, .2);
  --shadow-soft: 0 0 16px rgba(0, 0, 0, .08);
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --text: "Roboto", Arial, Helvetica, sans-serif;
  /* sticky header is 135px tall — clear it, but keep the offset tight so
     sticky columns have as much travel as possible */
  --sticky-top: 151px;
}

* { box-sizing: border-box }
html { scroll-behavior: smooth }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--text);
  font-size: 15px;
  line-height: 1.65;
}

img { max-width: 100%; height: auto }
a { color: inherit; text-decoration: none }
p { margin: 0 0 1rem }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--navy);
  font-family: var(--head);
  font-weight: 600;
  line-height: 1.2;
}

:focus-visible { outline: 3px solid rgba(6, 107, 216, .35); outline-offset: 2px }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto }
.section { padding: 70px 0 }
.section-tight { padding: 44px 0 }

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--head);
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px }

/* --- Type helpers ------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--blue);
  font-family: var(--head);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}
.eyebrow:before { width: 34px; height: 3px; background: var(--yellow); content: "" }

.section-title {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.lead { max-width: 780px; color: var(--muted); font-size: 1rem }

.text-link, .service-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-family: var(--head);
  font-size: 1.08rem;
  font-weight: 700;
  text-transform: uppercase;
}
.text-link { margin-top: 28px }

/* --- Buttons ------------------------------------------------------------ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 20px 30px;
  border: 0;
  border-radius: 10px 0 10px 0;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--head);
  font-size: 1.066rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.button:hover { background: var(--blue); color: var(--paper) }
.button .fa-solid { font-size: .88em }

.button.secondary { border: 2px solid var(--yellow); background: transparent; color: var(--paper) }
.button.secondary:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy) }

.button.on-light { border-color: var(--navy); color: var(--navy) }
.button.on-light.secondary { background: transparent; color: var(--navy) }
.button.on-light.secondary:hover { background: var(--navy); border-color: var(--navy); color: var(--paper) }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

/* --- Header ------------------------------------------------------------- */

.topbar { background: var(--navy); color: var(--paper); font-size: .88rem; font-weight: 700 }
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: flex-end;
  padding: 8px 0;
}
.topbar a { display: inline-flex; align-items: center; gap: 8px }
.topbar a:hover, .site-nav a:hover { color: var(--yellow) }
.topbar i { color: var(--yellow) }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  box-shadow: 0 0 16px rgba(0, 0, 0, .08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
}

.brand { display: flex; align-items: center; gap: 14px; min-width: 0 }
.brand img { width: 92px; flex: 0 0 auto }
.brand strong {
  display: block;
  color: var(--navy);
  font-family: var(--head);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
.brand small { display: block; color: var(--muted); font-family: var(--text); font-size: .82rem }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--navy);
  font-family: var(--head);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}
.site-nav a[aria-current="page"] { color: var(--blue) }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px 0 10px 0;
  background: var(--yellow);
  color: var(--navy);
}
.nav-cta:hover { background: var(--blue); color: var(--paper) }
.nav-cta .fa-solid { font-size: .88em }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer }
.menu-toggle span { display: block; width: 28px; height: 3px; margin: 5px auto; background: var(--navy) }

/* --- Heroes ------------------------------------------------------------- */

.hero, .page-hero {
  background: linear-gradient(150deg, rgba(2, 32, 65, .97) 0%, rgba(2, 32, 65, .63) 100%),
    url("/assets/hero-construction.jpg") 0% 1%/cover no-repeat;
  color: var(--paper);
}

.hero { padding: 200px 0 80px }
.page-hero { padding: 150px 0 80px }

.hero-grid { display: grid; grid-template-columns: minmax(0, 860px) }

.hero h1, .page-hero h1 {
  color: var(--paper);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
.hero h1 { max-width: 820px; font-size: clamp(2.4rem, 5vw, 4rem) }
.page-hero h1 { max-width: 900px; font-size: clamp(2.3rem, 4.4vw, 3.75rem) }

.hero p, .page-hero p {
  max-width: 720px;
  margin-top: 20px;
  color: rgba(255, 255, 255, .86);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-actions, .hero-points, .area-list, .cta-actions, .chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-actions { margin-top: 32px }
.hero-points { gap: 10px; margin-top: 30px }
.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  color: rgba(255, 255, 255, .82);
  font-size: .92rem;
}
.hero-points i { color: var(--yellow) }

/* --- Layout grids ------------------------------------------------------- */

.intro-grid, .split, .detail-grid, .contact-grid, .map-grid, .cta-inner, .photo-grid {
  display: grid;
  gap: 42px;
  align-items: start;
}
.intro-grid, .split { grid-template-columns: 1fr .78fr }
.detail-grid { grid-template-columns: 1fr .72fr }
.contact-grid { grid-template-columns: .82fr 1fr }
.map-grid { grid-template-columns: 1fr auto; align-items: center }
.photo-grid { grid-template-columns: 1fr 1fr; align-items: stretch }

.intro-card, .intro-panel { padding: 30px; border-top: 5px solid var(--yellow) }
.intro-card strong {
  display: block;
  margin-bottom: 14px;
  color: var(--navy);
  font-family: var(--head);
  font-size: 1.7rem;
  line-height: 1.1;
}
.intro-panel h3 { font-size: 1.55rem; font-weight: 600 }
.intro-panel p { margin-top: 12px }

.course-strip, .detail-band, .contact-section, .band-mist {
  background: var(--mist);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.services-intro { border-bottom: 1px solid var(--line) }

/* --- Course + service cards -------------------------------------------- */

.course-grid, .services-grid, .process-grid, .logo-grid, .review-grid, .area-grid {
  display: grid;
  gap: 18px;
}
.course-grid { grid-template-columns: repeat(4, 1fr); margin-top: 34px }
.services-grid { grid-template-columns: repeat(3, 1fr); gap: 20px }
.process-grid { grid-template-columns: repeat(4, 1fr); margin-top: 30px }
.logo-grid { grid-template-columns: repeat(5, 1fr) }
.review-grid { grid-template-columns: repeat(4, 1fr); margin-top: 30px }
.area-grid { grid-template-columns: repeat(4, 1fr); margin-top: 30px }

.course-card, .service-card, .process-grid article, .logo-card, .form-status,
.enquiry-card, .review-card, .area-card {
  padding: 30px;
}

.course-card {
  min-height: 150px;
  border-bottom: 4px solid var(--blue);
}
.course-card h3, .service-card h2, .process-grid h3, .review-card h3 {
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.1;
}
.course-card p, .service-card p, .process-grid article p, .review-card p { margin-top: 12px }
.course-card i, .service-card > i {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 1.7rem;
}

.service-card { display: flex; min-height: 260px; flex-direction: column }
.service-card p { color: var(--muted) }
.service-card a { margin-top: auto; padding-top: 16px }

.process-grid article p, .map-grid p { color: var(--muted); margin-bottom: 0 }
.process-grid article h3 { font-size: 1.55rem }

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px 18px;
  padding: 22px;
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.step span {
  grid-row: span 2;
  color: var(--blue);
  font-family: var(--head);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.step h3 { font-size: 1.35rem; font-weight: 600 }
.step p { margin: 0; color: var(--muted) }
.step-grid { display: grid; gap: 18px }
.step-grid.two-up { grid-template-columns: 1fr 1fr; margin-top: 30px }

/* --- Chips / pill lists ------------------------------------------------- */

.chip-list { gap: 12px; margin-top: 28px }
.chip-list a, .chip-list span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  color: var(--navy);
  font-family: var(--head);
  font-size: 1.08rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}
.chip-list i { color: var(--blue); transition: color .2s ease }
.chip-list a:hover { background: var(--navy); color: var(--paper) }
.chip-list a:hover i { color: var(--yellow) }

/* --- Areas band --------------------------------------------------------- */

.areas { background: var(--navy); color: var(--paper) }
.areas h2 {
  max-width: 860px;
  color: var(--paper);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
.areas .eyebrow { color: var(--yellow) }
.area-list { gap: 10px; margin-top: 28px }
.area-list span {
  padding: 10px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .9);
}

.area-card {
  display: flex;
  flex-direction: column;
  border-top: 5px solid var(--yellow);
}
.area-card h3 { font-size: 1.55rem; font-weight: 600 }
.area-card p { margin-top: 12px; color: var(--muted) }
.area-card .text-link { margin-top: auto; padding-top: 14px }

/* --- Accreditation logos ------------------------------------------------ */

.logo-card {
  display: grid;
  min-height: 118px;
  place-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.logo-card img { max-height: 64px; object-fit: contain }

/* --- Photo split -------------------------------------------------------- */

/* Image column stretches to match the copy column; the frame sticks inside it
   so the photo stays level with the text while the longer column scrolls. */
.photo-media { height: 100% }

.photo-frame {
  position: sticky;
  top: var(--sticky-top);
  overflow: hidden;
  border-radius: 0 50px var(--radius) var(--radius);
  box-shadow: var(--shadow);
}
.photo-frame img {
  display: block;
  width: 100%;
  height: clamp(360px, 42vh, 500px);
  object-fit: cover;
}

.tick-list { margin: 22px 0 0; padding: 0; list-style: none }
.tick-list li { position: relative; margin-bottom: 12px; padding-left: 30px }
.tick-list li:before {
  position: absolute;
  left: 0;
  top: .1em;
  color: var(--green);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f00c";
}

/* --- Sticky columns -----------------------------------------------------
   Where two columns are uneven, the shorter one sticks so it stays level with
   the copy beside it. Grid sticky needs the item start-aligned (not stretched),
   which these grids already are. Each rule is height-gated so a panel taller
   than the space below the header is never pinned out of reach. */

@media (min-width: 993px) {
  /* right-hand summary cards — home, our-courses, location pages */
  @media (min-height: 720px) {
    .intro-grid > .intro-card,
    .intro-grid > .intro-panel {
      position: sticky;
      top: var(--sticky-top);
    }
  }

  /* left-hand copy beside the long NVQ list */
  @media (min-height: 700px) {
    .detail-grid > :first-child {
      position: sticky;
      top: var(--sticky-top);
    }
  }

  /* contact details panel beside the enquiry form */
  @media (min-height: 880px) {
    .contact-grid > .contact-panel {
      position: sticky;
      top: var(--sticky-top);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-grid > .intro-card,
  .intro-grid > .intro-panel,
  .detail-grid > :first-child,
  .contact-grid > .contact-panel { position: static }
}

/* --- Carousel -----------------------------------------------------------
   Scroll-snap track: works as a swipeable strip with no JS at all. The
   buttons and dots are progressive enhancement layered on top. */

.carousel { margin-top: 34px }

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
  margin: 0;
  padding: 0 0 6px;
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none }
.carousel-track:focus-visible { outline: 3px solid rgba(6, 107, 216, .35); outline-offset: 4px }

.carousel-slide { scroll-snap-align: start }

.carousel-slide figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 0 40px var(--radius) var(--radius);
  box-shadow: var(--shadow);
}
.carousel-slide img {
  display: block;
  width: 100%;
  height: clamp(230px, 26vw, 320px);
  object-fit: cover;
  transition: transform .4s ease;
}
.carousel-slide figure:hover img { transform: scale(1.04) }

.carousel-slide figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 34px 22px 16px;
  background: linear-gradient(rgba(2, 32, 65, 0), rgba(2, 32, 65, .92));
  color: var(--paper);
  font-family: var(--head);
  font-size: 1.16rem;
  font-weight: 700;
  text-transform: uppercase;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}

.carousel-dots { display: flex; flex-wrap: wrap; gap: 8px }
.carousel-dots button {
  width: 26px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: var(--line);
  cursor: pointer;
  transition: background .2s ease, width .2s ease;
}
.carousel-dots button[aria-selected="true"] { width: 40px; background: var(--yellow) }
.carousel-dots button:hover { background: var(--blue) }

.carousel-buttons { display: flex; flex: 0 0 auto; gap: 10px }
.carousel-btn {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 2px solid var(--navy);
  border-radius: 10px 0 10px 0;
  background: transparent;
  color: var(--navy);
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.carousel-btn:hover:not(:disabled) { border-color: var(--yellow); background: var(--yellow) }
.carousel-btn:disabled { opacity: .3; cursor: default }

@media (max-width: 992px) {
  .carousel-track { grid-auto-columns: calc((100% - 18px) / 2) }
}

@media (max-width: 640px) {
  .carousel-track { grid-auto-columns: 86% }
  .carousel-controls { flex-direction: column; align-items: stretch; gap: 18px }
  .carousel-buttons { align-self: flex-end }
  .carousel-dots button { width: 22px }
  .carousel-dots button[aria-selected="true"] { width: 34px }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track { scroll-behavior: auto }
  .carousel-slide img, .carousel-slide figure:hover img { transition: none; transform: none }
}

/* --- Reviews ------------------------------------------------------------ */

.reviews { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line) }
.review-card { display: flex; flex-direction: column; border-top: 5px solid var(--yellow) }
.review-card .stars { margin-bottom: 12px; color: var(--yellow); font-size: 1rem; letter-spacing: 3px }
.review-card blockquote { margin: 0; color: var(--body) }
.review-card cite {
  margin-top: auto;
  padding-top: 16px;
  color: var(--navy);
  font-family: var(--head);
  font-size: 1.05rem;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
}

/* --- Dark panels -------------------------------------------------------- */

.check-card, .contact-panel {
  padding: 30px;
  border-radius: 0 50px var(--radius) var(--radius);
  background: var(--navy);
  color: var(--paper);
}
.check-card h3, .contact-panel h2 {
  margin-bottom: 18px;
  color: var(--paper);
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
}
.check-card ul + *, .check-card h3 + ul { margin-top: 22px }
.check-card .eyebrow, .contact-panel .eyebrow { color: var(--yellow) }
.check-card ul { margin: 22px 0 0; padding: 0; list-style: none }
.check-card li { position: relative; margin-bottom: 12px; padding-left: 30px; color: rgba(255, 255, 255, .86) }
.check-card li:before {
  position: absolute;
  left: 0;
  top: .1em;
  color: var(--yellow);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f00c";
}

.contact-methods { display: grid; gap: 12px; margin-top: 28px }
.contact-methods a {
  display: grid;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  transition: background .2s ease;
}
.contact-methods a:hover { background: rgba(255, 255, 255, .12) }
.contact-methods strong {
  color: var(--yellow);
  font-family: var(--head);
  font-weight: 700;
  text-transform: uppercase;
}

/* --- Forms -------------------------------------------------------------- */

.form-column { display: grid; gap: 24px }
.enquiry-card { display: grid; gap: 16px }

label { display: grid; gap: 7px; color: var(--navy); font-family: var(--head); font-size: 1.05rem; font-weight: 700 }

input, select, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(6, 107, 216, .18); border-color: var(--blue) }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0 }

.form-status h2 { margin-bottom: 10px; font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 700 }
.form-status p { max-width: 620px; margin: 0; color: var(--muted) }
.form-status-success { border-top: 5px solid var(--green) }
.form-status-error { border-top: 5px solid #cf2e2e }

/* --- FAQs --------------------------------------------------------------- */

.faq-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 28px }
.faq-card { overflow: hidden; padding: 0 }
.faq-card h3 { margin: 0; font-size: 1.55rem; font-weight: 600 }
.faq-card button {
  display: flex;
  width: 100%;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 30px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.faq-card button:focus-visible { outline: 3px solid rgba(6, 107, 216, .24); outline-offset: -3px }
.faq-icon {
  display: inline-grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-size: .78rem;
}
.faq-answer { padding: 0 30px 30px }
.faq-card p { margin: 0; color: var(--muted) }

/* --- CTA band ----------------------------------------------------------- */

.cta-band {
  padding: 58px 0;
  background: linear-gradient(rgba(2, 32, 65, .9), rgba(2, 32, 65, .9)),
    url("/assets/hero-construction.jpg") center/cover;
  color: var(--paper);
}
.cta-inner { grid-template-columns: 1fr auto; align-items: center }
.cta-band .eyebrow { color: var(--yellow) }
.cta-band h2 {
  max-width: 720px;
  color: var(--paper);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
.cta-band p { max-width: 680px; margin-top: 14px; color: rgba(255, 255, 255, .82) }
.cta-actions { justify-content: flex-end }

/* --- Footer ------------------------------------------------------------- */

.footer { background: var(--navy); color: rgba(255, 255, 255, .82) }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; padding: 64px 0 40px }

/* Location pages — kept discreet, as a small link row above the copyright line */
.footer-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding-bottom: 18px;
  color: rgba(255, 255, 255, .38);
  font-size: .82rem;
}
.footer-areas a { display: inline; margin: 0; color: rgba(255, 255, 255, .5) }
.footer-areas a:not(:last-child):after { margin-left: 14px; color: rgba(255, 255, 255, .22); content: "|" }
.footer-areas a:hover { color: var(--yellow) }
.footer-logo { width: 96px; margin-bottom: 16px }
.footer h2 { margin-bottom: 16px; color: var(--paper); font-size: 1.35rem; font-weight: 700; text-transform: uppercase }
.footer a { display: block; margin-bottom: 10px }
.footer a:hover { color: var(--yellow) }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .66);
  font-size: .92rem;
}
.footer-bottom a { display: inline; margin-bottom: 0 }
.footer-bottom span { display: block }

/* --- Responsive --------------------------------------------------------- */

@media (max-width: 1100px) {
  .logo-grid { grid-template-columns: repeat(3, 1fr) }
}

@media (max-width: 992px) {
  .hero { padding: 160px 0 60px }
  .page-hero { padding: 120px 0 60px }
  .intro-grid, .split, .detail-grid, .services-grid, .process-grid, .review-grid, .area-grid {
    grid-template-columns: 1fr 1fr;
  }
  .course-grid { grid-template-columns: repeat(2, 1fr) }
  .photo-grid { grid-template-columns: 1fr }
  /* single column — nothing to stay level with, so release the image */
  .photo-frame { position: static }
  .photo-frame img { height: clamp(280px, 52vw, 420px) }
}

@media (prefers-reduced-motion: reduce) {
  .photo-frame { position: static }
}

@media (max-width: 860px) {
  .topbar-inner { justify-content: center }
  .nav-wrap { min-height: 80px }
  .brand img { width: 76px }
  .brand small { display: none }
  .menu-toggle { display: block }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    width: 100%;
    padding: 18px 20px 24px;
    background: var(--paper);
    box-shadow: 0 18px 28px rgba(2, 32, 65, .14);
  }
  .site-nav.is-open { display: grid; gap: 14px }
  .nav-cta { justify-content: center }
  .cta-inner, .contact-grid, .map-grid { grid-template-columns: 1fr }
  .cta-actions { justify-content: flex-start }
}

@media (max-width: 780px) {
  .container { width: min(100% - 28px, 1180px) }
  .section { padding: 50px 0 }
  .section-tight { padding: 36px 0 }
  .hero { padding: 130px 0 48px }
  .page-hero { padding: 110px 0 48px }
  .button { min-height: 46px; padding: 14px 28px }
  .course-card, .service-card, .process-grid article, .logo-card, .form-status,
  .enquiry-card, .review-card, .area-card, .intro-card, .intro-panel { padding: 22px }
  .contact-panel, .check-card { padding: 22px; border-top-right-radius: 35px }
  .photo-frame { border-top-right-radius: 35px }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 46px }
}

@media (max-width: 640px) {
  .services-grid, .process-grid, .course-grid, .logo-grid, .review-grid,
  .area-grid, .step, .intro-grid, .split, .detail-grid,
  .step-grid.two-up { grid-template-columns: 1fr }
  .step span { grid-row: auto }
  .faq-card button { min-height: 0; padding: 20px 22px }
  .faq-answer { padding: 0 22px 22px }
  .hero-actions .button, .cta-actions .button { width: 100% }
}
