/* ==========================================================================
   Cornerstone IT Solutions — Soft, Welcoming & Conversion-First Bento UI
   Zero-Jargon | Mobile-First Responsive (375px / 768px / 1280px) | Apple / Stripe Polish
   ========================================================================== */

:root {
  /* Warm Alabaster & Soft Slate Surfaces */
  --bg-canvas: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.90);
  --bg-card-solid: #ffffff;
  --bg-dark-card: #0f172a;
  --bg-glass: rgba(255, 255, 255, 0.82);

  /* Typography Colors */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-on-dark: #f8fafc;

  /* Brand & Semantic Accents */
  --brand-primary: #2563eb;
  --brand-primary-hover: #1d4ed8;
  --brand-secondary: #4f46e5;
  --brand-sky: #0ea5e9;
  --brand-emerald: #10b981;
  --brand-whatsapp: #16a34a;
  --brand-whatsapp-hover: #15803d;
  --brand-amber: #f59e0b;

  /* Borders & Soft Shadows */
  --border-hairline: rgba(15, 23, 42, 0.08);
  --border-focus: rgba(37, 99, 235, 0.45);
  --shadow-soft: 0 10px 30px -10px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-elevated: 0 20px 45px -12px rgba(37, 99, 235, 0.12), 0 8px 20px -6px rgba(15, 23, 42, 0.06);
  --shadow-glow-blue: 0 10px 25px -5px rgba(37, 99, 235, 0.35);
  --shadow-glow-wa: 0 10px 25px -5px rgba(22, 163, 74, 0.35);

  /* Radii & Spacing */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  min-height: 100vh;
  background-color: var(--bg-canvas);
  background-image:
    radial-gradient(at 12% 8%, rgba(56, 189, 248, 0.12) 0px, transparent 48%),
    radial-gradient(at 88% 12%, rgba(99, 102, 241, 0.10) 0px, transparent 50%),
    radial-gradient(at 50% 65%, rgba(16, 185, 129, 0.07) 0px, transparent 55%);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Ambient Constellation Particle Canvas */
#ambientCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   Layout Container & Utility Classes
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-spacing {
  padding: 5.5rem 0;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand-primary);
  border: 1px solid rgba(37, 99, 235, 0.16);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background-color: var(--brand-emerald);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: pulseDot 2.4s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.18); opacity: 0.75; }
}

/* ==========================================================================
   Sticky Glass Header / Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 14, 28, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.16);
  transition: box-shadow 0.25s var(--ease-spring);
}

.site-header.scrolled {
  box-shadow: 0 8px 24px -4px rgba(2, 6, 23, 0.6);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: #ffffff;
}

.brand-emblem-svg {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-spring), filter 0.25s ease;
}

.brand-logo:hover .brand-emblem-svg {
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
  transform: scale(1.03);
}

.brand-text-lockup {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #ffffff;
  line-height: 1;
}

.brand-tagline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #38bdf8;
  text-transform: uppercase;
  margin-top: 4px;
}

.tagline-rule {
  height: 1px;
  width: 14px;
  background: rgba(56, 189, 248, 0.5);
}

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

.nav-links a {
  text-decoration: none;
  color: #cbd5e1;
  font-size: 0.925rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #00f0ff;
}

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

/* ==========================================================================
   Buttons & Micro-Interactions
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.925rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s var(--ease-spring), background-color 0.2s ease;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: #ffffff;
  box-shadow: var(--shadow-glow-blue);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px -6px rgba(37, 99, 235, 0.45);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #22c55e, var(--brand-whatsapp));
  color: #ffffff;
  box-shadow: var(--shadow-glow-wa);
}

.btn-whatsapp:hover {
  background: var(--brand-whatsapp-hover);
  box-shadow: 0 14px 30px -6px rgba(22, 163, 74, 0.45);
}

.btn-soft {
  background: var(--bg-card-solid);
  color: var(--text-primary);
  border-color: var(--border-hairline);
  box-shadow: var(--shadow-soft);
}

.btn-soft:hover {
  border-color: rgba(37, 99, 235, 0.25);
  color: var(--brand-primary);
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy,
.ai-visual-card {
  min-width: 0;
}

.hero-title {
  font-size: clamp(2.25rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 1.15rem 0;
  color: var(--text-primary);
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 50%, var(--brand-sky) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 60ch;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.25rem;
}

.hero-trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-hairline);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
}

.trust-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--brand-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.trust-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.trust-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Modern Sleek Tech Illustrations & Showcase Visuals (Replaces Placeholders)
   ========================================================================== */

.ai-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(145deg, #090d16 0%, #0f172a 60%, #172554 100%);
  color: var(--text-on-dark);
  padding: 1.85rem;
  box-shadow: var(--shadow-elevated), 0 0 40px -10px rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.16);
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ai-visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 15%, rgba(56, 189, 248, 0.32), transparent 45%),
    radial-gradient(circle at 20% 85%, rgba(99, 102, 241, 0.28), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.2), transparent 55%);
  pointer-events: none;
  z-index: 1;
}

.ai-visual-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: brightness(0.8) contrast(1.15) saturate(1.2);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.6s var(--ease-spring);
}

.ai-visual-card:hover .ai-visual-bg-photo {
  transform: scale(1.04);
}

.ai-visual-header,
.noc-telemetry-deck,
.ai-visual-footer {
  position: relative;
  z-index: 2;
}

.ai-visual-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
  font-weight: 700;
  color: #bae6fd;
  overflow-wrap: break-word;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ==========================================================================
   Executive Live Systems NOC Telemetry Deck
   ========================================================================== */

.noc-telemetry-deck {
  margin: 1.15rem 0;
  border-radius: var(--radius-md);
  background: rgba(13, 21, 39, 0.78);
  border: 1px solid rgba(56, 189, 248, 0.24);
  padding: 1.15rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px -4px rgba(2, 6, 23, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.telemetry-deck-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0.75rem;
}

.telemetry-hub-title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  overflow-wrap: break-word;
}

.telemetry-hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.65rem;
}

.pulse-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
  animation: pulseDot 2s infinite ease-in-out;
}

.telemetry-rows {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.telemetry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.telemetry-row:hover {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateX(3px);
}

.telemetry-row-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1 1 180px;
}

.telemetry-row-left > div {
  min-width: 0;
  flex: 1;
}

.telemetry-icon {
  font-size: 1.15rem;
  line-height: 1;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.telemetry-row-left strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.telemetry-row-left span {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.telemetry-status-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
}

.telemetry-status-tag.success {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.telemetry-status-tag.info {
  background: rgba(14, 165, 233, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.ai-visual-caption {
  font-size: 0.9rem;
  color: #cbd5e1;
}

.ai-visual-caption strong {
  color: #ffffff;
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.telemetry-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.75);
  font-size: 0.75rem;
  font-weight: 700;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

/* ==========================================================================
   Section Headers & Filter Bar
   ========================================================================== */

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section-title {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.75rem 0;
  color: var(--text-primary);
}

.section-lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.bento-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

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

.filter-pill {
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.filter-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.audit-selection-bar {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 0.75rem;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.3);
  font-size: 0.85rem;
  font-weight: 700;
  color: #1d4ed8;
}

/* ==========================================================================
   Bento Grid Architecture (16 Symmetrical Services, Equal-Height Grid)
   ========================================================================== */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.bento-card,
.process-card,
.audit-info,
.audit-wrapper > div,
.health-check-option,
.guide-link-card {
  min-width: 0;
}

.bento-card {
  position: relative;
  background: linear-gradient(165deg, rgba(13, 21, 39, 0.94) 0%, rgba(8, 14, 28, 0.98) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 8px 32px -4px rgba(2, 6, 23, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-spring), border-color 0.25s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 240, 255, 0.55);
  box-shadow: 0 0 24px -4px rgba(0, 240, 255, 0.25), 0 12px 36px -6px rgba(2, 6, 23, 0.85);
}

.bento-card.selected-for-audit {
  background: linear-gradient(165deg, rgba(16, 28, 54, 0.96) 0%, rgba(10, 18, 36, 0.98) 100%);
  border-color: #00f0ff;
  box-shadow: 0 0 0 2px #00f0ff, 0 0 24px rgba(0, 240, 255, 0.35);
}

/* Flex stretch inner wrappers for equal-height vertical rhythm */
.bento-card > div:first-child {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bento-card p {
  flex-grow: 1;
}

/* Dedicated 16:9 Image Thumbnail Container for Hardware/Physical Services */
.service-media-thumbnail {
  width: 100%;
  height: 140px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.bento-card:hover .service-thumb-img {
  transform: scale(1.05);
}

.bento-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

/* Rich Gradient Icon Header */
.service-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.12) 0%, rgba(37, 99, 235, 0.2) 100%);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 2px 8px -2px rgba(0, 240, 255, 0.15);
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.bento-card:hover .service-icon-box {
  transform: scale(1.05);
  box-shadow: 0 4px 16px -2px rgba(0, 240, 255, 0.35);
  color: #00f0ff;
}

.service-category-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.85);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.service-category-tag.flagship {
  background: rgba(37, 99, 235, 0.25);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.5);
  font-weight: 800;
}

/* Crisp High-Contrast Typography */
.bento-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.5rem;
}

.bento-card p {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.6;
  color: #e2e8f0 !important;
  margin-bottom: 1.25rem;
}

.bento-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.service-outcome {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8 !important;
}

.btn-select-service {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(0, 240, 255, 0.35);
  background: rgba(0, 240, 255, 0.1);
  color: #38bdf8;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-select-service:hover {
  background: #00f0ff;
  color: #020617;
  border-color: #00f0ff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

.bento-card.selected-for-audit .btn-select-service {
  background: #00f0ff;
  color: #020617;
  border-color: #00f0ff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

/* Hidden state for category filters */
.bento-card.hidden-by-filter {
  display: none;
}

/* ==========================================================================
   How the Free Audit Works (3-Step Soft Strip)
   ========================================================================== */

.process-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.process-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}

.process-step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-primary);
  font-weight: 800;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.process-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.process-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Contact & Free Audit Form Section
   ========================================================================== */

.audit-section {
  padding: 5.5rem 0;
}

.audit-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-elevated);
}

.audit-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
}

.audit-checklist {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.audit-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.check-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--brand-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 800;
  font-size: 0.75rem;
}

.whatsapp-direct-card {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.08), rgba(16, 185, 129, 0.12));
  border: 1px solid rgba(22, 163, 74, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.whatsapp-direct-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.whatsapp-direct-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Form Elements */
.audit-form {
  display: grid;
  gap: 1.15rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: var(--bg-canvas);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.segment-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.segment-option {
  position: relative;
}

.segment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segment-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: var(--bg-canvas);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
}

.segment-option input:checked + .segment-label {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.selected-tags-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-height: 1.5rem;
}

.selected-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand-primary);
  font-size: 0.76rem;
  font-weight: 700;
}

.selected-tag-chip button {
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.form-actions .btn {
  flex: 1 1 220px;
}

.form-status-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* Local Confirmation Card (Rich Feedback & WhatsApp Handoff) */
.audit-confirmation-box {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.08) 0%, rgba(37, 99, 235, 0.08) 100%);
  border: 1px solid rgba(22, 163, 74, 0.3);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  margin-top: 0.5rem;
  animation: slideInConfirmation 0.3s var(--ease-spring);
}

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

.audit-confirmation-box h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #15803d;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.audit-confirmation-box p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* ==========================================================================
   Floating WhatsApp Button & Toast Notification
   ========================================================================== */

.floating-whatsapp {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #22c55e, var(--brand-whatsapp));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 14px 32px -6px rgba(22, 163, 74, 0.5);
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 36px -6px rgba(22, 163, 74, 0.65);
}

.toast-container {
  position: fixed;
  bottom: 5.25rem;
  right: 1.5rem;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 380px;
}

.toast-message {
  background: var(--bg-dark-card);
  color: #ffffff;
  padding: 0.95rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  animation: slideInToast 0.25s var(--ease-spring);
}

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

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  z-index: 10;
  padding: 3rem 0;
  border-top: 1px solid var(--border-hairline);
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #334155;
  line-height: 1.4;
}

.footer-brand-lockup .brand-emblem-svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.footer-brand-text {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.footer-compliance-text {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 2px;
  font-family: monospace;
}

.footer-brand-text strong {
  color: var(--text-primary);
  letter-spacing: 0.04em;
  font-weight: 800;
}

.audit-badge-wrapper {
  margin-bottom: 0.65rem;
}

.audit-badge-wrapper .badge-pill {
  padding: 0.35rem 0.85rem;
  font-size: 0.825rem;
  gap: 0.55rem;
}

.audit-badge-wrapper .brand-emblem-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ==========================================================================
   Responsive Breakpoints (Desktop 1280px -> Tablet 768px -> Mobile 375px)
   ========================================================================== */

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

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

  .audit-wrapper {
    grid-template-columns: minmax(0, 1fr);
    padding: 2rem;
  }
}

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

  .audit-section {
    padding: 3.75rem 0 5.5rem; /* Extra bottom clearance so floating WhatsApp button never covers inputs/buttons */
  }

  .form-control {
    font-size: 16px; /* Prevents auto-zoom on mobile inputs */
  }

  .nav-links {
    display: none;
  }

  .hero-trust-strip,
  .process-strip,
  .form-row-2,
  .segment-group {
    grid-template-columns: minmax(0, 1fr);
  }

  .bento-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .audit-wrapper {
    padding: 1.5rem;
  }

  .floating-whatsapp {
    bottom: 1.15rem;
    right: 1.15rem;
    padding: 0.75rem 1rem;
  }

  .floating-whatsapp span {
    display: none;
  }
}

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

  .nav-bar {
    min-height: 4rem;
  }

  .brand-emblem-svg {
    width: 34px;
    height: 34px;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-tagline {
    font-size: 0.58rem;
    letter-spacing: 0.22em;
  }

  .nav-actions .btn {
    padding: 0.6rem 0.95rem;
    font-size: 0.825rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .audit-wrapper {
    padding: 1.15rem;
    border-radius: var(--radius-lg);
  }

  .form-actions .btn {
    width: 100%;
    flex: 1 1 100%;
  }
}

/* ==========================================================================
   WCAG 2.2 AA SKIP LINK
   ========================================================================== */
.skip-link {
  position: fixed;
  top: -120px;
  left: 1.5rem;
  background: #0b1329;
  color: #ffffff;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 2px solid #00f0ff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  z-index: 99999;
  transition: top 0.2s ease-in-out;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 1.25rem;
  outline: 3px solid #38bdf8;
}

/* ==========================================================================
   CSP-Safe Utility & Extracted Inline Styles (Zero 'unsafe-inline')
   ========================================================================== */
.section-tight-top {
  padding-top: 1rem;
}

.audit-title-tight {
  margin-top: 0.85rem;
}

.btn-full {
  width: 100%;
}

.btn-center {
  justify-content: center;
}

.popia-group {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.popia-checkbox {
  margin-top: 0.25rem;
  accent-color: var(--brand-primary);
  flex-shrink: 0;
}

.popia-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  font-weight: 500;
}

.popia-link {
  color: var(--brand-primary);
  text-decoration: underline;
}

.footer-links-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.1rem;
}

.footer-links-nav a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-nav a:hover {
  color: var(--brand-primary);
}

.footer-links-nav a.footer-wa-link {
  color: #16a34a;
  font-weight: 700;
}

/* JS Controller Programmatic Classes */
.toast-check {
  color: #10b981;
  font-weight: 800;
}

.toast-exit {
  opacity: 0 !important;
  transform: translateY(8px) !important;
  transition: all 0.2s ease !important;
}

.empty-services-hint {
  font-size: 0.8rem;
  color: #64748b;
}

.confirmation-emoji {
  font-size: 1.2rem;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.btn-copy-summary {
  background: rgba(15, 23, 42, 0.06);
  color: var(--text-primary);
  border: 1px solid rgba(15, 23, 42, 0.14);
}

.btn-copy-summary:hover {
  background: rgba(15, 23, 42, 0.12);
}

/* ==========================================================================
   Gauteng Local Coverage Strip & 60-Second IT Health Check
   ========================================================================== */
.health-check-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #090d16 0%, #0f172a 55%, #172554 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: #f8fafc;
  box-shadow: var(--shadow-elevated), 0 20px 50px -15px rgba(2, 6, 23, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.health-check-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(56, 189, 248, 0.22), transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(99, 102, 241, 0.2), transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(16, 185, 129, 0.12), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.health-check-card > * {
  position: relative;
  z-index: 1;
}

.health-check-card .section-title {
  color: #ffffff;
}

.health-check-card .section-lead {
  color: #cbd5e1;
  max-width: 62ch;
}

.health-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.75rem 0;
}

.health-check-option {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(56, 189, 248, 0.24);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.health-check-option:hover {
  border-color: rgba(0, 240, 255, 0.5);
  background: rgba(56, 189, 248, 0.1);
  transform: translateY(-2px);
}

.health-check-option:has(.health-check-input:checked) {
  border-color: rgba(0, 240, 255, 0.68);
  background: rgba(56, 189, 248, 0.15);
  box-shadow: 0 0 22px -6px rgba(0, 240, 255, 0.35);
}

.health-check-option input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  accent-color: #00f0ff;
  flex-shrink: 0;
}

.health-check-option strong {
  display: block;
  color: #ffffff;
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}

.health-check-option span {
  display: block;
  color: #cbd5e1;
  font-size: 0.85rem;
  line-height: 1.45;
}

.health-check-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(56, 189, 248, 0.16);
}

.health-check-result {
  font-size: 0.92rem;
  color: #bae6fd;
  font-weight: 600;
}

/* ==========================================================================
   SEO Service Guides Strip & FAQ Accordion
   ========================================================================== */
.coverage-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.coverage-chip {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand-primary);
  border: 1px solid rgba(37, 99, 235, 0.18);
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.guide-link-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-card-solid);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.2s var(--ease-spring), border-color 0.2s ease, box-shadow 0.2s ease;
}

.guide-link-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-elevated);
}

.guide-link-card strong {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-primary);
}

.guide-link-card span {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.guide-link-cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 1.4rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 0 1.4rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px solid var(--border-hairline);
  padding-top: 0.95rem;
}

/* ==========================================================================
   Legal, Service Guide & 404 Pages (CSP-Safe Shared Classes)
   ========================================================================== */
.legal-main {
  padding: 3.5rem 0 4.5rem;
}

.legal-card {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-elevated);
  color: #e2e8f0;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-card h1 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 1rem 0 0.5rem;
}

.legal-updated {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
}

.legal-intro {
  font-size: 1.05rem;
}

.legal-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 2.25rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(56, 189, 248, 0.12);
}

.legal-card p,
.legal-card li {
  font-size: 1rem;
  line-height: 1.7;
  color: #e2e8f0;
}

.legal-card p {
  margin: 0 0 0.85rem;
}

.legal-card ul {
  list-style: disc;
  padding-left: 1.35rem;
  margin: 0.5rem 0 1rem;
}

.legal-card li {
  margin-bottom: 0.4rem;
}

.legal-card strong {
  color: #ffffff;
}

.legal-card a:not(.btn) {
  color: #38bdf8;
  font-weight: 600;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal-card a:not(.btn):focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
  border-radius: 4px;
}

.legal-contact {
  display: grid;
  gap: 0.4rem;
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}

.legal-contact p {
  margin: 0;
}

.legal-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(56, 189, 248, 0.12);
}

.legal-cta .btn {
  flex: 1 1 240px;
  justify-content: center;
}

.legal-footer-links a {
  color: inherit;
  margin-right: 1rem;
}

.service-hero-banner {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid rgba(56, 189, 248, 0.22);
  margin: 1.25rem 0 1.5rem;
  display: block;
}

.service-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.service-breadcrumb a {
  color: #38bdf8;
  text-decoration: none;
}

/* 404 Page */
.error-page-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.5rem;
  background: var(--bg-canvas);
}

.error-main {
  max-width: 580px;
  width: 100%;
  text-align: center;
}

.error-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-elevated);
}

.error-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  text-decoration: none;
}

.error-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.error-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.error-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.error-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  justify-content: center;
  align-items: stretch;
}

@media (max-width: 1080px) {
  .guides-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ai-visual-card {
    padding: 1.15rem;
    min-height: 0;
  }
  .ai-visual-tag {
    font-size: 0.7rem;
    padding: 0.35rem 0.7rem;
  }
  .noc-telemetry-deck {
    margin: 0.9rem 0;
    padding: 0.85rem;
  }
  .telemetry-deck-header {
    gap: 0.5rem;
  }
  .telemetry-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.7rem 0.8rem;
  }
  .telemetry-row-left {
    width: 100%;
    flex: none;
    align-items: flex-start;
    gap: 0.65rem;
  }
  .telemetry-status-tag {
    margin-left: calc(32px + 0.65rem);
    max-width: calc(100% - 32px - 0.65rem);
    white-space: normal;
  }
  .telemetry-badge {
    max-width: 100%;
  }
  .health-check-card {
    padding: 1.5rem 1.25rem;
  }
  .health-check-footer .btn {
    width: 100%;
    justify-content: center;
  }
  .health-check-grid,
  .guides-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .legal-main {
    padding: 2rem 0 3rem;
  }
  .legal-card {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-lg);
  }
  .legal-contact {
    padding: 1rem;
  }
}

/* ==========================================================================
   Audit Form Honeypot, Submit Busy State & Fallback Confirmation Variant
   ========================================================================== */

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.btn:disabled,
.btn[aria-busy="true"] {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.audit-confirmation-box.is-fallback {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(37, 99, 235, 0.08) 100%);
  border-color: rgba(245, 158, 11, 0.4);
}

.audit-confirmation-box.is-fallback h4 {
  color: #b45309;
}
