/* ========================================
   MASDIAG B2B WEBSITE — Design System
   Inspired by Medichecks & Thriva
   ======================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --color-primary: #0A1628;
  --color-primary-light: #162240;
  --color-accent: #00B4D8;
  --color-accent-dark: #0096B7;
  --color-accent-light: #E0F7FA;
  --color-coral: #FF6B6B;
  --color-coral-dark: #E55A5A;
  --color-white: #FFFFFF;
  --color-bg: #F7F8FA;
  --color-bg-alt: #EEF0F4;
  --color-text: #0A1628;
  --color-text-secondary: #5A6477;
  --color-text-light: #8892A4;
  --color-border: #E2E5EB;
  --color-success: #22C55E;
  --color-hero-gradient: linear-gradient(135deg, #0A1628 0%, #162240 50%, #1A2D50 100%);

  /* Typography */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  --font-size-4xl: 3.25rem;
  --font-size-5xl: 4rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 8px 30px rgba(10, 22, 40, 0.1);
  --shadow-xl: 0 16px 48px rgba(10, 22, 40, 0.12);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  -webkit-overflow-scrolling: touch;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* iOS: prevent overscroll bounce interfering with snap sections */
@supports (-webkit-touch-callout: none) {
  body {
    overscroll-behavior-y: none;
  }
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}

h1 { font-size: var(--font-size-4xl); letter-spacing: -0.02em; }
h2 { font-size: var(--font-size-3xl); letter-spacing: -0.01em; }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-md); }

p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.text-accent { color: var(--color-accent); }
.text-white { color: var(--color-white); }
.text-center { text-align: center; }
.text-light { color: var(--color-text-light); }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

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

.section {
  padding: var(--space-5xl) 0;
}

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

.section--dark {
  background: var(--color-hero-gradient);
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--dark p {
  color: rgba(255, 255, 255, 0.75);
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

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

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

.flex--between {
  justify-content: space-between;
}

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

.flex--wrap {
  flex-wrap: wrap;
}

.flex--col {
  flex-direction: column;
}

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-size: var(--font-size-base);
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  white-space: nowrap;
  line-height: 1;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 180, 216, 0.3);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.btn--outline {
  background-color: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn--outline:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

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

.btn--coral:hover {
  background-color: var(--color-coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.3);
}

.btn--dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn--dark:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1.125rem 2.5rem;
  font-size: var(--font-size-md);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--font-size-sm);
}

.btn--icon svg {
  width: 20px;
  height: 20px;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
}

/* Transparent header over fullbleed hero */
.header--transparent {
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header--transparent .header__link {
  color: rgba(255, 255, 255, 0.85);
}

.header--transparent .header__link:hover,
.header--transparent .header__link--active {
  color: var(--color-white);
}

.header--transparent .header__portal-btn {
  background-color: #e74c3c;
  border-color: #e74c3c;
  color: var(--color-white);
}

.header--transparent .header__portal-btn:hover {
  background-color: #c0392b;
  border-color: #c0392b;
}

.header--transparent .header__toggle span {
  background-color: var(--color-white);
}

/* When scrolled, override transparent back to solid */
.header--scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header--scrolled .header__link {
  color: var(--color-text);
}

.header--scrolled .header__portal-btn {
  background-color: #e74c3c;
  border-color: #e74c3c;
  color: var(--color-white);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: var(--space-md) var(--space-xl);
  max-width: var(--container-max);
  margin: 0 auto;
}

.header__logo {
  display: flex;
  align-items: center;
  justify-self: start;
}

.header__logo img {
  height: 44px;
  width: auto;
}

.header__nav {
  display: contents;
}

.header__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  justify-self: center;
}

.header__actions {
  justify-self: end;
}

.header__link {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.header__link:hover,
.header__link--active {
  color: var(--color-accent);
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-base);
}

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

/* --- Dropdown Menus --- */
.header__dropdown {
  position: relative;
}

.header__dropdown > .header__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.header__dropdown > .header__link .header__chevron {
  width: 10px;
  height: 10px;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.header__dropdown:hover > .header__link .header__chevron {
  transform: rotate(180deg);
}

.header__dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 240px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1001;
}

/* Invisible bridge between link and dropdown to prevent hover gap */
.header__dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.header__dropdown:hover .header__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.header__dropdown-link {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.header__dropdown-link:hover {
  color: var(--color-accent);
  background: rgba(0, 180, 216, 0.06);
}

/* Transparent header: chevron colour */
.header--transparent .header__chevron {
  stroke: rgba(255, 255, 255, 0.85);
}
.header--transparent .header__dropdown:hover .header__chevron {
  stroke: var(--color-white);
}

/* Scrolled / solid header: chevron colour */
.header--scrolled .header__chevron,
.header:not(.header--transparent) .header__chevron {
  stroke: var(--color-text-secondary);
}
.header--scrolled .header__dropdown:hover .header__chevron,
.header:not(.header--transparent) .header__dropdown:hover .header__chevron {
  stroke: var(--color-accent);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header__portal-btn {
  padding: 0.625rem 1.5rem;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-white);
  background-color: #e74c3c;
  border: 2px solid #e74c3c;
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
}

.header__portal-btn:hover {
  background-color: #c0392b;
  border-color: #c0392b;
  color: var(--color-white);
}

/* Mobile Menu Toggle */
.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  padding: 4px 0;
}

.header__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.header__toggle--active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__toggle--active span:nth-child(2) {
  opacity: 0;
}

.header__toggle--active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
/* --- Full-Bleed Hero (IOH-style) --- */
.hero-fullbleed {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  max-height: 1200px;
  overflow: hidden;
}

/* --- Media background (for pages with static hero images) --- */
.hero-fullbleed__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-fullbleed__media video,
.hero-fullbleed__media .hero-fullbleed__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Gradient overlay — bottom-heavy for text readability */
.hero-fullbleed__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0.4) 35%, rgba(10, 22, 40, 0.1) 60%, transparent 100%),
    linear-gradient(to right, rgba(10, 22, 40, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

/* ===== ANIMATED HERO (Blood Drop DBS) ===== */
.hero-fullbleed--animated {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: none;
  overflow: visible;
  background: linear-gradient(135deg, #0a1628 0%, #1a1a2e 40%, #16213e 100%);
  scroll-snap-align: start;
}

/* Animation area — holds blood spot + callouts as its own section */
.hero-fullbleed__animation-area {
  position: relative;
  flex: 1 0 auto;
  min-height: clamp(360px, 45vh, 520px);
  overflow: visible;
}

/* Inner content now flows above animation */
.hero-fullbleed--animated .hero-fullbleed__inner {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  flex-direction: row;
  align-items: flex-start;
  padding: clamp(4rem, 6vh, 5rem) clamp(1rem, 2.5vw, 2.5rem) clamp(8rem, 14vh, 11rem);
  z-index: 2;
}

/* Subtle radial colour wash */
.hero-fullbleed__bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(180, 40, 60, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(120, 30, 50, 0.06) 0%, transparent 50%);
  z-index: 0;
}

/* --- Floating ambient particles --- */
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(192, 57, 43, 0.15);
  animation: heroParticleFloat 8s ease-in-out infinite;
  z-index: 0;
}
.hero-particle:nth-child(1) { width: 6px; height: 6px; top: 20%; left: 15%; animation-delay: 0s; }
.hero-particle:nth-child(2) { width: 4px; height: 4px; top: 60%; left: 25%; animation-delay: 2s; }
.hero-particle:nth-child(3) { width: 8px; height: 8px; top: 30%; left: 80%; animation-delay: 4s; }
.hero-particle:nth-child(4) { width: 5px; height: 5px; top: 70%; left: 65%; animation-delay: 1s; }
.hero-particle:nth-child(5) { width: 3px; height: 3px; top: 45%; left: 45%; animation-delay: 3s; }
.hero-particle:nth-child(6) { width: 7px; height: 7px; top: 80%; left: 85%; animation-delay: 5s; }

@keyframes heroParticleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-30px) scale(1.3); opacity: 0.6; }
}

/* ===== BIOMARKER MAP — Filter paper + blood spread + callouts ===== */

.dbs-map {
  position: absolute;
  top: 53%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 640px;
  z-index: 1;
}

/* Pulsing glow rings */
.dbs-map__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(192, 57, 43, 0.10);
  opacity: 0;
  animation: dbsRingPulse 3.5s ease-out infinite;
}
.dbs-map__ring--1 { width: 340px; height: 340px; animation-delay: 0.8s; }
.dbs-map__ring--2 { width: 450px; height: 450px; animation-delay: 1.8s; }

@keyframes dbsRingPulse {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
  30%  { opacity: 0.5; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.15); }
}

/* --- Filter paper circle --- */
.dbs-map__paper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: #f5f0eb;
  box-shadow:
    0 0 0 2px rgba(200, 190, 180, 0.25),
    0 0 80px rgba(200, 190, 180, 0.06);
  opacity: 0;
  overflow: hidden;
  animation: dbsPaperAppear 0.8s ease-out 0.2s forwards;
}

.dbs-map__dashed-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 222px;
  height: 222px;
  border-radius: 50%;
  border: 1.5px dashed rgba(150, 140, 130, 0.35);
  transition: opacity 1s ease;
}
.dbs-map__paper.filled .dbs-map__dashed-ring { opacity: 0; }

@keyframes dbsPaperAppear {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Blood spot — grows inside paper */
.dbs-map__spot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 38%,
    #e74c3c 0%, #c0392b 30%, #a93226 55%, #922b21 75%, #7b241c 100%
  );
  box-shadow:
    0 0 40px rgba(192, 57, 43, 0.3),
    0 0 80px rgba(192, 57, 43, 0.1),
    inset 0 -6px 25px rgba(0, 0, 0, 0.25),
    inset 0 6px 15px rgba(255, 100, 80, 0.12);
  opacity: 0;
  animation: dbsSpotGrow 2.5s ease-out 0.8s forwards;
}

.dbs-map__spot::after {
  content: '';
  position: absolute;
  top: 18%;
  left: 28%;
  width: 35%;
  height: 25%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.10) 0%, transparent 70%);
  transform: rotate(-20deg);
}

@keyframes dbsSpotGrow {
  0%   { width: 0;     height: 0;     opacity: 0; }
  15%  { width: 30px;  height: 30px;  opacity: 0.8; }
  35%  { width: 100px; height: 100px; opacity: 0.9; }
  55%  { width: 160px; height: 160px; opacity: 0.95; }
  75%  { width: 200px; height: 200px; opacity: 1; }
  100% { width: 220px; height: 220px; opacity: 1; }
}

/* Visible white ring around the blood spot */
.dbs-map__halo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 254px;
  height: 254px;
  border-radius: 50%;
  background: transparent;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15), inset 0 0 8px rgba(255, 255, 255, 0.08);
  opacity: 0;
  animation: dbsHaloAppear 0.8s ease-out 2.5s forwards;
}
@keyframes dbsHaloAppear {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.92); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Scanning ring */
.dbs-map__scan {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 270px;
  height: 270px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.22);
  border-right-color: rgba(255, 255, 255, 0.08);
  opacity: 0;
  animation:
    dbsScanAppear 0.5s ease-out 2.8s forwards,
    dbsScanRotate 4s linear 2.8s infinite;
}
@keyframes dbsScanAppear { to { opacity: 1; } }
@keyframes dbsScanRotate {
  0%   { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== BIOMARKER CALLOUTS ===== */
.dbs-callout {
  position: absolute;
  opacity: 0;
  z-index: 2;
}

.dbs-callout__dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4), 0 0 18px rgba(231, 76, 60, 0.3);
  z-index: 3;
}

.dbs-callout__line {
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  transform-origin: 0 0;
  pointer-events: none;
}

@keyframes dbsLineGrowRadial {
  from { width: 0; }
  to   { width: 95px; }
}

.dbs-callout__label {
  position: absolute;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
}

.dbs-callout__name {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.dbs-callout__sub {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 2px;
}

.dbs-callout__accr {
  display: block;
  font-size: 0.58rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

.dbs-callout__label--left {
  text-align: right;
  transform: translate(-100%, -50%);
}
.dbs-callout__label--center {
  text-align: center;
}
.dbs-callout__label--right {
  text-align: left;
  transform: translateY(-50%);
}

@keyframes dbsCalloutFade {
  0%   { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}

/* --- TRUE RADIAL CALLOUT LAYOUT: 14 labels evenly spaced around the blood spot (25.7° apart) --- */
/* All callouts anchored at map center (50%,50%). Dot at R=100, line 95px outward, label at R=205 */
/* Positions 0-13 clockwise from 12 o'clock. CSS rotate = -90 + i*25.714 */

/* Pos 0 — top center (0°) — Vitamin E */
.dbs-callout--8 { top: 50%; left: 50%; animation: dbsCalloutFade 0.6s ease-out 3.2s forwards; }
.dbs-callout--8 .dbs-callout__dot { top: -104px; left: -4px; }
.dbs-callout--8 .dbs-callout__line { top: -100px; left: 0; transform: rotate(-90deg); animation: dbsLineGrowRadial 0.7s ease-out 3.2s forwards; }
.dbs-callout--8 .dbs-callout__label { left: 0; top: -200px; transform: translate(-50%, -100%); text-align: center; }

/* Pos 1 — 26° — Fatty Acid Profile */
.dbs-callout--1 { top: 50%; left: 50%; animation: dbsCalloutFade 0.6s ease-out 3.3s forwards; }
.dbs-callout--1 .dbs-callout__dot { top: -94px; left: 39px; }
.dbs-callout--1 .dbs-callout__line { top: -90px; left: 43px; transform: rotate(-64deg); animation: dbsLineGrowRadial 0.7s ease-out 3.3s forwards; }
.dbs-callout--1 .dbs-callout__label { left: 90px; top: -176px; transform: translateY(-50%); }

/* Pos 2 — 51° — Homocysteine */
.dbs-callout--11 { top: 50%; left: 50%; animation: dbsCalloutFade 0.6s ease-out 3.4s forwards; }
.dbs-callout--11 .dbs-callout__dot { top: -66px; left: 74px; }
.dbs-callout--11 .dbs-callout__line { top: -62px; left: 78px; transform: rotate(-39deg); animation: dbsLineGrowRadial 0.7s ease-out 3.4s forwards; }
.dbs-callout--11 .dbs-callout__label { left: 158px; top: -122px; transform: translateY(-50%); }

/* Pos 3 — 77° — Glutathione Index */
.dbs-callout--2 { top: 50%; left: 50%; animation: dbsCalloutFade 0.6s ease-out 3.5s forwards; }
.dbs-callout--2 .dbs-callout__dot { top: -26px; left: 93px; }
.dbs-callout--2 .dbs-callout__line { top: -22px; left: 97px; transform: rotate(-13deg); animation: dbsLineGrowRadial 0.7s ease-out 3.5s forwards; }
.dbs-callout--2 .dbs-callout__label { left: 195px; top: -43px; transform: translateY(-50%); }

/* Pos 4 — 103° — HbA1c */
.dbs-callout--4 { top: 50%; left: 50%; animation: dbsCalloutFade 0.6s ease-out 3.6s forwards; }
.dbs-callout--4 .dbs-callout__dot { top: 18px; left: 93px; }
.dbs-callout--4 .dbs-callout__line { top: 22px; left: 97px; transform: rotate(13deg); animation: dbsLineGrowRadial 0.7s ease-out 3.6s forwards; }
.dbs-callout--4 .dbs-callout__label { left: 195px; top: 43px; transform: translateY(-50%); }

/* Pos 5 — 129° — Cannabinoids */
.dbs-callout--12 { top: 50%; left: 50%; animation: dbsCalloutFade 0.6s ease-out 3.7s forwards; }
.dbs-callout--12 .dbs-callout__dot { top: 58px; left: 74px; }
.dbs-callout--12 .dbs-callout__line { top: 62px; left: 78px; transform: rotate(39deg); animation: dbsLineGrowRadial 0.7s ease-out 3.7s forwards; }
.dbs-callout--12 .dbs-callout__label { left: 158px; top: 122px; transform: translateY(-50%); }

/* Pos 6 — 154° — Borrelia */
.dbs-callout--5 { top: 50%; left: 50%; animation: dbsCalloutFade 0.6s ease-out 3.8s forwards; }
.dbs-callout--5 .dbs-callout__dot { top: 86px; left: 39px; }
.dbs-callout--5 .dbs-callout__line { top: 90px; left: 43px; transform: rotate(64deg); animation: dbsLineGrowRadial 0.7s ease-out 3.8s forwards; }
.dbs-callout--5 .dbs-callout__label { left: 90px; top: 176px; transform: translateY(-50%); }

/* Pos 7 — bottom center (180°) — Vitamin D */
.dbs-callout--9 { top: 50%; left: 50%; animation: dbsCalloutFade 0.6s ease-out 3.9s forwards; }
.dbs-callout--9 .dbs-callout__dot { top: 96px; left: -4px; }
.dbs-callout--9 .dbs-callout__line { top: 100px; left: 0; transform: rotate(90deg); animation: dbsLineGrowRadial 0.7s ease-out 3.9s forwards; }
.dbs-callout--9 .dbs-callout__label { left: 0; top: 200px; transform: translate(-50%, 0); text-align: center; }

/* Pos 8 — 206° — 3-O-Methyldopa */
.dbs-callout--10 { top: 50%; left: 50%; animation: dbsCalloutFade 0.6s ease-out 4.0s forwards; }
.dbs-callout--10 .dbs-callout__dot { top: 86px; left: -47px; }
.dbs-callout--10 .dbs-callout__line { top: 90px; left: -43px; transform: rotate(116deg); animation: dbsLineGrowRadial 0.7s ease-out 4.0s forwards; }
.dbs-callout--10 .dbs-callout__label { left: -90px; top: 176px; transform: translate(-100%, -50%); text-align: right; }

/* Pos 9 — 231° — Acylcarnitines */
.dbs-callout--14 { top: 50%; left: 50%; animation: dbsCalloutFade 0.6s ease-out 4.1s forwards; }
.dbs-callout--14 .dbs-callout__dot { top: 58px; left: -82px; }
.dbs-callout--14 .dbs-callout__line { top: 62px; left: -78px; transform: rotate(141deg); animation: dbsLineGrowRadial 0.7s ease-out 4.1s forwards; }
.dbs-callout--14 .dbs-callout__label { left: -158px; top: 122px; transform: translate(-100%, -50%); text-align: right; }

/* Pos 10 — 257° — Vitamin A */
.dbs-callout--7 { top: 50%; left: 50%; animation: dbsCalloutFade 0.6s ease-out 4.2s forwards; }
.dbs-callout--7 .dbs-callout__dot { top: 18px; left: -101px; }
.dbs-callout--7 .dbs-callout__line { top: 22px; left: -97px; transform: rotate(167deg); animation: dbsLineGrowRadial 0.7s ease-out 4.2s forwards; }
.dbs-callout--7 .dbs-callout__label { left: -195px; top: 43px; transform: translate(-100%, -50%); text-align: right; }

/* Pos 11 — 283° — Coenzyme Q10 */
.dbs-callout--13 { top: 50%; left: 50%; animation: dbsCalloutFade 0.6s ease-out 4.3s forwards; }
.dbs-callout--13 .dbs-callout__dot { top: -26px; left: -101px; }
.dbs-callout--13 .dbs-callout__line { top: -22px; left: -97px; transform: rotate(193deg); animation: dbsLineGrowRadial 0.7s ease-out 4.3s forwards; }
.dbs-callout--13 .dbs-callout__label { left: -195px; top: -43px; transform: translate(-100%, -50%); text-align: right; }

/* Pos 12 — 309° — NAD+ Index */
.dbs-callout--6 { top: 50%; left: 50%; animation: dbsCalloutFade 0.6s ease-out 4.4s forwards; }
.dbs-callout--6 .dbs-callout__dot { top: -66px; left: -82px; }
.dbs-callout--6 .dbs-callout__line { top: -62px; left: -78px; transform: rotate(219deg); animation: dbsLineGrowRadial 0.7s ease-out 4.4s forwards; }
.dbs-callout--6 .dbs-callout__label { left: -158px; top: -122px; transform: translate(-100%, -50%); text-align: right; }

/* Pos 13 — 334° — Amino Acids */
.dbs-callout--3 { top: 50%; left: 50%; animation: dbsCalloutFade 0.6s ease-out 4.5s forwards; }
.dbs-callout--3 .dbs-callout__dot { top: -94px; left: -47px; }
.dbs-callout--3 .dbs-callout__line { top: -90px; left: -43px; transform: rotate(244deg); animation: dbsLineGrowRadial 0.7s ease-out 4.5s forwards; }
.dbs-callout--3 .dbs-callout__label { left: -90px; top: -176px; transform: translate(-100%, -50%); text-align: right; }

/* --- Responsive: Animated hero — animation area + content below --- */
@media (max-width: 1200px) {
  .hero-fullbleed--animated .dbs-map {
    transform: translate(-50%, -50%) scale(0.72);
  }
  .hero-fullbleed__animation-area {
    min-height: clamp(360px, 50vh, 540px);
  }
}

@media (max-width: 1024px) {
  .hero-fullbleed--animated .dbs-map {
    transform: translate(-50%, -50%) scale(0.62);
  }
  .hero-fullbleed__animation-area {
    min-height: clamp(320px, 45vh, 480px);
  }
  .hero-fullbleed--animated .hero-fullbleed__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .hero-fullbleed--animated .hero-fullbleed__stats {
    flex-direction: row;
    gap: 2rem;
    min-width: auto;
    width: 100%;
  }
  .hero-fullbleed--animated .hero-fullbleed__stat {
    border-top: none;
    border-left: 1px solid rgba(192, 57, 43, 0.35);
    padding: 0 1.5rem;
  }
  .hero-fullbleed--animated .hero-fullbleed__stat:first-child {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .hero-fullbleed--animated .dbs-map {
    transform: translate(-50%, -50%) scale(0.5);
  }
  .hero-fullbleed__animation-area {
    min-height: clamp(280px, 42vh, 400px);
  }
  .hero-fullbleed--animated .dbs-callout__name { font-size: 1.2rem; }
  .hero-fullbleed--animated .dbs-callout__sub { font-size: 0.95rem; }
  .hero-fullbleed--animated .hero-fullbleed__title {
    font-size: 2rem;
  }
  .hero-fullbleed--animated .hero-fullbleed__stats {
    flex-direction: column;
    gap: 0;
  }
  .hero-fullbleed--animated .hero-fullbleed__stat {
    border-left: none;
    border-top: 1px solid rgba(192, 57, 43, 0.35);
    padding: 0.75rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .hero-fullbleed--animated .hero-fullbleed__stat:first-child { border-top: none; }
  .hero-fullbleed--animated .hero-fullbleed__actions .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-fullbleed--animated .dbs-map {
    transform: translate(-50%, -50%) scale(0.4);
  }
  .hero-fullbleed__animation-area {
    min-height: clamp(240px, 38vh, 340px);
  }
  .hero-fullbleed--animated .dbs-callout__name { font-size: 1.4rem; }
  .hero-fullbleed--animated .dbs-callout__sub { font-size: 1.1rem; }
}

/* --- Delayed text for animated hero --- */
.hero-fullbleed--animated .hero-fullbleed__badge {
  animation-delay: 0.1s;
}
.hero-fullbleed--animated .hero-fullbleed__title {
  animation-delay: 0.2s;
}
.hero-fullbleed--animated .hero-fullbleed__title span {
  color: #e74c3c;
}
.hero-fullbleed--animated .hero-fullbleed__subtitle {
  animation-delay: 0.3s;
}
.hero-fullbleed--animated .hero-fullbleed__actions {
  animation-delay: 0.4s;
}
.hero-fullbleed--animated .hero-fullbleed__stats {
  animation-delay: 0.5s;
}

/* Red stat divider lines */
.hero-fullbleed--animated .hero-fullbleed__stat {
  border-top-color: rgba(192, 57, 43, 0.35);
}

/* Red-tinted primary button */
.hero-fullbleed--animated .btn--primary {
  background-color: #c0392b;
  border-color: #c0392b;
}
.hero-fullbleed--animated .btn--primary:hover {
  background-color: #a93226;
  border-color: #a93226;
  box-shadow: 0 8px 24px rgba(192, 57, 43, 0.3);
}

/* Inner layout — bottom-aligned */
.hero-fullbleed__inner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 clamp(1.5rem, 4vw, 4rem) clamp(3rem, 6vh, 5rem);
  gap: var(--space-3xl);
}

/* Text block — bottom-left */
.hero-fullbleed__text {
  max-width: 680px;
}

/* Shared pill badge style */
.badge-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,180,216,0.12);
  border: 1px solid rgba(0,180,216,0.25);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.78rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent) !important;
}
.badge-pill svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.hero-fullbleed__badge {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: heroFadeUp 0.6s ease-out 0.1s forwards;
}

.hero-fullbleed__title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.08;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
  opacity: 0;
  animation: heroFadeUp 0.6s ease-out 0.2s forwards;
}

.hero-fullbleed__title span {
  color: var(--color-accent);
}

.hero-fullbleed__subtitle {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 520px;
  opacity: 0;
  animation: heroFadeUp 0.6s ease-out 0.3s forwards;
}

.hero-fullbleed__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 0.6s ease-out 0.4s forwards;
}

/* Ghost button variant for hero */
.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

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

/* Stats block — right column, stacked counters */
.hero-fullbleed__stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 220px;
  margin-top: clamp(3.5rem, 6vh, 5rem);
  opacity: 0;
  animation: heroFadeUp 0.6s ease-out 0.3s forwards;
}

.hero-fullbleed__stat {
  padding: 0.6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-fullbleed__stat:first-child {
  padding-top: 0;
  border-top: none;
}

.hero-fullbleed__stat:last-child {
  padding-bottom: 0;
}

.hero-fullbleed__stat-label {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.hero-fullbleed__stat-number {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* Hero service capabilities strip */
.hero-fullbleed__services-strip {
  position: absolute;
  bottom: clamp(3.5rem, 6vh, 5rem);
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 2px;
  max-width: 1200px;
  width: 94%;
  animation: heroStripFadeUp 0.6s ease forwards;
  animation-delay: 1s;
  opacity: 0;
}
@keyframes heroStripFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-fullbleed__service-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 0.5rem;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}
.hero-fullbleed__service-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}
.hero-fullbleed__service-card svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-accent);
  flex-shrink: 0;
}
.hero-fullbleed__service-card h3 {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-align: center;
  line-height: 1.3;
  margin: 0;
  letter-spacing: 0.02em;
}

/* Scroll indicator */
.hero-fullbleed__scroll {
  position: absolute;
  bottom: clamp(0.5rem, 1.5vh, 1.2rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--font-size-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-fullbleed__scroll svg {
  width: 18px;
  height: 18px;
}

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

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 0.7; }
}

/* Legacy hero classes kept for inner pages */
.hero {
  position: relative;
  padding: 10rem 0 6rem;
  background: var(--color-hero-gradient);
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.5rem 1rem;
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 100px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: var(--space-xl);
}

.hero__badge svg {
  width: 16px;
  height: 16px;
}

.hero__title {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--space-xl);
  letter-spacing: -0.03em;
}

.hero__title span {
  color: #e74c3c;
}

.hero__subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Page hero (inner pages) */
.hero--page {
  padding: 9rem 0 2rem;
}

/* Floating accent particles for page heroes */
.hero__particle {
  position: absolute; border-radius: 50%; opacity: 0.08;
  background: var(--color-accent);
  animation: heroFloat 20s infinite ease-in-out;
  pointer-events: none;
}
.hero__particle:nth-child(1) { width: 300px; height: 300px; top: -80px; right: -60px; animation-duration: 25s; animation-delay: -12s; }
.hero__particle:nth-child(2) { width: 180px; height: 180px; bottom: -40px; left: 10%; animation-duration: 18s; animation-delay: -7s; }
.hero__particle:nth-child(3) { width: 120px; height: 120px; top: 30%; right: 20%; animation-duration: 22s; animation-delay: -3s; }
@keyframes heroFloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.05); } }

/* Large floating particles inside resource page heroes */
.svc-detail .hero__particle {
  position: absolute; border-radius: 50%; opacity: 0.06;
  background: var(--color-accent);
  animation: heroFloat 20s infinite ease-in-out;
  pointer-events: none; z-index: 0;
}
.svc-detail .hero__particle { width: 300px; height: 300px; top: -80px; right: -60px; animation-duration: 25s; animation-delay: -12s; }
.svc-detail .hero__particle + .hero__particle { width: 180px; height: 180px; top: auto; bottom: -40px; right: auto; left: 10%; animation-duration: 18s; animation-delay: -7s; }
.svc-detail .hero__particle + .hero__particle + .hero__particle { width: 120px; height: 120px; bottom: auto; top: 30%; left: auto; right: 20%; animation-duration: 22s; animation-delay: -3s; }


.hero--page .hero__title {
  font-size: var(--font-size-4xl);
}

.hero--compact {
  padding: 7.5rem 0 1.5rem;
}

.hero--compact + .portal-selector {
  padding-top: var(--space-xl);
}

/* --- Trust Bar --- */
.trust-bar {
  padding: var(--space-2xl) 0;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

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

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--color-text-secondary);
}

.trust-bar__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-sm);
  background-color: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-bar__icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
}

.trust-bar__label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
}

.trust-bar__sublabel {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
}

/* ===== BIOMARKER PANELS SECTION ===== */
.biomarker-panels {
  position: relative;
  background: var(--color-bg-alt);
  padding: 90px 0 0;
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  scroll-snap-align: start;
}

/* Section 2 inner layout — matches sections 4 & 6 */
.biomarker-panels__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(1rem, 2vh, 2rem) clamp(1.5rem, 4vw, 4rem) 0;
  gap: var(--space-3xl);
  flex-shrink: 0;
}

.biomarker-panels__text {
  max-width: 520px;
  flex-shrink: 0;
}

.biomarker-panels__badge {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  opacity: 0;
}

.biomarker-panels__heading {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #1A2D50;
  margin-bottom: var(--space-md);
  opacity: 0;
}

.biomarker-panels__heading span {
  color: #e74c3c;
}

.biomarker-panels__subtitle {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 520px;
  opacity: 0;
}

/* Right column — list with icons (mirrors section 4 matrices) */
.biomarker-panels__list-col {
  display: flex;
  flex-direction: column;
  min-width: 200px;
  margin-top: 0;
  opacity: 0;
}

.biomarker-panels__list-heading {
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.biomarker-panels__list-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.biomarker-panels__list-item:last-child {
  border-bottom: none;
}

.biomarker-panels__list-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-accent);
  flex-shrink: 0;
  opacity: 0.85;
}

.biomarker-panels__list-item span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

/* Animation for section 2 inner elements */
.biomarker-panels.is-visible .biomarker-panels__badge {
  animation: heroFadeUp 0.6s ease forwards;
  animation-delay: 0.1s;
}
.biomarker-panels.is-visible .biomarker-panels__heading {
  animation: heroFadeUp 0.6s ease forwards;
  animation-delay: 0.2s;
}
.biomarker-panels.is-visible .biomarker-panels__subtitle {
  animation: heroFadeUp 0.6s ease forwards;
  animation-delay: 0.3s;
}
.biomarker-panels.is-visible .biomarker-panels__list-col {
  animation: heroFadeUp 0.6s ease forwards;
  animation-delay: 0.4s;
}

.biomarker-panels__map-area {
  position: relative;
  flex: 1 1 auto;
  overflow: visible;
  transform: scale(1.3);
  transform-origin: center center;
}

/* Bigger blood spot for biomarker section so all dots fit clearly inside */
.biomarker-panels .dbs-map__paper { width: 300px; height: 300px; }
.biomarker-panels .dbs-map__dashed-ring { width: 280px; height: 280px; }
.biomarker-panels .dbs-map__paper.filled .dbs-map__dashed-ring { opacity: 1; }
.biomarker-panels .dbs-map__spot {
  width: 280px; height: 280px;
  background: radial-gradient(circle, #8b1a1a 0%, #a82020 35%, #c0392b 65%, rgba(180,40,50,0.45) 90%, transparent 100%);
}
.biomarker-panels .dbs-map__halo { width: 320px; height: 320px; }
.biomarker-panels .dbs-map__scan { width: 340px; height: 340px; }
.biomarker-panels .dbs-map__ring--1 { width: 400px; height: 400px; }
.biomarker-panels .dbs-map__ring--2 { width: 520px; height: 520px; }

/* Delay blood spot animation — tighter timing (~2.5s total) */
.biomarker-panels .dbs-map__paper { animation-delay: 0.4s; }
.biomarker-panels .dbs-map__spot { animation-delay: 0.6s; }
.biomarker-panels .dbs-map__halo { animation-delay: 0.5s; }
.biomarker-panels .dbs-map__scan { animation-delay: 0.7s; }
.biomarker-panels .dbs-callout--8  { animation-delay: 1.20s; }
.biomarker-panels .dbs-callout--1  { animation-delay: 1.26s; }
.biomarker-panels .dbs-callout--11 { animation-delay: 1.32s; }
.biomarker-panels .dbs-callout--2  { animation-delay: 1.38s; }
.biomarker-panels .dbs-callout--4  { animation-delay: 1.44s; }
.biomarker-panels .dbs-callout--12 { animation-delay: 1.50s; }
.biomarker-panels .dbs-callout--5  { animation-delay: 1.56s; }
.biomarker-panels .dbs-callout--9  { animation-delay: 1.62s; }
.biomarker-panels .dbs-callout--10 { animation-delay: 1.68s; }
.biomarker-panels .dbs-callout--14 { animation-delay: 1.74s; }
.biomarker-panels .dbs-callout--7  { animation-delay: 1.80s; }
.biomarker-panels .dbs-callout--13 { animation-delay: 1.86s; }
.biomarker-panels .dbs-callout--6  { animation-delay: 1.92s; }
.biomarker-panels .dbs-callout--3  { animation-delay: 1.98s; }
.biomarker-panels .dbs-callout--8  .dbs-callout__line { animation-delay: 1.20s; }
.biomarker-panels .dbs-callout--1  .dbs-callout__line { animation-delay: 1.26s; }
.biomarker-panels .dbs-callout--11 .dbs-callout__line { animation-delay: 1.32s; }
.biomarker-panels .dbs-callout--2  .dbs-callout__line { animation-delay: 1.38s; }
.biomarker-panels .dbs-callout--4  .dbs-callout__line { animation-delay: 1.44s; }
.biomarker-panels .dbs-callout--12 .dbs-callout__line { animation-delay: 1.50s; }
.biomarker-panels .dbs-callout--5  .dbs-callout__line { animation-delay: 1.56s; }
.biomarker-panels .dbs-callout--9  .dbs-callout__line { animation-delay: 1.62s; }
.biomarker-panels .dbs-callout--10 .dbs-callout__line { animation-delay: 1.68s; }
.biomarker-panels .dbs-callout--14 .dbs-callout__line { animation-delay: 1.74s; }
.biomarker-panels .dbs-callout--7  .dbs-callout__line { animation-delay: 1.80s; }
.biomarker-panels .dbs-callout--13 .dbs-callout__line { animation-delay: 1.86s; }
.biomarker-panels .dbs-callout--6  .dbs-callout__line { animation-delay: 1.92s; }
.biomarker-panels .dbs-callout--3  .dbs-callout__line { animation-delay: 1.98s; }

/* Pause all animations until section is in view */
.biomarker-panels .dbs-map__paper,
.biomarker-panels .dbs-map__spot,
.biomarker-panels .dbs-map__ring,
.biomarker-panels .dbs-map__halo,
.biomarker-panels .dbs-map__scan,
.biomarker-panels .dbs-callout,
.biomarker-panels .dbs-callout__line line {
  animation-play-state: paused;
}

/* Play animations when section scrolls into view */
.biomarker-panels.is-visible .dbs-map__paper,
.biomarker-panels.is-visible .dbs-map__spot,
.biomarker-panels.is-visible .dbs-map__ring,
.biomarker-panels.is-visible .dbs-map__halo,
.biomarker-panels.is-visible .dbs-map__scan,
.biomarker-panels.is-visible .dbs-callout,
.biomarker-panels.is-visible .dbs-callout__line line {
  animation-play-state: running;
}

/* Override callout colours & sizes for grey background */
.biomarker-panels .dbs-callout__name {
  color: var(--color-text);
  font-size: 1.15rem;
  font-weight: 700;
}
.biomarker-panels .dbs-callout__sub {
  color: var(--color-text-secondary);
  font-size: 0.65rem;
}
.biomarker-panels .dbs-callout__dot {
  background: rgba(231, 76, 60, 0.6);
  box-shadow: 0 0 6px rgba(231, 76, 60, 0.3);
}
.biomarker-panels .dbs-map__ring {
  border: 1.5px solid rgba(192, 57, 43, 0.18);
}
.biomarker-panels .dbs-map__halo {
  border-color: rgba(200, 190, 180, 0.5);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.06), inset 0 0 8px rgba(0, 0, 0, 0.03);
}
.biomarker-panels .dbs-map__scan {
  border-top-color: rgba(192, 57, 43, 0.25);
  border-right-color: rgba(192, 57, 43, 0.08);
}

/* Section 2 responsive */
@media (max-width: 768px) {
  .biomarker-panels__inner {
    flex-direction: column;
    gap: var(--space-lg);
    padding: 1rem 1.5rem 0;
  }
  .biomarker-panels__list-col {
    max-width: 100%;
  }
}

/* Scroll indicator for biomarker section */
.biomarker-panels__scroll {
  position: absolute;
  bottom: clamp(1rem, 2vh, 2rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-text-secondary);
  font-size: var(--font-size-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: biomarkerScrollBounce 2s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.biomarker-panels.is-visible .biomarker-panels__scroll {
  opacity: 1;
  transition-delay: 2.3s;
}
.biomarker-panels__scroll svg {
  width: 18px;
  height: 18px;
}
@keyframes biomarkerScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* Scale map to fill available space */
.biomarker-panels .dbs-map {
  top: 42%;
  transform: translate(-50%, -50%) scale(1.1);
}
@media (max-width: 1400px) {
  .biomarker-panels .dbs-map {
    transform: translate(-50%, -50%) scale(1.0);
  }
}
@media (max-width: 1200px) {
  .biomarker-panels .dbs-map {
    transform: translate(-50%, -50%) scale(0.88);
  }
}
@media (max-width: 1024px) {
  .biomarker-panels .dbs-map {
    transform: translate(-50%, -50%) scale(0.72);
  }
}
@media (max-width: 768px) {
  .biomarker-panels .dbs-map {
    transform: translate(-50%, -50%) scale(0.55);
  }
}
@media (max-width: 480px) {
  .biomarker-panels .dbs-map {
    transform: translate(-50%, -50%) scale(0.4);
  }
}

/* --- HOW IT WORKS SECTION --- */
.how-it-works {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  max-height: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: linear-gradient(135deg, #0a1628 0%, #1a1a2e 40%, #16213e 100%);
  scroll-snap-align: start;
  color: var(--color-white);
  padding: 90px 0 0;
}

/* Radial colour wash */
.how-it-works__bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(0, 180, 216, 0.08) 0%, transparent 60%);
  z-index: 0;
}

/* Floating particles */
.how-it-works__particle {
  display: block;
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.15);
  animation: heroParticleFloat 8s ease-in-out infinite;
  z-index: 0;
}
.how-it-works__particle:nth-child(2) { width: 5px; height: 5px; top: 25%; left: 20%; animation-delay: 0s; }
.how-it-works__particle:nth-child(3) { width: 4px; height: 4px; top: 55%; left: 75%; animation-delay: 2s; }
.how-it-works__particle:nth-child(4) { width: 7px; height: 7px; top: 35%; left: 85%; animation-delay: 4s; }
.how-it-works__particle:nth-child(5) { width: 3px; height: 3px; top: 75%; left: 30%; animation-delay: 1.5s; }

/* Inner layout — mirrors hero: text left, stats right */
.how-it-works__inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(1rem, 2vh, 2rem) clamp(1.5rem, 4vw, 4rem) 0;
  gap: var(--space-3xl);
  flex: 1;
}

.how-it-works__text {
  max-width: 620px;
}

.how-it-works__badge {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: heroFadeUp 0.6s ease-out 0.1s forwards;
}

.how-it-works__heading {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.08;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
  opacity: 0;
  animation: heroFadeUp 0.6s ease-out 0.2s forwards;
}

.how-it-works__heading span {
  color: #e74c3c;
}

.how-it-works__subtitle {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 520px;
  opacity: 0;
  animation: heroFadeUp 0.6s ease-out 0.3s forwards;
}

/* Kit contents list — right side */
.how-it-works__kit-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 200px;
  margin-top: 0;
  opacity: 0;
  animation: heroFadeUp 0.6s ease-out 0.4s forwards;
}

.how-it-works__kit-list-heading {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.how-it-works__kit-list .how-it-works__kit-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.how-it-works__kit-list .how-it-works__kit-item:first-of-type {
  border-top: none;
}

.how-it-works__kit-list .how-it-works__kit-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-accent);
  flex-shrink: 0;
  opacity: 0.85;
}

.how-it-works__kit-list .how-it-works__kit-item span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-white);
  white-space: nowrap;
}

/* ===== Pathway Cards ===== */
.how-it-works__pathways {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: clamp(1.5rem, 3vh, 2.5rem) clamp(1.5rem, 4vw, 4rem);
  z-index: 2;
  position: relative;
  max-width: 850px;
  margin: 0 auto;
  width: 100%;
  opacity: 0;
  animation: heroFadeUp 0.6s ease-out 0.5s forwards;
}

.pathway-card {
  flex: 1;
  max-width: 420px;
  padding: clamp(1.5rem, 2vh, 2rem) clamp(2rem, 3vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid #e74c3c;
  border-radius: var(--border-radius-lg);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pathway-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  border-left-color: #e74c3c;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transform: translateY(-4px);
}

.pathway-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  background: rgba(231, 76, 60, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pathway-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: #e74c3c;
}

.pathway-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.pathway-card__desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.pathway-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e74c3c;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pathway-card__cta:hover {
  color: var(--color-white);
}

.pathway-card__cta svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

/* Pathway cards responsive */
@media (max-width: 768px) {
  .how-it-works__pathways {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.5rem;
  }
  .pathway-card {
    max-width: 400px;
    width: 100%;
  }
}

.kit-map {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 500px;
  z-index: 1;
}

/* Pulsing rings */
.kit-map__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(0, 180, 216, 0.08);
  opacity: 0;
  animation: dbsRingPulse 3.5s ease-out infinite;
}
.kit-map__ring--1 { width: 280px; height: 280px; animation-delay: 0.8s; }
.kit-map__ring--2 { width: 400px; height: 400px; animation-delay: 1.8s; }

/* Central box */
.kit-map__box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, rgba(0, 180, 216, 0.12) 0%, rgba(0, 140, 200, 0.06) 50%, rgba(22, 34, 62, 0.8) 100%);
  border: 1.5px solid rgba(0, 180, 216, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  opacity: 0;
  animation: dbsPaperAppear 0.8s ease-out 0.8s forwards;
}

.kit-map__box-icon {
  width: 48px;
  height: 48px;
}

.kit-map__box-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1.3;
}

/* Halo glow behind box */
.kit-map__halo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.08) 0%, transparent 70%);
  animation: dbsHaloPulse 3s ease-in-out infinite;
}

@keyframes dbsHaloPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* ===== Orbiting kit items — radial layout like biomarker callouts ===== */
.kit-item-orbit {
  position: absolute;
  opacity: 0;
}

.kit-item-orbit__dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 8px rgba(0, 180, 216, 0.4);
  z-index: 2;
}

.kit-item-orbit__line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 180, 216, 0.3), rgba(0, 180, 216, 0.05));
  transform-origin: 0 0;
  z-index: 1;
  width: 0;
}

.kit-item-orbit__label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.kit-item-orbit__label svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-accent);
  opacity: 0.7;
  flex-shrink: 0;
}

.kit-item-orbit__name {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.02em;
}

/* Position each orbit item radially — 6 items at 60° intervals */
/* Item 1 — top right (30°) */
.kit-item-orbit--1 {
  top: calc(50% - 120px);
  left: calc(50% + 30px);
}
.kit-item-orbit--1 .kit-item-orbit__line {
  width: 70px;
  transform: rotate(-60deg);
}
.kit-item-orbit--1 .kit-item-orbit__label {
  top: -10px;
  left: 10px;
}

/* Item 2 — right (90°) */
.kit-item-orbit--2 {
  top: calc(50% - 10px);
  left: calc(50% + 110px);
}
.kit-item-orbit--2 .kit-item-orbit__line {
  width: 60px;
  transform: rotate(0deg);
}
.kit-item-orbit--2 .kit-item-orbit__label {
  top: -10px;
  left: 10px;
}

/* Item 3 — bottom right (150°) */
.kit-item-orbit--3 {
  top: calc(50% + 100px);
  left: calc(50% + 50px);
}
.kit-item-orbit--3 .kit-item-orbit__line {
  width: 70px;
  transform: rotate(50deg);
}
.kit-item-orbit--3 .kit-item-orbit__label {
  top: -10px;
  left: 10px;
}

/* Item 4 — bottom left (210°) */
.kit-item-orbit--4 {
  top: calc(50% + 100px);
  left: calc(50% - 56px);
}
.kit-item-orbit--4 .kit-item-orbit__line {
  width: 70px;
  transform: rotate(130deg);
}
.kit-item-orbit--4 .kit-item-orbit__label {
  top: -10px;
  right: 10px;
}

/* Item 5 — left (270°) */
.kit-item-orbit--5 {
  top: calc(50% - 10px);
  left: calc(50% - 116px);
}
.kit-item-orbit--5 .kit-item-orbit__line {
  width: 60px;
  transform: rotate(180deg);
}
.kit-item-orbit--5 .kit-item-orbit__label {
  top: -10px;
  right: 10px;
}

/* Item 6 — top left (330°) */
.kit-item-orbit--6 {
  top: calc(50% - 120px);
  left: calc(50% - 36px);
}
.kit-item-orbit--6 .kit-item-orbit__line {
  width: 70px;
  transform: rotate(-120deg);
}
.kit-item-orbit--6 .kit-item-orbit__label {
  top: -10px;
  right: 10px;
}

/* Animate orbit items in with staggered delays */
.how-it-works.is-visible .kit-item-orbit {
  animation: kitOrbitAppear 0.6s ease-out forwards;
}
.how-it-works.is-visible .kit-item-orbit--1 { animation-delay: 0.8s; }
.how-it-works.is-visible .kit-item-orbit--2 { animation-delay: 0.9s; }
.how-it-works.is-visible .kit-item-orbit--3 { animation-delay: 1.0s; }
.how-it-works.is-visible .kit-item-orbit--4 { animation-delay: 1.1s; }
.how-it-works.is-visible .kit-item-orbit--5 { animation-delay: 1.2s; }
.how-it-works.is-visible .kit-item-orbit--6 { animation-delay: 1.3s; }

.how-it-works.is-visible .kit-item-orbit__line {
  animation: kitLineGrow 0.4s ease-out forwards;
}
.how-it-works.is-visible .kit-item-orbit--1 .kit-item-orbit__line { animation-delay: 1.0s; }
.how-it-works.is-visible .kit-item-orbit--2 .kit-item-orbit__line { animation-delay: 1.1s; }
.how-it-works.is-visible .kit-item-orbit--3 .kit-item-orbit__line { animation-delay: 1.2s; }
.how-it-works.is-visible .kit-item-orbit--4 .kit-item-orbit__line { animation-delay: 1.3s; }
.how-it-works.is-visible .kit-item-orbit--5 .kit-item-orbit__line { animation-delay: 1.4s; }
.how-it-works.is-visible .kit-item-orbit--6 .kit-item-orbit__line { animation-delay: 1.5s; }

@keyframes kitOrbitAppear {
  0% { opacity: 0; transform: scale(0.5); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes kitLineGrow {
  0% { width: 0; }
  100% { width: 70px; }
}

/* Process steps — bottom anchored like hero stats */
.how-it-works__process {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0 clamp(1.5rem, 4vw, 4rem) clamp(2rem, 3vh, 3rem);
  flex-shrink: 0;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.how-it-works__step {
  flex: 1;
  text-align: center;
  padding: var(--space-xl) var(--space-md) 0;
  border-left: 1px solid rgba(0, 0, 0, 0.10);
}

.how-it-works__step:first-child {
  border-left: none;
}

.how-it-works__step-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.35);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xs);
  line-height: 1;
}

.how-it-works__step-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.how-it-works__step-desc {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* CTA card — inline within left text column (grey bg version) */
.how-it-works__portal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: clamp(1.2rem, 2vh, 1.8rem);
  font-size: 0.85rem;
  font-weight: 600;
  color: #e74c3c;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  opacity: 0;
}
.how-it-works__portal-link:hover {
  color: #c0392b;
}
.how-it-works__portal-link svg {
  stroke: currentColor;
}
.how-it-works.is-visible .how-it-works__portal-link { animation: heroFadeUp 0.6s ease-out 0.4s forwards; }

/* Process timeline — horizontal steps */
.hiw-timeline {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0;
  flex: 1;
  align-items: center;
  padding: 0 clamp(2rem, 5vw, 6rem);
  max-width: 1000px;
  margin: 0 auto;
  opacity: 0;
}

.how-it-works.is-visible .hiw-timeline { animation: heroFadeUp 0.6s ease-out 0.5s forwards; }

.hiw-timeline__step {
  flex: 1;
  text-align: center;
  padding: 0 clamp(0.75rem, 1.5vw, 1.5rem);
  position: relative;
}

.hiw-timeline__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #e74c3c;
  font-size: 1rem;
  font-weight: 800;
  color: #e74c3c;
  margin-bottom: 0.75rem;
  background: #0a1628;
  position: relative;
  z-index: 2;
}

.hiw-timeline__connector {
  position: absolute;
  top: 24px;
  left: calc(50% + 28px);
  right: calc(-50% + 28px);
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.hiw-timeline__step:last-child .hiw-timeline__connector {
  display: none;
}

.hiw-timeline__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.hiw-timeline__desc {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  max-width: 180px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hiw-timeline {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 2rem;
  }
  .hiw-timeline__connector {
    display: none;
  }
}

/* Scroll indicator */
.how-it-works__scroll {
  position: absolute;
  bottom: clamp(1rem, 2vh, 2rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--font-size-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.how-it-works__scroll svg {
  width: 18px;
  height: 18px;
}

/* How It Works responsive */
@media (max-width: 768px) {
  .how-it-works__inner {
    flex-direction: column;
    padding: clamp(5rem, 8vh, 6rem) clamp(1rem, 4vw, 2rem) clamp(1rem, 2vh, 2rem);
  }
  .how-it-works__kit-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 1.5rem;
    margin-top: var(--space-lg);
    min-width: auto;
  }
  .how-it-works__kit-list-heading {
    width: 100%;
  }
  .how-it-works__process {
    flex-direction: column;
    gap: 0;
    align-items: center;
  }
  .how-it-works__step {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    max-width: 320px;
    padding: var(--space-md) 0;
  }
  .how-it-works__step:first-child {
    border-top: none;
  }
}
@media (max-width: 480px) {
  .how-it-works__kit-list {
    gap: 0 1rem;
  }
}

/* --- RESEARCH PARTNERS SECTION --- */
/* ===== SECTION 4 — RESEARCH & DEVELOPMENT ===== */
.research-partners {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: linear-gradient(135deg, #0a1628 0%, #1a1a2e 40%, #16213e 100%);
  color: var(--color-white);
  padding: 90px 0 clamp(3rem, 5vh, 4rem);
  scroll-snap-align: start;
}

/* Hide gradient & particles on light bg */
.research-partners__bg-gradient { display: none; }
.research-partners__particle { display: none; }

/* Inner layout — mirrors hero: text left, list right */
.research-partners__inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(1rem, 2vh, 2rem) clamp(1.5rem, 4vw, 4rem) 0;
  gap: var(--space-3xl);
  flex-shrink: 0;
}

.research-partners__text {
  max-width: 620px;
}

.research-partners__badge {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  opacity: 0;
}

.research-partners__heading {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  opacity: 0;
}

.research-partners__heading span {
  color: #e74c3c;
}

.research-partners__subtitle {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 520px;
  opacity: 0;
}

/* Right column — Sample Matrices list */
.research-partners__matrices-col {
  display: flex;
  flex-direction: column;
  min-width: 200px;
  margin-top: 0;
  opacity: 0;
}

.research-partners__matrices-heading {
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.research-partners__matrix-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.research-partners__matrix-item:last-child {
  border-bottom: none;
}

.research-partners__matrix-item svg {
  width: 18px;
  height: 18px;
  stroke: #c0392b;
  flex-shrink: 0;
  opacity: 0.9;
}

.research-partners__matrix-item span {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
}

/* CTA card — inline with text (grey bg variant) */
.research-partners__portal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: clamp(1.2rem, 2vh, 1.8rem);
  font-size: 0.85rem;
  font-weight: 600;
  color: #e74c3c;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  opacity: 0;
}
.research-partners__portal-link:hover {
  color: #c0392b;
}
.research-partners__portal-link svg {
  stroke: currentColor;
}

/* Analytical Platforms — icon grid */
.research-partners__platforms {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0;
  flex: 1;
  align-items: center;
  padding: 0 clamp(2rem, 5vw, 6rem);
  max-width: 1100px;
  margin: 0 auto;
  opacity: 0;
}

.research-partners__platform {
  flex: 1;
  text-align: center;
  padding: 0 clamp(1rem, 2vw, 2rem);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.research-partners__platform:first-child {
  border-left: none;
}

.research-partners__platform svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-accent);
  margin-bottom: 0.6rem;
  opacity: 0.7;
}

.research-partners__platform h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.research-partners__platform p {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.45;
  max-width: 150px;
  margin: 0 auto;
}

/* Scroll indicator */
.research-partners__scroll {
  position: absolute;
  bottom: clamp(1rem, 2vh, 1.5rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  z-index: 2;
  opacity: 0;
}

.research-partners__scroll span {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.3);
}

.research-partners__scroll svg {
  width: 18px;
  height: 18px;
  stroke: rgba(255, 255, 255, 0.3);
  animation: scrollBounce 2s ease-in-out infinite;
}

/* Research Partners responsive */
@media (max-width: 768px) {
  .research-partners__inner {
    flex-direction: column;
    gap: var(--space-lg);
    padding: clamp(1rem, 2vh, 1.5rem) var(--space-lg) 0;
  }
  .research-partners__matrices-col {
    min-width: 0;
  }
  .research-partners__platforms {
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem 2rem;
  }
  .research-partners__platform {
    border-left: none;
    flex: 0 0 calc(33% - 1rem);
  }
}

/* Research Partners — is-visible triggered animations */
.research-partners.is-visible .research-partners__badge   { animation: heroFadeUp 0.6s ease-out 0.1s forwards; }
.research-partners.is-visible .research-partners__heading { animation: heroFadeUp 0.6s ease-out 0.2s forwards; }
.research-partners.is-visible .research-partners__subtitle { animation: heroFadeUp 0.6s ease-out 0.3s forwards; }
.research-partners.is-visible .research-partners__portal-link { animation: heroFadeUp 0.6s ease-out 0.4s forwards; }
.research-partners.is-visible .research-partners__matrices-col { animation: heroFadeUp 0.6s ease-out 0.4s forwards; }
.research-partners.is-visible .research-partners__platforms { animation: heroFadeUp 0.6s ease-out 0.5s forwards; }
.research-partners.is-visible .research-partners__scroll  { animation: heroFadeUp 0.6s ease-out 0.6s forwards; }

/* ===== SECTION 5 — QUALITY & COMPLIANCE ===== */
.quality-section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--color-bg-alt);
  padding: 90px 0 0;
  scroll-snap-align: start;
}

.quality-section__bg-gradient {
  display: none;
}

.quality-section__particle {
  display: none;
}
.quality-section__particle:nth-child(2) { width: 5px; height: 5px; top: 25%; left: 20%; animation-delay: 0.5s; }
.quality-section__particle:nth-child(3) { width: 7px; height: 7px; top: 55%; left: 75%; animation-delay: 2.5s; }
.quality-section__particle:nth-child(4) { width: 4px; height: 4px; top: 35%; left: 85%; animation-delay: 4.5s; }
.quality-section__particle:nth-child(5) { width: 6px; height: 6px; top: 70%; left: 30%; animation-delay: 1.5s; }
.quality-section__particle:nth-child(6) { width: 3px; height: 3px; top: 45%; left: 50%; animation-delay: 3.5s; }
.quality-section__particle:nth-child(7) { width: 5px; height: 5px; top: 80%; left: 10%; animation-delay: 5s; }

/* Inner layout — top-aligned, mirrors How It Works */
.quality-section__inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(1rem, 2vh, 2rem) clamp(1.5rem, 4vw, 4rem) 0;
  gap: var(--space-3xl);
  flex-shrink: 0;
}

.quality-section__text {
  max-width: 680px;
}

.quality-section__badge {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  line-height: 1.6;
  opacity: 0;
}

.quality-section__heading {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  color: #1A2D50;
  line-height: 1.08;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
  opacity: 0;
}

.quality-section__heading span {
  color: #e74c3c;
}

.quality-section__subtitle {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 520px;
  opacity: 0;
}

.quality-section__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  opacity: 0;
}

.quality-section__actions .btn--primary {
  background-color: #c0392b;
  border-color: #c0392b;
}
.quality-section__actions .btn--primary:hover {
  background-color: #a93226;
  border-color: #a93226;
  box-shadow: 0 8px 24px rgba(192, 57, 43, 0.3);
}

/* R&D CTA card (inline horizontal pattern — grey bg) */
.quality-section__portal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: clamp(1.2rem, 2vh, 1.8rem);
  font-size: 0.85rem;
  font-weight: 600;
  color: #e74c3c;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  opacity: 0;
}
.quality-section__portal-link:hover {
  color: #c0392b;
}
.quality-section__portal-link svg {
  stroke: currentColor;
}

/* Trust stat — slightly different styling */
.quality-section__stat--trust {
  margin-top: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(231, 76, 60, 0.2);
}

.quality-section__stat--trust .quality-section__stat-label {
  color: #e74c3c;
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
}

.quality-section__stat--trust .quality-section__stat-desc {
  color: var(--color-text-secondary);
  font-size: var(--font-size-xs);
  line-height: 1.5;
}

/* Stats column — right side */
.quality-section__stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 220px;
  max-width: 380px;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  opacity: 0;
}

.quality-section__stats-heading {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.quality-section__stat {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--color-border);
}

.quality-section__stat:first-child {
  border-top: none;
}

.quality-section__stat-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: #e74c3c;
  opacity: 0.7;
}

.quality-section__stat-content {
  display: flex;
  flex-direction: column;
}

.quality-section__stat-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #1A2D50;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.quality-section__stat-desc {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  line-height: 1.4;
  margin-top: 0.15rem;
}

/* Accreditation stats — icon & label in accent */
.quality-section__stat--accred .quality-section__stat-icon {
  stroke: var(--color-accent);
  opacity: 0.8;
}
.quality-section__stat--accred .quality-section__stat-label {
  color: #1A2D50;
}

/* Stats group headings */
.quality-section__stats-heading {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.2rem;
}

.quality-section__stats-heading--rd {
  color: #1A2D50;
  margin-top: 1rem;
}

/* Accreditation logos — subtle greyscale strip */
.quality-section__logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  flex-wrap: wrap;
  flex: 1;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  max-width: 900px;
  margin: 0 auto;
  opacity: 0;
}

.quality-section__logo-strip img {
  height: 36px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.45;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.quality-section__logo-strip img:nth-child(-n+2) {
  height: 48px;
}

.quality-section__logo-strip img:nth-child(3) {
  height: 56px;
}

.quality-section__logo-strip img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Scroll indicator */
.quality-section__scroll {
  position: absolute;
  bottom: clamp(1.5rem, 3vh, 2.5rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: rgba(26, 45, 80, 0.4);
  font-size: var(--font-size-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
  opacity: 0;
}

.quality-section__scroll svg {
  width: 18px;
  height: 18px;
}

/* Section 5 — is-visible triggered animations */
.quality-section.is-visible .quality-section__badge    { animation: heroFadeUp 0.6s ease-out 0.1s forwards; }
.quality-section.is-visible .quality-section__heading  { animation: heroFadeUp 0.6s ease-out 0.2s forwards; }
.quality-section.is-visible .quality-section__subtitle { animation: heroFadeUp 0.6s ease-out 0.3s forwards; }
.quality-section.is-visible .quality-section__actions  { animation: heroFadeUp 0.6s ease-out 0.4s forwards; }
.quality-section.is-visible .quality-section__portal-link { animation: heroFadeUp 0.6s ease-out 0.5s forwards; }
.quality-section.is-visible .quality-section__stats    { animation: heroFadeUp 0.6s ease-out 0.3s forwards; }
.quality-section.is-visible .quality-section__logo-strip { animation: heroFadeUp 0.6s ease-out 0.55s forwards; }
.quality-section.is-visible .quality-section__scroll   { animation: heroFadeUp 0.6s ease-out 0.6s forwards; }

/* Section 5 responsive */
@media (max-width: 768px) {
  .quality-section {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }
  .quality-section__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(6rem, 10vh, 8rem) clamp(1rem, 4vw, 2rem) clamp(1rem, 2vh, 2rem);
    gap: var(--space-xl);
  }
  .quality-section__heading {
    font-size: var(--font-size-2xl);
  }
  .quality-section__stats {
    flex-direction: column;
    gap: var(--space-md);
    min-width: auto;
  }
  .quality-section__stat {
    border-top: 1px solid rgba(192, 57, 43, 0.2);
    border-left: none;
    padding: var(--space-sm) 0;
  }
  .quality-section__stat:first-child {
    border-top: none;
    padding-top: 0;
  }
  .quality-section__stat-desc {
    font-size: 0.75rem;
  }
}

/* ===== EXPERT TEAM SECTION ===== */
.team-section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  background: linear-gradient(135deg, #0a1628 0%, #1a1a2e 40%, #16213e 100%);
  padding: 90px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  overflow: hidden;
  scroll-snap-align: start;
}

/* Top row: heading left + stats right (mirrors section 4) */
.team-section__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 1100px;
  flex-shrink: 0;
  margin: 0 auto;
  padding: clamp(1rem, 2vh, 2rem) clamp(1.5rem, 4vw, 4rem) 0;
  text-align: left;
  opacity: 0;
}

.team-section__text {
  flex: 1 1 50%;
}

.team-section__badge {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.team-section__heading {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.team-section__heading span {
  color: #e74c3c;
}

.team-section__subtitle {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* Right stats column — dark navy card */
.team-section__stats-col {
  flex: 0 0 auto;
  min-width: 260px;
  max-width: 340px;
  margin-top: clamp(0.5rem, 1vw, 1rem);
}

.team-section__stats-heading {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.team-section__stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.team-section__stat-item:last-child {
  border-bottom: none;
}

.team-section__stat-item svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: var(--color-accent);
  opacity: 0.85;
}

.team-section__stat-item span {
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  font-weight: 600;
  color: var(--color-white);
}

/* Team grid — 5 columns */
.team-section__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 1000px;
  flex: 1;
  align-content: center;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  opacity: 0;
}

.team-section__card {
  text-align: center;
}

.team-section__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: var(--space-md);
  background: rgba(255, 255, 255, 0.05);
}

.team-section__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0%);
  transition: filter var(--transition-base), transform var(--transition-slow);
}

.team-section__card:hover .team-section__photo img {
  transform: scale(1.03);
}

.team-section__role {
  display: block;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.team-section__name {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
}

/* Role-based cards (no photos/names) */
.team-section__card--role {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  transition: background 0.3s ease, transform 0.3s ease;
}
.team-section__card--role:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-3px);
}
.team-section__role-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-section__role-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-accent);
}
.team-section__expertise {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  margin-top: 0.35rem;
}

/* Global locations bar */
.team-section__locations {
  text-align: center;
  opacity: 0;
}

.team-section__locations-label {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.team-section__locations-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.team-section__locations-list span {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
}

.team-section__locations-hq {
  color: var(--color-accent);
  font-size: 0.7rem;
  font-weight: 700;
}

.team-section__locations-divider {
  color: rgba(255, 255, 255, 0.15) !important;
  font-weight: 300 !important;
}

/* Animations */
.team-section.is-visible .team-section__top {
  animation: heroFadeUp 0.6s ease forwards;
  animation-delay: 0.1s;
}
.team-section.is-visible .team-section__grid {
  animation: heroFadeUp 0.6s ease forwards;
  animation-delay: 0.3s;
}
.team-section.is-visible .team-section__locations {
  animation: heroFadeUp 0.6s ease forwards;
  animation-delay: 0.5s;
}

.team-section__scroll {
  position: absolute;
  bottom: clamp(1rem, 2vh, 1.5rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  z-index: 2;
  opacity: 0;
}

.team-section__scroll span {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
}

.team-section__scroll svg {
  width: 18px;
  height: 18px;
  stroke: rgba(255, 255, 255, 0.4);
  animation: scrollBounce 2s ease-in-out infinite;
}

.team-section.is-visible .team-section__scroll {
  animation: heroFadeUp 0.6s ease forwards;
  animation-delay: 0.6s;
}

/* Responsive */
@media (max-width: 768px) {
  .team-section {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }
  .team-section__top {
    flex-direction: column;
    text-align: center;
    padding: 0 clamp(1rem, 4vw, 2rem);
  }
  .team-section__stats-col {
    min-width: unset;
    max-width: 100%;
    width: 100%;
  }
  .team-section__stat-item {
    justify-content: center;
  }
  .team-section__stats-heading {
    text-align: center;
  }
  .team-section__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 0 clamp(1rem, 4vw, 2rem);
  }
}

@media (max-width: 480px) {
  .team-section__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}


/* ===== BIOMARKER RESULTS SHOWCASE ===== */
.results-section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: linear-gradient(135deg, #0a1628 0%, #1a1a2e 40%, #16213e 100%);
  scroll-snap-align: start;
  padding: 90px 0 0;
}

/* Top row: heading left */
.results-section__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(1rem, 2vh, 2rem) clamp(1.5rem, 4vw, 4rem) 0;
  text-align: left;
  opacity: 0;
  flex-shrink: 0;
}

.results-section__text {
  max-width: 520px;
  flex-shrink: 0;
}

/* Report Features — right-side list */
.results-section__features {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 200px;
  margin-top: 0;
}

.results-section__features-heading {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
}

.results-section__feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.results-section__feature-item:first-of-type {
  border-top: none;
}

.results-section__feature-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-accent);
  flex-shrink: 0;
  opacity: 0.8;
}

.results-section__feature-item span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-white);
  white-space: nowrap;
}

.results-section__badge {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.results-section__heading {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.results-section__heading span {
  color: #e74c3c;
}

.results-section__subtitle {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.results-section__hint {
  font-size: 0.75rem;
  color: #fff;
  margin-top: var(--space-sm);
  letter-spacing: 0.05em;
}

/* Right stats column — dark navy card */
.results-section__stats-col {
  flex: 0 0 auto;
  min-width: 260px;
  max-width: 340px;
  margin-top: clamp(0.5rem, 1vw, 1rem);
}

.results-section__stats-heading {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #e74c3c;
  margin-bottom: var(--space-lg);
}

.results-section__stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  text-align: left;
}

.results-section__stat-item:last-child {
  border-bottom: none;
}

.results-section__stat-item svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: #e74c3c;
}

.results-section__stat-item span {
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  font-weight: 600;
  color: var(--color-white);
}

/* Report links */
a.results-section__stat-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.25s ease, padding-left 0.25s ease;
  border-radius: 6px;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
a.results-section__stat-link:hover {
  background: rgba(255, 255, 255, 0.08);
  padding-left: 0.75rem;
}
.results-section__stat-arrow {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  stroke: rgba(255, 255, 255, 0.4);
  margin-left: auto;
  transition: stroke 0.25s ease, transform 0.25s ease;
}
a.results-section__stat-link:hover .results-section__stat-arrow {
  stroke: var(--color-accent);
  transform: translate(2px, -2px);
}

/* Carousel heading — above cards */
.results-section__carousel-heading {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  margin: 0 0 0.5rem 0;
  flex-shrink: 0;
}

.results-section.is-visible .results-section__carousel-heading { animation: heroFadeUp 0.6s ease-out 0.2s forwards; }

/* Carousel + arrows wrapper — positioning context for arrows */
.results-section__carousel-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
}

/* Carousel arrow buttons */
.results-section__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 22, 40, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  padding: 0;
}

.results-section__arrow:hover {
  background: rgba(0, 180, 216, 0.25);
  border-color: rgba(0, 180, 216, 0.5);
  transform: translateY(-50%) scale(1.08);
}

.results-section__arrow svg {
  width: 22px;
  height: 22px;
}

.results-section__arrow--left {
  left: clamp(0.75rem, 2vw, 2rem);
}

.results-section__arrow--right {
  right: clamp(0.75rem, 2vw, 2rem);
}

/* Biomarker carousel */
.results-section__carousel {
  overflow: hidden;
  width: 100%;
}

.results-section__track {
  display: flex;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  width: max-content;
  will-change: transform;
}

/* Carousel is driven entirely by JS — no CSS animation */

/* Individual biomarker card */
.results-section__card {
  position: relative;
  flex: 0 0 clamp(180px, 18vw, 220px);
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

/* Legacy image-based cards */
.results-section__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.results-section__card:hover img {
  transform: scale(1.05);
}

/* ── Clickable report card links ── */
a.results-section__card--link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.results-section__card-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(8px);
  background: var(--color-accent, #00B4D8);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 3;
  pointer-events: none;
  white-space: nowrap;
}

.results-section__card--link:hover .results-section__card-cta {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

.results-section__card--link:hover img {
  transform: scale(1.08);
  filter: brightness(0.6);
}

/* ── Data cards (image-free) ── */
.results-section__card--data {
  background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem 1.2rem;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.results-section__card--data:hover {
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* Icon area */
.results-section__card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.results-section__card--data:hover .results-section__card-icon {
  opacity: 0.8;
}

.results-section__card-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-accent, #00B4D8);
}

/* Card content area */
.results-section__card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  width: 100%;
  text-align: center;
}

/* Dark gradient overlay (legacy image cards) */
.results-section__card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.2rem 1rem 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.results-section__card-value {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
}

.results-section__card-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.03em;
  margin-bottom: 0.3rem;
}

/* Result range bar */
.results-section__card-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.results-section__card-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1s ease;
}

.results-section__card-bar--optimal {
  background: linear-gradient(to right, #2ecda0, #4ecdc4);
}

.results-section__card-bar--suboptimal {
  background: linear-gradient(to right, #f0a030, #f5c242);
}

.results-section__card-bar--low {
  background: linear-gradient(to right, #e04040, #d32f2f);
}

/* Status label */
.results-section__card-status {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.15rem;
}

.results-section__card-status--optimal {
  color: #2ecda0;
}

.results-section__card-status--suboptimal {
  color: #f0a030;
}

.results-section__card-status--low {
  color: #e04040;
}

/* Scroll indicator */
.results-section__scroll {
  position: absolute;
  bottom: clamp(1.5rem, 3vh, 2.5rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--font-size-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  animation: scrollBounce 2s ease-in-out infinite;
  opacity: 0;
}

.results-section__scroll svg {
  width: 18px;
  height: 18px;
}

/* Animations */
.results-section.is-visible .results-section__top       { animation: heroFadeUp 0.6s ease-out 0.1s forwards; }
.results-section.is-visible .results-section__carousel-wrap { animation: heroFadeUp 0.6s ease-out 0.3s forwards; }
.results-section.is-visible .results-section__scroll     { animation: heroFadeUp 0.6s ease-out 0.5s forwards; }

/* Responsive */
@media (max-width: 768px) {
  .results-section {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }
  .results-section__top {
    flex-direction: column;
    text-align: left;
  }
  .results-section__text {
    max-width: 100%;
  }
  .results-section__features {
    min-width: auto;
  }
  .results-section__feature-item span {
    white-space: normal;
  }
  .results-section__stats-col {
    min-width: unset;
    max-width: 100%;
    width: 100%;
  }
  .results-section__stat-item {
    justify-content: center;
  }
  .results-section__stats-heading {
    text-align: center;
  }
  .results-section__card {
    flex: 0 0 200px;
  }
}


/* ===== SECTION 6 — WHO WE SERVE (mirrors section 4 layout) ===== */
.partners-section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #f7f8fa;
  color: var(--color-text);
  padding: 90px 0 0;
  scroll-snap-align: start;
}

.partners-section__bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(0,180,216,0.04) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 100%, rgba(231,76,60,0.03) 0%, transparent 60%);
  pointer-events: none;
}

/* Two-column layout */
.partners-section__layout {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: var(--space-3xl);
  width: 100%;
  align-items: flex-start;
  flex-shrink: 0;
  padding: clamp(1rem, 2vh, 2rem) clamp(1.5rem, 4vw, 4rem) 0;
}

.partners-section__left {
  flex: 0 0 40%;
  max-width: 420px;
}

.partners-section__badge {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  opacity: 0;
}

.partners-section__heading {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  opacity: 0;
}

.partners-section__heading span {
  color: #e74c3c;
}

.partners-section__subtitle {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0 0 1.5rem;
  opacity: 0;
}

.partners-section__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  opacity: 0;
}
.partners-section__cta-btn:hover {
  background: #0096b7;
  transform: translateY(-1px);
}

/* Right column — horizontal rows */
.partners-section__right {
  flex: 0 1 560px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
}

.partners-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s, transform 0.15s;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.partners-row:last-child { border-bottom: none; }
.partners-row:hover {
  background: #fff;
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.partners-row__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.partners-row__icon svg { width: 22px; height: 22px; }
.partners-row__icon--blue  { background: rgba(0,180,216,0.1); }
.partners-row__icon--blue svg  { stroke: #00B4D8; }
.partners-row__icon--green { background: rgba(16,185,129,0.1); }
.partners-row__icon--green svg { stroke: #10B981; }
.partners-row__icon--orange { background: rgba(245,158,11,0.1); }
.partners-row__icon--orange svg { stroke: #F59E0B; fill: #F59E0B; }
.partners-row__icon--purple { background: rgba(139,92,246,0.1); }
.partners-row__icon--purple svg { stroke: #8B5CF6; }

.partners-row__text {
  flex: 1;
  min-width: 0;
}

.partners-row__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.partners-row__desc {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0;
}

.partners-row__arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--color-accent);
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.2s;
}
.partners-row:hover .partners-row__arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* Key numbers bar */
.partners-section__numbers {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0;
  flex: 1;
  align-items: center;
  padding: 0 clamp(2rem, 5vw, 6rem);
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  opacity: 0;
}

.how-it-works.is-visible ~ .partners-section .partners-section__numbers,
.partners-section.is-visible .partners-section__numbers { animation: heroFadeUp 0.6s ease-out 0.6s forwards; }

.partners-section__number-item {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.partners-section__number-item:first-child {
  border-left: none;
}

.partners-section__number-value {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.partners-section__number-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .partners-section__numbers {
    flex-wrap: wrap;
    gap: 1.5rem 0;
  }
  .partners-section__number-item {
    flex: 0 0 50%;
    border-left: none;
  }
}

/* Section 6 — fade-in animations */
.partners-section.is-visible .partners-section__badge      { animation: heroFadeUp 0.6s ease-out 0.1s forwards; }
.partners-section.is-visible .partners-section__heading    { animation: heroFadeUp 0.6s ease-out 0.2s forwards; }
.partners-section.is-visible .partners-section__subtitle   { animation: heroFadeUp 0.6s ease-out 0.3s forwards; }
.partners-section.is-visible .partners-section__cta-btn    { animation: heroFadeUp 0.6s ease-out 0.35s forwards; }
.partners-section.is-visible .partners-section__right      { animation: heroFadeUp 0.6s ease-out 0.4s forwards; }
.partners-section.is-visible .partners-section__scroll     { animation: heroFadeUp 0.6s ease-out 0.7s forwards; }

/* Scroll indicator */
.partners-section__scroll {
  position: absolute;
  bottom: clamp(1rem, 2vh, 2rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  opacity: 0;
}
.partners-section__scroll span {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(0,0,0,0.3);
}
.partners-section__scroll svg {
  width: 18px;
  height: 18px;
  stroke: rgba(0,0,0,0.3);
  animation: heroScrollBounce 2s ease-in-out infinite;
}

/* Section 6 responsive */
@media (max-width: 768px) {
  .partners-section__layout {
    flex-direction: column;
    gap: var(--space-xl);
  }
  .partners-section__left {
    flex: none;
    max-width: 100%;
  }
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.section-header__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
}

.section-header__title {
  margin-bottom: var(--space-lg);
}

.section-header__desc {
  font-size: var(--font-size-md);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* --- Cards --- */
.card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
}

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

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, var(--color-accent-light) 0%, rgba(0, 180, 216, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
}

.card__icon--coral {
  background: linear-gradient(135deg, #FFE0E0 0%, rgba(255, 107, 107, 0.15) 100%);
}

.card__icon--coral svg {
  color: var(--color-coral);
}

.card__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-accent);
  transition: gap var(--transition-base);
}

.card__link:hover {
  gap: var(--space-md);
}

.card__link svg {
  width: 16px;
  height: 16px;
}

/* Feature card (horizontal) */
.card--feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
  padding: var(--space-xl);
}

.card--feature .card__icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

/* Solution card (clickable, with arrow) */
.card--solution {
  cursor: pointer;
  position: relative;
  padding-right: var(--space-3xl);
}

.card--solution::after {
  content: '→';
  position: absolute;
  right: var(--space-xl);
  top: var(--space-2xl);
  font-size: var(--font-size-xl);
  color: var(--color-accent);
  transition: transform var(--transition-base);
}

.card--solution:hover::after {
  transform: translateX(4px);
}

/* --- Stats Section --- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stat {
  text-align: center;
  padding: var(--space-xl);
}

.stat__number {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat__label {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* Stats on dark backgrounds */
.section--dark .stat__number {
  color: var(--color-accent);
}

.section--dark .stat__label {
  color: rgba(255, 255, 255, 0.7);
}

/* --- Markets / Regions --- */
.markets {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

.market {
  padding: var(--space-xl);
  background: var(--color-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.market:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.market__icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.market__name {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
}

/* --- CTA Section --- */
.cta-section {
  padding: var(--space-4xl) 0;
  background: var(--color-hero-gradient);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section__title {
  font-size: var(--font-size-3xl);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  position: relative;
}

.cta-section__desc {
  font-size: var(--font-size-md);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-section .btn {
  position: relative;
}

/* --- Services Detail --- */
.service-block {
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.service-block:nth-child(even) .service-block__inner {
  direction: rtl;
}

.service-block:nth-child(even) .service-block__inner > * {
  direction: ltr;
}

.service-block__content {
  max-width: 500px;
}

.service-block__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.375rem 0.875rem;
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
  margin-bottom: var(--space-lg);
}

.service-block__title {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-md);
}

.service-block__desc {
  font-size: var(--font-size-base);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.service-block__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.service-block__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.service-block__feature svg {
  width: 20px;
  height: 20px;
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-block__visual {
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
  position: relative;
  background: var(--color-bg);
}

.service-block__visual svg {
  width: 120px;
  height: 120px;
  color: var(--color-accent);
  opacity: 0.6;
}

.service-block__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: var(--border-radius-lg);
  transition: transform 0.6s ease;
}

.service-block__visual:hover img {
  transform: scale(1.04);
}

.section-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Solution Detail Expandable --- */
.solution-detail {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-lg);
  transition: all var(--transition-base);
}

.solution-detail:hover {
  border-color: var(--color-accent);
}

.solution-detail__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl) var(--space-2xl);
  cursor: pointer;
  background: var(--color-white);
  transition: background var(--transition-fast);
}

.solution-detail__header:hover {
  background: var(--color-bg);
}

.solution-detail__header-left {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.solution-detail__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.solution-detail__icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

.solution-detail__name {
  font-size: var(--font-size-lg);
  font-weight: 700;
}

.solution-detail__subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.solution-detail__toggle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
}

.solution-detail__toggle svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-light);
}

.solution-detail--open .solution-detail__toggle {
  transform: rotate(180deg);
}

.solution-detail__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.solution-detail--open .solution-detail__body {
  max-height: 600px;
}

.solution-detail__content {
  padding: 0 var(--space-2xl) var(--space-2xl);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-xl);
}

.solution-detail__features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.solution-detail__feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.solution-detail__feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- About Page --- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-story__visual {
  border-radius: var(--border-radius-lg);
  min-height: 400px;
  overflow: hidden;
  position: relative;
}

.about-story__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: var(--border-radius-lg);
}

.about-story__visual svg {
  width: 160px;
  height: 160px;
  color: var(--color-accent);
  opacity: 0.5;
}

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

.brand-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-base);
}

.brand-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.brand-card__name {
  font-size: var(--font-size-md);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.brand-card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

/* --- Contact Form --- */
.hero--page + .section {
  padding-top: var(--space-3xl);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-3xl);
}

.form {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--color-border);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form__group {
  margin-bottom: var(--space-lg);
}

.form__label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background: var(--color-white);
  transition: all var(--transition-fast);
  outline: none;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--color-text-light);
}

.form__textarea {
  min-height: 140px;
  resize: vertical;
}

.form__submit {
  width: 100%;
  margin-top: var(--space-md);
}

.form__message {
  display: none;
  padding: var(--space-md);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-sm);
  font-weight: 500;
  margin-top: var(--space-md);
}

.form__message--success {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form__message--error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* Contact info sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-info__card {
  background: var(--color-bg);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
}

.contact-info__card-title {
  font-size: var(--font-size-md);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.contact-info__item:last-child {
  margin-bottom: 0;
}

.contact-info__flag {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.contact-info__item svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Portal Page --- */

/* Portal login selector (dashboard-style) */
.portal-selector {
  padding: var(--space-2xl) 0 var(--space-xl);
  background: #F7F8FA;
}

.portal-selector + .section {
  padding-top: var(--space-2xl);
}

.portal-selector__subtitle {
  text-align: center;
  font-size: var(--font-size-md);
  color: #64748B;
  margin-bottom: var(--space-2xl);
}

.portal-selector__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  max-width: 820px;
  margin: 0 auto;
}

.portal-selector__card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 2rem 1.75rem;
  border: 2px solid #E2E8F0;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.portal-selector__card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.portal-selector__card--primary {
  border-color: #2DD4A8;
}

.portal-selector__card--partner {
  border-top: 4px solid #6B5CE7;
  border-color: #E2E8F0;
  border-top-color: #6B5CE7;
  padding-top: calc(2rem + 48px);
}

.portal-selector__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #E6FFF7;
  color: #0D9488;
  font-size: 12px;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 1.25rem;
}

.portal-selector__badge svg {
  color: #0D9488;
}

.portal-selector__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.portal-selector__icon--teal {
  background: #E6FFF7;
  color: #0D9488;
}

.portal-selector__icon--purple {
  background: #EDE9FE;
  color: #6B5CE7;
}

.portal-selector__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 0.65rem;
}

.portal-selector__desc {
  font-size: 0.9rem;
  color: #64748B;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.portal-selector__btn {
  display: block;
  width: 100%;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  border-radius: 10px;
  text-decoration: none;
  margin-top: auto;
  transition: all 0.15s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.portal-selector__btn--teal {
  background: #2DD4A8;
  color: #fff;
}

.portal-selector__btn--teal:hover {
  background: #22B892;
}

.portal-selector__btn--outline {
  background: #fff;
  color: #1E293B;
  border: 2px solid #E2E8F0;
}

.portal-selector__btn--outline:hover {
  border-color: #6B5CE7;
  color: #6B5CE7;
}

.portal-selector__link {
  text-align: center;
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: #94A3B8;
}

.portal-selector__link a {
  color: #0D9488;
  font-weight: 600;
  text-decoration: none;
}

.portal-selector__link a:hover {
  text-decoration: underline;
}

.portal-selector__info {
  max-width: 820px;
  margin: var(--space-xl) auto 0;
  padding: 1rem 1.25rem;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #1E40AF;
  line-height: 1.6;
}

.portal-selector__info svg {
  flex-shrink: 0;
  color: #3B82F6;
  margin-top: 2px;
}

.portal-selector__info p {
  margin: 0;
}

.portal-selector__note {
  font-size: 0.78rem;
  color: #94A3B8;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.portal-selector__disclaimer {
  max-width: 820px;
  margin: var(--space-md) auto 0;
  font-size: 0.75rem;
  color: #94A3B8;
  text-align: center;
  line-height: 1.6;
}

/* Portal comparison table */
.portal-comparison {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.portal-comparison__table {
  width: 100%;
  border-collapse: collapse;
}

.portal-comparison__table thead th {
  padding: 1rem 1.25rem;
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-align: center;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.portal-comparison__table thead th:first-child {
  text-align: left;
}

.portal-comparison__table tbody td {
  padding: 0.85rem 1.25rem;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.portal-comparison__table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--color-text);
}

.portal-comparison__table tbody tr:last-child td {
  border-bottom: none;
}

.portal-check {
  color: #22C55E;
  font-weight: 700;
  font-size: var(--font-size-md);
}

.portal-dash {
  color: var(--color-text-light);
  font-size: var(--font-size-md);
}

/* ===== SECTION 8 — DIAGNOSTIC SERVICES (dark) ===== */
.services-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(4rem, 8vh, 6rem) clamp(2rem, 5vw, 6rem);
  background: linear-gradient(135deg, #0a1628 0%, #1a1a2e 40%, #16213e 100%);
  color: var(--color-white);
  overflow: hidden;
  scroll-snap-align: start;
}

.services-section__bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(0, 180, 216, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(0, 180, 216, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.services-section__particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.services-section__particle {
  position: absolute;
  width: 2px; height: 2px;
  background: rgba(0, 180, 216, 0.25);
  border-radius: 50%;
  animation: particleFloat 20s infinite ease-in-out;
}
.services-section__particle:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.services-section__particle:nth-child(2) { top: 60%; left: 80%; animation-delay: -7s; }
.services-section__particle:nth-child(3) { top: 80%; left: 30%; animation-delay: -14s; }

/* Inner — text column (matches standard two-column __inner but single column here) */
.services-section__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
}

.services-section__text {
  max-width: 480px;
  opacity: 0;
}

.services-section__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.services-section__heading {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--color-white);
  margin-bottom: 1rem;
}
.services-section__heading span { color: #e74c3c; }

.services-section__subtitle {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
}

/* CTA Card — glassmorphism for dark section */
.services-section__cta-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--border-radius-lg);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  cursor: pointer;
  opacity: 0;
}
.services-section__cta-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}
.services-section__cta-icon svg {
  width: 24px; height: 24px;
  stroke: var(--color-accent);
  flex-shrink: 0;
}
.services-section__cta-content { flex: 1; min-width: 0; }
.services-section__cta-title {
  font-size: 0.85rem; font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.15rem;
}
.services-section__cta-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}
.services-section__cta-link {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
  white-space: nowrap;
  transition: gap 0.2s ease;
}
.services-section__cta-link:hover { gap: 0.7rem; }
.services-section__cta-link svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Horizontal service cards strip — bottom */
.services-section__strip {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: clamp(1.5rem, 3vh, 2.5rem) clamp(2rem, 5vw, 6rem) 0;
  margin-top: clamp(2rem, 4vh, 3.5rem);
  opacity: 0;
}

.services-section__card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 clamp(0.75rem, 1.5vw, 1.5rem);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: all 0.3s ease;
}
.services-section__card:first-child { border-left: none; }
.services-section__card:hover { transform: translateY(-2px); }
.services-section__card:hover svg { opacity: 1; }
.services-section__card:hover h3 { color: var(--color-accent); }

.services-section__card svg {
  width: 26px; height: 26px;
  stroke: var(--color-accent);
  margin-bottom: 0.6rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.services-section__card h3 {
  font-size: clamp(0.7rem, 0.9vw, 0.85rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.3rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}
.services-section__card p {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.45;
}

/* Scroll indicator */
.services-section__scroll {
  position: absolute;
  bottom: clamp(1rem, 2vh, 1.5rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  z-index: 2;
  opacity: 0;
}
.services-section__scroll span {
  font-size: 0.65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
}
.services-section__scroll svg {
  width: 18px; height: 18px;
  stroke: rgba(255, 255, 255, 0.4);
  animation: scrollBounce 2s ease-in-out infinite;
}

/* Services responsive */
@media (max-width: 900px) {
  .services-section__strip { flex-wrap: wrap; gap: 1rem; }
  .services-section__card { flex: 0 0 calc(33.33% - 1rem); border-left: none; }
}
@media (max-width: 540px) {
  .services-section__strip { flex-direction: column; align-items: flex-start; }
  .services-section__card { flex: none; width: 100%; text-align: left; align-items: flex-start; padding: 0.5rem 0; border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.06); }
  .services-section__card:first-child { border-top: none; }
}

/* Services animations */
.services-section.is-visible .services-section__text    { animation: heroFadeUp 0.6s ease-out 0.1s forwards; }
.services-section.is-visible .services-section__cta-card { animation: heroFadeUp 0.6s ease-out 0.25s forwards; }
.services-section.is-visible .services-section__strip    { animation: heroFadeUp 0.6s ease-out 0.35s forwards; }
.services-section.is-visible .services-section__scroll   { animation: heroFadeUp 0.6s ease-out 0.5s forwards; }


/* ===== FINAL CTA (dark, two-column) ===== */
.final-cta {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(4rem, 8vh, 6rem) clamp(2rem, 5vw, 6rem);
  background: linear-gradient(135deg, #0a1628 0%, #1a1a2e 40%, #16213e 100%);
  color: var(--color-white);
  overflow: hidden;
  scroll-snap-align: start;
}

.final-cta__bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(0, 180, 216, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 30%, rgba(0, 180, 216, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.final-cta__particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.final-cta__particle {
  position: absolute;
  width: 2px; height: 2px;
  background: rgba(0, 180, 216, 0.25);
  border-radius: 50%;
  animation: particleFloat 20s infinite ease-in-out;
}
.final-cta__particle:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; }
.final-cta__particle:nth-child(2) { top: 70%; left: 75%; animation-delay: -8s; }
.final-cta__particle:nth-child(3) { top: 40%; left: 50%; animation-delay: -15s; }

.final-cta__layout {
  position: relative;
  z-index: 2;
  display: flex;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  max-width: 1100px;
  width: 100%;
}

/* Left column */
.final-cta__left {
  flex: 0 0 45%;
  opacity: 0;
}
.final-cta__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.final-cta__heading {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 1rem;
}
.final-cta__heading span { color: #e74c3c; }
.final-cta__subtitle {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
}

/* Right column: action cards */
.final-cta__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
}

.final-cta__action {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}
.final-cta__action:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}
.final-cta__action:hover .final-cta__action-arrow {
  opacity: 1;
  transform: translateX(3px);
}

.final-cta__action-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 180, 216, 0.1);
  border-radius: 10px;
}
.final-cta__action-icon svg {
  width: 22px; height: 22px;
  stroke: var(--color-accent);
}

.final-cta__action-text { flex: 1; min-width: 0; }
.final-cta__action-text h3 {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.15rem;
}
.final-cta__action-text p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.4;
}

.final-cta__action-arrow {
  width: 20px; height: 20px;
  stroke: var(--color-accent);
  flex-shrink: 0;
  opacity: 0.4;
  transition: all 0.3s ease;
}

/* Final CTA responsive */
@media (max-width: 768px) {
  .final-cta__layout { flex-direction: column; text-align: center; }
  .final-cta__left { flex: none; }
}

/* Final CTA animations */
.final-cta.is-visible .final-cta__left  { animation: heroFadeUp 0.6s ease-out 0.1s forwards; }
.final-cta.is-visible .final-cta__right { animation: heroFadeUp 0.6s ease-out 0.3s forwards; }


/* --- Footer --- */
.footer {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand {
  max-width: 280px;
}

.footer__logo {
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
}

.footer__logo img {
  height: 38px;
  width: auto;
}

.footer__desc {
  font-size: var(--font-size-sm);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-lg);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--color-accent);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.8);
}

.footer__heading {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer__link {
  display: block;
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-md);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-accent);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.4);
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left--visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right--visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays for cards */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  /* Full-bleed hero responsive */
  .hero-fullbleed__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xl);
  }
  .hero-fullbleed__stats {
    flex-direction: row;
    gap: var(--space-xl);
    min-width: auto;
    width: 100%;
  }
  .hero-fullbleed__stat {
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 var(--space-lg);
  }
  .hero-fullbleed__stat:first-child {
    border-left: none;
    padding-left: 0;
  }
  .hero-fullbleed__stat-number {
    font-size: 1.8rem;
  }
  .hero-fullbleed__scroll { display: none; }
  .hero-fullbleed__services-strip {
    flex-wrap: wrap;
    gap: 4px;
    bottom: clamp(2rem, 4vh, 3rem);
  }
  .hero-fullbleed__service-card {
    flex: 0 0 calc(25% - 3px);
    padding: 0.5rem 0.3rem;
  }
  .hero-fullbleed__service-card h3 { font-size: 0.55rem; }

  h1, .hero__title { font-size: var(--font-size-3xl); }
  h2 { font-size: var(--font-size-2xl); }
  .hero__title { font-size: var(--font-size-3xl); }

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

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

  .service-block__inner {
    grid-template-columns: 1fr;
  }

  .service-block:nth-child(even) .service-block__inner {
    direction: ltr;
  }

  .about-story { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .portal-selector__grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .solution-detail__features-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root {
    --space-5xl: 4rem;
    --space-4xl: 3rem;
  }

  h1, .hero__title { font-size: var(--font-size-2xl); }
  h2 { font-size: var(--font-size-xl); }

  .hero { padding: 8rem 0 3rem; }
  .hero--page { padding: 7rem 0 2.5rem; }
  .hero--compact { padding: 6rem 0 1rem; }
  .hero__subtitle { font-size: var(--font-size-base); }

  /* Full-bleed hero mobile */
  .hero-fullbleed { min-height: 100vh; min-height: 100dvh; max-height: none; }
  .hero-fullbleed__stats {
    flex-direction: column;
    gap: 0;
  }
  .hero-fullbleed__stat {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: var(--space-md) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .hero-fullbleed__stat:first-child { border-top: none; }
  .hero-fullbleed__stat-number {
    font-size: 1.5rem;
  }
  .hero-fullbleed__stat-label {
    margin-bottom: 0;
  }
  .hero-fullbleed__title {
    font-size: 2rem;
  }
  .hero-fullbleed__actions .btn {
    width: 100%;
    text-align: center;
  }

  .container { padding: 0 var(--space-md); }

  .header__nav { display: none; }
  .header__toggle { display: flex; }

  .header__nav--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    padding: var(--space-xl);
    gap: var(--space-lg);
  }

  .header__nav--open .header__links {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-md);
  }

  .header__nav--open .header__link {
    padding: var(--space-sm) 0;
    font-size: var(--font-size-base);
    color: var(--color-text) !important;
  }

  .header__nav--open .header__link:hover,
  .header__nav--open .header__link--active {
    color: var(--color-primary) !important;
  }

  /* Fix transparent header toggle color when menu open */
  .header--transparent .header__toggle--active span {
    background-color: var(--color-text);
  }

  /* Fix dropdown trigger text in mobile */
  .header__nav--open .header__dropdown > .header__link {
    color: var(--color-text) !important;
  }

  .header__nav--open .header__dropdown-link {
    color: var(--color-text-light) !important;
  }

  /* Mobile dropdown accordion */
  .header__nav--open .header__dropdown {
    display: flex;
    flex-direction: column;
  }

  .header__nav--open .header__dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    min-width: auto;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: transparent;
  }

  .header__dropdown--open .header__dropdown-menu {
    max-height: 400px;
  }

  .header__nav--open .header__dropdown-link {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--color-text-light);
  }

  .header__nav--open .header__dropdown-link:hover {
    background: transparent;
  }

  .header__nav--open .header__dropdown:hover .header__dropdown-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
  }

  .header__nav--open .header__dropdown--open:hover .header__dropdown-menu,
  .header__nav--open .header__dropdown--open .header__dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 400px;
  }

  .header__nav--open .header__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .header__nav--open .header__portal-btn {
    text-align: center;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .grid--6 {
    grid-template-columns: 1fr;
  }

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

  .trust-bar__inner {
    gap: var(--space-xl);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    text-align: center;
  }

  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
  .brands-grid { grid-template-columns: 1fr; }
}

/* --- Test Catalogue Highlight --- */
.test-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.test-cat {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.test-cat:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.test-cat__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.test-cat__name {
  font-size: var(--font-size-md);
  font-weight: 700;
  color: var(--color-primary);
}

.test-cat__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.25rem 0.625rem;
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-size: var(--font-size-xs);
  font-weight: 700;
  border-radius: 100px;
  white-space: nowrap;
}

.test-cat__methods {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.test-cat__method-tag {
  padding: 0.2rem 0.5rem;
  background: var(--color-bg);
  color: var(--color-text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.test-cat__analytes {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.test-cat__samples {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.test-cat__sample-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-light);
}

.test-cat__sample-tag svg {
  width: 12px;
  height: 12px;
}

/* Publications highlight */
.pub-highlight {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-xl);
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  margin-top: var(--space-2xl);
}

.pub-highlight__stats {
  text-align: center;
  padding: var(--space-xl);
  border-right: 1px solid var(--color-border);
  min-width: 180px;
}

.pub-highlight__number {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.pub-highlight__label {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-top: var(--space-sm);
}

.pub-highlight__content {
  padding-left: var(--space-lg);
}

.pub-highlight__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.pub-highlight__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.pub-highlight__journals {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.pub-highlight__journal {
  padding: 0.25rem 0.625rem;
  background: var(--color-bg);
  color: var(--color-text-secondary);
  font-size: var(--font-size-xs);
  font-weight: 600;
  border-radius: 100px;
}

@media (max-width: 1024px) {
  .test-categories { grid-template-columns: repeat(2, 1fr); }
  .pub-highlight { grid-template-columns: 1fr; }
  .pub-highlight__stats { border-right: none; border-bottom: 1px solid var(--color-border); padding-bottom: var(--space-xl); }
  .pub-highlight__content { padding-left: 0; }
}

@media (max-width: 768px) {
  .test-categories { grid-template-columns: 1fr; }
}

/* --- Persona Entry Points --- */
.persona-paths {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-md);
}

.persona-path {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.persona-path:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.persona-path:hover .persona-path__icon {
  background: var(--color-accent);
}

.persona-path:hover .persona-path__icon svg {
  color: var(--color-white);
}

.persona-path__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  transition: all var(--transition-base);
}

.persona-path__icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  transition: color var(--transition-base);
}

.persona-path__label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.3;
}

.persona-path__sub {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .persona-paths { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .persona-paths { grid-template-columns: repeat(2, 1fr); }
}

/* --- Interactive Test Finder --- */
.test-finder__controls {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
}

.test-finder__label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
  margin-right: var(--space-sm);
  white-space: nowrap;
}

.test-finder__filters {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
  flex: 1;
}

.test-finder__btn {
  padding: 0.4rem 0.875rem;
  font-size: var(--font-size-xs);
  font-weight: 600;
  border-radius: 100px;
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.test-finder__btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.test-finder__btn--active {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-white);
}

.test-finder__search {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.5rem 0.875rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  background: var(--color-white);
  min-width: 220px;
  transition: border-color var(--transition-fast);
}

.test-finder__search:focus-within {
  border-color: var(--color-accent);
}

.test-finder__search svg {
  width: 16px;
  height: 16px;
  color: var(--color-text-light);
  flex-shrink: 0;
}

.test-finder__search input {
  border: none;
  outline: none;
  font-size: var(--font-size-sm);
  color: var(--color-text);
  width: 100%;
  background: transparent;
}

.test-finder__search input::placeholder {
  color: var(--color-text-light);
}

.test-cat--hidden {
  display: none !important;
}

.test-finder__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-3xl);
  color: var(--color-text-light);
  font-size: var(--font-size-md);
}

/* --- Biomarker Listing --- */
.biomarker-list {
  margin-top: var(--space-2xl);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
}

.biomarker-list__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xl);
  text-align: center;
}

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

.biomarker-list__group-name {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-accent-light);
}

.biomarker-list__items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.biomarker-list__items li {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  padding: 0.375rem 0;
  padding-left: var(--space-lg);
  position: relative;
  line-height: 1.5;
}

.biomarker-list__items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-light);
  border: 1.5px solid var(--color-accent);
}

@media (max-width: 1024px) {
  .biomarker-list__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .biomarker-list__grid { grid-template-columns: 1fr; }
}

/* --- Quality & Compliance Dashboard --- */
.compliance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.compliance__card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.compliance__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.compliance__card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.compliance__card:hover::before {
  opacity: 1;
}

.compliance__badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.compliance__badge svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
}

.compliance__badge--gold {
  background: #FEF3C7;
}

.compliance__badge--gold svg {
  color: #D97706;
}

.compliance__badge--green {
  background: #D1FAE5;
}

.compliance__badge--green svg {
  color: #059669;
}

.compliance__badge--purple {
  background: #EDE9FE;
}

.compliance__badge--purple svg {
  color: #7C3AED;
}

.compliance__name {
  font-size: var(--font-size-md);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.compliance__desc {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
  line-height: 1.5;
}

.compliance__standards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.compliance__standard {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg);
  border-radius: 100px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-text-secondary);
}

.compliance__standard svg {
  width: 14px;
  height: 14px;
  color: var(--color-success);
}

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

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

/* --- Thought Leadership / Insights --- */
.insights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.insight-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.insight-card__banner {
  padding: var(--space-2xl) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.insight-card__banner--publications {
  background: linear-gradient(135deg, #0A1628 0%, #1A2D50 100%);
}

.insight-card__banner--grants {
  background: linear-gradient(135deg, #064E3B 0%, #065F46 100%);
}

.insight-card__banner-content {
  text-align: center;
}

.insight-card__big-number {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}

.insight-card__big-label {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-sm);
}

.insight-card__body {
  padding: var(--space-xl);
}

.insight-card__tag {
  display: inline-flex;
  padding: 0.25rem 0.625rem;
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-size: var(--font-size-xs);
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-md);
}

.insight-card__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.insight-card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.insight-card__metrics {
  display: flex;
  gap: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.insight-card__metric {
  text-align: center;
}

.insight-card__metric-value {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--color-accent);
}

.insight-card__metric-label {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
}

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

/* --- Utility --- */
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

/* ===== TEAM SECTION ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.team-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.team-card:hover::before {
  transform: scaleX(1);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), #0090b0);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.team-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.team-card__role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-card__specialism {
  display: inline-block;
  background: rgba(0, 180, 216, 0.08);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: var(--space-md);
}

.team-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

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

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* --- Image Showcase Strip --- */
.image-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  overflow: hidden;
}

.image-strip__item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.image-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.image-strip__item:hover img {
  transform: scale(1.05);
}

.image-strip__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.4) 0%, transparent 60%);
  pointer-events: none;
}

.image-strip__caption {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  color: white;
  font-size: var(--font-size-sm);
  font-weight: 600;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

@media (max-width: 1024px) {
  .image-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .image-strip {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Split Content with Image --- */
.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.split-content--reverse {
  direction: rtl;
}

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

.split-content__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.split-content__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-content__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(0,180,216,0.1);
  pointer-events: none;
}

.split-content__text {
  padding: var(--space-xl) 0;
}

.split-content__tag {
  display: inline-block;
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-xs) var(--space-md);
  border-radius: 100px;
  margin-bottom: var(--space-lg);
}

.split-content__title {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}

.split-content__desc {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

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

.split-content__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.split-content__feature svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}

.split-content__feature span {
  color: var(--color-text);
  font-weight: 500;
  font-size: var(--font-size-base);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .split-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .split-content--reverse {
    direction: ltr;
  }
}

/* --- Solution Cards with Images --- */
.card--solution-img {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.card--solution-img .card__image {
  width: 140px;
  height: 100%;
  min-height: 160px;
  overflow: hidden;
}

.card--solution-img .card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card--solution-img:hover .card__image img {
  transform: scale(1.08);
}

.card--solution-img .card__body {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card--solution-img .card__body::after {
  content: '→';
  font-size: 1.25rem;
  color: var(--color-accent);
  margin-top: var(--space-md);
  transition: transform 0.3s ease;
}

.card--solution-img:hover .card__body::after {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .card--solution-img {
    grid-template-columns: 1fr;
  }
  .card--solution-img .card__image {
    width: 100%;
    height: 140px;
    min-height: auto;
  }
}


/* ============================================
   SERVICES PAGE — Full-Viewport Snap Sections
   ============================================ */

/* --- Base section --- */
.svc-section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}

/* Dark variant (sections 1, 3, 5) */
.svc-section--dark {
  background: linear-gradient(135deg, #0a1628 0%, #1a1a2e 40%, #16213e 100%);
  color: var(--color-white);
  justify-content: center;
}

/* Light variant (sections 2, 4, 6) */
.svc-section--light {
  background: var(--color-bg-alt);
  color: var(--color-text);
  justify-content: flex-start;
  padding: 90px 0 0;
}

/* Dark gradient overlay */
.svc-section__bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0, 180, 216, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(192, 57, 43, 0.04) 0%, transparent 50%);
  z-index: 0;
}

/* Floating particles */
.svc-section__particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.15);
  animation: heroParticleFloat 8s ease-in-out infinite;
  z-index: 0;
}
/* Micro-particle sizing — uses adjacent sibling selectors to avoid nth-child fragility */
.svc-section__particle { width: 5px; height: 5px; top: 20%; left: 15%; animation-delay: 0s; }
.svc-section__particle + .svc-section__particle { width: 7px; height: 7px; top: 50%; left: 80%; animation-delay: 2s; }
.svc-section__particle + .svc-section__particle + .svc-section__particle { width: 4px; height: 4px; top: 30%; left: 70%; animation-delay: 4s; }
.svc-section__particle + .svc-section__particle + .svc-section__particle + .svc-section__particle { width: 6px; height: 6px; top: 65%; left: 25%; animation-delay: 1s; }

/* --- Inner layout --- */
.svc-section__inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  gap: var(--space-3xl);
}

.svc-section--light .svc-section__inner {
  padding: clamp(1rem, 2vh, 2rem) clamp(1.5rem, 4vw, 4rem) 0;
  flex-shrink: 0;
}

/* --- Text column --- */
.svc-section__text {
  max-width: 620px;
}

/* Badge */
.svc-section__badge {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  opacity: 0;
}
.svc-section__badge--dark {
  color: #1A2D50;
}

/* Heading */
.svc-section__heading {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  opacity: 0;
}
.svc-section__heading--hero {
  margin-bottom: var(--space-md);
}
.svc-section__heading span {
  color: #e74c3c;
}
.svc-section__heading--dark {
  color: #1A2D50;
}

/* Subtitle */
.svc-section__subtitle {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 520px;
  opacity: 0;
}
.svc-section__subtitle--dark {
  color: var(--color-text-secondary);
}

/* Actions (hero only) */
.svc-section__actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  opacity: 0;
}

/* --- Right-side list column --- */
.svc-section__list-col {
  display: flex;
  flex-direction: column;
  min-width: 200px;
  margin-top: clamp(1.5rem, 3vw, 3rem);
  opacity: 0;
}

.svc-section__list-heading {
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.svc-section__list-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.svc-section__list-item:last-child {
  border-bottom: none;
}

.svc-section__list-item svg {
  width: 18px;
  height: 18px;
  stroke: #e74c3c;
  flex-shrink: 0;
  opacity: 0.7;
}

.svc-section__list-item span {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
}

/* Dark list variant (for light sections) */
.svc-section__list-col--dark .svc-section__list-item {
  border-bottom-color: var(--color-border);
}
.svc-section__list-col--dark .svc-section__list-item span {
  color: var(--color-text);
}

/* --- CTA card (centred) --- */
.svc-section__cta-area {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.svc-section__cta-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl) var(--space-3xl);
  text-align: center;
  max-width: 380px;
}

.svc-section__cta-card--dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.svc-section__cta-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.svc-section__cta-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-accent);
}

.svc-section__cta-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.svc-section--light .svc-section__cta-title {
  color: #1A2D50;
}
.svc-section--dark .svc-section__cta-title {
  color: var(--color-white);
}

.svc-section__cta-desc {
  font-size: var(--font-size-sm);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.svc-section--light .svc-section__cta-desc {
  color: var(--color-text-secondary);
}
.svc-section--dark .svc-section__cta-desc {
  color: rgba(255, 255, 255, 0.6);
}

.svc-section__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--transition-fast);
}

.svc-section__cta-link:hover {
  color: var(--color-accent-dark);
}

.svc-section__cta-link svg {
  width: 16px;
  height: 16px;
}

/* --- Process bar (bottom) --- */
.svc-section__process {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0 clamp(1rem, 3vw, 3rem);
  flex-shrink: 0;
  opacity: 0;
}

.svc-section__step {
  flex: 1;
  text-align: center;
  padding: clamp(0.8rem, 1.5vh, 1.2rem) clamp(0.5rem, 1vw, 1rem);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.svc-section__step:first-child {
  border-left: none;
}

.svc-section--light .svc-section__step {
  border-left-color: var(--color-border);
}

.svc-section__step-number {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.svc-section__step-title {
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

.svc-section--dark .svc-section__step-title {
  color: var(--color-white);
}
.svc-section--light .svc-section__step-title {
  color: #1A2D50;
}

.svc-section__step-desc {
  font-size: clamp(0.6rem, 0.8vw, 0.72rem);
  line-height: 1.4;
}

.svc-section--dark .svc-section__step-desc {
  color: rgba(255, 255, 255, 0.5);
}
.svc-section--light .svc-section__step-desc {
  color: var(--color-text-secondary);
}

/* --- Scroll indicator --- */
.svc-section__scroll {
  position: absolute;
  bottom: clamp(1rem, 2vh, 2rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  opacity: 0;
}

.svc-section__scroll span {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
}

.svc-section__scroll svg {
  width: 16px;
  height: 16px;
  stroke: rgba(255, 255, 255, 0.4);
  animation: bounceDown 2s ease-in-out infinite;
}

.svc-section__scroll--dark span {
  color: var(--color-text-light);
}
.svc-section__scroll--dark svg {
  stroke: var(--color-text-light);
}

/* --- Animations --- */
.svc-section.is-visible .svc-section__badge {
  animation: heroFadeUp 0.6s ease forwards;
  animation-delay: 0.1s;
}
.svc-section.is-visible .svc-section__heading {
  animation: heroFadeUp 0.6s ease forwards;
  animation-delay: 0.2s;
}
.svc-section.is-visible .svc-section__subtitle {
  animation: heroFadeUp 0.6s ease forwards;
  animation-delay: 0.3s;
}
.svc-section.is-visible .svc-section__actions {
  animation: heroFadeUp 0.6s ease forwards;
  animation-delay: 0.4s;
}
.svc-section.is-visible .svc-section__list-col {
  animation: heroFadeUp 0.6s ease-out 0.4s forwards;
}
.svc-section.is-visible .svc-section__cta-area {
  animation: heroFadeUp 0.6s ease-out 0.5s forwards;
}
.svc-section.is-visible .svc-section__process {
  animation: heroFadeUp 0.6s ease-out 0.6s forwards;
}
.svc-section.is-visible .svc-section__scroll {
  animation: heroFadeUp 0.6s ease-out 0.7s forwards;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .svc-section__inner {
    flex-direction: column;
    gap: var(--space-lg);
    padding: 0 1.5rem;
  }
  .svc-section--light .svc-section__inner {
    padding: 1rem 1.5rem 0;
  }
  .svc-section__list-col {
    max-width: 100%;
    margin-top: 0;
  }
  .svc-section__actions {
    flex-direction: column;
    gap: var(--space-sm);
  }
  .svc-section__process {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .svc-section__step {
    flex: 1 0 45%;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .svc-section--light .svc-section__step {
    border-top-color: var(--color-border);
  }
}


/* ===== SERVICES — HERO GRID (merged hero + card grid, dark bg) ===== */
.svc-hero-grid {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 90px 0 0;
  scroll-snap-align: start;
}

.svc-hero-grid__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vh, 2.5rem) clamp(1.5rem, 4vw, 4rem) 0;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.svc-hero-grid__top {
  text-align: left;
  margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
  flex-shrink: 0;
  opacity: 0;
}

.svc-hero-grid__badge {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.3em 1em;
  border-radius: 100px;
}

.svc-hero-grid__heading {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
}

.svc-hero-grid__heading span {
  color: #e74c3c;
}

.svc-hero-grid__subtitle {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 600px;
}

/* Card grid — 4 columns */
.svc-hero-grid__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.7rem, 1.5vw, 1rem);
  flex: 1;
  align-content: center;
  opacity: 0;
}

/* Individual card — dark variant */
.svc-card--dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: clamp(1rem, 1.8vw, 1.5rem);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.svc-card--dark:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
}

.svc-card--dark .svc-card__title {
  color: #fff;
}

.svc-card--dark .svc-card__desc {
  color: rgba(255,255,255,0.5);
}

.svc-card--dark .svc-card__link {
  color: #e74c3c;
}

.svc-card--dark .svc-card__link:hover {
  color: #ff6b5b;
}

/* Card base styles (shared) */
.svc-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(0.6rem, 1vh, 1rem);
  flex-shrink: 0;
}

.svc-card__icon svg {
  width: 20px;
  height: 20px;
}

.svc-card__icon--red    { background: rgba(231, 76, 60, 0.15); }
.svc-card__icon--red svg    { stroke: #e74c3c; }
.svc-card__icon--blue   { background: rgba(0, 180, 216, 0.15); }
.svc-card__icon--blue svg   { stroke: #00B4D8; }
.svc-card__icon--green  { background: rgba(16, 185, 129, 0.15); }
.svc-card__icon--green svg  { stroke: #10B981; }
.svc-card__icon--orange { background: rgba(245, 158, 11, 0.15); }
.svc-card__icon--orange svg { stroke: #F59E0B; }
.svc-card__icon--purple { background: rgba(139, 92, 246, 0.15); }
.svc-card__icon--purple svg { stroke: #8B5CF6; }

.svc-card__title {
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  font-weight: 700;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.svc-card__desc {
  font-size: 0.74rem;
  line-height: 1.55;
  margin: 0 0 auto;
  padding-bottom: 0.6rem;
}

.svc-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.svc-card__link svg {
  stroke: currentColor;
}

/* Scroll indicator */
.svc-hero-grid__scroll {
  position: absolute;
  bottom: clamp(1rem, 2vh, 2rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  opacity: 0;
}

.svc-hero-grid__scroll span {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
}

.svc-hero-grid__scroll svg {
  width: 16px;
  height: 16px;
  stroke: rgba(255,255,255,0.3);
  animation: heroScrollBounce 2s ease-in-out infinite;
}

/* Animations */
.svc-hero-grid.is-visible .svc-hero-grid__top     { animation: heroFadeUp 0.6s ease forwards 0.1s; }
.svc-hero-grid.is-visible .svc-hero-grid__cards    { animation: heroFadeUp 0.6s ease forwards 0.35s; }
.svc-hero-grid.is-visible .svc-hero-grid__scroll   { animation: heroFadeUp 0.6s ease forwards 0.6s; }

/* Responsive */
@media (max-width: 1024px) {
  .svc-hero-grid__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .svc-hero-grid__cards {
    grid-template-columns: 1fr;
  }
}


/* ===== SERVICE DETAIL PAGES (dbs.html etc.) ===== */

/* Hero — matches Partners section pattern */
.svc-detail {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 90px 0 0;
  scroll-snap-align: start;
}

/* Two-column layout (like Partners) */
.svc-detail__layout {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: var(--space-3xl);
  width: 100%;
  align-items: flex-start;
  flex-shrink: 0;
  padding: clamp(1rem, 2vh, 2rem) clamp(1.5rem, 4vw, 4rem) 0;
}

.svc-detail__left {
  flex: 0 0 42%;
  max-width: 460px;
  opacity: 0;
}

.svc-detail__back-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #00B4D8;
  text-decoration: none;
  letter-spacing: 0.04em;
  margin-bottom: clamp(0.8rem, 1.5vh, 1.2rem);
  transition: color 0.2s ease;
}

.svc-detail__back-link:hover {
  color: #33c9e8;
}

.svc-detail__badge {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.3em 1em;
  border-radius: 100px;
  margin-bottom: var(--space-sm);
}

.svc-detail__heading {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.svc-detail__heading span {
  color: #e74c3c;
}

.svc-detail__subtitle {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.svc-detail__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: clamp(1.2rem, 2.5vh, 1.8rem);
  padding: 0.7rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e74c3c;
  border: 1.5px solid rgba(231,76,60,0.4);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.svc-detail__cta-link:hover {
  background: rgba(231,76,60,0.08);
  border-color: #e74c3c;
}

.svc-detail__cta-link span {
  font-size: 1.1rem;
  transition: transform 0.25s;
}

.svc-detail__cta-link:hover span {
  transform: translateX(3px);
}

/* Right column — timeline table */
.svc-detail__right {
  flex: 0 1 480px;
  margin-left: auto;
  opacity: 0;
}

.svc-detail__tl-heading {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #00B4D8;
  margin-bottom: clamp(0.6rem, 1.2vh, 1rem);
}

.svc-detail__tl-row {
  display: flex;
  align-items: baseline;
  gap: clamp(0.4rem, 0.8vw, 0.75rem);
  padding: clamp(0.45rem, 0.8vh, 0.65rem) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.svc-detail__tl-row:last-child {
  border-bottom: none;
}

.svc-detail__tl-year {
  flex-shrink: 0;
  width: 7.5rem;
  min-width: 7.5rem;
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  font-weight: 800;
  color: #fff;
}

.svc-detail__tl-text {
  font-size: clamp(0.75rem, 0.9vw, 0.85rem);
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* Stats strip — flex:1, centred like Partners numbers */
.svc-detail__highlights {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0;
  flex: 1;
  align-items: center;
  padding: 0 clamp(2rem, 5vw, 6rem);
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  opacity: 0;
}

.svc-detail__stat {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
  border-left: 1px solid rgba(255,255,255,0.08);
}

.svc-detail__stat:first-child {
  border-left: none;
}

.svc-detail__stat-value {
  display: block;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 800;
  color: #00B4D8;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
  white-space: nowrap;
}

.svc-detail__stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Scroll indicator (light and dark variants) */
.svc-detail__scroll {
  position: absolute;
  bottom: clamp(1rem, 2vh, 2rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  opacity: 0;
}

.svc-detail__scroll span {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
}

.svc-detail__scroll svg {
  width: 16px;
  height: 16px;
  stroke: rgba(255,255,255,0.3);
  animation: heroScrollBounce 2s ease-in-out infinite;
}

.svc-detail__scroll--dark span {
  color: rgba(0,0,0,0.25);
}

.svc-detail__scroll--dark svg {
  stroke: rgba(0,0,0,0.25);
}

/* Content sections */
.svc-detail-content {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 90px 0 0;
  scroll-snap-align: start;
}

/* Last content section: keeps full height for snap but footer follows naturally */
.svc-detail-content--last {
  /* inherits min-height: 100vh and scroll-snap-align: start from parent */
}

.svc-detail-content--dark {
  background: #0a1628;
  color: #fff;
}

.svc-detail-content--grey {
  background: #f7f8fa;
  color: var(--color-text);
}

.svc-detail-content--dark .svc-detail-content__h2 {
  color: #fff;
}

.svc-detail-content--grey .svc-detail-content__h2 {
  color: #1A2D50;
}

.svc-detail-content--grey .svc-detail-content__h2--light {
  color: #1A2D50;
}

/* Solutions two-column section layout */
.solutions-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.solutions-split__intro p {
  margin-bottom: 1rem;
}

.solutions-split__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}

.solutions-feature {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.25rem 0.5rem;
  align-items: start;
}

.solutions-feature strong {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.svc-detail-content--dark .solutions-feature strong {
  color: #fff;
}

.svc-detail-content--grey .solutions-feature strong {
  color: #1A2D50;
}

.solutions-feature span {
  font-size: 0.82rem;
  line-height: 1.55;
  grid-column: 2;
}

.svc-detail-content--dark .solutions-feature span {
  color: rgba(255,255,255,0.55);
}

.svc-detail-content--grey .solutions-feature span {
  color: var(--color-text-secondary);
}

.solutions-feature svg {
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 768px) {
  .solutions-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .solutions-split__features {
    grid-template-columns: 1fr;
  }
}

.svc-detail-content--grey .svc-detail-prop strong {
  color: #1A2D50;
}

.svc-detail-content--grey .svc-detail-prop span {
  color: var(--color-text-secondary);
}

.svc-detail-content--grey .svc-detail-callout {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.06);
}

.svc-detail-content--grey .svc-detail-callout__item span {
  color: var(--color-text-secondary);
}

.svc-detail-content--grey .svc-detail-callout__item strong {
  color: #1A2D50;
}

.svc-detail-content--grey .svc-detail-content__app-card {
  background: #fff;
  border-color: rgba(0,0,0,0.06);
}

.svc-detail-content--grey .svc-detail-content__app-card:hover {
  background: #fff;
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.svc-detail-content--grey .svc-detail-content__app-card h3 {
  color: #1A2D50;
}

.svc-detail-content--grey .svc-detail-content__app-card p {
  color: var(--color-text-secondary);
}

.svc-detail-content--grey .svc-detail__scroll span {
  color: rgba(0,0,0,0.25);
}

.svc-detail-content--grey .svc-detail__scroll svg {
  stroke: rgba(0,0,0,0.25);
}

.svc-detail-content--grey .svc-detail-content__badge {
  color: var(--color-accent);
  border-color: rgba(231,76,60,0.2);
}

.svc-detail-content--light {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.svc-detail-content__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vh, 2.5rem) clamp(1.5rem, 4vw, 4rem) clamp(3rem, 5vh, 4rem);
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.svc-detail-content__badge {
  display: inline-block;
  width: fit-content;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.3em 1em;
  border-radius: 100px;
}

.svc-detail-content__badge--dark {
  color: var(--color-accent);
  border-color: rgba(231,76,60,0.2);
}

.svc-detail-content__h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: #1A2D50;
  letter-spacing: -0.03em;
  margin-bottom: clamp(1rem, 2vh, 1.5rem);
}

.svc-detail-content__h2 span {
  color: #e74c3c;
}

.svc-detail-content__h2--light {
  color: #fff;
}

.svc-detail-content__intro {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
}

.svc-detail-content--light .svc-detail-content__intro {
  color: var(--color-text-secondary);
}

.svc-detail-content--dark .svc-detail-content__intro {
  color: rgba(255,255,255,0.55);
}

/* Two-column layout (advantages / considerations) */
.svc-detail-content__two-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  flex: 1;
  align-content: start;
}

.svc-detail-content__block {
  margin-bottom: clamp(1rem, 2vh, 1.5rem);
}

.svc-detail-content__h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  font-weight: 700;
  color: #1A2D50;
  margin-bottom: 0.4rem;
}

.svc-detail-content__block p {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.svc-detail-content__block--note {
  background: rgba(245,158,11,0.06);
  border-left: 3px solid #F59E0B;
  border-radius: 0 8px 8px 0;
  padding: 0.8rem 1rem;
}

.svc-detail-content__block--note p {
  font-size: 0.8rem;
  color: #1A2D50;
}

/* Properties horizontal strip */
.svc-detail-props {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.8rem, 1.4vw, 1.2rem);
  margin-bottom: clamp(1.4rem, 2.5vh, 2rem);
  opacity: 0;
}

.svc-detail-prop {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.svc-detail-prop svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.svc-detail-prop strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.svc-detail-prop span {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}

/* Considerations callout bar */
.svc-detail-callout {
  display: flex;
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: clamp(0.9rem, 1.5vh, 1.3rem) clamp(1.2rem, 2.5vw, 1.8rem);
  margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
  opacity: 0;
}

.svc-detail-callout__item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  flex: 1;
}

.svc-detail-callout__item svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.svc-detail-callout__item span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.svc-detail-callout__item strong {
  color: rgba(255,255,255,0.65);
}

/* Heading with top margin (for second heading in merged section) */
.svc-detail-content__h2--mt {
  margin-top: clamp(2.5rem, 5vh, 4rem);
}

/* Application cards grid */
.svc-detail-content__app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.8rem, 1.5vw, 1.2rem);
  opacity: 0;
}

.svc-detail-content__app-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: clamp(1rem, 1.8vw, 1.4rem);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.svc-detail-content__app-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
}

.svc-detail-content__app-card h3 {
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.svc-detail-content__app-card p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* Table */
.svc-detail-content__table-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  overflow-x: auto;
}

.svc-detail-content__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.svc-detail-content__table thead th {
  text-align: left;
  padding: 0.7rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  border-bottom: 2px solid rgba(0,0,0,0.08);
}

.svc-detail-content__table tbody td {
  padding: 0.6rem 1rem;
  color: #1A2D50;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.svc-detail-content__table tbody tr:hover {
  background: rgba(231,76,60,0.03);
}

.svc-detail-content__table tbody td:first-child {
  font-weight: 700;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.75rem;
  color: #e74c3c;
  white-space: nowrap;
}

/* Dark table overrides */
.svc-detail-content--dark .svc-detail-content__table thead th {
  color: rgba(255,255,255,0.45);
  border-bottom-color: rgba(255,255,255,0.1);
}

.svc-detail-content--dark .svc-detail-content__table tbody td {
  color: rgba(255,255,255,0.8);
  border-bottom-color: rgba(255,255,255,0.06);
}

.svc-detail-content--dark .svc-detail-content__table tbody tr:hover {
  background: rgba(0,180,216,0.06);
}

.svc-detail-content--dark .svc-detail-content__table tbody td:first-child {
  color: #00B4D8;
}

.svc-detail-content--dark .svc-detail-content__table tbody td a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: color 0.2s, border-color 0.2s;
}

.svc-detail-content--dark .svc-detail-content__table tbody td a:hover {
  color: #00B4D8;
  border-bottom-color: #00B4D8;
}

/* Timeline */
.svc-detail-content__timeline {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(0.8rem, 1.5vh, 1.2rem);
  padding-left: clamp(1rem, 2vw, 2rem);
  border-left: 2px solid rgba(255,255,255,0.08);
}

.svc-detail-content__tl-item {
  display: flex;
  align-items: baseline;
  gap: clamp(0.8rem, 1.5vw, 1.5rem);
}

.svc-detail-content__tl-year {
  flex-shrink: 0;
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  font-weight: 800;
  color: #e74c3c;
  min-width: 60px;
}

.svc-detail-content__tl-item p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* Animations for detail pages */
.svc-detail.is-visible .svc-detail__left          { animation: heroFadeUp 0.6s ease forwards 0.1s; }
.svc-detail.is-visible .svc-detail__right         { animation: heroFadeUp 0.6s ease forwards 0.3s; }
.svc-detail.is-visible .svc-detail__highlights     { animation: heroFadeUp 0.6s ease forwards 0.5s; }
.svc-detail.is-visible .svc-detail__scroll         { animation: heroFadeUp 0.6s ease forwards 0.7s; }

.svc-detail-content.is-visible .svc-detail-content__badge   { animation: heroFadeUp 0.6s ease forwards 0.1s; }
.svc-detail-content.is-visible .svc-detail-content__h2      { animation: heroFadeUp 0.6s ease forwards 0.15s; }
.svc-detail-content.is-visible .svc-detail-content__intro    { animation: heroFadeUp 0.6s ease forwards 0.2s; }
.svc-detail-content.is-visible .svc-detail-props             { animation: heroFadeUp 0.6s ease forwards 0.25s; }
.svc-detail-content.is-visible .svc-detail-callout           { animation: heroFadeUp 0.6s ease forwards 0.3s; }
.svc-detail-content.is-visible .svc-detail-content__two-col  { animation: heroFadeUp 0.6s ease forwards 0.25s; }
.svc-detail-content.is-visible .svc-detail-content__app-grid { animation: heroFadeUp 0.6s ease forwards 0.4s; }
.svc-detail-content.is-visible .svc-detail-content__table-wrap { animation: heroFadeUp 0.6s ease forwards 0.3s; }
.svc-detail-content.is-visible .svc-detail-content__timeline { animation: heroFadeUp 0.6s ease forwards 0.3s; }
.svc-detail-content.is-visible .svc-detail__scroll           { animation: heroFadeUp 0.6s ease forwards 0.5s; }

/* Responsive */
@media (max-width: 1024px) {
  .svc-detail-content__two-col {
    grid-template-columns: 1fr;
  }
  .svc-detail__layout {
    flex-direction: column;
    gap: clamp(1.5rem, 3vh, 2rem);
  }
  .svc-detail__left {
    flex: none;
    max-width: none;
  }
  .svc-detail__right {
    flex: none;
    margin-left: 0;
  }
  .svc-detail-props {
    grid-template-columns: repeat(3, 1fr);
  }
  .svc-detail-callout {
    flex-direction: column;
    gap: 0.6rem;
  }
  .svc-detail-content__app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .svc-detail__highlights {
    flex-wrap: wrap;
    gap: 1.5rem 0;
  }
  .svc-detail__stat {
    flex: 0 0 50%;
    border-left: none;
  }
}

@media (max-width: 600px) {
  .svc-detail-props {
    grid-template-columns: repeat(2, 1fr);
  }
  .svc-detail-content__app-grid {
    grid-template-columns: 1fr;
  }
}


/* ===================================================================
   COLLECTION GUIDE — Interactive Step-by-Step
   =================================================================== */

.collection-guide {
  padding: var(--space-3xl) 0;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

/* --- Navigation Dots --- */
.cg-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.cg-nav__dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: #fff;
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
}

.cg-nav__dot:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.cg-nav__dot--active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 2px 12px rgba(0, 180, 216, 0.35);
}

.cg-nav__dot--completed {
  background: var(--color-accent-light);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* --- Steps Container --- */
.cg-steps {
  position: relative;
  min-height: 380px;
}

.cg-step {
  display: none;
  gap: var(--space-xl);
  align-items: center;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(10, 22, 40, 0.06);
  border: 1px solid var(--color-border);
  overflow: hidden;
  animation: cgFadeIn 0.4s ease;
}

.cg-step--active {
  display: grid;
  grid-template-columns: 280px 1fr;
}

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

/* --- Visual (left side) --- */
.cg-step__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  min-height: 320px;
  padding: var(--space-lg);
}

.cg-step__img {
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

.cg-step__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.1);
  border: 2px solid rgba(0, 180, 216, 0.2);
}

/* --- Content (right side) --- */
.cg-step__content {
  padding: var(--space-xl);
}

.cg-step__number {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.cg-step__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.cg-step__desc {
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Tip callout */
.cg-step__tip {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--color-accent-light);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.75rem 1rem;
  font-size: var(--font-size-sm);
  color: var(--color-primary);
  margin-top: 0.75rem;
}

.cg-step__tip svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: var(--color-accent-dark);
  margin-top: 1px;
}

.cg-step__tip--warning {
  background: #FFF8E7;
  border-left-color: #F0A500;
}

.cg-step__tip--warning svg {
  stroke: #D49200;
}

/* Acceptable / Not Acceptable examples */
.cg-step__examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}

.cg-step__example {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
}

.cg-step__example img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.cg-step__example span {
  font-size: var(--font-size-sm);
  font-weight: 700;
}

.cg-step__example--good {
  background: #F0FDF4;
  border-color: #86EFAC;
}

.cg-step__example--good span {
  color: #16A34A;
}

.cg-step__example--bad {
  background: #FEF2F2;
  border-color: #FCA5A5;
}

.cg-step__example--bad span {
  color: #DC2626;
}

/* --- Controls (Prev / Next) --- */
.cg-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-lg);
  padding: 0 var(--space-xs);
}

.cg-controls__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border);
  background: #fff;
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
  transition: all 0.2s ease;
}

.cg-controls__btn svg {
  width: 16px;
  height: 16px;
}

.cg-controls__btn:hover:not(:disabled) {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-light);
}

.cg-controls__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cg-controls__btn--next {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.cg-controls__btn--next:hover:not(:disabled) {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
}

.cg-controls__progress {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  font-weight: 500;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .cg-step--active {
    grid-template-columns: 1fr;
  }

  .cg-step__visual {
    min-height: 200px;
    padding: var(--space-md);
  }

  .cg-step__img {
    max-width: 140px;
    max-height: 140px;
  }

  .cg-step__content {
    padding: var(--space-md);
  }

  .cg-step__examples {
    grid-template-columns: 1fr;
  }

  .cg-nav__dot {
    width: 30px;
    height: 30px;
    font-size: 0.7rem;
  }

  .cg-controls__btn {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-xs);
  }
}

/* ===== TOOLBAR (shared: publications, blog) ===== */
.pub-toolbar {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
  position: sticky; top: 72px; z-index: 90;
  transition: box-shadow 0.2s;
}
.pub-toolbar.stuck { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.pub-toolbar__inner {
  max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-xl);
  display: flex; flex-direction: column; gap: var(--space-md);
}
.pub-toolbar__row {
  display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap;
}
.pub-toggle { display: flex; gap: 0.35rem; }
.pub-toggle__btn {
  padding: 0.45rem 1.1rem; border-radius: 100px;
  font-size: var(--font-size-xs); font-weight: 600;
  border: 1px solid var(--color-border); background: var(--color-white);
  color: var(--color-text-secondary); cursor: pointer;
  transition: all 0.15s ease; white-space: nowrap;
}
.pub-toggle__btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.pub-toggle__btn.active {
  background: var(--color-accent); border-color: var(--color-accent); color: #fff;
}
.pub-count {
  font-size: var(--font-size-sm); color: var(--color-text-light); font-weight: 500;
  white-space: nowrap; margin-left: auto;
}
.pub-jumpto {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  padding-top: var(--space-sm);
}
.pub-jumpto__label {
  font-size: var(--font-size-xs); font-weight: 600; color: var(--color-text-light);
  text-transform: uppercase; letter-spacing: 0.06em; margin-right: 0.25rem;
  white-space: nowrap;
}
.pub-jumpto__btn {
  padding: 0.35rem 0.85rem; border-radius: 100px;
  font-size: var(--font-size-xs); font-weight: 600;
  border: 1px solid rgba(10,22,40,0.08); background: var(--color-bg);
  color: var(--color-text-secondary); cursor: pointer;
  transition: all 0.15s ease; white-space: nowrap;
}
.pub-jumpto__btn:hover {
  border-color: var(--color-primary); color: var(--color-primary);
  background: rgba(10,22,40,0.04);
}
.pub-jumpto__btn.active {
  border-color: var(--color-accent); color: #fff;
  background: var(--color-accent);
}
@media (max-width: 768px) {
  .pub-toolbar__inner { gap: var(--space-sm); }
  .pub-toolbar__row { flex-direction: column; align-items: stretch; }
  .pub-toggle { justify-content: center; }
  .pub-count { margin-left: 0; text-align: center; }
  .pub-jumpto { justify-content: center; }
}

/* Contact page locations grid — mobile */
@media (max-width: 768px) {
  .contact-locations {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  .contact-locations {
    grid-template-columns: 1fr !important;
  }
}
