/* ============================================================
   Advance Diagnostic Labs — Design System
   Modern, responsive, mobile-first
   ============================================================ */

/* ---------- 1. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--primary-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-900); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--ink-900); }
p { margin: 0; }
hr { border: 0; border-top: 1px solid var(--border-soft); margin: 24px 0; }

/* ---------- 2. CSS Variables ---------- */
:root {
  /* Brand */
  --primary-50:  #ECFEFF;
  --primary-100: #CFFAFE;
  --primary-200: #A5F3FC;
  --primary-300: #67E8F9;
  --primary-400: #22D3EE;
  --primary-500: #06B6D4;
  --primary-600: #0891B2;
  --primary-700: #0E7490;
  --primary-800: #155E75;
  --primary-900: #164E63;

  /* Accent — used for CTAs, discount highlight */
  --accent-50:  #FFF7ED;
  --accent-100: #FFEDD5;
  --accent-300: #FDBA74;
  --accent-500: #F97316;
  --accent-600: #EA580C;
  --accent-700: #C2410C;

  /* Secondary — purple for premium touches */
  --secondary-50:  #F5F3FF;
  --secondary-100: #EDE9FE;
  --secondary-500: #8B5CF6;
  --secondary-600: #7C3AED;
  --secondary-700: #6D28D9;

  /* Neutrals */
  --ink-900: #0F172A;
  --ink-800: #1E293B;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748B;
  --ink-400: #94A3B8;
  --ink-300: #CBD5E1;
  --ink-200: #E2E8F0;
  --ink-100: #F1F5F9;
  --ink-50:  #F8FAFC;
  --white:   #FFFFFF;
  --bg-base: #FFFFFF;
  --bg-soft: #F8FAFC;
  --border-soft: #E2E8F0;
  --border-hard: #CBD5E1;

  /* Semantic */
  --success: #10B981;
  --success-light: #D1FAE5;
  --warning: #F59E0B;
  --danger:  #EF4444;

  /* Type */
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, .08), 0 2px 4px rgba(15, 23, 42, .04);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, .10), 0 4px 8px rgba(15, 23, 42, .04);
  --shadow-xl: 0 24px 56px rgba(15, 23, 42, .14), 0 8px 16px rgba(15, 23, 42, .06);
  --shadow-glow: 0 0 0 4px rgba(14, 116, 144, .12);
  --shadow-coral: 0 12px 32px rgba(249, 115, 22, .28), 0 4px 8px rgba(249, 115, 22, .16);

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 24px;
  --r-3xl: 32px;
  --r-full: 999px;

  /* Layout */
  --container: 1240px;
  --container-narrow: 960px;
  --header-h: 72px;
  --topbar-h: 40px;

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(0, 0, .2, 1);
  --ease-in: cubic-bezier(.4, 0, 1, 1);
}

/* ---------- 3. Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-700);
  margin-bottom: 12px;
}
.eyebrow.accent { color: var(--accent-600); }
.eyebrow.coral  { color: var(--accent-600); }
.eyebrow.muted  { color: var(--ink-500); }

h1, .h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); letter-spacing: -0.02em; }
h2, .h2 { font-size: clamp(1.875rem, 3.2vw, 2.5rem); letter-spacing: -0.02em; }
h3, .h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); letter-spacing: -0.01em; }
h4, .h4 { font-size: 1.125rem; }
h5, .h5 { font-size: 1rem; }

.lead { font-size: 1.125rem; color: var(--ink-600); line-height: 1.7; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-muted { color: var(--ink-500); }
.text-soft  { color: var(--ink-600); }
.text-primary { color: var(--primary-700); }
.text-accent  { color: var(--accent-600); }
.text-success { color: var(--success); }
.text-bold { font-weight: 600; }
.text-display { font-family: var(--font-display); }

.divider {
  width: 56px; height: 4px;
  background: linear-gradient(90deg, var(--primary-600), var(--accent-500));
  border-radius: 4px;
  margin: 16px 0 24px;
}
.divider.center { margin-left: auto; margin-right: auto; }

::selection { background: var(--primary-200); color: var(--ink-900); }

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: var(--container-narrow); }
.section {
  padding: 80px 0;
  position: relative;
}
.section-sm { padding: 56px 0; }
.section-lg { padding: 112px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
  color: var(--white);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head.left { text-align: left; margin-left: 0; }
.section-head p {
  color: var(--ink-600);
  font-size: 1.0625rem;
  margin-top: 8px;
}

.grid { display: grid; gap: 24px; }
.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-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .2s var(--ease);
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--primary-700);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(14, 116, 144, .25);
}
.btn-primary:hover {
  background: var(--primary-800);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(14, 116, 144, .35);
}

.btn-accent {
  background: var(--accent-500);
  color: var(--white);
  box-shadow: var(--shadow-coral);
}
.btn-accent:hover {
  background: var(--accent-600);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(249, 115, 22, .36);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, .28);
}
.btn-whatsapp:hover {
  background: #1FB957;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, .4);
}

.btn-outline {
  background: transparent;
  color: var(--primary-700);
  border-color: var(--primary-200);
}
.btn-outline:hover {
  background: var(--primary-50);
  border-color: var(--primary-400);
  color: var(--primary-800);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-700);
}
.btn-ghost:hover { background: var(--ink-100); color: var(--ink-900); }

.btn-light {
  background: var(--white);
  color: var(--ink-900);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover { background: var(--ink-50); color: var(--ink-900); }

.btn-lg { padding: 16px 28px; font-size: 1rem; border-radius: var(--r-lg); }
.btn-sm { padding: 8px 14px; font-size: 0.8125rem; border-radius: var(--r-sm); }
.btn-block { display: flex; width: 100%; }
.btn-icon-only { padding: 12px; }

/* Icon circle button */
.icon-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--ink-700);
  box-shadow: var(--shadow-sm);
  transition: all .2s var(--ease);
}
.icon-btn:hover { background: var(--primary-50); color: var(--primary-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- 6. Topbar + Header + Nav ---------- */
.topbar {
  background: linear-gradient(90deg, var(--primary-900), var(--primary-800));
  color: var(--ink-100);
  font-size: 0.8125rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar a {
  color: var(--ink-100);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: .9;
}
.topbar a:hover { color: var(--white); opacity: 1; }
.topbar svg { width: 14px; height: 14px; }
.topbar-left, .topbar-right { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar-right .report-link { font-weight: 600; }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-soft);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(14, 116, 144, .3);
  flex-shrink: 0;
}
.brand-mark img { width: 28px; height: 28px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.brand-name .accent { color: var(--primary-700); }
.brand-tag {
  font-size: 0.6875rem;
  color: var(--ink-500);
  letter-spacing: 0.04em;
}

/* Full horizontal logo (ADL_Logo.png — 900x256 banner) */
.brand .brand-logo,
img.brand-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 100%;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .brand .brand-logo { height: 42px; }
}

/* Footer logo: dark blue text wouldn't be visible on dark footer,
   so wrap it in a subtle white "badge" so the brand colors stay readable. */
.footer-brand { display: inline-block; margin-bottom: 20px; }
.footer-brand .brand-logo {
  height: 64px;
  width: auto;
  background: var(--white);
  padding: 10px 18px;
  border-radius: var(--r-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
}
@media (max-width: 640px) {
  .footer-brand .brand-logo { height: 52px; padding: 8px 14px; }
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-700);
  border-radius: var(--r-md);
  transition: all .2s var(--ease);
}
.nav a:hover { color: var(--primary-700); background: var(--primary-50); }
.nav a.active {
  color: var(--primary-700);
  background: var(--primary-50);
  font-weight: 600;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  color: var(--white) !important;
  border-radius: var(--r-md);
  box-shadow: 0 4px 12px rgba(249, 115, 22, .25);
  transition: all .2s var(--ease);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(249, 115, 22, .4);
  background: linear-gradient(135deg, var(--accent-600), var(--accent-700));
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--ink-100);
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: ''; display: block; width: 22px; height: 2px;
  background: var(--ink-800);
  border-radius: 2px;
  position: relative;
  transition: all .2s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: rotate(45deg); top: 0; }
.nav-toggle.is-open span::after  { transform: rotate(-45deg); top: 0; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    top: calc(var(--topbar-h) + var(--header-h));
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all .25s var(--ease);
    max-height: calc(100vh - var(--topbar-h) - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav a { padding: 14px 16px; font-size: 1rem; }
  .nav-cta { margin: 8px 0 0; justify-content: center; }
  .topbar .hide-sm { display: none; }
}

@media (max-width: 640px) {
  .topbar-left .hide-xs { display: none; }
}

/* Page banner for subpages */
.page-banner {
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--white) 100%);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, var(--primary-200) 0%, transparent 70%);
  opacity: .5;
}
.page-banner h1 { font-size: clamp(2rem, 3.5vw, 2.75rem); }
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--ink-500);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary-700); font-weight: 500; }
.breadcrumb a:hover { color: var(--primary-900); }
.breadcrumb .sep { color: var(--ink-400); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(249, 115, 22, .08) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(14, 116, 144, .12) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%);
  padding: 64px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, black 30%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 40px 0 56px; }
}

.hero h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
.hero h1 .accent {
  background: linear-gradient(135deg, var(--primary-700), var(--accent-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--ink-600);
  margin-top: 20px;
  max-width: 560px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

.hero-trust {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.875rem; font-weight: 500;
  color: var(--ink-700);
}
.hero-trust-item svg { width: 18px; height: 18px; color: var(--success); }

/* Hero visual mockup */
.hero-visual { position: relative; }
.hero-screen {
  background: var(--white);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transform: rotate(-1deg);
}
.screen-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--ink-50);
  border-bottom: 1px solid var(--border-soft);
}
.screen-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ink-300);
}
.screen-bar span:nth-child(1) { background: #FF5F57; }
.screen-bar span:nth-child(2) { background: #FFBD2E; }
.screen-bar span:nth-child(3) { background: #28C840; }
.screen-url {
  margin-left: 12px;
  font-size: 0.75rem;
  color: var(--ink-500);
  font-family: var(--font-mono);
}
.screen-body { padding: 20px; }
.screen-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-soft);
  margin-bottom: 12px;
}
.screen-id { font-size: 0.75rem; color: var(--ink-500); font-family: var(--font-mono); font-weight: 600; }
.screen-status {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--success);
  background: var(--success-light);
  padding: 3px 10px;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.screen-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--ink-100);
  font-size: 0.875rem;
}
.screen-row:last-child { border-bottom: 0; }
.screen-name { color: var(--ink-700); font-weight: 500; }
.screen-val { color: var(--ink-500); font-family: var(--font-mono); }
.screen-flag {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.screen-flag.ok  { color: var(--success); background: var(--success-light); }
.screen-flag.low { color: var(--warning); background: #FEF3C7; }

/* Floating chips on hero */
.hero-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-800);
  border: 1px solid var(--border-soft);
}
.hero-float svg { width: 20px; height: 20px; color: var(--primary-700); }
.hero-float .ff-sub { color: var(--ink-500); font-weight: 500; font-size: 0.6875rem; }
.hero-float-1 { top: -16px; right: -16px; transform: rotate(2deg); }
.hero-float-2 { bottom: -16px; left: -16px; transform: rotate(-2deg); }
.hero-float-3 { top: 40%; right: -32px; transform: rotate(1deg); }
@media (max-width: 960px) {
  .hero-float-1, .hero-float-2, .hero-float-3 { display: none; }
}

/* ---------- 8. Stats Strip ---------- */
.stats-strip {
  background: var(--white);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 32px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 8px 16px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--primary-700);
  line-height: 1;
}
.stat-num .suffix { color: var(--accent-500); }
.stat-label {
  font-size: 0.875rem;
  color: var(--ink-500);
  margin-top: 6px;
  font-weight: 500;
}

/* ---------- 9. Cards (services, packages, team, testimonials) ---------- */
.card {
  background: var(--white);
  border-radius: var(--r-2xl);
  border: 1px solid var(--border-soft);
  padding: 28px;
  transition: all .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  color: var(--primary-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; }
.card-icon.accent {
  background: linear-gradient(135deg, var(--accent-50), var(--accent-100));
  color: var(--accent-600);
}
.card-icon.secondary {
  background: linear-gradient(135deg, var(--secondary-50), var(--secondary-100));
  color: var(--secondary-600);
}
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card p { color: var(--ink-600); font-size: 0.9375rem; line-height: 1.6; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-700);
}
.card-link:hover { gap: 8px; }
.card-link svg { width: 14px; height: 14px; transition: transform .2s; }
.card-link:hover svg { transform: translateX(2px); }

.service-card {
  background: var(--white);
  border-radius: var(--r-2xl);
  padding: 28px;
  border: 1px solid var(--border-soft);
  transition: all .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 100px; height: 100px;
  background: radial-gradient(circle, var(--primary-100) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}
.service-card:hover::after { opacity: 1; }

.feature-card {
  text-align: left;
  padding: 24px;
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--border-soft);
  transition: all .2s var(--ease);
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-200);
}

.pkg-card {
  background: var(--white);
  border-radius: var(--r-2xl);
  padding: 32px 28px;
  border: 1px solid var(--border-soft);
  position: relative;
  transition: all .25s var(--ease);
  display: flex;
  flex-direction: column;
}
.pkg-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pkg-card.featured {
  background: linear-gradient(160deg, var(--primary-700), var(--primary-900));
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-xl);
}
.pkg-card.featured h3,
.pkg-card.featured .pkg-price-num { color: var(--white); }
.pkg-card.featured .pkg-tagline,
.pkg-card.featured .pkg-tests li { color: var(--primary-100); }
.pkg-card.featured .pkg-tests li::before { background: var(--accent-500); }
.pkg-card.featured .pp-label { color: var(--primary-200); }
.pkg-badge {
  position: absolute;
  top: -12px; right: 20px;
  background: var(--accent-500);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-full);
  box-shadow: 0 4px 12px rgba(249, 115, 22, .4);
}
.pkg-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: var(--primary-50);
  color: var(--primary-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.pkg-card.featured .pkg-icon {
  background: rgba(255, 255, 255, .12);
  color: var(--white);
}
.pkg-icon svg { width: 26px; height: 26px; }
.pkg-tagline { color: var(--ink-500); font-size: 0.875rem; margin-top: 4px; margin-bottom: 16px; }
.pkg-tests { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 24px; flex-grow: 1; }
.pkg-tests li {
  font-size: 0.875rem;
  color: var(--ink-700);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.pkg-tests li::before {
  content: '';
  width: 14px; height: 14px;
  flex-shrink: 0;
  background: var(--primary-100);
  color: var(--primary-700);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 11.08V12a10 10 0 11-5.93-9.14'/%3E%3Cpath d='M22 4L12 14.01l-3-3'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 11.08V12a10 10 0 11-5.93-9.14'/%3E%3Cpath d='M22 4L12 14.01l-3-3'/%3E%3C/svg%3E") no-repeat center / contain;
  margin-top: 4px;
}
.pkg-price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px dashed var(--border-soft);
}
.pkg-card.featured .pkg-price { border-top-color: rgba(255, 255, 255, .2); }
.pp-label { font-size: 0.75rem; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.06em; }
.pkg-price-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--ink-900); }
.pkg-orig {
  font-size: 0.875rem;
  color: var(--ink-400);
  text-decoration: line-through;
  margin-left: 4px;
}
.pkg-save {
  display: inline-block;
  margin-top: 4px;
  background: var(--accent-50);
  color: var(--accent-700);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-full);
}

.team-card {
  background: var(--white);
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: all .25s var(--ease);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}
.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
}
.team-body { padding: 20px 22px 24px; }
.team-name { font-size: 1.125rem; font-weight: 700; }
.team-role { font-size: 0.8125rem; color: var(--primary-700); font-weight: 600; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.04em; }
.team-creds { font-size: 0.875rem; color: var(--ink-600); margin-top: 10px; line-height: 1.55; }
.team-quals {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 12px;
}
.team-quals span {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--primary-800);
  background: var(--primary-50);
  padding: 3px 9px;
  border-radius: var(--r-full);
  border: 1px solid var(--primary-100);
}

.testi-card {
  background: var(--white);
  border-radius: var(--r-2xl);
  padding: 28px;
  border: 1px solid var(--border-soft);
  transition: all .25s var(--ease);
  position: relative;
}
.testi-card:hover { box-shadow: var(--shadow-md); }
.testi-stars { display: flex; gap: 2px; color: var(--accent-500); margin-bottom: 12px; }
.testi-stars svg { width: 18px; height: 18px; fill: currentColor; }
.testi-text { font-size: 0.9375rem; color: var(--ink-700); line-height: 1.65; margin-bottom: 18px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: 0.9375rem; }
.testi-role { font-size: 0.75rem; color: var(--ink-500); }

.cert-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 16px;
  border: 1px solid var(--border-soft);
  text-align: center;
  transition: all .25s var(--ease);
}
.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-200);
}
.cert-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: contain;
  border-radius: var(--r-md);
  background: var(--ink-50);
}
.cert-name { margin-top: 12px; font-size: 0.8125rem; font-weight: 600; color: var(--ink-700); }

.goal-card {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-900));
  color: var(--white);
  border-radius: var(--r-2xl);
  padding: 32px 28px;
  text-align: center;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.goal-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255, 255, 255, .1) 0%, transparent 70%);
  border-radius: 50%;
}
.goal-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.goal-icon svg { width: 28px; height: 28px; color: var(--white); }
.goal-card h3 { color: var(--white); font-size: 1.25rem; }
.goal-card p { color: var(--primary-100); font-size: 0.9375rem; line-height: 1.6; margin-top: 8px; }

/* Why-choose list */
.why-list { display: flex; flex-direction: column; gap: 20px; }
.why-item { display: flex; gap: 14px; }
.why-check {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--success-light);
  color: var(--success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.why-check svg { width: 16px; height: 16px; }
.why-item h4 { font-size: 1.0625rem; margin-bottom: 4px; }
.why-item p { color: var(--ink-600); font-size: 0.9375rem; }

/* ---------- 10. xMed EMR Section ---------- */
.xmed-section {
  background: linear-gradient(135deg, var(--secondary-700) 0%, var(--primary-900) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.xmed-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, .08) 0%, transparent 70%);
  border-radius: 50%;
}
.xmed-section::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(249, 115, 22, .15) 0%, transparent 70%);
  border-radius: 50%;
}
.xmed-section .container { position: relative; z-index: 1; }
.xmed-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) { .xmed-grid { grid-template-columns: 1fr; gap: 40px; } }
.xmed-section h2 { color: var(--white); }
.xmed-section h2 .accent {
  background: linear-gradient(135deg, var(--accent-300), var(--accent-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.xmed-section p { color: rgba(255, 255, 255, .8); }
.xmed-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-300);
  background: rgba(255, 255, 255, .08);
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: 16px;
}
.xmed-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
.xmed-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.xmed-feature { display: flex; gap: 12px; align-items: flex-start; }
.xmed-feature-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .1);
  color: var(--accent-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.xmed-feature-icon svg { width: 20px; height: 20px; }
.xmed-feature h4 { color: var(--white); font-size: 0.9375rem; }
.xmed-feature p { color: rgba(255, 255, 255, .65); font-size: 0.8125rem; margin-top: 2px; }

.xmed-visual {
  position: relative;
}
.xmed-screen {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-2xl);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: rotate(1.5deg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}
.xmed-screen-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, .2);
}
.xmed-screen-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
}
.xmed-url {
  margin-left: 12px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, .6);
  font-family: var(--font-mono);
}
.xmed-screen-body { padding: 20px; }
.xmed-report-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.xmed-report-id { font-size: 0.75rem; color: rgba(255, 255, 255, .6); font-family: var(--font-mono); }
.xmed-report-status {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--success);
  background: var(--success-light);
  padding: 3px 10px;
  border-radius: var(--r-full);
  text-transform: uppercase;
}
.xmed-test-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  font-size: 0.875rem;
  color: var(--white);
}
.xmed-test-row:last-child { border-bottom: 0; }
.xmed-test-name { color: rgba(255, 255, 255, .85); }
.xmed-test-value { color: rgba(255, 255, 255, .55); font-family: var(--font-mono); }
.xmed-test-flag {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-full);
  text-transform: uppercase;
}
.xmed-test-flag.ok { color: var(--success); background: var(--success-light); }
.xmed-test-flag.low { color: var(--warning); background: #FEF3C7; }

/* Floating chips on xMed visual */
.xmed-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 12px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .3);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-800);
}
.xmed-float svg { width: 20px; height: 20px; color: var(--secondary-600); }
.xmed-float span { display: block; font-size: 0.6875rem; color: var(--ink-500); font-weight: 500; }
.xmed-float-1 { top: -12px; right: -12px; transform: rotate(2deg); }
.xmed-float-2 { bottom: -12px; left: -12px; transform: rotate(-2deg); }
@media (max-width: 960px) { .xmed-float-1, .xmed-float-2 { display: none; } }

/* ---------- 11. Process Steps ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 960px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }
.process-step {
  background: var(--white);
  border-radius: var(--r-2xl);
  padding: 32px 24px;
  border: 1px solid var(--border-soft);
  text-align: center;
  position: relative;
  transition: all .25s var(--ease);
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-200);
}
.process-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 20px rgba(14, 116, 144, .3);
}
.process-step h4 { margin-bottom: 8px; }
.process-step p { color: var(--ink-600); font-size: 0.9375rem; }

/* ---------- 12. Test Picker (interactive) ---------- */
.picker-wrap {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: flex-start;
}
@media (max-width: 1024px) { .picker-wrap { grid-template-columns: 1fr; } }

.picker-main {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-2xl);
  padding: 24px;
}

.picker-toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}
.picker-search {
  flex: 1;
  min-width: 220px;
  position: relative;
}
.picker-search input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  background: var(--bg-soft);
  transition: all .2s var(--ease);
}
.picker-search input:focus {
  outline: none;
  border-color: var(--primary-400);
  background: var(--white);
  box-shadow: var(--shadow-glow);
}
.picker-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--ink-400);
}

.picker-dept-filter {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-soft);
}
.dept-chip {
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  background: var(--ink-100);
  color: var(--ink-700);
  border-radius: var(--r-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.dept-chip:hover { background: var(--ink-200); }
.dept-chip.active {
  background: var(--primary-700);
  color: var(--white);
  border-color: var(--primary-700);
}

.test-list {
  max-height: 600px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 8px;
}
.test-list::-webkit-scrollbar { width: 6px; }
.test-list::-webkit-scrollbar-track { background: var(--ink-100); border-radius: 3px; }
.test-list::-webkit-scrollbar-thumb { background: var(--ink-300); border-radius: 3px; }
.test-list::-webkit-scrollbar-thumb:hover { background: var(--ink-400); }

.test-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: all .15s var(--ease);
  cursor: pointer;
}
.test-row:hover { background: var(--bg-soft); border-color: var(--border-soft); }
.test-row.selected { background: var(--primary-50); border-color: var(--primary-200); }

.test-check {
  width: 20px; height: 20px;
  border: 1.5px solid var(--ink-300);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--white);
  transition: all .15s var(--ease);
}
.test-row.selected .test-check {
  background: var(--primary-700);
  border-color: var(--primary-700);
}
.test-check svg { width: 14px; height: 14px; color: var(--white); opacity: 0; transition: opacity .15s; }
.test-row.selected .test-check svg { opacity: 1; }

.test-info { flex: 1; min-width: 0; }
.test-name { font-size: 0.9375rem; font-weight: 500; color: var(--ink-900); }
.test-dept {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-500);
  margin-top: 2px;
}
.test-price {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink-900);
  white-space: nowrap;
}
.test-price .pkr { color: var(--ink-500); font-weight: 500; font-size: 0.75rem; margin-right: 2px; }

.picker-side {
  position: sticky;
  top: calc(var(--topbar-h) + var(--header-h) + 24px);
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-2xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - var(--topbar-h) - var(--header-h) - 48px);
}
.picker-side h3 { font-size: 1.125rem; margin-bottom: 4px; }
.picker-side .sub { font-size: 0.8125rem; color: var(--ink-500); margin-bottom: 16px; }

.picker-empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--ink-500);
  font-size: 0.875rem;
  border: 1px dashed var(--border-soft);
  border-radius: var(--r-md);
  margin: 16px 0;
}
.picker-empty svg { width: 40px; height: 40px; color: var(--ink-300); margin: 0 auto 8px; }

.picker-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding-right: 4px;
}
.picker-list::-webkit-scrollbar { width: 4px; }
.picker-list::-webkit-scrollbar-thumb { background: var(--ink-300); border-radius: 2px; }

.picker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-soft);
  border-radius: var(--r-md);
  font-size: 0.875rem;
}
.picker-item .pi-name { flex: 1; min-width: 0; color: var(--ink-800); font-weight: 500; }
.picker-item .pi-price { color: var(--primary-700); font-weight: 700; white-space: nowrap; }
.picker-item .pi-remove {
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink-200);
  color: var(--ink-600);
  cursor: pointer;
  transition: all .15s;
  flex-shrink: 0;
}
.picker-item .pi-remove:hover { background: var(--danger); color: var(--white); }
.picker-item .pi-remove svg { width: 12px; height: 12px; }

.picker-totals {
  border-top: 1px solid var(--border-soft);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.picker-totals .line {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--ink-600);
}
.picker-totals .line.discount { color: var(--success); }
.picker-totals .total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink-900);
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-soft);
}
.picker-totals .total .grand { color: var(--primary-700); }
.picker-cta { display: flex; flex-direction: column; gap: 8px; }
.picker-cta .btn { width: 100%; }
.picker-cta .small { font-size: 0.6875rem; color: var(--ink-500); text-align: center; margin-top: 4px; }

/* ---------- 13. Forms ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-700);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  background: var(--white);
  font-size: 0.9375rem;
  color: var(--ink-900);
  transition: all .2s var(--ease);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-400);
  box-shadow: var(--shadow-glow);
}
textarea.form-control { min-height: 120px; resize: vertical; }

/* ---------- 14. Footer ---------- */
.footer {
  background: linear-gradient(180deg, var(--ink-900) 0%, #020617 100%);
  color: var(--ink-300);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-700), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer p { font-size: 0.875rem; line-height: 1.7; color: var(--ink-400); }
.footer h5 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer a {
  color: var(--ink-400);
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.footer a:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.875rem;
  color: var(--ink-400);
}
.footer-contact-item svg { width: 16px; height: 16px; color: var(--primary-400); flex-shrink: 0; margin-top: 2px; }

.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-300);
  transition: all .2s var(--ease);
}
.footer-social a:hover {
  background: var(--primary-700);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--ink-500);
}
.footer-bottom a { color: var(--primary-400); }
.footer-bottom-links { display: flex; gap: 20px; }

/* ---------- 15. Floating WhatsApp + Back to top ---------- */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  z-index: 99;
  transition: all .2s var(--ease);
  animation: wa-pulse 2s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, .55);
  color: var(--white);
}
.wa-float svg { width: 32px; height: 32px; }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, .4), 0 0 0 0 rgba(37, 211, 102, .5); }
  50%      { box-shadow: 0 8px 24px rgba(37, 211, 102, .4), 0 0 0 12px rgba(37, 211, 102, 0); }
}

.to-top {
  position: fixed;
  bottom: 96px; right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .25s var(--ease);
  border: 1px solid var(--border-soft);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--primary-700); color: var(--white); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- 16. Animations ---------- */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.5); opacity: 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50%      { transform: translateY(-8px) rotate(2deg); }
}
@keyframes floatAlt {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-12px) rotate(-2deg); }
}
.hero-float-1 { animation: float 4s ease-in-out infinite; }
.hero-float-2 { animation: floatAlt 5s ease-in-out infinite; }
.hero-float-3 { animation: float 4.5s ease-in-out infinite 0.5s; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 17. Utilities ---------- */
.text-center { text-align: center; }
.bg-soft { background: var(--bg-soft); }
.relative { position: relative; }
.hidden { display: none !important; }

/* ---------- 18. Responsive helpers ---------- */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .container { padding: 0 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .xmed-features { grid-template-columns: 1fr; }
  .footer { padding: 56px 0 24px; }
}
