/* ==========================================================================
   PROCOMM BUSINESS SOLUTION — Design System
   Palette: Government Navy + Gold
   Author: built for procomm-solution
   --------------------------------------------------------------------------
   TABLE OF CONTENTS
   01. Design tokens
   02. Reset & base
   03. Typography
   04. Layout primitives
   05. Buttons
   06. Header / navigation
   07. Hero
   08. Stats bar
   09. Section headers
   10. Cards (service, industry, value, feature)
   11. About / split sections
   12. Process steps
   13. Why choose us
   14. Testimonials
   15. Client logos
   16. CTA banner
   17. Page banner (interior pages)
   18. Accordion / FAQ
   19. Forms
   20. Footer
   21. Floating actions (WhatsApp, back to top)
   22. Animation utilities
   23. Responsive
   ========================================================================== */

/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */
:root {
  /* --- Brand colour ramp --- */
  --navy-900: #071A35;
  --navy-800: #0B2447;   /* Primary brand navy */
  --navy-700: #16325C;
  --navy-600: #1E4074;
  --navy-500: #2B5490;

  --gold-500: #D4A017;   /* Primary accent — buttons, numerals */
  --gold-400: #E8B93A;
  --gold-600: #B8860B;
  --gold-text: #8A6608;  /* AA-compliant gold for text on white (5.2:1) */

  /* --- Neutrals --- */
  --ink: #0F172A;
  --slate-700: #334155;
  --slate-600: #4A5568;  /* Body text on white — 7.5:1 */
  --slate-500: #64748B;  /* Muted text on white — 4.8:1 */
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --mist: #F7F9FC;
  --mist-200: #EEF2F8;
  --white: #FFFFFF;

  /* --- Semantic --- */
  --success: #15803D;
  --success-bg: #F0FDF4;
  --error: #B91C1C;
  --error-bg: #FEF2F2;

  /* --- Typography --- */
  --font-display: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;
  --fs-6xl: 3.75rem;

  /* --- Spacing --- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --space-11: 6rem;
  --space-12: 7.5rem;

  /* --- Structure --- */
  --container: 1240px;
  --container-narrow: 900px;
  --radius-sm: 3px;
  --radius: 5px;
  --radius-lg: 8px;

  --shadow-xs: 0 1px 2px rgba(11, 36, 71, 0.05);
  --shadow-sm: 0 2px 8px rgba(11, 36, 71, 0.06);
  --shadow-md: 0 6px 24px rgba(11, 36, 71, 0.08);
  --shadow-lg: 0 18px 48px rgba(11, 36, 71, 0.13);
  --shadow-gold: 0 8px 24px rgba(212, 160, 23, 0.28);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
}

/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--slate-600);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }
iframe { max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a {
  color: var(--gold-text);
  text-decoration: none;
  transition: color 0.22s var(--ease);
}
a:hover { color: var(--navy-800); }

/* Visible focus for keyboard users only */
:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Skip link — first tab stop on every page */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 2000;
  padding: var(--space-3) var(--space-5);
  background: var(--gold-500);
  color: var(--navy-900);
  font-weight: 700;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 0; color: var(--navy-900); }

.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;
}

/* ==========================================================================
   03. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy-800);
  margin: 0 0 var(--space-4);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2.15rem, 5.2vw, var(--fs-6xl)); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.6vw, var(--fs-4xl)); letter-spacing: -0.028em; }
h3 { font-size: clamp(1.2rem, 2vw, var(--fs-xl)); }
h4 { font-size: var(--fs-lg); }

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.02rem, 1.6vw, var(--fs-lg));
  line-height: 1.75;
  color: var(--slate-600);
}

.text-center { text-align: center; }
.text-muted  { color: var(--slate-500); }

/* Section eyebrow — small gold label above every H2 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: var(--space-3);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold-500);
  flex: none;
}
.eyebrow--center { justify-content: center; }
.on-dark .eyebrow { color: var(--gold-400); }

/* ==========================================================================
   04. LAYOUT PRIMITIVES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(var(--space-9), 8vw, var(--space-11)); }
.section--tight { padding-block: clamp(var(--space-8), 6vw, var(--space-9)); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy-800); color: rgba(255, 255, 255, 0.78); }
.section--navy h2, .section--navy h3 { color: var(--white); }

/* Subtle dot grid used behind dark sections */
.section--navy.has-pattern { position: relative; overflow: hidden; }
.section--navy.has-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.section--navy.has-pattern > * { position: relative; z-index: 1; }

.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.stack-sm > * + * { margin-top: var(--space-3); }
.stack    > * + * { margin-top: var(--space-5); }

/* ==========================================================================
   05. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.95rem 1.85rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
              background-color 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease);
}
.btn:active { transform: translateY(0); }
.btn svg { flex: none; width: 17px; height: 17px; }

/* Primary — gold fill, navy text (6.5:1 contrast) */
.btn--primary {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-gold);
}
.btn--primary:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 160, 23, 0.38);
}

/* Secondary — solid navy */
.btn--secondary {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}
.btn--secondary:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Outline on dark backgrounds */
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

/* Outline on light backgrounds */
.btn--outline {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--border-strong);
}
.btn--outline:hover {
  border-color: var(--navy-800);
  background: var(--navy-800);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--lg { padding: 1.1rem 2.3rem; font-size: var(--fs-base); }
.btn--sm { padding: 0.65rem 1.25rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}
.btn-row--center { justify-content: center; }

/* Inline "Learn more →" text link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--gold-text);
}
.link-arrow svg { transition: transform 0.22s var(--ease); width: 15px; height: 15px; }
.link-arrow:hover svg { transform: translateX(5px); }

/* ==========================================================================
   06. HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: var(--white);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-md); }

/* Thin navy utility strip above the nav */
.topbar {
  background: var(--navy-800);
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-xs);
  transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease);
  max-height: 46px;
  overflow: hidden;
}
.site-header.is-stuck .topbar { max-height: 0; opacity: 0; }

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar__list { display: flex; gap: var(--space-5); flex-wrap: wrap; }
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.82);
}
.topbar a.topbar__item:hover { color: var(--gold-400); }
.topbar__item svg { width: 14px; height: 14px; flex: none; color: var(--gold-400); }
.topbar__socials { display: flex; gap: var(--space-3); align-items: center; }
.topbar__socials a { color: rgba(255, 255, 255, 0.7); display: inline-flex; }
.topbar__socials a:hover { color: var(--gold-400); }
.topbar__socials svg { width: 15px; height: 15px; }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: var(--header-h);
  transition: min-height 0.3s var(--ease);
}
.site-header.is-stuck .navbar { min-height: 66px; }

/* --- Logo lockup --- */
.brand { display: inline-flex; align-items: center; gap: var(--space-3); flex: none; }
.site-header .brand { min-width: 0; max-width: calc(100% - 66px); }

/* The real PROCOMM logo. Height is the only value set — width stays `auto`
   so the artwork can never be stretched out of its true proportions.
   To resize the logo site-wide, change this one height value. */
.brand__logo { height: 50px; width: auto; display: block; }
.site-header .brand > img {
  width: auto;
  height: 50px;
  max-width: 100%;
  object-fit: contain;
  flex: none;
}

/* The logo artwork is dark navy, so on the navy footer it sits on a white
   plate rather than being recoloured. */
.footer__brand .brand__logo {
  height: 54px;
  background: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

/* Legacy "PB" monogram styles — no longer used by any page, kept so the old
   text lockup still renders correctly if you ever put it back. */
.brand__mark {
  width: 44px; height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--navy-800);
  border-radius: var(--radius);
  color: var(--gold-500);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-lg);
  letter-spacing: -0.04em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--navy-800);
  letter-spacing: -0.025em;
}
.brand__tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-text);
}

/* --- Primary nav --- */
.nav { display: flex; align-items: center; gap: var(--space-2); }
.nav__link {
  position: relative;
  display: block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: var(--space-4);
  right: var(--space-4);
  bottom: 2px;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease-out);
}
.nav__link:hover { color: var(--navy-800); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--navy-800); font-weight: 700; }

.nav__cta { margin-left: var(--space-3); }

/* --- Mobile toggle --- */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle__bars { display: block; width: 20px; height: 14px; position: relative; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Spacer so fixed header never overlaps content */
.header-offset { height: calc(var(--header-h) + 42px); }

/* ==========================================================================
   07. HERO
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--navy-700) 100%);
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
  padding-block: clamp(var(--space-9), 9vw, var(--space-12));
}

/* Layer 1: dot grid. Layer 2: gold radial glow. Layer 3: optional photo. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
}
.hero::after {
  content: '';
  position: absolute;
  top: -25%;
  right: -12%;
  width: 780px; height: 780px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.2) 0%, transparent 62%);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 2; }

/* Background photograph. Kept desaturated and low-opacity so the navy
   gradient stays dominant and the headline keeps its contrast ratio. */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.22;
  filter: grayscale(1);
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(var(--space-7), 5vw, var(--space-10));
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(212, 160, 23, 0.14);
  border: 1px solid rgba(212, 160, 23, 0.4);
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--space-5);
}
.hero__badge svg { width: 14px; height: 14px; }

.hero h1 { color: var(--white); margin-bottom: var(--space-5); }
.hero h1 .accent {
  color: var(--gold-400);
  position: relative;
  white-space: nowrap;
}

.hero__sub {
  font-size: clamp(1rem, 1.7vw, var(--fs-lg));
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.76);
  max-width: 60ch;
  margin-bottom: var(--space-7);
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero__proof li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.8);
}
.hero__proof svg { width: 17px; height: 17px; color: var(--gold-400); flex: none; }

/* --- Hero side card --- */
.hero__card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-lg);
}
.hero__card-title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-2);
}
.hero__card-desc {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: var(--space-6);
}
.hero__checklist { display: grid; gap: var(--space-3); margin-bottom: var(--space-6); }
.hero__checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.86);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.hero__checklist li:last-child { border-bottom: 0; padding-bottom: 0; }
.hero__checklist svg {
  width: 19px; height: 19px;
  color: var(--gold-400);
  flex: none;
  margin-top: 2px;
}

/* ==========================================================================
   08. STATS BAR
   ========================================================================== */
.stats {
  position: relative;
  z-index: 5;
  margin-top: -60px;
  margin-bottom: calc(-1 * var(--space-5));
}
.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.stat {
  padding: var(--space-7) var(--space-5);
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background-color 0.25s var(--ease);
}
.stat:last-child { border-right: 0; }
.stat:hover { background: var(--mist); }

.stat__icon {
  width: 38px; height: 38px;
  margin: 0 auto var(--space-3);
  color: var(--gold-500);
}
.stat__num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, var(--fs-4xl));
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat__suffix { color: var(--gold-500); }
.stat__label {
  margin-top: var(--space-3);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--slate-500);
  letter-spacing: 0.01em;
}

/* Marks numbers that must be replaced with real figures before launch.
   Purely a hook for you + the PLACEHOLDERS.md checklist — renders normally. */
[data-placeholder] { }

/* ==========================================================================
   09. SECTION HEADERS
   ========================================================================== */
.section-head { margin-bottom: clamp(var(--space-7), 5vw, var(--space-9)); max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-bottom: 0; }
.section-head h2 { margin-bottom: var(--space-4); }

/* ==========================================================================
   10. CARDS
   ========================================================================== */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  transition: transform 0.32s var(--ease-out), box-shadow 0.32s var(--ease-out),
              border-color 0.32s var(--ease);
  overflow: hidden;
}
/* Gold rule that wipes across the top on hover */
.card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.42s var(--ease-out);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card:hover::before { transform: scaleX(1); }

/* --- Card photo band ---------------------------------------------------
   Full-bleed image across the top of a card. Uses negative margins so it
   works without altering .card's existing padding. The icon that follows
   half-overlaps the image's bottom edge. --------------------------------- */
.card__media {
  position: relative;
  margin: calc(-1 * var(--space-7)) calc(-1 * var(--space-7)) 0;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: var(--mist-200);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out);
}
.card:hover .card__media img { transform: scale(1.05); }
/* Navy scrim at the base keeps the overlapping icon legible on any photo */
.card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 36, 71, 0.5) 0%, rgba(11, 36, 71, 0) 58%);
}
/* Keep the gold hover rule above the photo */
.card::before { z-index: 2; }

.card__media + .card__icon {
  position: relative;
  z-index: 1;
  margin-top: calc(-1 * var(--space-6));
  margin-bottom: var(--space-5);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--mist-200);
  color: var(--navy-800);
  margin-bottom: var(--space-5);
  flex: none;
  transition: background-color 0.32s var(--ease), color 0.32s var(--ease);
}
.card__icon svg { width: 27px; height: 27px; }
.card:hover .card__icon { background: var(--navy-800); color: var(--gold-400); }

.card h3 { margin-bottom: var(--space-3); }
.card__desc { font-size: var(--fs-sm); margin-bottom: var(--space-5); }

/* Bullet sub-items inside service cards */
.card__list { display: grid; gap: var(--space-2); margin-bottom: var(--space-6); }
.card__list li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--fs-sm);
  color: var(--slate-600);
  line-height: 1.6;
}
.card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
}
.card__foot { margin-top: auto; padding-top: var(--space-2); }

/* --- Industry tile --- */
.industry {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  padding: var(--space-7) var(--space-4);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden; /* clips the photo band to the tile's rounded corners */
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
              background-color 0.3s var(--ease);
}

/* --- Industry photo band ------------------------------------------------
   Same pattern as .card__media, adjusted for the tile's narrower padding.
   align-self:stretch is required because .industry centres its children. */
.industry__media {
  position: relative;
  align-self: stretch;
  margin: calc(-1 * var(--space-7)) calc(-1 * var(--space-4)) 0;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: var(--mist-200);
}
.industry__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out);
}
.industry:hover .industry__media img { transform: scale(1.06); }
.industry__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 36, 71, 0.5) 0%, rgba(11, 36, 71, 0) 58%);
}
.industry__media + .industry__icon {
  position: relative;
  z-index: 1;
  margin-top: calc(-1 * var(--space-7));
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
/* Icon sits on white, so flip it to navy on hover to keep gold legible */
.industry:hover .industry__media + .industry__icon { background: var(--navy-800); }

.industry:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: var(--navy-800);
}
.industry__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  color: var(--navy-800);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease-out);
}
.industry__icon svg { width: 34px; height: 34px; }
.industry:hover .industry__icon { color: var(--gold-400); transform: scale(1.08); }
.industry__name {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--navy-800);
  transition: color 0.3s var(--ease);
  line-height: 1.3;
}
.industry:hover .industry__name { color: var(--white); }
.industry__note {
  font-size: var(--fs-xs);
  color: var(--slate-500);
  transition: color 0.3s var(--ease);
}
.industry:hover .industry__note { color: rgba(255, 255, 255, 0.68); }

/* --- Value / feature row (icon left, text right) --- */
.feature { display: flex; gap: var(--space-5); align-items: flex-start; }
.feature__icon {
  width: 48px; height: 48px;
  flex: none;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--navy-800);
  color: var(--gold-400);
}
.feature__icon svg { width: 23px; height: 23px; }
.feature h3 { font-size: var(--fs-base); margin-bottom: var(--space-2); }
.feature p { font-size: var(--fs-sm); margin: 0; }

/* ==========================================================================
   11. ABOUT / SPLIT SECTIONS
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-7), 6vw, var(--space-10));
  align-items: center;
}
.split--media-right .split__media { order: 2; }

/* Image placeholder frame — swap the inner div for a real <img> */
.media-frame { position: relative; }
.media-frame::after {
  content: '';
  position: absolute;
  inset: auto -18px -18px auto;
  width: 62%; height: 62%;
  border: 2px solid var(--gold-500);
  border-radius: var(--radius-lg);
  z-index: 0;
  opacity: 0.5;
}
.media-frame > img,
.media-frame > .img-placeholder {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  width: 100%;
}

/* Wide photo band for full-width sections that have no split layout */
.banner-media {
  position: relative;
  aspect-ratio: 20 / 7;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.banner-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .banner-media { aspect-ratio: 16 / 9; } }

/* Visible, self-documenting stand-in until real photography arrives */
.img-placeholder {
  display: grid;
  place-content: center;
  gap: var(--space-3);
  justify-items: center;
  text-align: center;
  min-height: 340px;
  padding: var(--space-7);
  background:
    linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
  color: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.img-placeholder svg { width: 42px; height: 42px; color: var(--gold-500); opacity: 0.85; }
.img-placeholder__label {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.img-placeholder__hint {
  font-size: var(--fs-xs);
  line-height: 1.6;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.55);
}

/* Founder / leadership quote block */
.quote {
  position: relative;
  padding: var(--space-6) var(--space-6) var(--space-6) var(--space-8);
  background: var(--mist);
  border-left: 3px solid var(--gold-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: var(--space-6) 0;
}
.quote::before {
  content: '\201C';
  position: absolute;
  left: var(--space-4);
  top: 0.15em;
  font-family: var(--font-display);
  font-size: 3.6rem;
  line-height: 1;
  color: var(--gold-500);
  opacity: 0.35;
}
.quote p {
  font-size: var(--fs-base);
  font-style: italic;
  color: var(--slate-700);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}
.quote footer {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--navy-800);
  font-style: normal;
}
.quote footer span { display: block; font-weight: 500; color: var(--slate-500); }
.section--navy .quote { background: rgba(255, 255, 255, 0.05); }
.section--navy .quote p { color: rgba(255, 255, 255, 0.88); }
.section--navy .quote footer { color: var(--white); }

/* Checkmark list used in About / Why blocks */
.check-list { display: grid; gap: var(--space-4); }
.check-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--fs-sm);
  line-height: 1.65;
}
.check-list svg {
  width: 21px; height: 21px;
  flex: none;
  color: var(--gold-500);
  margin-top: 2px;
}
.check-list strong { color: var(--navy-800); display: block; font-size: var(--fs-base); }

/* ==========================================================================
   12. PROCESS STEPS
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  counter-reset: step;
}
.step { position: relative; padding-top: var(--space-6); }
/* Connector line between steps */
.step::before {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(50% + 34px);
  right: calc(-50% + 34px);
  height: 2px;
  background: repeating-linear-gradient(
    to right, var(--border-strong) 0 6px, transparent 6px 12px
  );
}
.step:last-child::before { display: none; }
.step__num {
  position: relative;
  z-index: 1;
  width: 54px; height: 54px;
  margin: 0 auto var(--space-5);
  display: grid; place-items: center;
  background: var(--white);
  border: 2px solid var(--gold-500);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--navy-800);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
              transform 0.3s var(--ease-out);
}
.step:hover .step__num {
  background: var(--gold-500);
  color: var(--navy-900);
  transform: scale(1.08);
}
/* Year labels ("2016", "Today") need more room than a two-digit step number */
.step__num--year { font-size: var(--fs-sm); letter-spacing: -0.02em; }
.step__body { text-align: center; padding-inline: var(--space-2); }
.step h3 { font-size: var(--fs-base); margin-bottom: var(--space-2); }
.step p { font-size: var(--fs-sm); margin: 0; }
.section--navy .step__num { background: var(--navy-700); color: var(--white); }
.section--navy .step p { color: rgba(255, 255, 255, 0.7); }
.section--navy .step::before {
  background: repeating-linear-gradient(
    to right, rgba(255, 255, 255, 0.25) 0 6px, transparent 6px 12px
  );
}

/* ==========================================================================
   13. WHY CHOOSE US
   ========================================================================== */
.advantages { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.advantage {
  position: relative;
  padding: var(--space-6);
  padding-left: var(--space-9);
  border-left: 2px solid rgba(255, 255, 255, 0.14);
  transition: border-color 0.3s var(--ease);
}
.advantage:hover { border-left-color: var(--gold-500); }
.advantage__num {
  position: absolute;
  left: var(--space-5);
  top: var(--space-6);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--gold-500);
  letter-spacing: 0.02em;
}
.advantage h3 { font-size: var(--fs-lg); margin-bottom: var(--space-3); }
.advantage p { font-size: var(--fs-sm); margin: 0; color: rgba(255, 255, 255, 0.7); }

/* Light-background variant */
.advantages--light .advantage { border-left-color: var(--border); }
.advantages--light .advantage p { color: var(--slate-600); }

/* ==========================================================================
   14. TESTIMONIALS
   ========================================================================== */
.testimonial {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testimonial__stars { display: flex; gap: 3px; margin-bottom: var(--space-5); }
.testimonial__stars svg { width: 17px; height: 17px; color: var(--gold-500); }
.testimonial__quote {
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: var(--slate-600);
  margin-bottom: var(--space-6);
  flex: 1;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}
.testimonial__avatar {
  width: 46px; height: 46px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-400);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
}
.testimonial__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--navy-800);
  line-height: 1.3;
}
.testimonial__role { font-size: var(--fs-xs); color: var(--slate-500); }

/* ==========================================================================
   15. CLIENT LOGOS
   ========================================================================== */
.logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
}
.logo-tile {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: var(--space-4);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--slate-500);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
              transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.logo-tile:hover {
  color: var(--navy-800);
  border-color: var(--gold-500);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   16. CTA BANNER
   ========================================================================== */
.cta-banner {
  position: relative;
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 100%);
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%; right: -6%;
  transform: translateY(-50%);
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.22) 0%, transparent 64%);
}
.cta-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  padding-block: clamp(var(--space-8), 6vw, var(--space-10));
  flex-wrap: wrap;
}
.cta-banner__text { flex: 1 1 460px; }
.cta-banner h2 { color: var(--white); margin-bottom: var(--space-3); }
.cta-banner p { color: rgba(255, 255, 255, 0.76); margin: 0; max-width: 56ch; }
.cta-banner__actions { flex: none; display: flex; flex-direction: column; gap: var(--space-3); }
.cta-banner__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cta-banner__phone:hover { color: var(--gold-400); }
.cta-banner__phone svg { width: 22px; height: 22px; color: var(--gold-400); flex: none; }
.cta-banner__phone small {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ==========================================================================
   17. PAGE BANNER (interior pages)
   ========================================================================== */
.page-banner {
  position: relative;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: rgba(255, 255, 255, 0.8);
  padding-block: clamp(var(--space-8), 7vw, var(--space-10));
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 30px 30px;
}
.page-banner::after {
  content: '';
  position: absolute;
  top: -40%; right: -8%;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.18) 0%, transparent 62%);
}
.page-banner > * { position: relative; z-index: 1; }
.page-banner h1 { color: var(--white); margin-bottom: var(--space-4); }
.page-banner p { color: rgba(255, 255, 255, 0.75); max-width: 62ch; margin: 0; font-size: var(--fs-lg); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  margin-bottom: var(--space-5);
  color: rgba(255, 255, 255, 0.55);
}
.breadcrumb a { color: rgba(255, 255, 255, 0.72); }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb li { display: inline-flex; align-items: center; gap: var(--space-2); }
.breadcrumb li + li::before { content: '/'; color: rgba(255, 255, 255, 0.3); }
.breadcrumb [aria-current] { color: var(--gold-400); font-weight: 600; }

/* ==========================================================================
   18. ACCORDION / FAQ
   ========================================================================== */
.accordion { display: grid; gap: var(--space-3); }
.accordion__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.accordion__item.is-open { border-color: var(--gold-500); box-shadow: var(--shadow-sm); }
.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-5) var(--space-6);
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.4;
}
.accordion__trigger:hover { color: var(--gold-text); }
.accordion__icon {
  flex: none;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--mist-200);
  color: var(--navy-800);
  transition: transform 0.3s var(--ease), background-color 0.25s var(--ease),
              color 0.25s var(--ease);
}
.accordion__icon svg { width: 14px; height: 14px; }
.accordion__item.is-open .accordion__icon {
  transform: rotate(180deg);
  background: var(--gold-500);
  color: var(--navy-900);
}
.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.34s var(--ease-out);
}
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__panel > div { overflow: hidden; }
.accordion__panel p {
  padding: 0 var(--space-6) var(--space-6);
  font-size: var(--fs-sm);
  margin: 0;
}

/* ==========================================================================
   19. FORMS
   ========================================================================== */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 4vw, var(--space-8));
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--navy-800);
}
.field .req { color: var(--error); margin-left: 2px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
  appearance: none;
}
.field textarea { resize: vertical; min-height: 132px; line-height: 1.7; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5568' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 15px;
  padding-right: 2.75rem;
  cursor: pointer;
}
.field input::placeholder,
.field textarea::placeholder { color: #94A3B8; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.16);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--error); background: var(--error-bg); }

.field__error {
  display: none;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--error);
}
.field.has-error .field__error { display: block; }

.form-consent {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--fs-xs);
  color: var(--slate-500);
  line-height: 1.6;
}
.form-consent input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.consent__box {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 2px solid #94A3B8;
  border-radius: 4px;
  background: #fff;
  flex: none;
  cursor: pointer;
  position: relative;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.form-consent input[type="checkbox"]:checked + .consent__box {
  border-color: var(--gold-500);
  background: var(--gold-500);
}
.form-consent input[type="checkbox"]:checked + .consent__box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid var(--navy-900);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-consent input[type="checkbox"]:focus-visible + .consent__box {
  outline: 3px solid rgba(212, 160, 23, 0.28);
  outline-offset: 2px;
}

.form-status {
  display: none;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-top: var(--space-5);
}
.form-status.is-visible { display: flex; }
.form-status svg { width: 19px; height: 19px; flex: none; margin-top: 1px; }
.form-status--success { background: var(--success-bg); color: var(--success); border: 1px solid #BBF7D0; }
.form-status--error   { background: var(--error-bg);   color: var(--error);   border: 1px solid #FECACA; }

/* Contact detail cards */
.contact-card {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
              border-color 0.3s var(--ease);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-500);
}
.contact-card__icon {
  width: 46px; height: 46px;
  flex: none;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--navy-800);
  color: var(--gold-400);
}
.contact-card__icon svg { width: 21px; height: 21px; }
.contact-card h3 { font-size: var(--fs-base); margin-bottom: var(--space-1); }
.contact-card p, .contact-card a { font-size: var(--fs-sm); margin: 0; display: block; }
.contact-card a { color: var(--slate-600); font-weight: 600; }
.contact-card a:hover { color: var(--gold-text); }

/* ==========================================================================
   20. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.66);
  font-size: var(--fs-sm);
}
.footer__main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: clamp(var(--space-6), 4vw, var(--space-8));
  padding-block: clamp(var(--space-8), 6vw, var(--space-10));
}
.footer__brand .brand { margin-bottom: var(--space-5); }
.footer__brand .brand__mark { background: var(--gold-500); color: var(--navy-900); }
.footer__brand .brand__name { color: var(--white); }
.footer__brand .brand__tag { color: var(--gold-400); }
.footer__blurb { line-height: 1.75; margin-bottom: var(--space-5); max-width: 40ch; }

.footer__title {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}
.footer__title::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 34px; height: 2px;
  background: var(--gold-500);
}

.footer__links { display: grid; gap: var(--space-3); }
.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.66);
}
.footer__links a::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold-500);
  flex: none;
  opacity: 0.55;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.footer__links a:hover { color: var(--gold-400); }
.footer__links a:hover::before { opacity: 1; transform: scale(1.35); }

.footer__contact { display: grid; gap: var(--space-4); }
.footer__contact li { display: flex; gap: var(--space-3); align-items: flex-start; line-height: 1.65; }
.footer__contact svg { width: 17px; height: 17px; color: var(--gold-500); flex: none; margin-top: 3px; }
.footer__contact a { color: rgba(255, 255, 255, 0.66); }
.footer__contact a:hover { color: var(--gold-400); }
.footer__contact strong { color: var(--white); display: block; font-weight: 600; }

.footer__socials { display: flex; gap: var(--space-3); }
.footer__socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.25s var(--ease);
}
.footer__socials a:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-900);
  transform: translateY(-3px);
}
.footer__socials svg { width: 17px; height: 17px; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding-block: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
}
.footer__bottom a { color: rgba(255, 255, 255, 0.62); }
.footer__bottom a:hover { color: var(--gold-400); }
.footer__legal { display: flex; gap: var(--space-5); flex-wrap: wrap; }

/* ==========================================================================
   21. FLOATING ACTIONS
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 13px 18px 13px 14px;
  background: #25D366;
  color: #06301A;
  font-size: var(--fs-sm);
  font-weight: 700;
  border-radius: 100px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.42);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease);
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.55);
  color: #06301A;
}
.whatsapp-float svg { width: 24px; height: 24px; flex: none; }
/* Gentle attention pulse */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  border: 2px solid #25D366;
  animation: ping 2.6s var(--ease-out) infinite;
  pointer-events: none;
}
@keyframes ping {
  0%   { transform: scale(1);    opacity: 0.75; }
  70%  { transform: scale(1.14); opacity: 0; }
  100% { transform: scale(1.14); opacity: 0; }
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 899;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--navy-800);
  color: var(--white);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s var(--ease-out);
  box-shadow: var(--shadow-md);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold-500); color: var(--navy-900); }
.to-top svg { width: 19px; height: 19px; }

/* ==========================================================================
   22. ANIMATION UTILITIES
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* Stagger children by index (set inline via --i or these nth rules) */
[data-reveal-group] > * { transition-delay: 0ms; }
[data-reveal-group] > *:nth-child(2) { transition-delay: 90ms; }
[data-reveal-group] > *:nth-child(3) { transition-delay: 180ms; }
[data-reveal-group] > *:nth-child(4) { transition-delay: 270ms; }
[data-reveal-group] > *:nth-child(5) { transition-delay: 360ms; }
[data-reveal-group] > *:nth-child(6) { transition-delay: 450ms; }
[data-reveal-group] > *:nth-child(7) { transition-delay: 540ms; }
[data-reveal-group] > *:nth-child(8) { transition-delay: 630ms; }

/* Respect the OS "reduce motion" setting everywhere */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   23. RESPONSIVE
   ========================================================================== */

/* --- Large desktop down --- */
@media (max-width: 1100px) {
  .logos { grid-template-columns: repeat(3, 1fr); }
  .footer__main { grid-template-columns: 1fr 1fr; }
}

/* --- Tablet --- */
@media (max-width: 992px) {
  :root { --header-h: 70px; }

  .hero__grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .hero__card { max-width: 560px; }

  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }

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

  .split { grid-template-columns: 1fr; }
  .split--media-right .split__media { order: 0; }

  .steps { grid-template-columns: repeat(2, 1fr); gap: var(--space-7) var(--space-5); }
  .step:nth-child(2n)::before { display: none; }

  .advantages { grid-template-columns: repeat(2, 1fr); }

  .cta-banner__inner { flex-direction: column; align-items: flex-start; }
  .cta-banner__actions { width: 100%; }

  /* --- Mobile navigation --- */
  .nav-toggle { display: grid; }
  .nav {
    position: fixed;
    inset: calc(var(--header-h) + 42px) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: var(--space-5);
    background: var(--white);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.36s var(--ease-out), visibility 0.36s;
    box-shadow: var(--shadow-lg);
  }
  .site-header.is-stuck .nav { inset-block-start: 66px; }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav__link {
    padding: var(--space-4) var(--space-2);
    font-size: var(--fs-base);
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--gold-text); }
  .nav__cta { margin: var(--space-6) 0 0; }
  .nav__cta .btn { width: 100%; }
}

/* --- Mobile --- */
@media (max-width: 640px) {
  :root { --space-11: 4.5rem; }

  .container { padding-inline: var(--space-4); }
  .header-offset { height: calc(var(--header-h) + 42px); }

  /* Keep 42px so it stays in sync with --header-h + 42px used by
     .header-offset and the mobile nav panel's top inset. */
  .topbar__inner { justify-content: center; min-height: 42px; }
  .topbar__list { gap: var(--space-4); justify-content: center; }
  .topbar__socials { display: none; }
  .topbar__item--address { display: none; }

  /* The email address and phone number do not fit side-by-side on the
     narrowest phones; stack them within the existing one-line utility bar. */
  @media (max-width: 360px) {
    .topbar__list { flex-direction: column; gap: 0; }
  }

  .site-header .brand > img {
    width: min(100%, 113px);
    height: auto;
    max-height: 40px;
  }
  .footer__brand .brand__logo { height: 46px; padding: 8px 12px; }

  .brand__mark { width: 40px; height: 40px; font-size: var(--fs-base); }
  .brand__name { font-size: 0.92rem; }
  .brand__tag { font-size: 0.56rem; letter-spacing: 0.1em; }

  .hero { padding-block: var(--space-8) var(--space-9); }
  .hero h1 .accent { white-space: normal; }
  .hero__proof { gap: var(--space-3); }
  .hero__card { padding: var(--space-6); }

  .stats { margin-top: -34px; }
  .stats__inner { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }

  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::before { display: none; }
  .step { padding-top: 0; }
  .advantages { grid-template-columns: 1fr; gap: var(--space-4); }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }

  .footer__main { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .card, .form-card { padding: var(--space-6); }

  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .cta-banner__actions .btn { width: 100%; }

  /* Compact the WhatsApp pill to a circle on small screens */
  .whatsapp-float { padding: 14px; right: 16px; bottom: 16px; }
  .whatsapp-float span { display: none; }
  .to-top { right: 16px; bottom: 82px; }

  .media-frame::after { display: none; }
  .img-placeholder { min-height: 260px; }
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .site-header, .whatsapp-float, .to-top, .cta-banner, .nav-toggle { display: none !important; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}




/* back end form  */


/* =========================================================
   PROCOMM CONSULTATION FORM STATUS
   ========================================================= */

.form-status {
  margin-top: 1rem;
  min-height: 24px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

.form-status.is-loading {
  opacity: 0.75;
}

.form-status.is-success {
  padding: 14px 16px;
  border-radius: 10px;
  background: #ecfdf3;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.form-status.is-error {
  padding: 14px 16px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.form-status.is-loading {
  color: #475569;
}


/* Disabled submit button */

#contactForm button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
