/* ==========================================================================
   RadVantage Teleradiology - Master Stylesheet
   Display & Aesthetic: Classy, Premium Australian Medical Architecture
   Official Brand Palette: Deep Authority Navy (#113255) & Medical Slate Teal (#4E8B8E)
   ========================================================================== */

:root {
  /* Official Brand Colors */
  --brand-navy: #113255;
  --brand-navy-deep: #0B1F35;
  --brand-navy-darkest: #071626;
  --brand-navy-surface: #183C63;
  --brand-navy-card: #1D446E;
  --brand-navy-border: #234E7D;

  --brand-teal: #4E8B8E;
  --brand-teal-light: #64A3A6;
  --brand-teal-deep: #3A6F72;
  --brand-teal-subtle: rgba(78, 139, 142, 0.09);
  --brand-teal-border: rgba(78, 139, 142, 0.22);
  --brand-teal-glow: rgba(78, 139, 142, 0.28);
  --brand-teal-soft-bg: #F2F7F8;

  /* Aliases for semantic & backward compatibility */
  --cyan-primary: var(--brand-teal);
  --navy-surface: var(--brand-navy-surface);
  --navy-base: var(--brand-navy);
  --cyan-electric: var(--brand-teal-light);
  --cyan-bright: var(--brand-teal-light);
  --navy-base: var(--brand-navy-deep);
  --navy-dark: var(--brand-navy-darkest);

  /* Clinical Status Accents */
  --medical-mint: #2EA07F;
  --medical-mint-glow: rgba(46, 160, 127, 0.25);
  
  /* Neutrals & Medical Surface Tones */
  --white: #FFFFFF;
  --cool-grey-50: #F8FAFB;
  --cool-grey-100: #F0F4F7;
  --cool-grey-200: #E2E8EE;
  --cool-grey-300: #CBD5E0;
  --cool-grey-400: #94A3B8;

  /* Refined Typography Tones */
  --text-heading: #0B1F35;
  --text-body: #33485E;
  --text-muted: #647C92;
  --text-light: #94A8BC;

  /* Glassmorphism & Elevation */
  --glass-bg: rgba(255, 255, 255, 0.90);
  --glass-border: rgba(226, 232, 238, 0.85);
  --glass-dark-bg: rgba(11, 31, 53, 0.88);
  --glass-dark-border: rgba(78, 139, 142, 0.20);
  
  --shadow-sm: 0 1px 3px rgba(11, 31, 53, 0.04);
  --shadow-md: 0 4px 14px -2px rgba(11, 31, 53, 0.07), 0 2px 6px -1px rgba(11, 31, 53, 0.03);
  --shadow-lg: 0 14px 32px -4px rgba(11, 31, 53, 0.10), 0 6px 16px -4px rgba(11, 31, 53, 0.04);
  --shadow-teal-glow: 0 8px 24px -4px rgba(78, 139, 142, 0.32);

  /* Layout Constants */
  --header-height: 88px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-heading);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.65;
  color: var(--text-body);
  overflow-x: hidden;
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

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

/* --------------------------------------------------------------------------
   Utility Layout & Containers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-sm {
  padding: 64px 0;
}

.bg-white {
  background-color: var(--white);
}

.bg-grey {
  background-color: var(--cool-grey-50);
}

.bg-teal-soft {
  background-color: var(--brand-teal-soft-bg);
}

.bg-navy {
  background-color: var(--brand-navy-deep);
  color: var(--white);
}

.bg-navy-dark {
  background-color: var(--brand-navy-darkest);
  color: var(--white);
}

.text-teal {
  color: var(--brand-teal);
}

.text-navy {
  color: var(--brand-navy);
}

.text-gradient {
  background: linear-gradient(135deg, #4E8B8E 0%, #64A3A6 60%, #87BDBF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-mint {
  color: var(--medical-mint);
}

/* --------------------------------------------------------------------------
   Section Headers
   -------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-badge,
.hero-badge,
.card-badge,
.footer-compliance-tag {
  display: none !important;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-navy-deep);
  line-height: 1.22;
  margin-bottom: 18px;
}

.bg-navy .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.bg-navy .section-subtitle {
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   Buttons & Links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.975rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

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

/* Primary Navy Button */
.btn-primary {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-deep) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(17, 50, 85, 0.28);
  border: 1px solid rgba(78, 139, 142, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-navy-deep) 0%, var(--brand-navy-darkest) 100%);
  box-shadow: 0 6px 20px rgba(17, 50, 85, 0.4);
  color: var(--white);
}

/* Classy Medical Teal Button */
.btn-teal,
.btn-cyan {
  background: linear-gradient(135deg, #4E8B8E 0%, #3B7275 100%);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(78, 139, 142, 0.32);
}

.btn-teal:hover,
.btn-cyan:hover {
  background: linear-gradient(135deg, #5B9B9E 0%, #468285 100%);
  box-shadow: var(--shadow-teal-glow);
  transform: translateY(-2px);
  color: var(--white);
}

/* Secondary Clean Outline */
.btn-secondary {
  background-color: var(--white);
  color: var(--brand-navy);
  border-color: var(--cool-grey-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--brand-teal);
  color: var(--brand-teal-deep);
  box-shadow: var(--shadow-md);
}

.btn-ghost-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Global Header (Glassmorphic Navigation)
   -------------------------------------------------------------------------- */
.global-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: var(--transition);
}

.global-header.scrolled {
  box-shadow: 0 4px 22px rgba(11, 31, 53, 0.08);
  height: 80px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo {
  height: 44px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-link:hover .header-logo {
  transform: scale(1.02);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--brand-navy);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-teal-deep);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-teal), var(--brand-teal-light));
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-only-cta {
  display: none;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--brand-navy);
  padding: 8px;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 53, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   Hero Section with Interactive Particle Canvas
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 22%, #173A62 0%, #0E2542 60%, #071626 100%);
  color: var(--white);
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 70px;
  overflow: hidden;
}

.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hero-bg-animation canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero-headline {
  font-size: 3.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--white);
}

.hero-subheadline {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--cool-grey-300);
  max-width: 780px;
  margin: 0 auto 36px auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--cool-grey-300);
}

.trust-item svg {
  color: var(--brand-teal-light);
}

/* --------------------------------------------------------------------------
   Feature Cards & Grid System
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--cool-grey-200);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(78, 139, 142, 0.45);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--brand-teal-subtle);
  color: var(--brand-teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: var(--transition);
}

.service-card:hover .card-icon {
  background: var(--brand-teal);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(78, 139, 142, 0.35);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-navy-deep);
  margin-bottom: 12px;
}

.card-text {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex-grow: 1;
}

/* Dark Card Variant */
.dark-card {
  background: var(--brand-navy-surface);
  border: 1px solid var(--brand-navy-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
}

.dark-card:hover {
  transform: translateY(-4px);
  border-color: rgba(78, 139, 142, 0.45);
  box-shadow: 0 12px 30px rgba(7, 22, 38, 0.35);
}

.dark-card .card-title {
  color: var(--white);
}

.dark-card .card-text {
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   Interactive Component 1: Backlog & SLA Turnaround Calculator
   -------------------------------------------------------------------------- */
.calculator-box {
  background: var(--white);
  border: 1px solid var(--cool-grey-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-group-title {
  font-size: 0.925rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--brand-navy-deep);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modality-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modality-btn {
  background: var(--cool-grey-50);
  border: 1px solid var(--cool-grey-200);
  color: var(--text-heading);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.modality-btn:hover {
  border-color: var(--brand-teal);
}

.modality-btn.selected {
  background: var(--brand-teal);
  border-color: var(--brand-teal);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(78, 139, 142, 0.3);
}

.range-slider-wrapper {
  margin-top: 6px;
}

.slider-val-display {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.slider-val-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-teal-deep);
}

.slider-unit {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.custom-range {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--cool-grey-200);
  outline: none;
  accent-color: var(--brand-teal);
  cursor: pointer;
}

.sla-radio-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.sla-option {
  position: relative;
  border: 1px solid var(--cool-grey-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  transition: var(--transition);
  background: var(--cool-grey-50);
}

.sla-option:hover {
  border-color: var(--brand-teal);
}

.sla-option.selected {
  background: var(--brand-teal-subtle);
  border-color: var(--brand-teal);
}

.sla-option input {
  position: absolute;
  opacity: 0;
}

.sla-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand-navy-deep);
  display: block;
}

.sla-desc {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* Calculator Output Card */
.calc-output-card {
  background: radial-gradient(circle at 100% 0%, var(--brand-navy-surface) 0%, var(--brand-navy-deep) 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(78, 139, 142, 0.25);
  box-shadow: 0 12px 32px rgba(7, 22, 38, 0.3);
}

.calc-output-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.calc-output-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-teal-light);
  margin-bottom: 4px;
}

.calc-output-caption {
  font-size: 0.8125rem;
  color: var(--cool-grey-300);
}

.calc-metrics-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.calc-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.calc-metric-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.calc-metric-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
}

.calc-metric-val.highlight {
  color: var(--brand-teal-light);
}

/* --------------------------------------------------------------------------
   Interactive Component 2: 4-Step PACS/RIS Integration Workflow
   -------------------------------------------------------------------------- */
.workflow-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 40px;
}

.workflow-stepper::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-navy), var(--brand-teal), var(--medical-mint));
  z-index: 1;
}

.step-card {
  position: relative;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--cool-grey-200);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.step-card:hover,
.step-card.active {
  transform: translateY(-4px);
  border-color: var(--brand-teal);
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cool-grey-50);
  border: 2px solid var(--cool-grey-200);
  color: var(--brand-navy-deep);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px auto;
  transition: var(--transition);
}

.step-card:hover .step-number,
.step-card.active .step-number {
  background: var(--brand-teal);
  border-color: var(--brand-teal-light);
  color: var(--white);
  box-shadow: 0 0 16px rgba(78, 139, 142, 0.4);
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-navy-deep);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Interactive detail preview */
.workflow-detail-display {
  background: var(--cool-grey-50);
  border: 1px solid var(--cool-grey-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.workflow-detail-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: var(--brand-teal-subtle);
  color: var(--brand-teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.workflow-detail-text h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-navy-deep);
  margin-bottom: 8px;
}

.workflow-detail-text p {
  font-size: 0.95rem;
  color: var(--text-body);
}

/* --------------------------------------------------------------------------
   Governance & Quality Metrics
   -------------------------------------------------------------------------- */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.metric-card {
  background: var(--brand-navy-surface);
  border: 1px solid var(--brand-navy-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.metric-card:hover {
  border-color: rgba(78, 139, 142, 0.45);
  transform: translateY(-2px);
}

.metric-number {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-teal-light);
  line-height: 1.1;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.metric-caption {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   Page Header (for Inner Pages: Services, Technology, etc.)
   -------------------------------------------------------------------------- */
.page-header {
  padding: calc(var(--header-height) + 48px) 0 56px 0;
  background: radial-gradient(circle at 50% 0%, var(--brand-navy-surface) 0%, var(--brand-navy-deep) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.page-subtitle {
  font-size: 1.15rem;
  color: var(--cool-grey-300);
  max-width: 740px;
  margin: 0 auto;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Contact Page & Form Elements
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--cool-grey-200);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 22px;
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-navy-deep);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text-heading);
  background: var(--white);
  border: 1px solid var(--cool-grey-200);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(78, 139, 142, 0.16);
}

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

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-detail-block {
  display: flex;
  gap: 18px;
}

.detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-teal-subtle);
  color: var(--brand-teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-navy-deep);
  margin-bottom: 4px;
}

.detail-text p, .detail-text a {
  font-size: 0.925rem;
  color: var(--text-muted);
}

.detail-text a:hover {
  color: var(--brand-teal);
}

/* --------------------------------------------------------------------------
   Global Footer
   -------------------------------------------------------------------------- */
.global-footer {
  background: var(--brand-navy-darkest);
  color: var(--cool-grey-300);
  padding: 80px 0 36px 0;
  border-top: 1px solid var(--brand-navy-surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  height: 42px;
  width: auto;
}

.footer-tagline {
  font-size: 0.925rem;
  color: var(--text-light);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col li,
.footer-col a {
  font-size: 0.9rem;
  color: var(--text-light);
}

.footer-static-item {
  display: inline-block;
  color: var(--text-light);
  cursor: default;
}

.footer-col a:hover {
  color: var(--brand-teal-light);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom a {
  color: var(--text-light);
}

.footer-bottom a:hover {
  color: var(--brand-teal-light);
}

/* --------------------------------------------------------------------------
   Print Optimisation for Visual PDF & Client Review Decks
   -------------------------------------------------------------------------- */
@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  body {
    background: #ffffff !important;
  }
  .navbar {
    position: static !important;
    box-shadow: none !important;
    border-bottom: 1px solid var(--border-color) !important;
  }
  .fade-in-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .btn {
    box-shadow: none !important;
  }
  .service-card, .trust-item, .benefit-card, .platform-card, .faq-item {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .section {
    padding: 36px 0 !important;
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  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;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

.delay-3 {
  transition-delay: 0.36s;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-headline {
    font-size: 3rem;
  }

  .calculator-box {
    grid-template-columns: 1fr;
  }

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

  .workflow-stepper::before {
    display: none;
  }

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

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

@media (max-width: 768px) {
  :root {
    --header-height: 74px;
  }

  .hero-headline {
    font-size: 2.35rem;
  }

  .hero-subheadline {
    font-size: 1.05rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .page-title {
    font-size: 2.25rem;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--cool-grey-200);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 24px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 999;
  }

  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
  }

  .nav-cta .btn {
    display: none;
  }

  .mobile-only-cta {
    display: block;
    width: 100%;
    margin-top: 8px;
  }

  .mobile-only-cta .btn {
    width: 100%;
  }

  .mobile-menu-btn {
    display: block;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .sla-radio-group {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }
}
