/* ==========================================================================
   Construction Helps — stylesheet
   ========================================================================== */

:root {
  --primary: #0d78f2;
  --primary-dark: #0b5ecc;
  --primary-light: #eaf3fe;
  --dark: #10192e;
  --dark-2: #1c2740;
  --gray-50: #f9fafb;
  --gray-100: #f2f4f7;
  --gray-200: #e4e7ec;
  --gray-300: #d0d5dd;
  --gray-500: #667085;
  --gray-600: #475467;
  --gray-700: #344054;
  --white: #ffffff;

  --green: #2e7d32;
  --blue: #1565c0;
  --gold: #b8860b;
  --red: #c62828;
  --silver: #6b7280;
  --black-card: #1a1a1a;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(16, 25, 46, 0.08);
  --shadow-lg: 0 20px 50px rgba(16, 25, 46, 0.14);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { overflow-x: clip; }
body {
  margin: 0;
  max-width: 100vw;
  overflow-x: clip;
  font-family: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--dark); line-height: 1.25; margin: 0 0 .6em; font-weight: 800; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--gray-50); }
.section--dark { background: var(--dark); color: var(--gray-300); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .check-list li { color: #dfe3ee; border-bottom-color: rgba(255,255,255,.14); }
.section--dark .check-list li .tick { background: rgba(13,120,242,.25); color: #8fc3ff; }
.section--dark .eyebrow { background: rgba(255,255,255,.1); color: #8fc3ff; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.section-head p { color: var(--gray-500); font-size: 17px; }

.help-buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0 0 40px; }
.help-buttons a {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
  text-align: center;
  padding: 26px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(13,120,242,.22);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.help-buttons a:hover { background: var(--primary-dark); transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 10px 24px rgba(13,120,242,.32); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: transparent; border-color: var(--gray-300); color: var(--dark); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: var(--white); color: var(--primary); }
.btn-light:hover { background: var(--primary-light); }
.btn-white-outline { background: transparent; border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-white-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Top info bar ---------- */
.topbar {
  background: var(--dark);
  color: var(--gray-300);
  font-size: 13px;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 9px;
  padding-bottom: 9px;
}
.topbar a { color: var(--gray-300); }
.topbar a:hover { color: var(--primary); }
.topbar__contacts { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__contacts span, .topbar__contacts a { display: inline-flex; align-items: center; gap: 6px; }
.topbar__social { display: flex; gap: 14px; }
.topbar__social a { opacity: .8; }
.topbar__social a:hover { opacity: 1; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
}
.site-header.is-scrolled { animation: header-slide-down .28s ease-out both; }
@keyframes header-slide-down {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block;
  padding: 10px 11px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--primary); background: var(--primary-light); }

.has-dropdown > a::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  position: relative;
  top: -2px;
}
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .18s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--gray-700);
}
.dropdown a:hover { background: var(--gray-50); color: var(--primary); }
.dropdown .swatch { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--dark); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--dark) 0%, var(--dark-2) 55%, #2a3252 100%);
  color: var(--white);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 84px;
  position: relative;
  z-index: 2;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,120,242,.15);
  border: 1px solid rgba(13,120,242,.4);
  color: #8fc3ff;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 { color: var(--white); font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 20px; }
.hero h1 span { color: var(--primary); }
.hero p.lead { color: #c7cede; font-size: 18px; max-width: 520px; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero__stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero__stats div strong { display: block; font-size: 26px; color: var(--white); }
.hero__stats div span { font-size: 13px; color: #98a1bd; }
.hero__media { position: relative; }
.hero__media img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  display: block;
}
.hero__media::before {
  content: "";
  position: absolute;
  inset: -18px -18px auto auto;
  width: 140px; height: 140px;
  background: var(--primary);
  opacity: .18;
  border-radius: 50%;
  z-index: -1;
}
.hero__float {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  color: var(--dark);
  padding: 16px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 240px;
}
.hero__float .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-light); display:flex;align-items:center;justify-content:center; font-size:18px; flex:none;}
.hero__float strong { display: block; font-size: 14px; }
.hero__float span { font-size: 12.5px; color: var(--gray-500); }

/* Page (inner) hero — shorter banner for sub-pages */
.page-hero {
  position: relative;
  background: linear-gradient(120deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--white);
  padding: 64px 0 56px;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .breadcrumb { font-size: 13px; color: #a9b1cc; margin-bottom: 14px; }
.page-hero .breadcrumb a:hover { color: var(--primary); }
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4vw, 44px); margin-bottom: 10px; }
.page-hero p { color: #c7cede; font-size: 17px; max-width: 640px; margin-bottom: 0; }
.page-hero__accent {
  position: absolute; inset: 0;
  background-repeat: no-repeat;
  background-position: right -60px top -60px;
  background-size: 480px;
  opacity: .12;
  z-index: 1;
  border-radius: 50%;
}

/* Card-colour themed page hero variants */
.page-hero.theme-green { background: linear-gradient(120deg,#123318,#1c4a24 60%,#245c2c); }
.page-hero.theme-blue { background: linear-gradient(120deg,#0c1f3d,#0f2d5c 60%,#123a76); }
.page-hero.theme-gold { background: linear-gradient(120deg,#2e2408,#4a3a0c 60%,#664f10); }
.page-hero.theme-red { background: linear-gradient(120deg,#320d0d,#4d1414 60%,#661a1a); }
.page-hero.theme-silver { background: linear-gradient(120deg,#20242c,#333a45 60%,#454e5c); }
.page-hero.theme-black { background: linear-gradient(120deg,#000000,#161616 60%,#242424); }

/* ---------- Trust / accreditation strip ---------- */
.trust-strip { padding: 34px 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.trust-strip .container { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; justify-content: space-between; }
.trust-strip__label { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-500); flex: none; }
.trust-strip__logos { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; flex: 1; justify-content: flex-end; }
.trust-strip__logos img { height: 42px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: all .2s ease; }
.trust-strip__logos img:hover { filter: grayscale(0); opacity: 1; }

/* ---------- Services grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { color: var(--gray-500); font-size: 15px; margin-bottom: 14px; }
.service-card .link-arrow { font-weight: 700; color: var(--primary); font-size: 14px; }

/* ---------- Card colour grid (CSCS cards) ---------- */
.card-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-tile {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-tile__media { position: relative; height: 210px; overflow: hidden; background: var(--gray-50); display: flex; align-items: center; justify-content: center; }
.card-tile__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; box-sizing: border-box; transition: transform .35s ease; }
.card-tile:hover .card-tile__media img { transform: scale(1.06); }
.card-tile__body { padding: 20px 22px 24px; }
.card-tile__strip { width: 34px; height: 6px; border-radius: 4px; margin-bottom: 10px; }
.card-tile h3 { color: var(--dark); font-size: 19px; margin-bottom: 6px; }
.card-tile p { color: var(--gray-500); font-size: 14px; margin-bottom: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding: 32px 24px 24px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: -18px; left: 24px;
  width: 36px; height: 36px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
  box-shadow: 0 6px 14px rgba(13,120,242,.4);
}
.step h3 { font-size: 17px; margin: 8px 0 8px; }
.step p { color: var(--gray-500); font-size: 14.5px; margin-bottom: 0; }

/* ---------- Info blocks (used on card pages) ---------- */
.info-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.info-block.reverse .info-block__media { order: 2; }
.info-block__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: 360px; object-fit: cover; }
.info-block__media.card-media { background: var(--gray-50); border-radius: var(--radius); box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center; height: 360px; }
.info-block__media.card-media img { width: 100%; height: 100%; object-fit: contain; box-shadow: none; padding: 26px; box-sizing: border-box; }
.info-block__text .check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed var(--gray-200);
  font-size: 15px;
  color: var(--gray-700);
}
.info-block__text .check-list li:last-child { border-bottom: none; }
.check-list li .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 900; margin-top: 2px;
}

.fact-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.fact { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); padding: 18px; text-align: center; }
.fact strong { display: block; font-size: 15px; color: var(--dark); margin-bottom: 4px; }
.fact span { font-size: 12.5px; color: var(--gray-500); }

/* sub-type gallery (Red / White card variants) */
.subtype-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; }
.subtype-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.subtype-card img { width: 100%; height: 190px; object-fit: contain; background: var(--gray-50); padding: 12px; box-sizing: border-box; }
.subtype-card__body { padding: 18px 20px 22px; }
.subtype-card h4 { font-size: 16px; margin-bottom: 6px; }
.subtype-card p { font-size: 13.5px; color: var(--gray-500); margin-bottom: 0; }

/* ---------- Other card cross-links ---------- */
.other-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.other-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 12px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all .2s ease;
}
.other-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.other-card .ring { width: 46px; height: 46px; border-radius: 50%; border: 3px solid; display:flex;align-items:center;justify-content:center; font-weight:800; font-size:13px; }
.other-card span { font-size: 13.5px; font-weight: 700; color: var(--gray-700); }

/* ---------- E-learning course grid ---------- */
.course-card { display: block; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-card__img { position: relative; height: 150px; overflow: hidden; }
.course-card__img img { width: 100%; height: 100%; object-fit: cover; }
.course-card__tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(16,25,46,.75); color: var(--white);
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.course-card__body { padding: 16px 18px 20px; }
.course-card__body h4 { font-size: 15.5px; margin-bottom: 6px; }
.course-card__body p { font-size: 13px; color: var(--gray-500); margin-bottom: 0; }

/* ---------- Testimonials ---------- */
.testimonial { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 26px; }
.testimonial__stars { color: var(--primary); font-size: 14px; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial p { font-size: 14.5px; color: var(--gray-600); }
.testimonial__who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testimonial__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex: none; }
.testimonial__who strong { display: block; font-size: 13.5px; }
.testimonial__who span { font-size: 12px; color: var(--gray-500); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--primary) 0%, #4fa3ff 100%);
  border-radius: 24px;
  color: var(--white);
  padding: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: clamp(24px,3vw,32px); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.9); margin-bottom: 0; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-q {
  width: 100%;
  background: none; border: none; text-align: left;
  padding: 20px 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer;
  font-size: 16px; font-weight: 700; color: var(--dark);
}
.faq-q .plus { font-size: 20px; color: var(--primary); flex: none; transition: transform .2s ease; font-weight: 400; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  color: var(--gray-500);
  font-size: 15px;
  padding: 0 4px;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 20px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.contact-card { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--gray-200); }
.contact-card:last-child { border-bottom: none; }
.contact-card .ico {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.contact-card h4 { font-size: 15px; margin-bottom: 4px; }
.contact-card p, .contact-card a { color: var(--gray-500); font-size: 14.5px; }
.contact-card a:hover { color: var(--primary); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--gray-700); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-family: inherit;
  background: var(--gray-50);
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); background: var(--white);
}
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); margin-top: 24px; }
.map-embed iframe { display: block; width: 100%; height: 260px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #aab1c8; }
.footer-top { padding-top: 64px; padding-bottom: 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-top > div { min-width: 0; }
.footer-brand img { height: 38px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; color: #98a1bd; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--white);
  transition: background .2s ease;
}
.footer-social a:hover { background: var(--primary); }
.site-footer h4 { color: var(--white); font-size: 15px; margin-bottom: 18px; }
.site-footer .flinks li { margin-bottom: 11px; font-size: 14.5px; }
.site-footer .flinks a { color: #aab1c8; }
.site-footer .flinks a:hover { color: var(--primary); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 16px; font-size: 14px; color: #aab1c8; align-items: flex-start; }
.footer-contact li .ico { flex: none; color: var(--primary); margin-top: 2px; }
.footer-contact li span:not(.ico) { min-width: 0; overflow-wrap: anywhere; }
.footer-contact a { color: #aab1c8; overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #7d86a3; }
.footer-bottom a { color: #7d86a3; }
.footer-bottom a:hover { color: var(--primary); }
.footer-bottom__row { padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-disclaimer { font-size: 12px; color: #5f6786; }

.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  border: none; cursor: pointer;
  font-size: 18px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s ease;
  z-index: 90;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

.badge-strip { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.badge-strip span {
  background: var(--gray-100); color: var(--gray-600);
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
}

/* ---------- Test centre finder ---------- */
.centre-search {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 30px;
  margin-top: -40px;
  margin-bottom: 12px;
  position: relative;
  z-index: 5;
}
.centre-search__row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.centre-search__field { flex: 1; min-width: 220px; }
.centre-search__field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--gray-700); margin-bottom: 7px; }
.centre-search__field input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  text-transform: uppercase;
}
.centre-search__field input:focus { outline: none; border-color: var(--primary); }
.centre-search__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.centre-search__hint { font-size: 13px; color: var(--gray-500); margin-top: 12px; margin-bottom: 0; }

#centre-results-summary { font-weight: 700; color: var(--dark); margin-bottom: 18px; font-size: 15px; }
.centre-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.centre-card__rank {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
}
.centre-card__body { flex: 1; min-width: 160px; }
.centre-card__body h4 { font-size: 15.5px; margin-bottom: 2px; }
.centre-card__body p { font-size: 13px; color: var(--gray-500); margin-bottom: 0; }
.centre-card__distance {
  flex: none;
  font-weight: 800;
  color: var(--dark);
  font-size: 14px;
  background: var(--gray-100);
  padding: 6px 12px;
  border-radius: 999px;
}

.region-group { margin-bottom: 32px; }
.region-group h4 { font-size: 15px; color: var(--gray-700); margin-bottom: 12px; }
.region-group__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.region-group__chips span {
  background: var(--gray-100); color: var(--gray-600);
  font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 999px;
}

/* ---------- Legal content ---------- */
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content .legal-updated { font-size: 13.5px; color: var(--gray-500); margin-bottom: 36px; }
.legal-content h2 { font-size: 22px; margin-top: 40px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { color: var(--gray-600); font-size: 15.5px; }
.legal-content ul { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.legal-content ul li { color: var(--gray-600); font-size: 15.5px; margin-bottom: 8px; }
.legal-content a { color: var(--primary); font-weight: 600; }
.legal-content a:hover { text-decoration: underline; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.legal-nav a {
  font-size: 13.5px; font-weight: 700; color: var(--gray-600);
  background: var(--gray-100); padding: 8px 14px; border-radius: 999px;
}
.legal-nav a.active, .legal-nav a:hover { background: var(--primary); color: var(--white); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .help-buttons { grid-template-columns: repeat(2, 1fr); }
  .card-tiles { grid-template-columns: repeat(2, 1fr); }
  .other-cards { grid-template-columns: repeat(3, 1fr); }
  .hero .container { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .info-block, .info-block.reverse { grid-template-columns: 1fr; }
  .info-block.reverse .info-block__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .topbar__social { display: none; }
  .topbar .container { justify-content: center; padding-top: 9px; padding-bottom: 9px; }
  .topbar__contacts { gap: 8px; }
  .topbar__contacts .topbar__secondary { display: none; }
  .topbar__primary { font-weight: 700; }
  .trust-strip .container { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .trust-strip__logos { justify-content: center; gap: 22px 28px; }
  .trust-strip__logos img { height: 32px; }
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    gap: 2px;
  }
  .site-header.open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; margin-top: 4px; }
  .site-header.open .has-dropdown.dd-open .dropdown { display: flex; flex-direction: column; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .card-tiles { grid-template-columns: 1fr; }
  .other-cards { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; padding: 36px 26px; }
  .fact-row { grid-template-columns: repeat(2, 1fr); }
  .subtype-grid { grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); }
  .centre-search { margin-top: -24px; padding: 22px; }
  .centre-search__row { flex-direction: column; align-items: stretch; }
  .centre-card { position: relative; padding-right: 18px; }
  .centre-card__distance { order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header.is-scrolled { animation: none; }
}
