/* ============================================================
   Global Digital Forensics - evestigate.com
   Design System: Official brand palette per Brand Guidelines
   Primary: #19b5ef  Secondary: #ffffff  Dark: #231f20
   Fonts: Futura BT Heavy/Light (display/logo) + Helvetica (body)
   ============================================================ */

/* ============================================================
   WCAG AA ACCESSIBILITY SHADES
   Derived from the GDF Brand Guidelines (April 2026 audit).
   The brand primary #19b5ef has only 2.36:1 contrast against
   white, failing WCAG AA for both normal text (4.5:1) and
   large text (3:1). The shades below preserve the original
   hue (196-197 degrees) and saturation (85-87%), darkening
   only the lightness channel to meet AA thresholds.

   #0c7199  WCAG AA button/CTA background
            HSL(197, 85%, 32%) - brand hue, 20% darker
            White text on #0c7199: 5.47:1 (passes AA normal)
            Used for: btn--primary bg, btn--phone bg, sidebar
            card bg, footer bg, CTA banner bg

   #0b7199  WCAG AA text color (links, headings on light bg)
            HSL(197, 87%, 32%) - brand hue, 20% darker
            #0b7199 on white: 5.47:1 (passes AA normal)
            #0b7199 on #d0eefb: 4.51:1 (passes AA normal)
            Used for: --color-primary-text token, anchor color,
            prose links, related-card headings (light mode)

   #0a6585  WCAG AA hover state
            HSL(196, 86%, 28%) - brand hue, 24% darker
            White text on #0a6585: 6.54:1 (passes AA normal)
            Used for: btn--primary:hover, btn--phone:hover

   The full-value brand primary #19b5ef is preserved for all
   decorative and non-text uses: hero accent text on dark
   backgrounds, dark-mode links and buttons (where it achieves
   7.94:1 on #231f20), logo rendering, gradient accents, and
   glow/shadow effects.
   ============================================================ */

/* === BRAND FONTS === */
@font-face {
  font-family: 'Futura BT';
  src: url('fonts/futura-heavy.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Futura BT';
  src: url('fonts/futura-light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* === DESIGN TOKENS === */
:root,
[data-theme='light'] {
  /* Surfaces */
  --color-bg: #f5f6f8;
  --color-surface: #ffffff;
  --color-surface-2: #f9fafc;
  --color-surface-offset: #eef0f4;
  --color-surface-offset-2: #e6e9ef;
  --color-divider: #dde1e9;
  --color-border: #c8cdd8;

  /* Text */
  --color-text: #0d1117;
  --color-text-muted: #5a6478;
  --color-text-faint: #647080;
  --color-text-inverse: #f5f6f8;

  /* Primary Accent - GDF Sky Blue #19b5ef */
  --color-primary: #19b5ef;
  --color-primary-hover: #0fa0d8;
  --color-primary-active: #0887b8;
  --color-primary-highlight: #d0eefb;

  /* Accessible text variant (passes AA normal text on white) */
  --color-primary-text: #0b7199;

  /* Secondary Accent - GDF Dark #231f20 */
  --color-accent: #231f20;
  --color-accent-hover: #3a3536;
  --color-accent-active: #4f4a4b;
  --color-accent-highlight: #e8e6e6;

  /* Alert/CTA */
  --color-cta: #19b5ef;
  --color-cta-hover: #0fa0d8;

  /* Status */
  --color-success: #166534;
  --color-warning: #92400e;
  --color-error: #991b1b;

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 18, 40, 0.08);
  --shadow-md: 0 4px 16px rgba(10, 18, 40, 0.1);
  --shadow-lg: 0 12px 40px rgba(10, 18, 40, 0.14);
  --shadow-xl: 0 24px 64px rgba(10, 18, 40, 0.18);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 1000px;
  --content-wide: 1200px;

  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 7rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Font families - GDF Brand: Futura BT display, Helvetica body */
  --font-display: 'Futura BT', 'Futura', 'Century Gothic', 'Trebuchet MS', sans-serif;
  --font-body: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #1a1617;
  --color-surface: #231f20;
  --color-surface-2: #2a2526;
  --color-surface-offset: #312c2d;
  --color-surface-offset-2: #3a3536;
  --color-divider: #443f40;
  --color-border: #564f50;
  --color-text: #f5f5f5;
  --color-text-muted: #b0a8a9;
  --color-text-faint: #9e9495;
  --color-text-inverse: #231f20;
  --color-primary: #19b5ef;
  --color-primary-hover: #40c3f3;
  --color-primary-active: #6dd0f5;
  --color-primary-highlight: #0e2a35;
  --color-primary-text: #19b5ef;
  --color-accent: #19b5ef;
  --color-accent-hover: #40c3f3;
  --color-accent-active: #6dd0f5;
  --color-accent-highlight: #0e2a35;
  --color-cta: #19b5ef;
  --color-cta-hover: #40c3f3;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.6);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.7);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #1a1617;
    --color-surface: #231f20;
    --color-surface-2: #2a2526;
    --color-surface-offset: #312c2d;
    --color-surface-offset-2: #3a3536;
    --color-divider: #443f40;
    --color-border: #564f50;
    --color-text: #f5f5f5;
    --color-text-muted: #b0a8a9;
    --color-text-faint: #9e9495;
    --color-text-inverse: #231f20;
    --color-primary: #19b5ef;
    --color-primary-hover: #40c3f3;
    --color-primary-active: #6dd0f5;
    --color-primary-highlight: #0e2a35;
    --color-primary-text: #19b5ef;
    --color-accent: #19b5ef;
    --color-accent-hover: #40c3f3;
    --color-accent-active: #6dd0f5;
    --color-accent-highlight: #0e2a35;
    --color-cta: #19b5ef;
    --color-cta-hover: #40c3f3;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.6);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.7);
  }
}

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

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-20);
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul[role='list'], ol[role='list'] { list-style: none; }

input, button, textarea, select { font: inherit; color: inherit; }

/* Global link color (prevent browser default #0000ee) */
a { color: var(--color-primary-text); }

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  line-height: 1.1;
  font-family: var(--font-display);
}

p, li, figcaption {
  text-wrap: pretty;
  max-width: 72ch;
}

::selection {
  background: rgba(8, 145, 178, 0.25);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

button { cursor: pointer; background: none; border: none; }
table { border-collapse: collapse; width: 100%; }

a, button, [role='button'], input, textarea, select {
  transition:
    color var(--transition-interactive),
    background var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    opacity var(--transition-interactive);
}

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

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 4vw, var(--space-12));
}

.container--narrow {
  max-width: var(--content-default);
}

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-3) var(--space-6);
  background: var(--color-accent);
  color: var(--color-bg);
  font-weight: 700;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  z-index: 9999;
  text-decoration: none;
  transition: top var(--transition-interactive);
}
.skip-link:focus { top: var(--space-4); }

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow var(--transition-interactive), transform 300ms var(--ease-out);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: 72px;
}

/* === LOGO === */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

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

/* Logo switching: dark text logo for light mode, white text logo for dark mode */
.site-logo img.logo-img-white { display: none !important; }
.site-logo img.logo-img-dark { display: block !important; }
[data-theme='dark'] .site-logo img.logo-img-dark { display: none !important; }
[data-theme='dark'] .site-logo img.logo-img-white { display: block !important; }

/* === PRIMARY NAV === */
.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

.nav-link.active {
  color: var(--color-primary-text);
  background: var(--color-primary-highlight);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* === MOBILE NAV === */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-text);
  border-radius: var(--radius-md);
}

.mobile-menu-toggle:hover { background: var(--color-surface-offset); }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: var(--space-4);
  border-top: 1px solid var(--color-divider);
  background: var(--color-surface);
}

.mobile-nav.open { display: flex; }

.mobile-nav .nav-link {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  border-radius: var(--radius-md);
}

@media (max-width: 900px) {
  .primary-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .header-actions .btn { display: none; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}

.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.btn--primary {
  background: #0d7da6;
  color: #ffffff;
}
.btn--primary:hover { background: #0b6e94; }

.btn--accent {
  background: var(--color-accent);
  color: #ffffff;
}
.btn--accent:hover { background: var(--color-accent-hover); }

[data-theme='dark'] .btn--accent {
  background: #0c7199;
}
[data-theme='dark'] .btn--accent:hover {
  background: #0b6e94;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary-text);
  border: 2px solid var(--color-primary-text);
}
.btn--outline:hover {
  background: var(--color-primary-text);
  color: #ffffff;
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
.btn--ghost:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

/* === THEME TOGGLE === */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-text-muted);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.theme-toggle:hover { color: var(--color-text); background: var(--color-surface-offset); }

/* === HERO === */
.hero {
  position: relative;
  min-height: clamp(560px, 85vh, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(35, 31, 32, 0.93) 0%,
    rgba(35, 31, 32, 0.75) 50%,
    rgba(35, 31, 32, 0.38) 100%
  );
  z-index: 1;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(25, 181, 239, 0.14);
  border: 1px solid rgba(25, 181, 239, 0.35);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: var(--space-6);
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #19b5ef;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
}

.hero h1 em {
  font-style: normal;
  color: #19b5ef;
}

.hero-desc {
  font-size: var(--text-base);
  color: rgba(232, 236, 243, 0.82);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 55ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

/* Hero buttons need hardcoded light colors (hero always has dark overlay) */
.hero-actions .btn--accent {
  background: #0d7da6;
  color: #ffffff;
}
.hero-actions .btn--accent:hover {
  background: #0b6e94;
}
.hero-actions .btn--ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}
.hero-actions .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.hero-hotline {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(232, 236, 243, 0.7);
  font-size: var(--text-sm);
  text-decoration: none;
}

.hero-hotline:hover { color: #ffffff; }

.hero-hotline strong {
  color: #ffffff;
  font-weight: 600;
}

/* === STATS BAR === */
.stats-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
  padding-block: var(--space-6);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-primary-text);
  line-height: 1;
  letter-spacing: -0.03em;
}

[data-theme='dark'] .stat-number { color: var(--color-accent); }

.stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
}

/* === SECTION BASE === */
section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.section-lead {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 58ch;
}

/* === SERVICES SECTION === */
.services-section { background: var(--color-bg); }

.services-header {
  margin-bottom: var(--space-12);
}

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

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition-interactive),
    box-shadow var(--transition-interactive),
    border-color var(--transition-interactive);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.service-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-card-body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.service-card-icon {
  width: 40px;
  height: 40px;
  color: var(--color-accent);
}

.service-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.service-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.service-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.service-card-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.service-card-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.45em;
}

.service-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

[data-theme='dark'] .service-card-link { color: var(--color-accent); }

.service-card-link:hover { gap: var(--space-3); }

.service-card-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--transition-interactive);
}

.service-card:hover .service-card-link svg {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
}

@media (min-width: 640px) and (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === WHY GDF === */
.why-section {
  background: #231f20;
  color: #ffffff;
}

[data-theme='dark'] .why-section {
  background: #231f20;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.why-content .section-eyebrow { color: var(--color-primary-text); }

.why-content .section-title { color: #ffffff; }

[data-theme='dark'] .why-content .section-title { color: var(--color-text); }

.why-content .section-lead {
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-8);
}

[data-theme='dark'] .why-content .section-lead { color: var(--color-text-muted); }

.credentials-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.credential-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}

[data-theme='dark'] .credential-icon { background: var(--color-surface-offset); }

.credential-text strong {
  display: block;
  font-weight: 700;
  color: #ffffff;
  font-size: var(--text-sm);
  margin-bottom: var(--space-1);
}

[data-theme='dark'] .credential-text strong { color: var(--color-text); }

.credential-text p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

[data-theme='dark'] .credential-text p { color: var(--color-text-muted); }

.why-image-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.why-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 900px) {
  .why-inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .why-image-wrap { order: -1; }
}

/* === CLIENTS SECTION === */
.clients-section { background: var(--color-surface); }

.clients-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

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

.client-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4) var(--space-3);
  background: var(--color-surface-offset);
  border-radius: var(--radius-lg);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
  min-height: 64px;
}

@media (max-width: 900px) { .clients-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .clients-grid { grid-template-columns: repeat(2, 1fr); } }

/* === SPLIT FEATURE === */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.split-feature.reverse { direction: rtl; }
.split-feature.reverse > * { direction: ltr; }

.split-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.split-image-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.split-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.feature-list li svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.1em;
}

@media (max-width: 900px) {
  .split-feature, .split-feature.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .split-feature .split-image-wrap,
  .split-feature.reverse .split-image-wrap {
    order: -1;
  }
}

/* === LOCATIONS === */
.locations-section { background: var(--color-bg); }

.locations-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

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

.location-group {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.location-group h3 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  font-family: var(--font-body);
}

.location-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.location-group li {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
}

.location-group li strong {
  display: block;
  color: var(--color-text);
  font-weight: 500;
}

@media (max-width: 900px) { .locations-map { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .locations-map { grid-template-columns: 1fr; } }

/* === CTA BANNER === */
.cta-banner {
  background: var(--color-accent);
  color: #ffffff;
  text-align: center;
  padding-block: var(--space-16);
}

[data-theme='dark'] .cta-banner {
  background: #0c7199;
}

.cta-banner h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: var(--space-4);
  letter-spacing: -0.03em;
}

.cta-banner p {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.93);
  margin-bottom: var(--space-8);
  max-width: 56ch;
  margin-inline: auto;
}

.cta-banner .btn--primary {
  background: #ffffff;
  color: #0c7199;
  font-weight: 700;
}

.cta-banner .btn--primary:hover { background: rgba(255,255,255,0.92); }

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cta-banner .btn--ghost {
  border-color: rgba(255,255,255,0.5);
  color: #ffffff;
}

.cta-banner .btn--ghost:hover { background: rgba(255,255,255,0.15); }

/* === CONTACT FORM === */
.contact-section { background: var(--color-bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary-highlight);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

[data-theme='dark'] .contact-detail-icon {
  background: var(--color-surface-offset);
  color: var(--color-accent);
}

.contact-detail strong {
  display: block;
  font-weight: 700;
  color: var(--color-text);
  font-size: var(--text-sm);
  margin-bottom: var(--space-1);
}

.contact-detail p, .contact-detail a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}

.contact-detail a:hover { color: var(--color-primary); }

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.form-label .required { color: var(--color-accent); margin-left: 2px; }

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  transition:
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.15);
}

.form-textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

.form-disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* === FOOTER === */
.site-footer {
  background: #0c7199;
  color: rgba(255,255,255,0.87);
  padding-block: var(--space-16) var(--space-8);
}

[data-theme='dark'] .site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: var(--space-8);
}

[data-theme='dark'] .footer-top { border-bottom-color: var(--color-border); }

.footer-brand .site-logo svg path { fill: #ffffff; }
.footer-brand .logo-main { color: #ffffff; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.78); }

.footer-desc {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.87);
  line-height: 1.6;
  max-width: 36ch;
}

[data-theme='dark'] .footer-desc { color: var(--color-text-muted); }

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  font-weight: 700;
  font-size: var(--text-base);
  color: #ffffff;
  text-decoration: none;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-bottom: var(--space-5);
}

[data-theme='dark'] .footer-col h4 { color: var(--color-text-faint); }

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.87);
  text-decoration: none;
}

[data-theme='dark'] .footer-links a { color: var(--color-text-muted); }

.footer-links a:hover { color: #ffffff; }

[data-theme='dark'] .footer-links a:hover { color: var(--color-text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.88);
}

[data-theme='dark'] .footer-copy { color: var(--color-text-faint); }

.footer-legal {
  display: flex;
  gap: var(--space-5);
}

.footer-legal a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.88);
  text-decoration: none;
}

[data-theme='dark'] .footer-legal a { color: var(--color-text-faint); }

.footer-legal a:hover { color: rgba(255,255,255,0.8); }

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* === PAGE HERO (interior pages) === */
.page-hero {
  background: linear-gradient(135deg, #231f20 0%, #19b5ef 100%);
  padding-block: clamp(var(--space-8), 5vw, var(--space-16));
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

[data-theme='dark'] .page-hero {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-2) 100%);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.015) 40px,
    rgba(255,255,255,0.015) 41px
  );
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}

.page-hero .section-eyebrow {
  margin-bottom: var(--space-4);
  color: rgba(255, 255, 255, 0.85);
}

.page-hero p {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.78);
  max-width: 56ch;
  margin-inline: auto;
  line-height: 1.7;
}

/* === PROSE CONTENT === */
.prose-section { background: var(--color-bg); }

.prose {
  max-width: 72ch;
}

.prose h2 {
  font-size: var(--text-xl);
  font-weight: 800;
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.prose h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.prose p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.75;
}

.prose a {
  color: var(--color-primary-text);
  text-decoration: underline;
  text-decoration-color: rgba(13, 125, 166, 0.35);
  text-underline-offset: 2px;
}
.prose a:hover {
  color: var(--color-primary-hover);
  text-decoration-color: currentColor;
}

.prose ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.prose ul li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.prose ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.5em;
}

/* === TWO-COL CONTENT === */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-12);
  align-items: start;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: sticky;
  top: calc(72px + var(--space-6));
}

.sidebar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.sidebar-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.sidebar-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.sidebar-nav a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
}

.sidebar-nav a:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
}

@media (max-width: 900px) {
  .content-with-sidebar {
    grid-template-columns: 1fr;
  }
  .sidebar { position: static; }
}

/* === SERVICE DETAIL CARDS === */
.detail-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.detail-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.detail-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.detail-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 640px) { .detail-cards { grid-template-columns: 1fr; } }

/* === SCROLL ANIMATIONS === */
.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: fade-reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
}

@keyframes fade-reveal {
  to { opacity: 1; }
}

/* === VIEW TRANSITIONS === */
@view-transition { navigation: auto; }

/* === ANNOUNCEMENT BAR === */
.announcement-bar {
  background: #231f20;
  color: rgba(255,255,255,0.88);
  text-align: center;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.announcement-bar a {
  color: #19b5ef;
  font-weight: 700;
  text-decoration: none;
}

.announcement-bar a:hover { text-decoration: underline; }

/* === BREADCRUMB === */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-block: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--color-primary); }

.breadcrumb span { color: var(--color-text-faint); }

/* === TESTIMONIAL === */
.testimonial-section {
  background: var(--color-surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.testimonial-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.testimonial-quote {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.testimonial-author strong {
  font-weight: 700;
  color: var(--color-text);
  font-size: var(--text-sm);
}

.testimonial-author span {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

@media (min-width: 640px) and (max-width: 900px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === PROCESS STEPS === */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.process-step {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  margin-bottom: var(--space-4);
}

[data-theme='dark'] .step-number {
  background: var(--color-surface-offset);
  color: var(--color-accent);
}

.process-step h3 {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text);
  font-family: var(--font-body);
}

.process-step p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}


/* Infographic sections */
.section-infographic {
  padding: var(--space-10) var(--space-6);
  background: var(--color-surface);
  border-top: 1px solid rgba(25, 181, 239, 0.15);
  border-bottom: 1px solid rgba(25, 181, 239, 0.15);
  text-align: center;
  overflow-x: auto;
}
.infographic-img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}


/* Related Services */
.related-services { padding: var(--space-10) var(--space-6); background: var(--color-surface); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-6); margin-top: var(--space-6); }
.related-card { display: block; padding: var(--space-6); border: 1px solid rgba(25, 181, 239, 0.2); border-radius: var(--radius-md); text-decoration: none; color: inherit; transition: border-color var(--transition-fast), transform var(--transition-fast); }
.related-card:hover { border-color: var(--color-primary); transform: translateY(-2px); }
.related-card h3 { font-family: var(--font-heading); font-size: var(--text-lg); color: var(--color-primary-text); margin-bottom: var(--space-2); }
.related-card p { font-size: var(--text-sm); opacity: 0.75; margin: 0; }
.page-updated { font-size: var(--text-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: var(--space-6); }
