/* ============================================================
   SF&S — Global Stylesheet
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  --color-primary:    #111327;
  --color-secondary:  #1B75BC;
  --color-accent:     #27AAE1;

  --color-background: #F7FAFC;
  --color-surface:    #FFFFFF;

  --color-muted:      #AEBADF;
  --color-border:     #D8DDF0;

  --color-text:       #111327;
  --color-text-muted: #54628F;

  --color-info-soft:  #73C7E5;
  --color-supporting: #8292C2;

  --font-heading: "Plus Jakarta Sans", sans-serif;
  --font-body:    "Inter", sans-serif;

  --radius-card:    20px;
  --radius-btn:     999px;
  --radius-sm:      10px;

  --shadow-card:    0 2px 16px rgba(17, 19, 39, 0.08);
  --shadow-card-hover: 0 6px 32px rgba(17, 19, 39, 0.14);

  --nav-height: 110px;
  --nav-badge-height: 110px;
  --nav-badge-width: 110px;
  --section-pad: 96px;
  --section-pad-sm: 56px;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-background);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1.1;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.1; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; }
h4 { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.3; }
p  { line-height: 1.75; }
small { font-size: 0.875rem; }

/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

.container--narrow {
  width: min(760px, 100% - 48px);
  margin-inline: auto;
}

.section { padding: var(--section-pad) 0; }
.section--sm { padding: var(--section-pad-sm) 0; }
.section--dark { background: var(--color-primary); color: #fff; }
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--offwhite { background: var(--color-background); }
.section--white { background: var(--color-surface); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-white { color: #fff; }
.text-accent { color: var(--color-accent); }

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title { margin-bottom: 16px; }
.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 600px;
}
.section-subtitle.center { margin-inline: auto; }
.section-head { margin-bottom: 56px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--color-secondary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-accent);
  box-shadow: 0 4px 18px rgba(39, 170, 225, 0.35);
}

.btn--dark {
  background: var(--color-primary);
  color: #fff;
}
.btn--dark:hover { background: #1e2247; }

.btn--outline {
  background: transparent;
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}
.btn--outline:hover {
  background: var(--color-secondary);
  color: #fff;
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn--sm { padding: 9px 20px; font-size: 0.875rem; }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }

.btn-group { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ============================================================
   Navigation
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  overflow: visible;
  background: rgba(17, 19, 39, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
  position: relative;
  height: var(--nav-height);
}

/* Hanging badge centrepiece */
.nav-badge-wrap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: var(--nav-badge-width);
  height: var(--nav-height);
  z-index: 1001;
  pointer-events: none;
}


a.nav-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: var(--nav-badge-width);
  height: var(--nav-badge-height);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
  text-decoration: none;
  pointer-events: all;
  transition: filter 0.25s;
}

a.nav-badge:hover {
  filter: brightness(1.15) drop-shadow(0 4px 18px rgba(27, 117, 188, 0.7));
}

.nav-badge img {
  height: 100px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links--left {
  flex: 1;
  justify-content: flex-end;
  padding-right: 64px;
}

.nav-links--right {
  flex: 1;
  justify-content: flex-start;
  padding-left: 64px;
}

.nav-links > li { position: relative; }

.nav-links a {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: #fff; background: rgba(255,255,255,0.08); }

.nav-links .btn--primary {
  color: #fff;
  padding: 9px 20px;
  font-size: 0.875rem;
  background: var(--color-secondary);
}
.nav-links .btn--primary:hover {
  background: var(--color-accent);
  transform: none;
}

/* Dropdown */
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 8px 14px;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown-toggle:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-dropdown-toggle svg { width: 14px; height: 14px; transition: transform 0.2s; }
.nav-dropdown-toggle.open svg { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 8px;
  min-width: 220px;
  box-shadow: 0 12px 40px rgba(17, 19, 39, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.2s, transform 0.2s;
}

.nav-dropdown.open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--color-text);
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  background: transparent;
}
.nav-dropdown a:hover { background: var(--color-background); color: var(--color-secondary); }
.nav-dropdown a svg { color: var(--color-secondary); flex-shrink: 0; width: 16px; height: 16px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--color-primary);
  padding: calc(var(--nav-badge-height) - var(--nav-height) + 16px) 24px 28px;
  gap: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 999;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  display: block;
  padding: 11px 14px;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}
.nav-mobile a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-mobile .mobile-section-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-supporting);
  padding: 14px 14px 4px;
  font-family: var(--font-heading);
  font-weight: 700;
}
.nav-mobile .btn--primary { margin-top: 12px; text-align: center; display: block; }

/* ============================================================
   Hero — Home (video + logo)
   ============================================================ */
.hero-home {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-primary);
  text-align: center;
  padding: calc(var(--nav-badge-height) + 20px) 24px 112px;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(17, 19, 39, 0.72) 0%,
    rgba(17, 19, 39, 0.58) 50%,
    rgba(27, 117, 188, 0.25) 100%
  );
  z-index: 1;
}

.hero-home-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

/* Logo intro — 3-layer reveal (shield fade → sword drop → text expand) */
@keyframes shield-reveal {
  0%, 6.33%        { opacity: 0; }
  18.35%, 100%     { opacity: 1; }
}

@keyframes sword-reveal {
  0%, 18.99%       { opacity: 0; transform: translateY(-123.18%); }
  33.54%, 100%     { opacity: 1; transform: translateY(0); }
}

@keyframes text-reveal {
  0%, 60.13%       { opacity: 0; transform: scale(0.93); }
  72.78%, 100%     { opacity: 1; transform: scale(1); }
}

@keyframes logo-accessible-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Glow backdrop — fade in then loop-pulse */
@keyframes glowReveal {
  to { opacity: 0.5; }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.04); }
}

.hero-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 36px;
  width: fit-content;
}

.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -28px;
  background: radial-gradient(
    ellipse at center,
    rgba(39, 170, 225, 0.14) 0%,
    rgba(39, 170, 225, 0.05) 50%,
    transparent 72%
  );
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation:
    glowReveal 0.9s ease forwards 2.633s,
    glowPulse  3.5s ease-in-out infinite 3.533s;
}

.logo-animation {
  position: relative;
  width: clamp(190px, 29vw, 295px);
  aspect-ratio: 165.71 / 189.94;
}

.logo-part {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  will-change: transform, opacity;
  display: block;
}

.shield-icon {
  animation: shield-reveal 2.633s cubic-bezier(0.4, 0, 0.2, 1) both 1;
}

.sword {
  animation: sword-reveal 2.633s cubic-bezier(0.16, 1, 0.3, 1) both 1;
}

.brand-text {
  top: 4.1%;
  transform-origin: center;
  animation: text-reveal 2.633s cubic-bezier(0.25, 1, 0.5, 1) both 1;
}

/* Shine sweep over the brand-text SVG, starts after logo reveal completes */
.brand-text-shine {
  position: absolute;
  top: 4.1%;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: url('../img/Text.svg');
  mask-image: url('../img/Text.svg');
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.brand-text-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.32) 50%,
    transparent 70%
  );
  animation: brand-text-shine 3.2s ease-in-out infinite 2.633s;
}

@keyframes brand-text-shine {
  0%   { left: -80%; }
  45%  { left: 130%; }
  100% { left: 130%; }
}

@media (prefers-reduced-motion: reduce) {
  .shield-icon, .sword, .brand-text {
    animation: logo-accessible-fade 0.4s ease both 1;
    transform: none !important;
  }
  .brand-text-shine::after {
    animation: none;
  }
}

@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-home h1 {
  color: #fff;
  margin-bottom: 20px;
  opacity: 0;
  animation: heroTextIn 0.8s ease forwards 1.8s;
}

.hero-home .hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 36px;
  opacity: 0;
  animation: heroTextIn 0.8s ease forwards 2.1s;
}

.hero-home .btn-group {
  justify-content: center;
  opacity: 0;
  animation: heroTextIn 0.8s ease forwards 2.4s;
}

/* ============================================================
   Logo Carousel Strip — bottom of hero
   ============================================================ */
.logo-carousel-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: 80px;
  background: rgba(6, 8, 18, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.logo-carousel-inner {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-carousel-label {
  flex-shrink: 0;
  width: 200px;
  padding-right: 20px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

.logo-carousel-track-wrap {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
}

.logo-carousel-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  will-change: transform;
  animation: logo-scroll 28s linear infinite;
}

.logo-carousel-item {
  height: 26px;
  width: auto;
  display: block;
  flex-shrink: 0;
  opacity: 0.45;
  filter: brightness(0) invert(1);
  padding: 0 20px;
}

.logo-carousel-item--sm {
  height: 20px;
}

.logo-carousel-item--no-filter {
  filter: none;
}

@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-carousel-track {
    animation: none;
  }
}

@media (max-width: 640px) {
  /* Hero — sit content below nav rather than float-center on mobile */
  .hero-home {
    justify-content: flex-start;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: calc(var(--nav-badge-height) + 12px);
    padding-bottom: 120px;
  }
  .logo-animation { width: 240px; }
  .hero-logo-wrap { margin-bottom: 20px; }
  .hero-home .hero-sub { margin-bottom: 22px; }

  .logo-carousel-strip {
    height: auto;
    padding: 14px 0;
  }
  .logo-carousel-inner {
    flex-direction: column;
    gap: 10px;
    height: auto;
  }
  .logo-carousel-label {
    width: auto;
    text-align: center;
    padding: 0 24px;
  }
  .logo-carousel-track-wrap {
    width: 100%;
    height: 44px;
  }
  .logo-carousel-item {
    height: 22px;
    padding: 0 16px;
  }
}

/* ============================================================
   Hero — Inner pages
   ============================================================ */
.hero-inner {
  background: var(--color-primary);
  padding: calc(var(--nav-badge-height) + 64px) 0 64px;
  color: #fff;
}
.hero-inner h1 { color: #fff; margin-bottom: 16px; }
.hero-inner .hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
}

/* Hero with split layout (left text / right image) */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* ============================================================
   Placeholder Images
   ============================================================ */
.placeholder-img {
  width: 100%;
  background: var(--color-border);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 16px;
}
/* Real section images — drop-in replacement for placeholder-img--medium */
.section-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-card);
  display: block;
}

/* Hero split image — displays at natural proportions, no cropping */
.hero-split .section-img {
  aspect-ratio: unset;
  height: auto;
  width: 100%;
  object-fit: unset;
}

/* Frame for product/transparent PNG images */
.section-img-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/3;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.section-img-frame--dark { background: #000; }

.section-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-card);
}

.placeholder-img--wide   { aspect-ratio: 16/9; }
.placeholder-img--medium { aspect-ratio: 4/3; }
.placeholder-img--square { aspect-ratio: 1/1; }
.placeholder-img--tall   { aspect-ratio: 3/4; }
.placeholder-img--hero   { aspect-ratio: 16/9; }

/* ============================================================
   Service Cards
   ============================================================ */
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: box-shadow 0.25s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(27, 117, 188, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  flex-shrink: 0;
}
.service-card__icon svg { width: 24px; height: 24px; stroke-width: 1.75; }

.service-card h3 { font-size: 1.2rem; margin: 0; }
.service-card p { color: var(--color-text-muted); font-size: 0.95rem; flex: 1; }

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-secondary);
  margin-top: 4px;
  transition: color 0.2s, gap 0.2s;
}
.service-card__link:hover { color: var(--color-accent); gap: 10px; }
.service-card__link svg { width: 16px; height: 16px; stroke-width: 2; }

/* ============================================================
   Feature / Benefit Cards
   ============================================================ */
.benefit-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.benefit-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(39, 170, 225, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}
.benefit-card__icon svg { width: 22px; height: 22px; stroke-width: 1.75; }

.benefit-card h4 { font-size: 1rem; margin-bottom: 4px; }
.benefit-card p { font-size: 0.9rem; color: var(--color-text-muted); }

/* ============================================================
   Process Steps
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 32px 20px;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  position: relative;
}

.process-step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.process-step h4 { font-size: 1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.875rem; color: var(--color-text-muted); }

/* ============================================================
   Service Section (two-col, alternating)
   ============================================================ */
.service-section { padding: 72px 0; border-bottom: 1px solid var(--color-border); }
.service-section:last-of-type { border-bottom: none; }

.service-section__content h2 { margin-bottom: 16px; }
.service-section__content p { color: var(--color-text-muted); margin-bottom: 20px; }

.service-section__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.service-section__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.service-section__list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* ============================================================
   Property Type / Industry Cards
   ============================================================ */
.property-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.property-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.property-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(27, 117, 188, 0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-secondary);
}
.property-card__icon svg { width: 26px; height: 26px; stroke-width: 1.75; }
.property-card h4 { font-size: 0.95rem; }

/* ============================================================
   CTA Section (Navy)
   ============================================================ */
.cta-section {
  background: var(--color-primary);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.72); max-width: 500px; margin-inline: auto; margin-bottom: 32px; font-size: 1.05rem; }
.cta-section .btn-group { justify-content: center; }

/* ============================================================
   Blog Cards
   ============================================================ */
.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }

.blog-card__img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card__img .placeholder-img { border-radius: 0; height: 100%; }
.blog-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }

.category-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(27, 117, 188, 0.1);
  color: var(--color-secondary);
}
.category-pill--fire { background: rgba(225, 80, 39, 0.08); color: #c84b2f; }
.category-pill--automation { background: rgba(84, 98, 143, 0.1); color: var(--color-text-muted); }
.category-pill--networking { background: rgba(39, 170, 225, 0.1); color: #1a8ab5; }

.blog-card h4 { font-size: 1rem; margin: 0; }
.blog-card p { font-size: 0.875rem; color: var(--color-text-muted); flex: 1; }
.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-secondary);
  font-family: var(--font-heading);
  transition: color 0.2s, gap 0.2s;
}
.blog-card__link:hover { color: var(--color-accent); gap: 10px; }
.blog-card__link svg { width: 14px; height: 14px; stroke-width: 2; }

/* Category filters */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}
.cat-filter {
  padding: 8px 20px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  border: 2px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
  transition: all 0.2s;
}
.cat-filter:hover,
.cat-filter.active {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
}

/* ============================================================
   Forms
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid--full { grid-column: 1 / -1; }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-primary);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-surface);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(27, 117, 188, 0.12);
}
.field textarea { resize: vertical; min-height: 120px; }

/* ============================================================
   Contact Details Block
   ============================================================ */
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
}
.contact-detail__icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(27, 117, 188, 0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-secondary);
  flex-shrink: 0;
}
.contact-detail__icon svg { width: 20px; height: 20px; stroke-width: 1.75; }
.contact-detail h4 { font-size: 0.875rem; color: var(--color-text-muted); font-weight: 600; margin-bottom: 2px; }
.contact-detail p { font-size: 0.95rem; color: var(--color-text); }

/* ============================================================
   Stats / Trust Strip
   ============================================================ */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.trust-item { text-align: center; }
.trust-item__num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1;
}
.trust-item__label { font-size: 0.875rem; color: var(--color-text-muted); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img { height: 100px; width: auto; margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 0.9rem; max-width: 280px; line-height: 1.65; }
.footer-brand__link { display: inline-block; transition: filter 0.25s; text-decoration: none; }
.footer-brand__link:hover { filter: brightness(1.15) drop-shadow(0 4px 18px rgba(27, 117, 188, 0.7)); }

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
}
.footer-contact-item svg { width: 16px; height: 16px; color: var(--color-accent); flex-shrink: 0; stroke-width: 1.75; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   Page Header (inner pages)
   ============================================================ */
.page-header {
  background: var(--color-primary);
  padding: calc(var(--nav-badge-height) + 48px) 0 52px;
  text-align: center;
}
.page-header h1 { color: #fff; margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 540px; margin-inline: auto; }

/* ============================================================
   Legal pages
   ============================================================ */
.legal-content {
  padding: 64px 0 96px;
}
.legal-content h2 { font-size: 1.5rem; margin-top: 40px; margin-bottom: 12px; }
.legal-content h3 { font-size: 1.15rem; margin-top: 28px; margin-bottom: 10px; }
.legal-content p { margin-bottom: 16px; color: var(--color-text-muted); }
.legal-content ul { list-style: disc; padding-left: 24px; color: var(--color-text-muted); }
.legal-content ul li { margin-bottom: 8px; }
.placeholder-notice {
  background: rgba(39, 170, 225, 0.08);
  border: 2px dashed var(--color-accent);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

/* ============================================================
   Large card for services landing
   ============================================================ */
.service-category-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow 0.25s, transform 0.2s;
}
.service-category-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.service-category-card .service-card__icon { width: 56px; height: 56px; border-radius: 14px; }
.service-category-card .service-card__icon svg { width: 28px; height: 28px; }
.service-category-card h3 { font-size: 1.35rem; }
.service-category-card p { color: var(--color-text-muted); font-size: 0.95rem; }
.service-category-card ul {
  display: flex; flex-direction: column; gap: 8px;
  padding: 0; list-style: none;
}
.service-category-card ul li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.875rem; color: var(--color-text-muted);
}
.service-category-card ul li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* ============================================================
   What Happens Next (quote page)
   ============================================================ */
.what-next-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}
.what-next-step__num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.what-next-step h4 { font-size: 1rem; margin-bottom: 4px; }
.what-next-step p { font-size: 0.875rem; color: var(--color-text-muted); }

/* ============================================================
   Intro section
   ============================================================ */
.intro-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--color-border);
}
.intro-section p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 720px;
}

/* ============================================================
   Property / Industry Grid (6-up desktop)
   ============================================================ */
.property-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.property-card {
  flex: 0 1 calc(20% - 13px);
}
.property-grid--3col .property-card {
  flex: 0 1 calc(33.333% - 11px);
}

/* ============================================================
   Blog — Featured article (side-by-side)
   ============================================================ */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 40px;
  border-radius: var(--radius-card);
  overflow: hidden;
}

/* ============================================================
   Service enquiry link grid (2-col)
   ============================================================ */
.service-enquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ============================================================
   Utilities (absorbed from inline styles)
   ============================================================ */

/* Mobile nav indented service sub-links */
.nav-mobile__sub { padding-left: 28px; }

/* Form page 2-column layout */
.form-layout { gap: 56px; align-items: start; }

/* Bordered surface card */
.surface-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px;
}
.surface-card--lg { padding: 40px; }

/* Form section headings */
.form-title { font-size: 1.5rem; }
.form-title--sm { font-size: 1.35rem; }
.form-desc { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 28px; }

/* Full-width centred button (form submit) */
.btn--full { width: 100%; justify-content: center; margin-top: 24px; }

/* Vertical flex stacks */
.sidebar-stack { display: flex; flex-direction: column; gap: 24px; }
.steps-list { display: flex; flex-direction: column; gap: 14px; }

/* Trust checklist (quote sidebar) */
.trust-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.trust-list li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--color-text-muted); }

/* Primary-coloured call-out box */
.call-box { background: var(--color-primary); border-radius: var(--radius-card); padding: 28px; }
.call-box h4 { color: #fff; margin-bottom: 8px; }
.call-box__desc { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-bottom: 16px; }
.call-box__phone { color: var(--color-accent); font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; }
.call-box__phone a { color: inherit; text-decoration: none; }

/* Service enquiry quick-links (contact page) */
.service-enquiry-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.service-enquiry-link:hover { border-color: var(--color-secondary); background: var(--color-surface); }

/* Contact details list spacing */
.contact-detail-list { display: flex; flex-direction: column; gap: 14px; }

/* Footer contact links: remove underline, inherit colour */
.footer-contact-item a { color: inherit; text-decoration: none; }
/* Contact detail phone/email links */
.contact-detail p a { color: inherit; text-decoration: none; }
.contact-detail p a.link-accent { color: var(--color-secondary); }

/* Hero section btn-group top spacing */
.btn-group--hero { margin-top: 28px; }

/* Benefit cards sub-grid (index.html "Why Choose Us") */
.benefit-subgrid { gap: 16px; grid-auto-rows: 1fr; align-items: stretch; }

/* Leading paragraph in a section block */
.section-intro-p { color: var(--color-text-muted); margin-bottom: 32px; }

/* Services overview banner strip */
.services-banner { padding: 0 0 64px; }
.services-banner > .container { padding-top: 40px; }

/* Service category card CTA buttons should not stretch */
.service-category-card .btn { align-self: flex-start; }

/* Blog: featured article adjustments */
.blog-featured .blog-card__img { aspect-ratio: unset; height: 100%; min-height: 260px; }
.blog-featured .blog-card__img .placeholder-img { height: 100%; border-radius: 0; }
.blog-featured .blog-card__body { padding: 40px; }
.blog-featured__title { font-size: 1.5rem; line-height: 1.2; }
.blog-featured .service-card__link { font-size: 0.95rem; }

/* Page-header section containing a btn-group */
.page-header .btn-group { justify-content: center; margin-top: 32px; }

/* Service detail pages: icon sits above heading */
.service-section__content .service-card__icon { margin-bottom: 20px; }

/* Generic muted text colour */
.text-muted { color: var(--color-text-muted); }

/* Grid layout modifiers */
.grid-2--start { align-items: start; }
.grid-2--wide { gap: 60px; }

/* Surface card medium-padding variant */
.surface-card--md { padding: 32px; }

/* Contact-verify / call-us CTA link */
.contact-cta-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.contact-cta-link svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Remote support tool-cards wrapper */
.remote-support-links { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }

/* Engineer-visit / services bullet list */
.check-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.check-list li { display: flex; align-items: center; gap: 10px; color: var(--color-text-muted); font-size: 0.95rem; }
.check-list li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--color-secondary); }
.trust-list li svg { color: var(--color-accent); flex-shrink: 0; }

/* ── Lucide icon sizing ── */
/* Lucide replaces <i data-lucide> with <svg class="lucide"> — all existing svg rules
   apply automatically; these ensure correct dimensions per context. */
i[data-lucide] { display: inline-flex; }
.service-card__icon i[data-lucide],
.benefit-card__icon i[data-lucide],
.property-card__icon i[data-lucide],
.contact-detail__icon i[data-lucide],
.footer-contact-item i[data-lucide],
.contact-cta-link i[data-lucide],
.check-list li i[data-lucide],
.nav-dropdown a i[data-lucide] { display: inline-flex; align-items: center; justify-content: center; }

/* Vertical stack of benefit/info cards */
.card-col-stack { display: flex; flex-direction: column; gap: 20px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .property-grid .property-card { flex-basis: calc(33.333% - 11px); }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured .blog-card__img { min-height: 280px; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
    --section-pad-sm: 40px;
  }

  .nav-links--left, .nav-links--right { display: none; }
  .nav-toggle { display: flex; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }

  /* Hero layouts */
  .hero-split { grid-template-columns: 1fr; }
  .hero-split .placeholder-img { order: 1; }
  .hero-inner { padding: calc(var(--nav-badge-height) + 40px) 0 40px; }
  .page-header { padding: calc(var(--nav-badge-height) + 32px) 0 36px; }

  /* Service sections — always show text before image on mobile */
  .service-section .service-section__content { order: -1; }

  /* Kill min-height on placeholder images — aspect-ratio + min-height forces
     a minimum width that overflows narrow viewports */
  .placeholder-img { min-height: 0 !important; }

  /* Blog featured article stacks vertically */
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured .blog-card__img { min-height: 220px; }

  .form-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .trust-strip { gap: 24px; }
  .section-head { margin-bottom: 36px; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .property-grid .property-card { flex-basis: calc(50% - 8px); }
  .service-enquiry-grid { grid-template-columns: 1fr; }
  h2 { font-size: 1.75rem; }
  .btn--lg { padding: 12px 18px; font-size: 0.95rem; }

  /* Hero — compact mobile fit so nav + logo + text + carousel all show on screen */
  .hero-home {
    padding-top: calc(var(--nav-badge-height) + 8px);
    padding-bottom: 128px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .logo-animation { width: 200px; }
  .hero-logo-wrap { margin-bottom: 14px; }
  .hero-home h1 { font-size: 1.85rem; margin-bottom: 10px; }
  .hero-home .hero-sub { font-size: 0.85rem; margin-bottom: 14px; }
}

/* ── 404 Page ─────────────────────────────────────────────────────────────── */
.error-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  padding: calc(var(--nav-badge-height) + 48px) 24px 80px;
}

.error-404__inner {
  max-width: 860px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.error-404__top {
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.error-404__img-wrap {
  flex-shrink: 0;
  width: 260px;
}

.error-404__img {
  width: 100%;
  height: auto;
  display: block;
}

.error-404__content {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.error-404__content .error-404__actions {
  justify-content: flex-start;
  margin-bottom: 0;
}

.error-404__links {
  width: 100%;
  text-align: center;
}

.error-404__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .error-404 {
    align-items: flex-start;
    padding: calc(var(--nav-badge-height) + 32px) 20px 60px;
  }
  .error-404__top {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
  .error-404__img-wrap {
    width: 100%;
    max-width: 220px;
  }
  .error-404__content {
    text-align: center;
  }
  .error-404__content .error-404__actions {
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .error-404__grid { grid-template-columns: 1fr; }
}

.error-404__code {
  font-size: clamp(6rem, 18vw, 10rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color-accent);
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.error-404 h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #fff;
  margin-bottom: 16px;
}

.error-404__message {
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.error-404__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.error-404__links-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-supporting);
  margin-bottom: 20px;
}

.error-404__card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(174, 186, 223, 0.1);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: var(--color-muted);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.error-404__card:hover {
  background: rgba(39, 170, 225, 0.07);
  border-color: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

.error-404__card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(27, 117, 188, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: background 0.2s;
}

.error-404__card:hover .error-404__card-icon {
  background: rgba(39, 170, 225, 0.18);
}

.error-404__card-icon i { width: 17px; height: 17px; stroke-width: 1.75; }

.error-404__card-label {
  font-size: 0.9rem;
  font-weight: 500;
  flex: 1;
  text-align: left;
}

.error-404__card-arrow {
  width: 15px;
  height: 15px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.error-404__card:hover .error-404__card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   CAMEsafe Hero Trust Chip
   ============================================================ */
.camesafe-hero-chip {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  max-width: max-content;
}

.camesafe-hero-chip::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 70%
  );
  border-radius: inherit;
  animation: chip-shine 3.2s ease-in-out infinite;
}

@keyframes chip-shine {
  0%   { left: -80%; }
  45%  { left: 130%; }
  100% { left: 130%; }
}


.camesafe-hero-chip__stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.camesafe-hero-chip__svg {
  height: 22px;
  width: auto;
  display: block;
}

.camesafe-hero-chip__label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

.camesafe-hero-chip__icon {
  width: 32px;
  height: 32px;
  stroke: var(--color-accent);
  stroke-width: 2;
  flex-shrink: 0;
  display: block;
}

/* ============================================================
   CAMEsafe Accreditation Strip
   ============================================================ */
.camesafe-strip {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 48px 0;
}

.camesafe-strip__inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.camesafe-strip__inner .service-card__icon {
  margin-bottom: 20px;
}

.camesafe-strip__inner h2 {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.camesafe-strip__heading-svg {
  height: 1em;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.camesafe-strip__lead {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 10px;
}

.camesafe-strip__detail {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Two-column sub-grid: bullets left, image right */
.camesafe-strip__proof {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 40px;
  align-items: center;
  margin-top: 4px;
}

.camesafe-strip__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.camesafe-strip__list li {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.camesafe-strip__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.8rem;
}

/* Image wrap — shine effect */
.camesafe-strip__img-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.camesafe-strip__img-wrap a {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 12px;
  transition: transform 0.2s ease;
}

.camesafe-strip__img-wrap a::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.32) 50%,
    transparent 70%
  );
  animation: strip-img-shine 3.6s ease-in-out infinite;
}

@keyframes strip-img-shine {
  0%   { left: -80%; }
  45%  { left: 130%; }
  100% { left: 130%; }
}

.camesafe-strip__img-wrap a:hover {
  transform: translateY(-2px);
}

.camesafe-strip__img-wrap img {
  width: 198px;
  height: auto;
  border-radius: 12px;
  display: block;
}

.camesafe-strip__verify {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.4;
}

.camesafe-strip__verify a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
}

.camesafe-strip__verify a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }

  .camesafe-hero-chip {
    margin-top: 16px;
  }

  .camesafe-strip {
    padding: 36px 0;
  }

  .camesafe-strip__proof {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .camesafe-strip__img-wrap {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  .camesafe-strip__img-wrap img {
    width: 90px;
  }

  .camesafe-strip__verify {
    text-align: left;
    font-size: 0.75rem;
  }
}
