/* ============================================================
   Trificta – Main Stylesheet
   Brand colours: #F47521 (orange) | #000000 (black) | #FFFFFF (white)
   ============================================================ */

/* ---------- Self-hosted Inter font ---------- */
/* Served from /fonts — avoids a third-party fetch from
   fonts.googleapis.com, removes a GDPR note for EU visitors, and
   lets us tighten the CSP `font-src` / `style-src` directives.
   Only the 4 weights the site actually uses (400 / 600 / 700 / 800). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Inter-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Inter-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/Inter-ExtraBold.woff2') format('woff2');
}

/* ---------- CSS Custom Properties ---------- */
:root {
  --orange:       #F47521;
  --orange-dark:  #d4611a;
  --orange-light: #f9a870;
  --black:        #000000;
  --dark:         #1a1a1a;
  --dark-mid:     #2d2d2d;
  --mid:          #555555;
  --light-gray:   #f5f5f5;
  --border:       #e0e0e0;
  --white:        #ffffff;

  --font-sans:    'Inter', 'Segoe UI', Arial, sans-serif;
  --font-heading: 'Inter', 'Segoe UI', Arial, sans-serif;

  --max-width:    1200px;
  --header-h:     72px;
  --transition:   0.25s ease;
  --radius:       4px;
  --radius-lg:    8px;
  --shadow:       0 2px 16px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.14);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;         /* clip is more reliable than hidden here — it
                               doesn't turn <html> into a scroll container,
                               so position:fixed descendants still honour
                               the viewport. */
}

body {
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  word-break: break-word;   /* Stops a long unbreakable token (URL, email,
                               ABN, etc.) from forcing horizontal overflow
                               on narrow viewports. */

}

/* Page-load fade-in — the same feel the previous Wix site had.
   Applied to `main` + `footer` so the fixed site header stays fully
   visible the entire time (no flashing / re-painting of the nav
   during page changes). */
main, .site-footer {
  animation: pageFadeIn 0.45s ease-out both;
}
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Triggered by the click handler in js/main.js immediately before
   navigating to another page on the site. Fades main + footer out
   while leaving the header in place. Pairs with the fade-in on the
   next page for a clean cross-dissolve. */
body.is-leaving main,
body.is-leaving .site-footer {
  opacity: 0;
  transition: opacity 0.25s ease-in;
  animation: none;          /* cancel the fade-in so we fade straight out */
}

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  main, .site-footer                        { animation: none; }
  body.is-leaving main,
  body.is-leaving .site-footer              { opacity: 1; transition: none; }
}

/* Belt-and-braces: media elements can never exceed their container,
   which prevents an oversized image from pushing the page wider than
   the viewport and shoving the fixed header's hamburger offscreen. */
img, video, iframe, svg {
  max-width: 100%;
  height: auto;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-dark); }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-orange { color: var(--orange); }
.text-white  { color: var(--white); }
.text-mid    { color: var(--mid); }
.text-center { text-align: center; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  /* Use safe-area insets on top of normal padding so the hamburger menu
     (and other right-aligned content) clears the iPhone notch / rounded
     corners in landscape and on devices with display cut-outs. */
  padding-left:  max(1.5rem, env(safe-area-inset-left));
  padding-right: max(1.5rem, env(safe-area-inset-right));
}

.section { padding: 5rem 0; }
.section--gray { background: var(--light-gray); }
.section--dark { background: var(--dark); color: var(--white); }
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }
.section--orange { background: var(--orange); color: var(--white); }
.section--orange h2,
.section--orange h3 { color: var(--white); }

.section-header { margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--mid); max-width: 640px; }
/* Section-header copy sitting inside a .section--dark needs a lighter
   shade — the default var(--mid) (#555) is near-invisible against the
   near-black background. Same treatment for .section--orange. */
.section--dark   .section-header p { color: rgba(255,255,255,0.75); }
.section--orange .section-header p { color: rgba(255,255,255,0.90); }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* Accent rule under headings — kept flush-left under the heading
   regardless of how the title wraps (was using inline display before
   which jumped to the right edge of the last word on multi-line titles). */
.section-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--orange);
  margin-top: 0.75rem;
  border-radius: 2px;
}
.section-header.centered h2::after { margin: 0.75rem auto 0; }
.section--dark .section-header h2::after,
.section--orange .section-header h2::after { background: var(--white); }

/* Grid helpers — `align-items: stretch` (the default) ensures every
   card in a row gets the same height, so trailing buttons / "Learn
   more" links line up across cards. */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; align-items: stretch; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: stretch; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; align-items: stretch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;       /* centres label inside fixed-width buttons */
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;              /* prevents anchor buttons from inheriting body line-height */
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--light-gray);
  color: var(--orange-dark);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--orange);
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 32px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
  background: rgba(244,117,33,0.08);
}

.nav-cta { margin-left: 0.75rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;       /* keep the bars centred horizontally inside the button */
  gap: 5px;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;             /* don't let flexbox shrink the button if siblings expand */
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin: 0;
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 999;
}
.nav-drawer.open { display: block; }
.nav-drawer a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover,
.nav-drawer a.active { color: var(--orange); }
.nav-drawer .btn { margin-top: 1rem; width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--header-h) + 5rem);
  padding-bottom: 6rem;

  /* Dark canvas + two large drifting orange radial glows painted via
     multi-layer background. Multi-stop falloff + oversized gradient
     tiles (larger than the hero) keep the circular edges well off
     the visible canvas — the glows dissolve so gradually into the
     dark background that no ring or hard edge is ever perceptible.

     Topmost layer is a tiled SVG noise texture (images/noise.svg)
     blended with `overlay` — this breaks up the gradient banding
     the way old-school dithering used to, so the gradients feel
     like part of a single atmosphere instead of a flat CSS layer. */
  background-color: var(--dark);
  background-image:
    url('../images/noise.svg'),
    radial-gradient(ellipse 70% 90% at center,
      rgba(244,117,33,0.14) 0%,
      rgba(244,117,33,0.08) 25%,
      rgba(244,117,33,0.03) 55%,
      transparent 85%),
    radial-gradient(ellipse 65% 75% at center,
      rgba(244,117,33,0.08) 0%,
      rgba(244,117,33,0.04) 35%,
      rgba(244,117,33,0.015) 65%,
      transparent 90%);
  background-size: 240px 240px, 1800px 1400px, 1500px 1300px;
  background-position: 0 0, 80% 30%, 10% 85%;
  background-repeat: repeat, no-repeat, no-repeat;
  background-blend-mode: overlay, normal, normal;

  /* Thin orange rule along the bottom edge (was .hero::after) */
  border-bottom: 4px solid var(--orange);

  position: relative;
  overflow: hidden;
  animation: heroAurora 28s ease-in-out infinite alternate;
}

/* Geometric diagonal accent — now with a very slow breathing
   pulse so the static hero feels subtly alive. */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 130%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
  opacity: 0.12;
  transform-origin: center right;
  animation: heroAccentPulse 12s ease-in-out infinite;
  will-change: opacity, transform;
}

/* Soft drifting "scanning" highlight — a wide, very low-contrast
   diagonal sweep that glides across the hero every ~20s. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
              transparent 25%,
              rgba(244,117,33,0.06) 50%,
              transparent 75%);
  background-size: 250% 250%;
  animation: heroSweep 22s linear infinite;
  pointer-events: none;
}

@keyframes heroAurora {
  from { background-position: 80% 30%, 10% 85%; }
  to   { background-position: 55% 55%, 35% 50%; }
}

@keyframes heroAccentPulse {
  0%, 100% { opacity: 0.10; transform: scale(1); }
  50%      { opacity: 0.18; transform: scale(1.05); }
}

@keyframes heroSweep {
  0%   { background-position: 120% 0%; }
  100% { background-position: -20% 0%; }
}

/* Pause for users with motion reduced in their OS — present the hero
   as a clean static composition. */
@media (prefers-reduced-motion: reduce) {
  .hero,
  .hero::before,
  .hero::after { animation: none; }
}

/* Single centred column now the right-side stat stack has been removed.
   Content sits in a readable-width column centred horizontally with
   generous vertical spacing. */
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero-content { color: var(--white); }
.hero-content > .tag { margin-bottom: 1.5rem; }
.hero-content h1 {
  color: var(--white);
  margin: 0 auto 1.5rem;
  max-width: 720px;
}
.hero-content h1 span { color: var(--orange); }
.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin: 0 auto 2.25rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Inline trust-indicator row — replaces the three stat cards that
   used to occupy the right half. Compact, low-key, icon + label. */
.hero-trust-row {
  list-style: none;
  padding: 0;
  margin: 3rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
  color: rgba(255,255,255,0.7);
}
.hero-trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.hero-trust-row strong {
  color: var(--white);
  font-weight: 700;
}
.hero-trust-row svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
  flex-shrink: 0;
}

/* (The old three stat-card boxes that used to live to the right of the
   hero copy — .hero-graphic / .hero-card-stack / .hero-stat-card /
   .hero-stat-icon / .hero-stat-info — have been removed. The same
   three trust markers now live inline in .hero-trust-row under the
   CTA buttons.) */

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.5rem;
  flex-wrap: wrap;
  min-height: 56px;       /* ensures consistent bar height when logos load lazily */
}
.trust-bar-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid);
  white-space: nowrap;
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.trust-item::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}
.trust-logo {
  /* Default: 36px ink height. Per-vendor modifiers below correct
     for wildly different wordmark aspect ratios so every logo
     ends up with roughly the same visual weight. */
  height: 36px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  opacity: 0.75;
  transition: opacity var(--transition);
}
/* Per-vendor visual-weight tuning — aspect ratios range from
   1.75:1 (Cisco) to 8.86:1 (Fortinet), so we can't just set a
   single height. Each is tuned to a similar perceived weight. */
.trust-logo--cisco    { height: 44px; }                        /* 1.75:1 — compact mark, bump */
.trust-logo--veeam    { height: 32px; }                        /* 2.20:1 — baseline */
.trust-logo--juniper  { height: 30px; }                        /* 3.65:1 — wide wordmark */
.trust-logo--fortinet { height: 18px; max-width: 170px; }      /* 8.86:1 — slim wordmark */
.trust-logo--dark {
  background: var(--black);
  border-radius: 4px;
  padding: 3px 6px;
}
.trust-logo:hover { opacity: 1; }

/* ---------- Partner Logos — infinite marquee ---------- */
/* The outer container is the "viewport" — overflow hidden + a gradient
   mask that fades each edge to transparent. Because the parent section
   has a near-black background, cards look like they emerge from / fade
   into black as they enter/exit. */
.partner-logos {
  position: relative;
  overflow: hidden;
  margin-top: 2.5rem;
  /* Wide, multi-stop fade (≈22 % fade zone on each edge) so cards
     are already heavily dimmed well before they reach the edge.
     The animation's reset-to-zero happens deep inside this fade,
     where ink is at 15-35 % opacity — the cutover is effectively
     invisible to the eye. */
  -webkit-mask-image: linear-gradient(to right,
                       transparent 0%,
                       rgba(0,0,0,0.30) 6%,
                       rgba(0,0,0,0.70) 14%,
                       black 22%,
                       black 78%,
                       rgba(0,0,0,0.70) 86%,
                       rgba(0,0,0,0.30) 94%,
                       transparent 100%);
          mask-image: linear-gradient(to right,
                       transparent 0%,
                       rgba(0,0,0,0.30) 6%,
                       rgba(0,0,0,0.70) 14%,
                       black 22%,
                       black 78%,
                       rgba(0,0,0,0.70) 86%,
                       rgba(0,0,0,0.30) 94%,
                       transparent 100%);
}

/* Scrolling track — width:max-content lets all cards sit in one row
   without wrapping. The animation translates leftward by one full
   "set" (5 cards + 5 gaps) each cycle; because the set is duplicated
   immediately after, the instant the transform snaps back to 0 the
   visual position is identical — seamless loop.

   --card-w and --gap are exposed as custom properties so the media
   queries below can redefine them for smaller screens without having
   to rewrite the keyframes. */
.partner-logos-track {
  --card-w: 260px;
  --gap:    2rem;
  --set-count: 6;
  display: flex;
  gap: var(--gap);
  width: max-content;
  animation: partner-scroll 48s linear infinite;
  will-change: transform;
}
@keyframes partner-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * (var(--set-count) * var(--card-w) + var(--set-count) * var(--gap)))); }
}

/* Each card is a fixed width on the track so all cards render equal
   size regardless of caption length. */
.partner-logos-track .partner-logo-item {
  flex: 0 0 var(--card-w);
}

/* Pause on hover / keyboard focus — good UX, and required for a11y
   so users can read a card they're interested in without it scrolling
   away under their cursor. */
.partner-logos:hover .partner-logos-track,
.partner-logos:focus-within .partner-logos-track {
  animation-play-state: paused;
}

/* Respect user motion preferences: stop the animation + hide the
   duplicate set so everything shows statically in a simple row. */
@media (prefers-reduced-motion: reduce) {
  .partner-logos-track {
    animation: none;
    justify-content: center;
    flex-wrap: wrap;
  }
  .partner-logos-track > [aria-hidden="true"] { display: none; }
}
.partner-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.25rem;
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  text-decoration: none;
  transition: box-shadow var(--transition), transform var(--transition);
  min-height: 160px;       /* uniform card height so logos & captions align */
}
.partner-logo-item:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
  transform: translateY(-3px);
}

/* Fixed-height frame around every logo — identical frame dimensions on
   every card means the description text below always starts at the
   exact same Y position across the four cards. The SVG logo inside
   is then sized by per-vendor max-height classes for visual weight
   parity across the very-different aspect ratios of these wordmarks. */
.partner-logo-frame {
  width: 100%;
  height: 80px;                 /* uniform across all four cards */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}
.partner-logo-frame img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}
/* Per-vendor visual-weight tuning — cap how much of the 80px frame
   each mark fills so they all read as similar "size" despite their
   wildly different native aspect ratios (1.75:1 → 8.86:1).          */
.partner-logo-frame img.is-cisco    { max-height: 78px; max-width: 140px; }
.partner-logo-frame img.is-veeam    { max-height: 64px; max-width: 150px; }
.partner-logo-frame img.is-juniper  { max-height: 52px; max-width: 200px; }
.partner-logo-frame img.is-fortinet { max-height: 32px; max-width: 200px; }
.partner-logo-frame img.is-hpe      { max-height: 52px; max-width: 180px; }
.partner-logo-frame img.is-dell     { max-height: 76px; max-width: 150px; }
.partner-logo-item span {
  font-size: 0.78rem;
  color: var(--mid);
  text-align: center;
  line-height: 1.4;
}

/* ---------- Services / Cards ---------- */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;          /* fill the grid cell so cards in same row are equal height */
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--orange);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(244,117,33,0.10);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);      /* SVG icons inherit currentColor */
  margin-bottom: 1.25rem;
  transition: background var(--transition), color var(--transition);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card:hover .service-icon { color: var(--white); }
.service-card:hover .service-icon { background: var(--orange); }

.service-card h3 { margin-bottom: 0.75rem; font-size: 1.15rem; }
.service-card p  { font-size: 0.9rem; color: var(--mid); flex: 1; }

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;             /* pin to bottom so it lines up across cards */
  padding-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--orange);
  align-self: flex-start;       /* anchor to the left edge */
}
.service-card .card-link::after { content: '→'; transition: transform var(--transition); }
.service-card:hover .card-link::after { transform: translateX(4px); }

/* ---------- Value propositions / Icon list ---------- */
.icon-list { display: flex; flex-direction: column; gap: 1.25rem; }
.icon-list-item { display: flex; gap: 1rem; align-items: flex-start; }
.icon-list-item .icon {
  width: 44px;
  height: 44px;
  background: rgba(244,117,33,0.10);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.icon-list-item .icon svg { width: 22px; height: 22px; }
.icon-list-item .text h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.icon-list-item .text p  { font-size: 0.875rem; color: var(--mid); margin: 0; }

/* ---------- Stats strip ---------- */
.stats-strip { padding: 4rem 0; background: var(--dark); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {}
.stat-item .number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-item .label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* ---------- Process steps ---------- */
.process-steps { display: grid; gap: 0; position: relative; }
.process-steps.grid-4 { gap: 1.5rem; }

.process-step {
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.process-step h4 { margin-bottom: 0.5rem; }
.process-step p  { font-size: 0.875rem; color: var(--mid); }

/* ---------- Testimonial ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.testimonial-card blockquote {
  font-size: 1rem;
  font-style: italic;
  color: var(--mid);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}
.testimonial-card blockquote::before { content: '\201C'; color: var(--orange); font-size: 2rem; line-height: 0; vertical-align: -0.4em; margin-right: 0.2rem; }
.testimonial-meta { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-info strong { display: block; font-size: 0.9rem; }
.testimonial-info span  { font-size: 0.8rem; color: var(--mid); }

/* ---------- Careers page ---------- */
.careers-grid {
  max-width: 960px;
  margin: 0 auto 3rem;
}
.careers-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.careers-card h3 {
  margin-bottom: 1.25rem;
  color: var(--orange);
  padding-bottom: 0.6rem;
  border-bottom: 2px solid rgba(244,117,33,0.2);
}
.careers-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.careers-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--mid);
  font-size: 0.95rem;
  line-height: 1.55;
}
.careers-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}
.careers-cta {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem;
}
.careers-cta h3 { margin-bottom: 0.5rem; }
.careers-cta > p {
  color: var(--mid);
  max-width: 460px;
  margin: 0 auto 1.5rem;
}
.careers-cta-btn { display: inline-flex; }
.careers-cta-email {
  margin-top: 1rem;
  font-size: 0.825rem;
  color: var(--mid);
}

/* ---------- Team cards ---------- */
.team-card {
  text-align: center;
}
.team-avatar {
  width: 100px;
  height: 100px;
  background: var(--dark-mid);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.75rem;
  border: 4px solid var(--orange);
}
.team-card h4 { margin-bottom: 0.15rem; }
.team-card .role { font-size: 0.875rem; color: var(--orange); font-weight: 600; margin-bottom: 0.5rem; }
.team-card p { font-size: 0.875rem; color: var(--mid); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center, rgba(244,117,33,0.15) 0%, transparent 70%);
  /* Slow, gentle "breathing" pulse on the orange glow. 10 seconds
     per full cycle, alternating, ease-in-out for a smooth in-and-out. */
  animation: ctaGlowPulse 10s ease-in-out infinite alternate;
  will-change: opacity, transform;
  transform-origin: center;
}
.cta-banner .container { position: relative; z-index: 1; }

@keyframes ctaGlowPulse {
  0% {
    opacity: 0.55;
    transform: scale(0.92);
  }
  100% {
    opacity: 1;
    transform: scale(1.08);
  }
}

/* Honour user motion preferences — disable the animation for anyone
   who has "Reduce motion" enabled in their OS/browser. */
@media (prefers-reduced-motion: reduce) {
  .cta-banner::before { animation: none; }
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 2rem; }
.cta-banner-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact form / info ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--orange);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.contact-info-icon svg { width: 22px; height: 22px; }
.contact-info-text strong { display: block; font-size: 0.875rem; color: var(--mid); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.2rem; }
.contact-info-text a, .contact-info-text p { color: var(--dark); font-weight: 500; }
.contact-info-text a:hover { color: var(--orange); }

/* Form */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(244,117,33,0.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.contact-form .form-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.contact-form .form-note {
  font-size: 0.825rem;
  color: var(--mid);
  margin: 0;
  flex: 1;
  min-width: 200px;
}
.contact-form .form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: none;
}
.contact-form .form-status.is-success {
  display: block;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.35);
  color: #166534;
}
.contact-form .form-status.is-error {
  display: block;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.35);
  color: #991b1b;
}
.contact-form .form-group.has-error input,
.contact-form .form-group.has-error textarea,
.contact-form .form-group.has-error select {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}
.contact-form button[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + 3.5rem);
  padding-bottom: 3.5rem;
  background: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--orange);
  z-index: 2;
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p  { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }
.page-hero .container { position: relative; z-index: 2; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: rgba(255,255,255,0.5);
  justify-content: center;
  margin-bottom: 0.75rem;
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--orange); }

/* ---------- Accordion (FAQ) ---------- */
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  gap: 1rem;
}
.accordion-trigger:hover { color: var(--orange); }
.accordion-trigger .icon {
  width: 24px;
  height: 24px;
  background: rgba(244,117,33,0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: all var(--transition);
  font-style: normal;
}
.accordion-trigger[aria-expanded="true"] .icon {
  background: var(--orange);
  color: var(--white);
  transform: rotate(45deg);
}
.accordion-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.accordion-body-inner {
  padding-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.75;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: start;       /* prevents tall columns dragging shorter ones to centre */
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
  line-height: 1.7;
}
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.footer-social a svg { width: 18px; height: 18px; }
.footer-social a:hover { background: var(--orange); color: var(--white); }

.footer-col h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--orange); }

.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
}
.footer-contact-item .fc-icon { color: var(--orange); flex-shrink: 0; margin-top: 0.1rem; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; }
.footer-contact-item .fc-icon svg { width: 16px; height: 16px; }
.footer-contact-item a { color: rgba(255,255,255,0.55); }
.footer-contact-item a:hover { color: var(--orange); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-bottom-links a:hover { color: var(--orange); }

/* ---------- Utility ---------- */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(244,117,33,0.10);
  color: var(--orange);
  font-size: 0.775rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.section--dark .tag { background: rgba(244,117,33,0.2); }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  /* .partner-logos is now a marquee — no grid layout needed at any breakpoint */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }

  .nav-links, .nav-cta { display: none; }

  /* Pin the hamburger directly to the viewport's right edge using
     position:fixed. This bypasses every possible source of horizontal
     drift (scrollbar gutter, container padding, oversized child
     elements forcing the document wider than the viewport, etc.) —
     position:fixed is anchored to the viewport, full stop.

     `right: max(...)` keeps it 0.875rem off the edge in normal use and
     respects the iPhone notch / display cut-out via safe-area inset. */
  .nav { position: relative; padding-right: 52px; }
  .nav-toggle {
    display: flex;
    position: fixed;
    top: calc(var(--header-h) / 2);
    right: max(0.875rem, env(safe-area-inset-right, 0px));
    transform: translateY(-50%);
    z-index: 1001;       /* sit above the fixed site-header */
  }
  .nav-toggle.open + .nav-drawer,
  .nav-drawer.open { /* drawer keeps its own positioning, untouched */ }

  .hero { padding-top: calc(var(--header-h) + 2.5rem); padding-bottom: 3.5rem; }
  /* Trust row collapses to a single column on mobile and aligns to
     the start so each item sits flush with the left of the centred
     copy above it. */
  .hero-trust-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
    margin-top: 2.5rem;
  }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }

  /* Mobile marquee — redefine the two custom properties and the
     keyframes pick them up automatically. */
  .partner-logos-track { --card-w: 220px; --gap: 1.25rem; }
  .partner-logo-frame  { height: 72px; }

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

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

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

@media (max-width: 480px) {
  /* Slim container padding on small phones so the right-aligned hamburger
     toggle isn't pushed off-screen on narrow viewports (e.g. iPhone SE). */
  .container { padding-left: max(1rem, env(safe-area-inset-left));
               padding-right: max(1rem, env(safe-area-inset-right)); }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar-inner { gap: 1rem; }
  .cta-banner-actions { flex-direction: column; align-items: center; }
  .cta-banner-actions .btn { width: 100%; max-width: 280px; justify-content: center; }
}

/* ==========================================================================
   Utility & component classes
   --------------------------------------------------------------------------
   These replace repeated inline `style="…"` attributes that were peppered
   across the HTML pages. Keeping them named (rather than expanding the
   utility-class API like Tailwind) so the markup stays readable.
   ========================================================================== */

/* Text helpers */
.text-sm           { font-size: 0.875rem; }
.text-sm-muted     { font-size: 0.875rem; color: var(--mid); }
.text-sm-muted-flush { font-size: 0.875rem; color: var(--mid); margin: 0; }
.text-xs-muted     { font-size: 0.825rem; color: var(--mid); }
.text-base-spaced  { font-size: 0.9rem; margin-bottom: 1rem; }

/* Button sizes */
.btn-sm  { font-size: 0.875rem; padding: 0.6rem 1.25rem; }
.btn-xs  { font-size: 0.8rem;   padding: 0.4rem 1rem;    }

/* Centred service card (icon + heading + text in a vertical stack) */
.service-card.is-centered           { text-align: center; align-items: center; }
.service-card.is-centered .service-icon { margin-left: auto; margin-right: auto; }

/* Callout box (light-gray with orange left rail) */
.callout-orange {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border-left: 4px solid var(--orange);
}
.callout-orange + .callout-orange { margin-top: 1.25rem; }
.callout-orange h4 { margin-bottom: 0.4rem; }

/* Stack utility — vertical flex with consistent gap */
.stack-sm { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
.stack-md { display: flex; flex-direction: column; gap: 1.25rem; }

/* Wide grid spacing for feature pairs */
.grid-2.is-wide-gap     { gap: 4rem; align-items: center; }
.grid-2.is-aligned-top  { align-items: start; }

/* Vertical-only padding for sections that already control their bg in HTML */
.section-narrow         { padding: 5rem 0; }

/* Contact-page social pill buttons (replace inline width/height/onmouseover) */
.social-pill {
  width: 44px; height: 44px;
  background: var(--dark);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.social-pill svg { width: 18px; height: 18px; }
.social-pill:hover { background: var(--orange); color: var(--white); }

/* "Follow Us" eyebrow label */
.follow-label {
  font-size: 0.875rem;
  color: var(--mid);
  margin-bottom: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Small CTA strip (compact orange band, used on contact "prefer to talk?") */
.mini-cta-strip          { background: var(--orange); padding: 3rem 0; }
.mini-cta-strip h2       { color: var(--white); margin-bottom: 0.75rem; }
.mini-cta-strip p {
  color: rgba(255,255,255,0.85);
  margin: 0 auto 1.5rem;
  max-width: 480px;
}
.mini-cta-strip .btn     { font-size: 1.1rem; padding: 0.875rem 2.5rem; }

/* Vision card (used on home + about) */
.vision-card {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
}
.vision-card p {
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Inverse vision card (sits in section--dark) */
.vision-card.is-inverse {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}
.vision-card.is-inverse p { color: rgba(255,255,255,0.75); }

/* Container size variants */
.container.is-narrow { max-width: 720px; }
.container.is-medium { max-width: 960px; }

/* From the inline-style sweep — small additional helpers */
.text-base                { font-size: 0.9rem; }
.text-base-lg             { font-size: 1rem; }
.text-strong-dark         { font-weight: 600; color: var(--dark); }
.text-muted-spacious      { color: var(--mid); line-height: 1.8; margin-bottom: 1.5rem; }
.bg-orange-soft           { background: rgba(244,117,33,0.2); }
.mb-xs                    { margin-bottom: 0.4rem; }
.flex-center-row          { display: flex; gap: 0.75rem; justify-content: center; }

/* ---------- Accessibility: Skip to main content ---------- */
/* Hidden off-screen until keyboard focus brings it into view.
   Essential for keyboard & screen-reader users so they can bypass
   the nav on every page. */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--orange);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
  box-shadow: var(--shadow);
  transform: translateY(-110%);
  transition: transform 0.15s ease-out;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* ---------- 404 page ---------- */
.error-hero {
  padding-top: calc(var(--header-h) + 6rem);
  padding-bottom: 6rem;
  text-align: center;
}
.error-code {
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 900;
  line-height: 1;
  color: var(--orange);
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  text-shadow: 0 4px 40px rgba(244,117,33,0.35);
}
.error-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}
.error-hero > .container > p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.error-hint {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  margin-top: 2rem;
}
.error-hint a {
  color: var(--orange);
  text-decoration: underline;
}

/* Homepage "View All Services" CTA — sits below the 2×2 service
   card grid. 3rem gap gives a clear breathing-room break without
   looking disconnected from the grid. */
.services-cta { margin-top: 3rem; }
@media (max-width: 768px) {
  .services-cta { margin-top: 2rem; }
}
