/* ============================================================
   HUB Systems - layout: page chrome shared by every page
   (aurora backdrop, header/nav, hero, section system, sign-off,
   footer) + its responsive rules
   ============================================================ */
.aurora {
  position: fixed;
  inset: -12%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      640px 420px at 12% 18%,
      rgba(123, 192, 67, 0.16),
      transparent 60%
    ),
    radial-gradient(
      720px 520px at 88% 8%,
      rgba(153, 202, 70, 0.12),
      transparent 62%
    );
  animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-1.5%, 1.8%) scale(1.05);
  }
}

/* header - solid bar + phone (approved landing header) */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
header.scrolled {
  box-shadow: 0 6px 20px rgba(28, 38, 34, 0.08);
}
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  height: 74px;
}
.nav .logo {
  justify-self: start;
}
.nav .logo img {
  height: 44px;
  display: block;
  transition: transform 0.35s ease;
}
.nav .logo:hover img {
  transform: scale(1.04);
}
.nav ul {
  justify-self: center;
  display: flex;
  gap: 30px;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.mobile-enquire {
  display: none;
}
.nav ul a:hover,
.nav ul a.active {
  color: var(--green-deep);
}
.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav .phone-no {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.2s;
}
.nav .phone-no svg {
  color: var(--green-deep);
  flex: none;
}
.nav .phone-no:hover {
  color: var(--green-deep);
}
.nav .btn {
  padding: 13px 24px;
  font-size: 13.5px;
}
.navtoggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  margin-left: 6px;
  background: none;
  border: 0;
  cursor: pointer;
}
.navtoggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.25s;
}
header.menu-open .navtoggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
header.menu-open .navtoggle span:nth-child(2) {
  opacity: 0;
}
header.menu-open .navtoggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── hero ── */
.hero {
  padding: 112px 0 56px;
  position: relative;
  /* ::before glow sits at right: -4%; clip x only so vertical bleed still shows */
  overflow-x: clip;
}
.hero .wrap {
  position: relative;
  z-index: 1;
}
.hero::before {
  content: "";
  position: absolute;
  right: -4%;
  top: 2%;
  width: 660px;
  height: 660px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(123, 192, 67, 0.18),
    rgba(123, 192, 67, 0) 62%
  );
  z-index: -1;
  pointer-events: none;
}
.crumb {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 30px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
.crumb a:hover {
  color: var(--green-deep);
}
.crumb .here {
  color: var(--green-deep);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 900;
  line-height: 1.01;
  letter-spacing: -0.035em;
}
.hero h1 .accent {
  color: var(--green-deep);
}
.hero p.lede {
  margin: 26px 0 38px;
  font-size: 17.5px;
  color: var(--muted);
  max-width: 540px;
}
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
/* sub-page hero (about / compliance / what's-new / enquire) */
.hero.sub {
  padding-bottom: 36px;
}

/* ── sections ── */
.section {
  padding: 120px 0;
  position: relative;
}
.section.tight {
  padding: 74px 0;
}
.section h2 {
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 700px;
}
.section h2 .accent,
.section h3 .accent {
  color: var(--green-deep);
}
.section .sub {
  margin-top: 18px;
  color: var(--muted);
  max-width: 560px;
  font-size: 17px;
}
.tint {
  background: var(--tint);
}
.divide {
  border-top: 1px solid var(--line-soft);
}
.cta-mid {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.center {
  text-align: center;
}
.center .eyebrow,
.center .sub {
  margin-left: auto;
  margin-right: auto;
}
.center h2 {
  margin-left: auto;
  margin-right: auto;
}

/* ── dark section modifier (mirrors the landing's support band, so the
   product pages share the home page's bg → dark → tint → dark rhythm) ── */
.section.dark {
  background: var(--text);
  color: #fff;
  overflow: hidden;
}
.section.dark .eyebrow {
  color: var(--green-light);
}
.section.dark h2,
.section.dark h3 {
  color: #fff;
}
.section.dark h2 .accent,
.section.dark h3 .accent {
  color: var(--green-light);
}
.section.dark .stat {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}
.section.dark .stat b {
  color: var(--green-light);
}
.section.dark .stat span {
  color: var(--dark-muted);
}
.section.dark .prose p {
  color: var(--dark-soft);
}
.section.dark .prose p strong {
  color: #fff;
}
.section.dark .sub {
  color: var(--dark-soft);
}
.section.dark .checks li {
  color: var(--dark-muted);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.section.dark .checks li::before {
  background-color: var(--green-light);
}
.section.dark .panel {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.32);
}
.section.dark .panel p {
  color: var(--dark-muted);
}

/* ── sign-off ── */
.signoff {
  background: var(--text);
  color: #fff;
  padding: 110px 0 96px;
  overflow: hidden;
}
.signoff .eyebrow {
  color: var(--green-light);
}
.signoff h2 {
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 760px;
  color: #fff;
}
.signoff h2 .accent {
  color: var(--green-light);
}
.signoff p {
  color: var(--dark-soft);
  margin: 22px 0 38px;
  max-width: 480px;
  font-size: 17px;
}
.signoff .meta {
  margin: 52px 0 80px;
  display: flex;
  gap: 56px;
  font-size: 13.5px;
  color: var(--dark-dim);
  flex-wrap: wrap;
}
.signoff .meta b {
  display: block;
  color: #fff;
  font-size: 15.5px;
  margin-bottom: 2px;
  font-weight: 700;
}
/* light sign-off variant (sub-pages + UFM) */
.signoff.light {
  background: var(--tint);
  color: var(--text);
  padding: 96px 0 88px;
}
.signoff.light .eyebrow {
  color: var(--green-deep);
}
.signoff.light h2 {
  color: var(--text);
}
.signoff.light h2 .accent {
  color: var(--green-deep);
}
.signoff.light p {
  color: var(--muted);
}
.signoff.light .meta {
  margin: 46px 0 0;
  color: var(--muted);
}
.signoff.light .meta b {
  color: var(--text);
}

/* ── footer ── */
footer {
  padding: 34px 0 30px;
  background: var(--text);
  color: var(--dark-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.foot {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: space-between;
  gap: 44px;
  font-size: 14.5px;
}
.foot .chip {
  display: inline-flex;
  background: #fff;
  border-radius: 10px;
  padding: 9px 14px;
  margin-bottom: 20px;
}
.foot .chip img {
  height: 40px;
  display: block;
}
.foot-soc {
  display: inline-flex;
}
.foot-soc img {
  width: 42px;
  height: auto;
  display: block;
}
.foot h3 {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
}
.foot ul {
  list-style: none;
}
.foot li {
  margin-bottom: 12px;
}
.foot a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.15s ease;
}
.foot a:hover {
  color: var(--green-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.foot-acr {
  font-weight: 800;
  color: #fff;
}
.foot a:hover .foot-acr {
  color: inherit;
}
.foot-base {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.foot-base-right {
  display: inline-flex;
  align-items: center;
  gap: 26px;
}
.foot-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.foot-contact svg {
  flex: none;
  color: var(--green-light);
}

/* ── responsive ── */

@media (max-width: 1080px) {
  .navtoggle {
    display: flex;
  }
  .nav {
    display: flex;
    justify-content: space-between;
    position: relative;
  }
  .nav .phone-no {
    display: none;
  }
  .nav .btn {
    padding: 9px 15px;
    font-size: 12.5px;
  }
  .nav ul {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: min(280px, calc(100vw - 32px));
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(28, 38, 34, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transform-origin: top right;
    pointer-events: none;
    transition:
      opacity 0.25s ease,
      transform 0.26s ease,
      visibility 0s linear 0.26s;
    z-index: 5;
  }
  header.menu-open .nav ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition:
      opacity 0.25s ease,
      transform 0.26s ease,
      visibility 0s;
  }
  .nav ul li {
    margin: 0;
  }
  .nav ul a {
    display: block;
    padding: 13px 24px;
    font-size: 16px;
  }
  .mobile-enquire {
    display: block;
  }
  .nav .logo img {
    height: 38px;
  }
}

@media (max-width: 920px) {
  .hero {
    padding-top: 128px;
  }
  .hero.sub {
    padding-top: 96px;
    padding-bottom: 18px;
  }
  .signoff.light {
    padding: 78px 0 70px;
  }
  .hero-grid,
  .foot {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 560px) {
  html,
  body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
  .nav {
    position: relative;
    width: 100%;
    max-width: 100vw;
    gap: 10px;
  }
  .nav .logo {
    flex: 1 1 auto;
    min-width: 0;
  }
  .nav-actions {
    gap: 8px;
    flex: 0 0 auto;
  }
  .nav .btn {
    display: none;
  }
  .navtoggle {
    display: flex;
    flex: 0 0 42px;
    margin-left: 0;
  }
}
