/* ==========================================================================
   ANFIELD SPORTS CONSTRUCTION — ARCHITECTURAL & CONSUMER DESIGN SYSTEM
   Brand: anfield.ae | Abu Dhabi, UAE
   ========================================================================== */

/* Google Fonts are preconnected and loaded in index.html <head> for optimized FCP/LCP */

:root {
  /* Architectural Canvas & Depth (Light Theme) */
  --bg-canvas: #F8F9FA;
  --bg-surface-1: #FFFFFF;
  --bg-surface-2: #F1F4F8;
  --bg-surface-3: #E5EAF1;
  --bg-hover: #E2E8F0;
  
  /* Hairline Architectural Rules */
  --hairline: #E2E6EC;
  --hairline-strong: #CBD2DE;
  --hairline-subtle: #EDF0F5;
  
  /* Typographic Hierarchy */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  /* Precision Tonal Scale */
  --text-primary: #0F1218;
  --text-secondary: #475060;
  --text-tertiary: #6E798B;
  --text-mono: #505A6B;
  
  /* Surgical Brand Accents */
  --crimson-core: #E60026;
  --crimson-bright: #D90429;
  --crimson-dim: rgba(230, 0, 38, 0.08);
  --crimson-glow: rgba(230, 0, 38, 0.2);
  
  /* Technical Indicator Accents */
  --status-emerald: #059669;
  --cad-cyan: #0284C7;
  --blueprint-blue: #1D4ED8;
  
  /* Spacing Scale */
  --section-pad: 6rem 0;
  --section-pad-sm: 4rem 0;
  --container-max: 1280px;
  
  /* Geometric Structure */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
}

/* Accessibility Utilities */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--crimson-core);
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 10000;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid #FFFFFF;
}

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

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  scroll-behavior: smooth;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
  background: var(--bg-canvas);
  min-height: 100vh;
}

/* Subtle architectural grid pattern overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: 
    linear-gradient(to right, rgba(15, 18, 24, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 18, 24, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

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

/* --------------------------------------------------------------------------
   TYPOGRAPHIC SYSTEM
   -------------------------------------------------------------------------- */
.mono-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mono);
}

.mono-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  background: var(--bg-surface-2);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

.mono-tag.crimson {
  color: var(--crimson-core);
  border-color: rgba(230, 0, 38, 0.25);
  background: var(--crimson-dim);
  font-weight: 600;
}

.headline-section {
  font-size: clamp(2rem, 3.75vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.highlight-crimson {
  color: var(--crimson-core);
}

.subhead-editorial {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 680px;
}

.editorial-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 2rem;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2rem;
}

.section-kicker-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.section-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--crimson-core);
  font-weight: 700;
}

.section-kicker-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
}

/* --------------------------------------------------------------------------
   APPLE-STYLE GLASSMORPHIC HEADER & CLEAN NAVIGATION
   -------------------------------------------------------------------------- */
.agency-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
  padding-top: env(safe-area-inset-top, 0px);
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.header-announcement-bar {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.35rem 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: rgba(248, 250, 252, 0.65);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.header-announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  flex-wrap: wrap;
}

.announcement-tag {
  background: var(--crimson-core);
  color: #FFFFFF;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
}

.announcement-text {
  font-weight: 500;
  color: #334155;
}

.agency-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-identity {
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.brand-identity:hover {
  opacity: 0.85;
}

.brand-logo-img,
.anfield-main-logo {
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-logo {
  height: 48px;
}

.agency-nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.agency-nav-item {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(15, 23, 42, 0.72);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.agency-nav-item:hover {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.05);
}

.agency-nav-item::after {
  display: none;
}

.agency-nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hotline-link {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}

.hotline-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hotline-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Button System */
.btn-architectural {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-crimson-solid {
  background: var(--crimson-core);
  color: #FFFFFF;
  border-color: var(--crimson-core);
}

.btn-crimson-solid:hover {
  background: var(--crimson-bright);
  border-color: var(--crimson-bright);
  box-shadow: 0 4px 20px var(--crimson-glow);
  transform: translateY(-1px);
}

.btn-hairline-wire {
  background: #FFFFFF;
  color: var(--text-primary);
  border-color: var(--hairline-strong);
}

.btn-hairline-wire:hover {
  background: var(--bg-surface-2);
  border-color: var(--text-secondary);
  transform: translateY(-1px);
}

.btn-whatsapp-direct {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.4);
  color: #0D8C3E;
  font-weight: 600;
}

.btn-whatsapp-direct:hover {
  background: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
}

.nav-mobile-btn {
  display: none;
  background: #FFFFFF;
  border: 1px solid var(--hairline-strong);
  color: var(--text-primary);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   HERO SECTION (CONSUMER HIGH-CONVERSION)
   -------------------------------------------------------------------------- */
.section-hero-architectural {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 4.5rem;
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-canvas);
}

.hero-editorial-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: flex-start;
}

.hero-meta-kicker-strip {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-headline-agency {
  font-size: clamp(2.35rem, 4.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 1.35rem;
}

.hero-statement-body {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0.95rem;
}

.hero-statement-body:last-of-type {
  margin-bottom: 1.75rem;
}

/* Key Benefits List */
.hero-benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}

.hero-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.hero-benefits-list .benefit-icon {
  color: #10B981;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.3;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

/* In-Fold Fast Quote Console */
.hero-dispatch-console {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.1), 0 1px 3px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
}

.console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--hairline-subtle);
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
}

.console-status-live {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.status-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-emerald);
  box-shadow: 0 0 6px rgba(5, 150, 105, 0.4);
  animation: pulseLive 2.2s infinite ease-in-out;
}

@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.console-sla-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--crimson-core);
  background: var(--crimson-dim);
  border: 1px solid rgba(230, 0, 38, 0.25);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.console-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.console-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 1.25rem;
}

.console-form-stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.console-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.console-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.field-mono-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.agency-input-control {
  background: #FFFFFF;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  outline: none;
  transition: all 0.2s ease;
  width: 100%;
}

.agency-input-control:focus {
  border-color: var(--crimson-core);
  box-shadow: 0 0 0 2px var(--crimson-dim);
}

.console-alternative-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--hairline-subtle);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.console-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.775rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.console-wa-link:hover {
  color: #0D8C3E;
}

/* Hero Media Plate */
.hero-cinematic-banner-frame {
  position: relative;
  margin-top: 2.75rem;
  border: 1px solid var(--hairline-strong);
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 0.5rem;
  overflow: hidden;
  box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.12);
}

.hero-cinematic-media {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 500px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #000;
}

.hero-cinematic-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.94) contrast(1.04);
}

.blueprint-wireframe-overlay {
  position: absolute;
  inset: 0;
  background-image: url('../images/cad-blueprint.svg');
  background-size: cover;
  background-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 2;
  mix-blend-mode: screen;
}

.blueprint-wireframe-overlay.active {
  opacity: 0.92;
}

.cad-toggle-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid var(--hairline-strong);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cad-toggle-btn:hover {
  background: #FFFFFF;
  border-color: var(--crimson-core);
  color: var(--crimson-core);
}

.cad-toggle-btn.active {
  background: var(--crimson-core);
  color: #FFFFFF;
  border-color: var(--crimson-core);
}

.hero-visual-trust-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  color: #FFFFFF;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.825rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

.hero-visual-trust-badge .badge-icon {
  color: #FBBF24;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   SECTOR TRUST PROOF BAR
   -------------------------------------------------------------------------- */
.section-trust-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--hairline);
  padding: 2.25rem 0;
}

.trust-bar-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.trust-sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-sector-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--bg-canvas);
  border: 1px solid var(--hairline-subtle);
  transition: all 0.2s ease;
}

.trust-sector-item:hover {
  background: #FFFFFF;
  border-color: var(--hairline-strong);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.sector-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.sector-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.sector-desc {
  font-size: 0.785rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   EXCELLENCE SERVICES SECTION (ANFIELD SWISS ARCHITECTURAL PALETTE)
   ========================================================================== */
.section-disciplines-directory {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 5rem;
  background: var(--bg-canvas, #F8F9FA);
  border-top: 1px solid var(--hairline, #E2E6EC);
  border-bottom: 1px solid var(--hairline, #E2E6EC);
}

/* Editorial Header (Split 2-Column) */
.services-editorial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2.5rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.services-header-left {
  flex: 1 1 360px;
}

.services-kicker-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.services-giant-headline {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.2vw, 3.5rem);
  font-weight: 800;
  color: var(--text-primary, #0F1218);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0;
}

.services-header-right {
  flex: 1 1 380px;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 0.25rem;
}

.services-header-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary, #475060);
  margin: 0;
}

.services-header-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.services-header-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.editorial-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--crimson-core, #E60026);
  text-decoration: none;
  transition: all 0.2s ease;
}

.editorial-nav-link svg {
  transition: transform 0.2s ease;
}

.editorial-nav-link:hover {
  color: var(--crimson-bright, #D90429);
}

.editorial-nav-link:hover svg {
  transform: translateX(4px);
}

/* Slider Nav Arrows (Anfield Minimalist Circle Controls) */
.services-slider-nav-arrows {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.slider-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong, #CBD2DE);
  background: var(--bg-surface-1, #FFFFFF);
  color: var(--text-primary, #0F1218);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 18, 24, 0.04);
}

.slider-nav-btn:hover {
  background: var(--crimson-core, #E60026);
  color: #FFFFFF;
  border-color: var(--crimson-core, #E60026);
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(230, 0, 38, 0.35);
}

.slider-nav-btn:active {
  transform: scale(0.95);
}

.slider-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  background: var(--bg-surface-2, #F1F4F8);
  border-color: var(--hairline, #E2E6EC);
  color: var(--text-tertiary, #6E798B);
}

/* Cards Slider Track - TRUE HORIZONTAL OVERFLOW SLIDER */
.services-ref-slider-wrap {
  position: relative;
  width: 100%;
}

.services-ref-cards-track,
#servicesCardsTrack {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.75rem 0 1.5rem;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.services-ref-cards-track::-webkit-scrollbar,
#servicesCardsTrack::-webkit-scrollbar {
  display: none;
}

.services-ref-cards-track.is-dragging,
#servicesCardsTrack.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

/* The Vertical Portrait Scallop Card */
.service-ref-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 390px;
  width: 295px;
  min-width: 295px;
  max-width: 295px;
  flex: 0 0 295px;
  scroll-snap-align: start;
  cursor: pointer;
  background: var(--text-primary, #0F1218);
  box-shadow: 0 10px 30px -4px rgba(15, 18, 24, 0.12), 0 2px 6px rgba(15, 18, 24, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  outline: none;
}

.service-ref-card:focus-visible {
  box-shadow: 0 0 0 3px var(--crimson-core, #E60026);
}

.service-ref-card:hover,
.service-ref-card.is-active {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px -8px rgba(15, 18, 24, 0.22), 0 4px 12px rgba(15, 18, 24, 0.08);
}

.service-ref-card .card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: var(--text-primary, #0F1218);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-ref-card .card-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.86;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.service-ref-card:hover .card-bg-img,
.service-ref-card.is-active .card-bg-img {
  transform: scale(1.06);
  opacity: 0.96;
}

.service-ref-card .card-gradient-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg, 
    rgba(15, 18, 24, 0.03) 0%, 
    rgba(15, 18, 24, 0.25) 48%, 
    rgba(15, 18, 24, 0.86) 80%, 
    rgba(15, 18, 24, 0.98) 100%
  );
  pointer-events: none;
}

.service-ref-card .card-meta-wrap {
  position: absolute;
  bottom: 1.45rem;
  left: 1.35rem;
  right: 5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.service-ref-card .card-service-title {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0;
  transition: color 0.25s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.service-ref-card .card-service-desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Scallop Corner Cutout Notch (Seamlessly blended with var(--bg-canvas)) */
.card-scallop-notch {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 66px;
  height: 66px;
  background: var(--bg-canvas, #F8F9FA);
  border-top-left-radius: 24px;
  border-bottom-right-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* Inverted fillet top - smooth concave curve flush with card right edge (ZERO spillover) */
.card-scallop-notch::before {
  content: '';
  position: absolute;
  top: -20px;
  right: 0;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 0 0, transparent 19.5px, var(--bg-canvas, #F8F9FA) 20px);
  pointer-events: none;
}

/* Inverted fillet left - smooth concave curve flush with card bottom edge (ZERO spillover) */
.card-scallop-notch::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -20px;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 0 0, transparent 19.5px, var(--bg-canvas, #F8F9FA) 20px);
  pointer-events: none;
}

/* Circular Action Button inside Notch (Obsidian Black & Crimson) */
.scallop-circle-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--text-primary, #0F1218);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(15, 18, 24, 0.18);
}

.scallop-circle-btn svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active & Hover: ANFIELD CRIMSON RED (Zero Yellow!) */
.service-ref-card.is-active .scallop-circle-btn,
.service-ref-card:hover .scallop-circle-btn {
  background: var(--crimson-core, #E60026);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(230, 0, 38, 0.45);
  transform: scale(1.08);
}

.service-ref-card.is-active .scallop-circle-btn svg,
.service-ref-card:hover .scallop-circle-btn svg {
  transform: translate(2px, -2px);
}

.service-ref-card.is-active .card-service-title,
.service-ref-card:hover .card-service-title {
  color: #FFFFFF;
}

/* Bottom Scroll Indicator Track (Clean Architectural Gray & Crimson) */
.services-scroll-indicator-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
}

.services-scroll-indicator-bar .indicator-track {
  width: 360px;
  max-width: 85%;
  height: 5px;
  background: var(--hairline-strong, #CBD2DE);
  border-radius: 99px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: height 0.2s ease;
}

.services-scroll-indicator-bar .indicator-track:hover {
  height: 7px;
}

.services-scroll-indicator-bar .indicator-thumb,
#servicesScrollThumb {
  height: 100%;
  width: 28%;
  background: var(--crimson-core, #E60026);
  border-radius: 99px;
  transition: transform 0.1s ease-out;
  will-change: transform;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .section-disciplines-directory {
    padding: 3.5rem 0 3.5rem;
  }
  .services-editorial-header {
    gap: 1.5rem;
    margin-bottom: 1.75rem;
  }
  .service-ref-card {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    flex: 0 0 250px;
    height: 340px;
  }
  .service-ref-card .card-meta-wrap {
    bottom: 1.25rem;
    left: 1.15rem;
    right: 4.4rem;
  }
  .service-ref-card .card-service-title {
    font-size: 1rem;
  }
  .service-ref-card .card-service-desc {
    font-size: 0.74rem;
  }
}

/* --------------------------------------------------------------------------
   WHY CHOOSE ANFIELD (ADVANTAGE GRID)
   -------------------------------------------------------------------------- */
.section-why-us {
  position: relative;
  padding: var(--section-pad);
  background: #FFFFFF;
  border-bottom: 1px solid var(--hairline);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-us-card {
  background: var(--bg-canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.why-us-card:hover {
  background: #FFFFFF;
  border-color: var(--hairline-strong);
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}

.why-us-number {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--crimson-core);
  margin-bottom: 1rem;
}

.why-us-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.why-us-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   MODERN 4-STEP RESTORATION PROTOCOL UI (INSPIRED BY REFERENCE DESIGNS)
   -------------------------------------------------------------------------- */
.section-lifecycle-protocol {
  position: relative;
  z-index: 1;
  padding: var(--section-pad);
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-canvas, #f8fafc);
  overflow: hidden;
}

/* Centered Header Block (Inspired by Ref 1 & 2) */
.protocol-header-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.protocol-badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.95rem;
  border-radius: 50px;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #b91c1c;
  background: rgba(185, 28, 28, 0.08);
  border: 1px solid rgba(185, 28, 28, 0.2);
  margin-bottom: 1.15rem;
}

.protocol-title-display {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin-bottom: 0.85rem;
}

.protocol-subtitle-display {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.65rem;
}

.protocol-header-action {
  display: flex;
  justify-content: center;
}

.protocol-top-cta {
  box-shadow: 0 8px 24px -4px rgba(185, 28, 28, 0.32);
  padding: 0.85rem 1.85rem;
}

/* Process Flow Container & Connecting Wave */
.process-flow-container {
  position: relative;
  width: 100%;
}

.process-wave-canvas {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  width: 100%;
  height: 140px;
  pointer-events: none;
  z-index: 1;
}

.process-wave-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* 4-Card Milestone Grid (Desktop) */
.process-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
  position: relative;
  z-index: 2;
}

.process-card-item {
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Node vertical placement alternating with the sinuous wave */
.process-card-item.node-pos-low {
  padding-top: 54px;
}

.process-card-item.node-pos-high {
  padding-top: 0px;
}

/* Floating Frosted Milestone Badges (Ref 1) */
.process-floating-node {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  box-shadow: 0 16px 32px -6px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 3;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card-item:hover .process-floating-node {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 36px -6px rgba(15, 23, 42, 0.18);
  border-color: #cbd5e1;
}

.process-floating-node.active-node {
  border-color: rgba(185, 28, 28, 0.5);
  color: #b91c1c;
  box-shadow: 0 20px 40px -6px rgba(185, 28, 28, 0.22), 0 0 0 4px rgba(185, 28, 28, 0.08);
}

/* Card Content Surface */
.process-card-content {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 12px;
  padding: 2rem 1.35rem 1.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card-item:hover .process-card-content {
  border-color: #cbd5e1;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.1);
}

.process-card-item.active-card .process-card-content {
  border-color: rgba(185, 28, 28, 0.35);
  box-shadow: 0 14px 32px -6px rgba(185, 28, 28, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #fffbfb 100%);
}

/* Giant Subtle Watermark Numeral (Ref 1) */
.process-watermark-num {
  position: absolute;
  top: -12px;
  right: 12px;
  font-family: var(--font-mono, monospace);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: all 0.3s ease;
}

.process-card-item:hover .process-watermark-num {
  color: rgba(15, 23, 42, 0.08);
  transform: scale(1.05);
}

.process-card-item.active-card .process-watermark-num {
  color: rgba(185, 28, 28, 0.06);
}

/* Station Copy Typography */
.process-step-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono, monospace);
  font-size: 0.675rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.process-step-pill.crimson-pill {
  color: #b91c1c;
}

.process-step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.process-step-desc {
  font-size: 0.865rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.4rem;
  flex: 1;
  position: relative;
  z-index: 1;
}

/* Tangible Deliverable Chip / Box (Ref 2 UI Preview) */
.process-deliverable-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.85rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: auto;
  position: relative;
  z-index: 1;
  transition: all 0.2s ease;
}

.process-card-item:hover .process-deliverable-chip {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.process-deliverable-chip.highlight-chip {
  background: #fef2f2;
  border-color: #fecaca;
}

.chip-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #059669;
}

.chip-dot.crimson {
  background: #b91c1c;
}

.chip-label {
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.05em;
}

.chip-label.crimson {
  color: #b91c1c;
}

.chip-badge-fast {
  margin-left: auto;
  background: #b91c1c;
  color: #ffffff;
  font-family: var(--font-mono, monospace);
  font-size: 0.58rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.chip-title {
  font-size: 0.825rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
}

.chip-meta {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.3;
}

/* Tablet Responsive Breakpoint */
@media (max-width: 1024px) {
  .process-wave-canvas {
    display: none;
  }
  .process-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .process-card-item.node-pos-low,
  .process-card-item.node-pos-high {
    padding-top: 0;
  }
  .process-floating-node {
    margin: 0 auto 1.25rem;
  }
}

/* Mobile Responsive Breakpoint: Vertical Stem Timeline (Ref 2) */
@media (max-width: 640px) {
  .protocol-header-center {
    margin-bottom: 2.25rem;
  }

  .process-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    padding-left: 36px;
  }

  /* Vertical connecting stem line (Inspired by Ref 2) */
  .process-cards-grid::before {
    content: '';
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 17px;
    width: 2px;
    background: linear-gradient(180deg, #b91c1c 0%, #cbd5e1 100%);
    border-radius: 2px;
  }

  .process-card-item {
    position: relative;
  }

  /* Nodes anchored on vertical stem */
  .process-floating-node {
    position: absolute;
    left: -36px;
    top: 20px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    margin: 0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
  }

  .process-floating-node svg {
    width: 16px;
    height: 16px;
  }

  .process-card-content {
    padding: 1.35rem 1.15rem 1.15rem;
  }

  .process-watermark-num {
    font-size: 3.5rem;
    top: -8px;
    right: 8px;
  }

  .process-step-title {
    font-size: 1.05rem;
  }
}

/* --------------------------------------------------------------------------
   INTEGRATED CASE STUDIES & VERIFIED RESULTS (CRO PROOF ENGINE)
   -------------------------------------------------------------------------- */
.section-editorial-gallery {
  position: relative;
  z-index: 1;
  padding: var(--section-pad);
  border-bottom: 1px solid var(--hairline);
  background: #FFFFFF;
}

/* Section Header Layout & Google Rating Summary */
.gallery-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.google-rating-summary-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.summary-google-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.summary-rating-data {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.summary-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.rating-number {
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  font-size: 0.85rem;
  color: #0f172a;
  margin-left: 0.35rem;
}

.summary-reviews-count {
  font-size: 0.75rem;
  color: #64748b;
  font-family: var(--font-mono, monospace);
}

/* =========================================================================
   1. FLOATING TESTIMONIALS (Seamless 60fps Marquee + Frosted Glass Cards)
   ========================================================================= */
.floating-testimonials-wrap {
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 1.25rem 0 1.75rem;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.floating-testimonials-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: floatReviews 38s linear infinite;
  will-change: transform;
}

.floating-testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes floatReviews {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.floating-review-card {
  width: 360px;
  max-width: 85vw;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 10px;
  padding: 1.35rem 1.35rem 1.2rem;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.floating-review-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.09);
}

.review-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.google-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  font-family: var(--font-mono, monospace);
}

.review-stars {
  display: flex;
  gap: 0.15rem;
}

.review-quote-text {
  font-size: 0.865rem;
  line-height: 1.55;
  color: #334155;
  margin: 0 0 1.1rem;
  font-style: normal;
}

.review-author-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.75rem;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.author-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
}

.author-title {
  font-size: 0.72rem;
  color: #64748b;
}

.verified-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* =========================================================================
   2. COMPACT PROJECTS GRID (Streamlined Architectural Portfolio Cards)
   ========================================================================= */
.compact-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.compact-project-card {
  background: #FFFFFF;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.compact-project-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.08);
}

.compact-project-img {
  height: 175px;
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.compact-project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.compact-project-card:hover .compact-project-img img {
  transform: scale(1.05);
}

.compact-sector-tag {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-family: var(--font-mono, monospace);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 5;
}

/* --------------------------------------------------------------------------
   MULTI-IMAGE PROJECT GALLERY & IN-CARD CAROUSEL
   -------------------------------------------------------------------------- */
.project-gallery-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-slides-track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 1;
}

.gallery-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.compact-project-card:hover .gallery-slide.is-active img {
  transform: scale(1.04);
}

.slide-caption-tag {
  position: absolute;
  bottom: 0.5rem;
  left: 0.65rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #F1F5F9;
  font-family: var(--font-mono, monospace);
  font-size: 0.58rem;
  font-weight: 600;
  padding: 0.18rem 0.5rem;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 4;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  opacity: 0;
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0;
}

.gallery-nav-btn.prev {
  left: 0.5rem;
}

.gallery-nav-btn.next {
  right: 0.5rem;
}

.compact-project-card:hover .gallery-nav-btn {
  opacity: 1;
}

.gallery-nav-btn:hover {
  background: var(--crimson-core);
  border-color: var(--crimson-core);
  transform: translateY(-50%) scale(1.1);
}

.gallery-meta-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-family: var(--font-mono, monospace);
  font-size: 0.62rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.gallery-meta-badge:hover {
  background: rgba(0, 0, 0, 0.52);
  border-color: rgba(255, 255, 255, 0.45);
}

.gallery-meta-badge svg {
  stroke: currentColor;
}

.gallery-dots {
  position: absolute;
  bottom: 0.55rem;
  right: 0.65rem;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 5;
}

.g-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  padding: 0;
}

.g-dot.is-active {
  background: #FFFFFF;
  width: 14px;
  border-radius: 4px;
}

/* Hide navigation controls if single slide */
.project-gallery-carousel[data-single-slide="true"] .gallery-nav-btn,
.project-gallery-carousel[data-single-slide="true"] .gallery-dots,
.project-gallery-carousel[data-single-slide="true"] .gallery-meta-badge {
  display: none !important;
}

@media (max-width: 768px) {
  .gallery-nav-btn {
    opacity: 0.85;
  }
}

/* --------------------------------------------------------------------------
   FULLSCREEN HIGH-RES PROJECT LIGHTBOX MODAL
   -------------------------------------------------------------------------- */
.project-lightbox-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 12, 20, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100000;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transition: opacity 0.22s ease-out;
  padding: max(1rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
  box-sizing: border-box;
  overflow: hidden;
}

.project-lightbox-modal.is-open {
  display: flex;
  opacity: 1;
}

.lightbox-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 1rem;
  position: relative;
  z-index: 100020;
  flex-shrink: 0;
}

.lightbox-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #E2E8F0;
  font-family: var(--font-sans, system-ui);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.lightbox-back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(-2px);
}

.lightbox-project-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
  min-width: 0;
  gap: 0.2rem;
}

.lightbox-project-meta-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.lightbox-project-title {
  color: #FFFFFF;
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 480px;
}

.lightbox-counter-pill {
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 600;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  letter-spacing: 0.04em;
}

.lightbox-project-loc {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  color: #94A3B8;
}

.lightbox-top-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.lightbox-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--crimson-core);
  color: #FFFFFF;
  font-family: var(--font-sans, system-ui);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
}

.lightbox-cta-btn:hover {
  background: var(--crimson-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.5);
}

.lightbox-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-family: var(--font-sans, system-ui);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: var(--crimson-core);
  border-color: var(--crimson-core);
  transform: scale(1.04);
}

.lightbox-main-stage {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  min-height: 0;
  padding: 0.75rem 0;
}

.lightbox-image-container {
  max-width: 90%;
  max-height: 72vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.lightbox-active-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65);
  user-select: none;
  transition: opacity 0.2s ease;
}

.lightbox-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-nav-arrow.prev {
  left: 0.5rem;
}

.lightbox-nav-arrow.next {
  right: 0.5rem;
}

.lightbox-nav-arrow:hover {
  background: var(--crimson-core);
  border-color: var(--crimson-core);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-bottom-bar {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lightbox-thumbnails-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  overflow-x: auto;
  max-width: 100%;
  padding: 0.35rem;
}

.lightbox-thumb-btn {
  width: 58px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  background: rgba(255, 255, 255, 0.05);
  display: block;
}

.lightbox-thumb-btn.is-active {
  border-color: var(--crimson-core);
  opacity: 1;
  transform: scale(1.08);
  box-shadow: 0 0 14px rgba(225, 29, 72, 0.4);
}

.lightbox-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox-keyboard-hint {
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  color: #64748B;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .project-lightbox-modal {
    padding: max(0.65rem, env(safe-area-inset-top)) max(0.65rem, env(safe-area-inset-right)) max(0.65rem, env(safe-area-inset-bottom)) max(0.65rem, env(safe-area-inset-left));
  }
  .lightbox-top-bar {
    flex-wrap: wrap;
    gap: 0.4rem;
    padding-bottom: 0.5rem;
  }
  .lightbox-project-info {
    order: 3;
    width: 100%;
    margin-top: 0.25rem;
  }
  .lightbox-project-title {
    font-size: 0.92rem;
    max-width: 100%;
  }
  .lightbox-top-actions {
    gap: 0.4rem;
  }
  .lightbox-cta-btn {
    padding: 0.38rem 0.65rem;
    font-size: 0.72rem;
  }
  .lightbox-close-btn,
  .lightbox-back-btn {
    padding: 0.38rem 0.65rem;
    font-size: 0.72rem;
  }
  .lightbox-nav-arrow {
    width: 40px;
    height: 40px;
  }
  .lightbox-active-img {
    max-height: 60vh;
  }
  .lightbox-keyboard-hint {
    display: none;
  }
}

.compact-project-body {
  padding: 1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.compact-project-header {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.compact-project-title {
  font-size: 0.975rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin: 0;
}

.compact-project-loc {
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  color: #dc2626;
  font-weight: 600;
}

.compact-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.2rem 0;
}

.c-spec {
  font-family: var(--font-mono, monospace);
  font-size: 0.64rem;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: 0.18rem 0.45rem;
  border-radius: 3px;
  border: 1px solid #e2e8f0;
}

.c-spec.highlight {
  color: #059669;
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
  font-weight: 700;
}

.compact-project-link {
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.25rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.compact-project-link:hover {
  color: #dc2626;
  transform: translateX(3px);
}

/* Bottom CTA Strip inside projects */
.projects-cta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 6px;
  padding: 1.5rem 2rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.projects-cta-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.projects-cta-heading {
  display: block;
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.projects-cta-sub {
  display: block;
  font-size: 0.85rem;
  color: #94a3b8;
}

@media (max-width: 1024px) {
  .compact-projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .gallery-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .projects-cta-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .compact-projects-grid {
    grid-template-columns: 1fr;
  }
  .floating-review-card {
    width: 290px;
    padding: 1.1rem 1rem;
  }
  .floating-testimonials-track {
    animation-duration: 28s;
  }
}

/* --------------------------------------------------------------------------
   CONSUMER FAQ ACCORDION (CRO ESSENTIAL)
   -------------------------------------------------------------------------- */
.section-faq {
  position: relative;
  padding: var(--section-pad);
  background: var(--bg-canvas);
  border-bottom: 1px solid var(--hairline);
}

.faq-accordion-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: var(--text-primary);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.35rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: var(--bg-surface-2);
}

.faq-icon {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--crimson-core);
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.65;
  border-top: 1px solid var(--hairline-subtle);
  padding-top: 1rem;
}

.faq-item.active .faq-answer {
  display: block;
  animation: faqFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   EXECUTIVE DISPATCH & QUOTE FORM (LIGHT THEME)
   -------------------------------------------------------------------------- */
.section-dispatch-terminal {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--hairline);
  background: #FFFFFF;
}

.dispatch-terminal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.dispatch-editorial-info {
  display: flex;
  flex-direction: column;
}

.dispatch-sla-box {
  background: var(--bg-canvas);
  border: 1px solid var(--hairline-strong);
  border-left: 3px solid var(--crimson-core);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
}

.dispatch-sla-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.35rem;
}

.dispatch-sla-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.terminal-form-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.terminal-form-card {
  background: var(--bg-canvas);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  width: 100%;
}

.form-below-assurances {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.dispatch-hq-box {
  background: var(--bg-canvas);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.25rem;
}

.dispatch-hq-cities {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-top: 0.25rem;
  font-weight: 500;
}

.terminal-form-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.terminal-form-caption {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 1rem;
}

.agency-form-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-grid-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   CLEAN MINIMAL FOOTER ARCHITECTURE
   -------------------------------------------------------------------------- */
.agency-footer {
  background: #f8fafc;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  padding: 2.75rem 0 2rem;
}

.footer-clean-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
  max-width: 380px;
  margin-bottom: 0.85rem;
}

.footer-reg-mono {
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  color: #94a3b8;
  letter-spacing: 0.04em;
}

.footer-col-heading {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f172a;
  margin-bottom: 1rem;
}

.footer-clean-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-clean-links a {
  font-size: 0.84rem;
  color: #475569;
  text-decoration: none;
  transition: color 0.18s ease;
}

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

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-label-mono {
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  color: #94a3b8;
}

.footer-phone-val {
  font-family: var(--font-mono, monospace);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-phone-val:hover {
  color: #ed1c24;
}

.footer-wa-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: #15803d;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.18s ease;
}

.footer-wa-link:hover {
  color: #166534;
  text-decoration: underline;
}

.footer-bottom-bar {
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 991px) {
  .footer-clean-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}


/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS (MOBILE & TABLET)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-editorial-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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


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

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

  .footer-top-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .agency-nav-links {
    display: none;
  }

  .agency-nav-actions .hotline-link {
    display: none;
  }

  .nav-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #FFFFFF;
    border: 1px solid var(--hairline-strong);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s ease;
  }

  .nav-mobile-btn:active {
    background: var(--bg-surface-2);
  }

  /* Full-Screen Drawer Menu */
  .agency-nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.75rem 1.5rem 6rem;
    gap: 0.5rem;
    z-index: 99999;
    overflow-y: auto;
    border-bottom: 1px solid var(--hairline-strong);
  }

  .agency-nav-links.open .agency-nav-item {
    font-size: 1.15rem;
    font-weight: 600;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--hairline-subtle);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    width: 100%;
    min-height: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 3.5rem 0;
    --section-pad-sm: 2.25rem 0;
  }

  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  .container {
    padding: 0 1.15rem;
  }

  .header-announcement-bar {
    display: none;
  }

  .agency-nav-inner {
    height: 60px;
  }

  .brand-logo-img,
  .anfield-main-logo {
    height: 38px;
    max-width: 150px;
  }

  .agency-nav-actions .btn-crimson-solid {
    display: none;
  }

  .agency-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .section-hero-architectural {
    padding: 2rem 0 2.75rem;
  }

  .hero-headline-agency {
    font-size: clamp(1.85rem, 7.5vw, 2.75rem);
    line-height: 1.12;
    margin-bottom: 1.15rem;
  }

  .hero-statement-body {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
  }

  .hero-cta-group .btn-architectural {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    text-align: center;
  }

  .hero-dispatch-console {
    padding: 1.35rem 1.15rem;
    border-radius: var(--radius-sm);
  }

  .console-input-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* iOS Safari Anti-Zoom Input Protection */
  .agency-input-control,
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  select,
  textarea {
    font-size: 16px !important;
    min-height: 46px;
  }

  .hero-cinematic-banner-frame {
    margin-top: 2rem;
    padding: 0.35rem;
  }

  .hero-cinematic-media {
    aspect-ratio: 16 / 11;
    max-height: 300px;
  }

  .cad-toggle-btn {
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.7rem;
    padding: 0.35rem 0.65rem;
  }

  .hero-visual-trust-badge {
    bottom: 0.65rem;
    left: 0.65rem;
    right: 0.65rem;
    font-size: 0.725rem;
    padding: 0.45rem 0.65rem;
  }

  .trust-sectors-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .services-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card-img-wrap {
    height: 200px;
  }

  .service-card-body {
    padding: 1.35rem 1.15rem;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }


  .gallery-filter-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    scrollbar-width: none;
    gap: 0.4rem;
  }

  .gallery-filter-strip::-webkit-scrollbar {
    display: none;
  }

  .agency-filter-btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.725rem;
    padding: 0.45rem 0.85rem;
  }

  .editorial-gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .faq-question {
    padding: 1.15rem 1.15rem;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 1.15rem 1.15rem;
    font-size: 0.875rem;
  }

  .dispatch-terminal-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-grid-duo {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .terminal-form-card {
    padding: 1.25rem 1rem;
  }

  .footer-top-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 0.65rem;
  }

  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 16px));
  }
}

/* ==========================================================================
   REPAIR & RESTORATION LANDING PAGE ENHANCEMENTS
   CRO Optimization: Offer Box, CAD Deliverable, Authority & Testimonials
   ========================================================================== */

/* Hero Damage Symptoms Tags */
.hero-damage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.5rem;
}

.damage-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 600;
  color: #1e293b;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 0.35rem 0.65rem;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Grand Slam Offer Box
   -------------------------------------------------------------------------- */
.section-grand-slam-offer {
  padding: 2.5rem 0 3.5rem;
  background: #f8fafc;
}

.offer-container-box {
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 6px;
  padding: 2.25rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.offer-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 1.75rem;
}

.offer-badge-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ed1c24;
  background: rgba(237, 28, 36, 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: 3px;
}

.offer-guarantee-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  color: #059669;
  letter-spacing: 0.06em;
}

.offer-main-content {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.offer-title {
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.offer-subtitle {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.55;
  max-width: 680px;
}

.offer-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.offer-deliverable-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
}

.offer-item-num {
  font-family: var(--font-mono, monospace);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ed1c24;
  line-height: 1;
}

.offer-item-content strong {
  display: block;
  font-size: 0.92rem;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.offer-item-content p {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Leadership & Authority Spotlight (Eng. Abdul Majeed)
   -------------------------------------------------------------------------- */
.section-leadership-authority {
  padding: 5rem 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.leadership-card-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 3.5rem;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 2.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.leader-image-column {
  position: relative;
}

.leader-photo-frame {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid #000000;
}

.leader-photo {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.leader-experience-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-top: 2px solid #ed1c24;
}

.leader-years {
  font-family: var(--font-mono, monospace);
  font-size: 1.4rem;
  font-weight: 900;
  color: #ed1c24;
  line-height: 1;
}

.leader-badge-text {
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #f8fafc;
}

.leader-name-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0.25rem 0 0.15rem;
}

.leader-role-label {
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
  font-weight: 700;
  color: #ed1c24;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.leader-bio-text {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.leader-quote-box {
  background: #f1f5f9;
  border-left: 4px solid #ed1c24;
  border-radius: 0 6px 6px 0;
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.75rem;
}

.leader-quote-content {
  font-size: 0.92rem;
  font-style: italic;
  color: #1e293b;
  line-height: 1.55;
  margin: 0 0 0.5rem;
}

.leader-quote-author {
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
}

.leader-metrics-strip {
  display: flex;
  gap: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 1.75rem;
}

.leader-metric {
  display: flex;
  flex-direction: column;
}

.metric-num {
  font-family: var(--font-mono, monospace);
  font-size: 1.45rem;
  font-weight: 900;
  color: #0f172a;
}

.metric-label {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

.leader-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}


/* --------------------------------------------------------------------------
   Mobile Responsiveness for New Sections
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .offer-main-content {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .offer-deliverables-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .leadership-card-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.75rem;
  }

  .leader-photo {
    height: 300px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 600px) {
  .offer-container-box {
    padding: 1.5rem 1.15rem;
  }

  .hero-damage-tags {
    gap: 0.35rem;
  }

  .damage-pill {
    font-size: 0.68rem;
    padding: 0.25rem 0.5rem;
  }

  .leader-metrics-strip {
    flex-wrap: wrap;
    gap: 1.25rem;
  }
}


/* ==========================================================================
   CUSTOMER FEEDBACK UPGRADES: BEFORE/AFTER SLIDER, PHOTO CTA & COMPLIANCE
   ========================================================================== */

/* Consultant Submittal Assurance Strip */
.consultant-paperwork-strip {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.paperwork-title {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.05em;
}

.paperwork-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.paperwork-pill {
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  font-weight: 600;
  color: #334155;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 0.25rem 0.6rem;
  white-space: nowrap;
}

/* ==========================================================================
   TRUSTED BRANDS & FEDERATION LOGOS STRIP (RESPONSIVE HORIZONTAL GRID)
   ========================================================================== */
.trusted-brands-strip {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline-subtle, #e2e8f0);
  width: 100%;
  clear: both;
}

.brands-strip-label {
  font-family: var(--font-mono, monospace);
  font-size: 0.725rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

/* ==========================================================================
   COOL BACKGROUND ANIMATION & ARCHITECTURAL GRID (HERO)
   ========================================================================== */
.section-hero-architectural {
  position: relative;
  overflow: hidden;
}

.hero-canvas-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* Subtle animated laser blueprint grid */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-size: 48px 48px;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  animation: gridDrift 40s linear infinite;
  opacity: 0.85;
}

@keyframes gridDrift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(48px, 48px, 0); }
}

/* Floating ambient glowing orbs */
.hero-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.hero-glow-orb.orb-alpha {
  width: 520px;
  height: 520px;
  top: -120px;
  left: -100px;
  background: radial-gradient(circle, rgba(237, 28, 36, 0.12) 0%, rgba(237, 28, 36, 0) 70%);
  filter: blur(50px);
  animation: orbFloatAlpha 16s ease-in-out infinite alternate;
}

.hero-glow-orb.orb-beta {
  width: 580px;
  height: 580px;
  bottom: -150px;
  right: -80px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.10) 0%, rgba(14, 165, 233, 0) 70%);
  filter: blur(60px);
  animation: orbFloatBeta 20s ease-in-out infinite alternate;
}

@keyframes orbFloatAlpha {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(60px, 40px, 0) scale(1.08); }
  100% { transform: translate3d(-30px, 70px, 0) scale(0.95); }
}

@keyframes orbFloatBeta {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-50px, -40px, 0) scale(1.12); }
  100% { transform: translate3d(40px, -60px, 0) scale(0.92); }
}

/* Precision optical laser scan sweep line */
.hero-laser-sweep {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(237, 28, 36, 0.35) 50%, transparent 100%);
  box-shadow: 0 0 12px rgba(237, 28, 36, 0.4);
  animation: laserScan 10s ease-in-out infinite;
  opacity: 0.65;
}

@keyframes laserScan {
  0% { top: 0%; opacity: 0; }
  15% { opacity: 0.8; }
  85% { opacity: 0.8; }
  100% { top: 100%; opacity: 0; }
}

/* ==========================================================================
   ENHANCED GLASSMORPHIC DISPATCH CONSOLE
   ========================================================================== */
.hero-dispatch-console {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: saturate(190%) blur(20px) !important;
  -webkit-backdrop-filter: saturate(190%) blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 
    0 25px 50px -12px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(226, 232, 240, 0.6),
    inset 0 1px 1px rgba(255, 255, 255, 0.95) !important;
}

/* ==========================================================================
   REDESIGNED ARCHITECTURAL GLASSMORPHIc TRUST HUD BAR
   ========================================================================== */
.architectural-trust-hud {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1.15fr;
  align-items: center;
  margin: 1.75rem 0 2.5rem;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  position: relative;
  overflow: hidden;
}

.architectural-trust-hud::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(185, 28, 28, 0.6) 50%, transparent 100%);
}

.hud-stat-cell {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 0.5rem 0.75rem;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hud-stat-cell:hover {
  transform: translateY(-2px);
}

.hud-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.hud-icon-badge.crimson {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.hud-stat-data {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hud-stat-value {
  font-family: var(--font-mono, monospace);
  font-size: 2.15rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex;
  align-items: baseline;
}

.hud-stat-value.crimson {
  color: #b91c1c;
}

.hud-plus {
  font-size: 1.4rem;
  font-weight: 700;
  color: #b91c1c;
  margin-left: 2px;
}

.hud-unit {
  font-size: 1.35rem;
  font-weight: 700;
  color: #b91c1c;
  margin-left: 2px;
}

.hud-stat-title {
  font-size: 0.825rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}

.hud-stat-meta {
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.01em;
}

.hud-divider {
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, transparent 0%, #e2e8f0 30%, #e2e8f0 70%, transparent 100%);
}

@media (max-width: 1024px) {
  .architectural-trust-hud {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
    padding: 1.35rem 1.25rem;
  }
  .hud-divider {
    display: none;
  }
}

@media (max-width: 640px) {
  .architectural-trust-hud {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    padding: 1.25rem 1rem;
  }
  .hud-stat-cell {
    padding: 0.25rem 0;
  }
}



/* ==========================================================================
   MOVING / FLOATING INFINITE CLIENTS MARQUEE TICKER
   ========================================================================== */
.trusted-brands-strip {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline-subtle, #e2e8f0);
  width: 100%;
  clear: both;
}

.marquee-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: infiniteMarquee 30s linear infinite;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes infiniteMarquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.brand-logo-item {
  flex-shrink: 0;
  width: 200px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  box-sizing: border-box;
  transition: all 0.25s ease;
  filter: grayscale(20%);
  opacity: 0.92;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.brand-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.brand-logo-img {
  width: auto;
  max-width: 90%;
  height: auto;
  max-height: 44px;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   UNIFIED RESPONSIVE CONVERSION DOCK (DESKTOP PILL / MOBILE STICKY DOCK)
   ========================================================================== */
.unified-action-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.dock-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.dock-btn-call {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dock-btn-call:hover {
  background: #000000;
  transform: translateY(-2px) scale(1.02);
  color: #ffffff;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.3);
}

.dock-btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
}

.dock-btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px) scale(1.02);
  color: #ffffff;
  box-shadow: 0 12px 28px -4px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
  .unified-action-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    flex-direction: row;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--hairline-strong, #cbd5e1);
    padding: 0.65rem 0.75rem;
    padding-bottom: max(0.65rem, env(safe-area-inset-bottom, 12px));
    gap: 0.6rem;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.1);
    border-radius: 0;
  }

  .dock-action-btn {
    flex: 1;
    border-radius: 8px;
    padding: 0.7rem 0.5rem;
    min-height: 48px;
    justify-content: center;
    box-shadow: none;
    font-size: 0.825rem;
    text-align: center;
  }

  .dock-btn-call {
    background: #0f172a;
    color: #ffffff;
    border: 1px solid #0f172a;
  }

  .dock-btn-whatsapp {
    background: #25D366;
    color: #ffffff;
    border: 1px solid #20ba5a;
  }

  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 16px));
  }
}

@media (max-width: 400px) {
  .unified-action-dock {
    padding: 0.5rem 0.4rem;
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom, 10px));
    gap: 0.4rem;
  }
  .dock-action-btn {
    font-size: 0.775rem;
    padding: 0.6rem 0.25rem;
    gap: 6px;
  }
}


/* ==========================================================================
   ENG. ABDUL MAJEED PHOTO FRAME STYLING
   ========================================================================== */
.leader-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.25);
}

.leader-photo-frame .leader-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ==========================================================================
   CRO ENHANCEMENTS: REASSURANCE STRIP & AVATARS
   ========================================================================== */
.hero-reassurance-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.25rem;
  margin-top: 1.25rem;
}

.reassurance-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono, monospace);
  font-size: 0.775rem;
  font-weight: 600;
  color: #334155;
  letter-spacing: 0.01em;
}

.reassurance-item svg {
  color: #059669; /* clean forest emerald */
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .hero-reassurance-strip {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.engineer-avatar-wrapper {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
}

.engineer-thumb-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
  display: block;
}

.engineer-status-online {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: #10b981;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
  animation: pulse-online 2s infinite ease-in-out;
}

@keyframes pulse-online {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.18); opacity: 0.85; }
}

.btn-hero-cta {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px -2px rgba(185, 28, 28, 0.35);
}

.btn-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -2px rgba(185, 28, 28, 0.45);
}

.btn-console-submit {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.28);
}

.btn-console-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(185, 28, 28, 0.38);
}

.console-guarantee-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.75rem;
  text-align: center;
}

.console-guarantee-note svg {
  color: #059669;
  flex-shrink: 0;
}

/* ==========================================================================
   SCROLL REVEAL & UI MICRO-ANIMATIONS
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }

/* Subtle Sinuous Wave Flow Animation */
@keyframes waveDashFlow {
  0% { stroke-dashoffset: 48; }
  100% { stroke-dashoffset: 0; }
}

.process-wave-svg path:first-child {
  animation: waveDashFlow 24s linear infinite;
}


/* Anchor Scroll Margin for Sticky Header */
section[id] {
  scroll-margin-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .marquee-track,
  .floating-testimonials-track {
    animation: none !important;
  }
}
