/* ============================================================
   MediSwift Global Health Inc. — Design System
   Brand palette derived from the MediSwift logo mark.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  /* ---- Brand colors (from logo) ---- */
  --navy: #14126B;
  --navy-800: #1C1A7E;
  --navy-700: #262496;
  --blue: #2A2FD1;
  --blue-600: #2226B0;
  --blue-100: #E8E9FB;
  --blue-50: #F4F4FD;
  --purple: #7A1FA0;
  --purple-600: #641a83;
  --purple-100: #F3E6F8;
  --yellow: #F0DE1A;
  --yellow-600: #C9B70E;

  /* ---- Semantic tokens ---- */
  --color-primary: var(--purple);
  --color-primary-hover: var(--purple-600);
  --color-on-primary: #FFFFFF;
  --color-secondary: var(--blue);
  --color-on-secondary: #FFFFFF;
  --color-accent: var(--yellow);
  --color-success: #0E9F6E;
  --color-success-bg: #E7F8F1;
  --color-danger: #DC2626;
  --color-danger-bg: #FDECEC;

  --color-bg: #FAF8FD;
  --color-surface: #FFFFFF;
  --color-surface-alt: #F4EFFA;
  --color-text: #14122B;
  --color-text-muted: #5F5D74;
  --color-text-faint: #918FA3;
  --color-border: #EAE4F3;
  --color-ring: var(--purple);

  /* ---- Typography ---- */
  --font-heading: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.35rem + 0.6vw, 1.875rem);
  --fs-2xl: clamp(1.875rem, 1.6rem + 1.1vw, 2.5rem);
  --fs-3xl: clamp(2.25rem, 1.8rem + 1.8vw, 3.25rem);
  --fs-4xl: clamp(2.75rem, 2.1rem + 2.6vw, 4.25rem);

  /* ---- Spacing (8pt rhythm, spacious for marketing) ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* ---- Radius & shadow ---- */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(45, 18, 90, 0.06), 0 1px 3px rgba(45, 18, 90, 0.08);
  --shadow-md: 0 4px 12px rgba(45, 18, 90, 0.08), 0 2px 4px rgba(45, 18, 90, 0.06);
  --shadow-lg: 0 16px 40px rgba(45, 18, 90, 0.14), 0 4px 12px rgba(45, 18, 90, 0.08);
  --shadow-glow: 0 10px 30px rgba(122, 31, 160, 0.28);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 400ms;

  --container: 1200px;
  --header-h: 76px;
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after{ box-sizing: border-box; }
*{ margin: 0; }
html{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }

body{
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100dvh;
  overflow-x: hidden;
}

img, picture, svg{ display: block; max-width: 100%; }
.ms-icon{ width: 24px; height: 24px; flex-shrink: 0; }
input, button, textarea, select{ font: inherit; color: inherit; }
button{ cursor: pointer; }
a{ color: inherit; text-decoration: none; }
ul, ol{ list-style: none; padding: 0; }
h1, h2, h3, h4, h5{ font-family: var(--font-heading); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
p{ color: var(--color-text-muted); }

:focus-visible{
  outline: 3px solid var(--color-ring);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection{ background: var(--purple-100); color: var(--navy); }

/* ============================================================
   Layout utilities
   ============================================================ */
.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
@media (min-width: 768px){ .container{ padding-inline: var(--space-7); } }

.section{ padding-block: var(--space-9); }
@media (max-width: 768px){ .section{ padding-block: var(--space-8); } }

.section-head{
  max-width: 640px;
  margin-bottom: var(--space-7);
}
.section-head.center{ margin-inline: auto; text-align: center; }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--purple);
  background: var(--purple-100);
  padding: 7px 16px 7px 12px;
  border-radius: var(--radius-full);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: var(--space-4);
}
.eyebrow::before{
  content: '';
  width: 7px; height: 7px;
  background: var(--purple);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}
.section-head.center .eyebrow{ margin-inline: auto; }

.section-head h2{ font-size: var(--fs-3xl); color: var(--navy); margin-bottom: var(--space-3); }
.section-head p{ font-size: var(--fs-md); }

.grid{ display: grid; gap: var(--space-6); }
.grid-2{ grid-template-columns: repeat(1, 1fr); }
.grid-3{ grid-template-columns: repeat(1, 1fr); }
.grid-4{ grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px){ .grid-4{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px){
  .grid-2{ grid-template-columns: repeat(2, 1fr); }
  .grid-3{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px){
  .grid-3{ grid-template-columns: repeat(3, 1fr); }
  .grid-4{ grid-template-columns: repeat(4, 1fr); }
}

.text-center{ text-align: center; }
.visually-hidden{
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--fs-base);
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
  min-height: 48px;
  white-space: nowrap;
}
.btn svg{ width: 20px; height: 20px; flex-shrink: 0; }
.btn:active{ transform: translateY(1px) scale(0.98); }

.btn-primary{
  background: var(--color-primary);
  color: var(--color-on-primary);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover{ background: var(--color-primary-hover); box-shadow: 0 10px 34px rgba(42,47,209,0.34); transform: translateY(-2px); }

.btn-secondary{
  background: var(--color-surface);
  color: var(--navy);
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover{ border-color: var(--blue); color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-accent{
  background: var(--color-accent);
  color: var(--navy);
}
.btn-accent:hover{ background: var(--yellow-600); transform: translateY(-2px); }

.btn-ghost{
  background: transparent;
  color: var(--navy);
}
.btn-ghost:hover{ background: var(--blue-50); }

.btn-split{ padding-right: 6px; gap: 14px; }
.btn-split__icon{
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-out);
}
.btn-split__icon svg{ width: 16px; height: 16px; }
.btn-split:hover .btn-split__icon{ transform: rotate(45deg); }

.btn-block{ width: 100%; }
.btn-sm{ padding: 10px 18px; min-height: 40px; font-size: var(--fs-sm); }
.btn[disabled]{ opacity: 0.5; cursor: not-allowed; transform: none !important; }

.icon-btn{
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid transparent;
  color: var(--navy);
  position: relative;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.icon-btn:hover{ background: var(--blue-50); border-color: var(--color-border); }
.icon-btn svg{ width: 22px; height: 22px; }

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header{
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(247, 248, 252, 0.82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled{ box-shadow: var(--shadow-sm); }

.nav-wrap{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand{ display: flex; align-items: center; gap: 10px; }
.brand img{ height: 40px; width: auto; }
.brand-name{ font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; color: var(--navy); line-height: 1; }
.brand-name span{ color: var(--blue); }
.brand-logo{ width: auto; }
.brand-logo--header{ height: 48px; }
.brand-logo--footer{ height: 46px; }
.brand-fullname{
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--navy);
  max-width: 14ch;
}
.footer-brand .brand-fullname{ color: #fff; }
@media (max-width: 700px){
  .site-header .brand-logo--header{ height: 38px; }
  .site-header .brand-fullname{
    display: block;
    font-size: 0.75rem;
    line-height: 1.15;
    max-width: 110px;
  }
}

.nav-links{
  display: none;
  align-items: center;
  gap: var(--space-6);
}
.nav-links a{
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--color-text);
  padding: 8px 2px;
  position: relative;
}
.nav-links a::after{
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--blue);
  border-radius: var(--radius-full);
  transition: width var(--dur-base) var(--ease-out);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after{ width: 100%; }
.nav-links a[aria-current="page"]{ color: var(--blue); }

.nav-actions{ display: flex; align-items: center; gap: var(--space-2); }

.cart-badge{
  position: absolute; top: 2px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: var(--radius-full);
  background: var(--purple);
  color: #fff;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--color-bg);
}

.nav-toggle{ display: inline-flex; }
.nav-cta{ display: none; }
@media (min-width: 960px){
  .nav-links{ display: flex; }
  .nav-toggle{ display: none; }
  .nav-cta{ display: inline-flex; }
}

/* Mobile nav drawer */
.mobile-nav{
  position: fixed; inset: 0;
  z-index: 200;
  visibility: hidden;
}
.mobile-nav__scrim{
  position: absolute; inset: 0;
  background: rgba(18, 20, 43, 0.5);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}
.mobile-nav__panel{
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(340px, 86vw);
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6) var(--space-5);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out);
  display: flex; flex-direction: column; gap: var(--space-2);
}
.mobile-nav.is-open{ visibility: visible; }
.mobile-nav.is-open .mobile-nav__scrim{ opacity: 1; }
.mobile-nav.is-open .mobile-nav__panel{ transform: translateX(0); }
.mobile-nav__top{ display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-5); }
.mobile-nav a{
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 600;
  padding: 14px 4px;
  border-bottom: 1px solid var(--color-border);
  color: var(--navy);
}
.mobile-nav__cta{ margin-top: var(--space-5); }

/* ============================================================
   Hero
   ============================================================ */
.hero{
  position: relative;
  padding-top: var(--space-9);
  padding-bottom: var(--space-9);
  overflow: hidden;
  background:
    radial-gradient(720px 420px at 92% -8%, rgba(240, 222, 26, 0.18), transparent 60%),
    radial-gradient(900px 560px at -10% 15%, rgba(122, 31, 160, 0.14), transparent 55%),
    linear-gradient(180deg, #FAF8FD 0%, #F4EFFA 100%);
}
.hero-grid{
  display: grid;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 960px){
  .hero-grid{ grid-template-columns: 1.05fr 0.95fr; }
}
.hero h1{
  font-size: var(--fs-4xl);
  color: var(--navy);
  margin-bottom: var(--space-5);
}
.hero h1 em{
  font-style: normal;
  color: var(--purple);
  position: relative;
}
.hero-lede{ font-size: var(--fs-md); max-width: 46ch; margin-bottom: var(--space-6); }
.hero-cta{ display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); margin-bottom: var(--space-7); }

.hero-stats{ display: flex; flex-wrap: wrap; gap: var(--space-7); }
.hero-stats dt{ font-family: var(--font-heading); font-size: var(--fs-2xl); color: var(--navy); font-weight: 800; }
.hero-stats dd{ font-size: var(--fs-sm); color: var(--color-text-muted); }

/* ---- Phone mockup hero visual ---- */
.hero-visual{ position: relative; display: flex; justify-content: center; padding: var(--space-6) 0; }
.phone-mockup{
  position: relative;
  width: min(300px, 74vw);
  padding: 16px 16px 26px;
  border-radius: 46px;
  background: linear-gradient(165deg, var(--navy) 0%, var(--purple) 100%);
  box-shadow: var(--shadow-lg);
}
.phone-mockup__notch{
  width: 90px; height: 22px;
  background: rgba(0,0,0,0.28);
  border-radius: var(--radius-full);
  margin: 0 auto 14px;
}
.phone-mockup__screen{
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 30px;
  overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, var(--blue-50) 0%, var(--purple-100) 100%);
  display: flex; align-items: center; justify-content: center;
}
.phone-mockup__ring{
  position: absolute;
  width: 62%; aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122,31,160,0.16) 0%, transparent 70%);
}
.phone-mockup__icon{ position: relative; width: 34%; color: var(--purple); }
.phone-mockup__icon svg{ width: 100%; height: auto; }

.float-card{
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 10px 16px 10px 10px;
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-xs);
  z-index: 2;
}
.float-card__icon{
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--purple);
  color: #fff;
}
.float-card__icon svg{ width: 18px; height: 18px; }
.float-card strong{ display: block; color: var(--navy); font-size: var(--fs-sm); font-weight: 700; }
.float-card span{ color: var(--color-text-faint); }
.float-card--verified{ top: 6%; left: -12%; }
.float-card--verified .float-card__icon{ background: var(--color-success); }
.float-card--book{
  bottom: 6%; right: -14%;
  flex-direction: column;
  align-items: stretch;
  padding: 14px;
  gap: 8px;
  min-width: 168px;
}
.float-card--book .float-card__top{ display: flex; align-items: center; gap: 10px; }
.float-card--book .float-card__meta{ display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--color-text-faint); }
.float-card--book .float-card__meta svg{ width: 13px; height: 13px; }
@media (max-width: 480px){
  .float-card{ padding: 8px 12px 8px 8px; }
  .float-card--verified{ left: -4%; }
  .float-card--book{ right: -4%; min-width: 150px; }
}

/* ============================================================
   Cards
   ============================================================ */
.card{
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }

.icon-tile{
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: var(--blue-100);
  color: var(--blue);
  margin-bottom: var(--space-4);
}
.icon-tile svg{ width: 28px; height: 28px; }
.icon-tile.purple{ background: var(--purple-100); color: var(--purple); }
.icon-tile.navy{ background: var(--navy); color: var(--color-accent); }

.icon-tile-photo{
  width: 64px; height: 64px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-sm);
}
.icon-tile-photo img{ width: 100%; height: 100%; object-fit: cover; }
.icon-tile-photo.lg{ width: 88px; height: 88px; border-radius: 22px; }

/* ---- MediSlim page ---- */
.program-logo{
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-6);
}
.program-logo img{
  width: 100%;
  max-width: 280px;
  height: auto;
}

.compare-photo{
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.compare-photo img{ width: 100%; height: auto; display: block; }

.service-card h3{ font-size: var(--fs-lg); color: var(--navy); margin-bottom: var(--space-2); }
.service-card p{ font-size: var(--fs-sm); margin-bottom: var(--space-4); }
.service-card .link{
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: var(--fs-sm); color: var(--blue);
}
.service-card .link svg{ width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease-out); }
.service-card:hover .link svg{ transform: translateX(4px); }

/* Badges */
.badge{
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge-success{ background: var(--color-success-bg); color: var(--color-success); }
.badge-accent{ background: rgba(240,222,26,0.22); color: #8a7c04; }
.badge-purple{ background: var(--purple-100); color: var(--purple); }
.badge-navy{ background: var(--navy); color: #fff; }

/* ============================================================
   Product grid / cards
   ============================================================ */
.product-toolbar{
  display: flex; flex-wrap: wrap; gap: var(--space-3);
  margin-bottom: var(--space-7);
}
.chip{
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  transition: all var(--dur-fast) var(--ease-out);
}
.chip:hover{ border-color: var(--blue); color: var(--blue); }
.chip.is-active{ background: var(--navy); border-color: var(--navy); color: #fff; }

.product-card{
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.product-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-media{
  aspect-ratio: 1 / 1;
  background: linear-gradient(155deg, var(--blue-50), var(--blue-100));
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.product-media svg{ width: 40%; height: 40%; color: var(--blue); opacity: 0.85; }
.product-media img{ width: 100%; height: 100%; object-fit: cover; }
.product-media .badge{ position: absolute; top: var(--space-3); left: var(--space-3); z-index: 1; }
.product-body{ padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.product-cat{ font-size: var(--fs-xs); font-weight: 700; color: var(--purple); text-transform: uppercase; letter-spacing: 0.06em; }
.product-body h3{ font-size: var(--fs-md); color: var(--navy); }
.product-body p{ font-size: var(--fs-sm); }
.product-foot{ margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: var(--space-3); }
.product-price{ font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-lg); color: var(--navy); }
.product-price small{ display: block; font-family: var(--font-body); font-weight: 500; font-size: 11px; color: var(--color-text-faint); }

/* ============================================================
   Timeline / process steps
   ============================================================ */
.steps{ counter-reset: step; }
.step{
  display: grid; grid-template-columns: 48px 1fr; gap: var(--space-4);
  padding-bottom: var(--space-6);
  position: relative;
}
.step::before{
  counter-increment: step;
  content: counter(step);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--color-accent);
  font-family: var(--font-heading); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.step:not(:last-child)::after{
  content: '';
  position: absolute; left: 23px; top: 48px; bottom: 0;
  width: 2px;
  background: var(--color-border);
}
.step h4{ font-size: var(--fs-md); color: var(--navy); margin-bottom: 4px; }
.step p{ font-size: var(--fs-sm); }

/* ============================================================
   Forms
   ============================================================ */
.field{ margin-bottom: var(--space-5); }
.field label{
  display: block; font-weight: 600; font-size: var(--fs-sm); color: var(--navy);
  margin-bottom: var(--space-2);
}
.field .req{ color: var(--color-danger); }
.field .hint{ font-size: var(--fs-xs); color: var(--color-text-faint); margin-top: 6px; }
.field input,
.field select,
.field textarea{
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  font-size: var(--fs-base);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field textarea{ min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover{ border-color: #c7cbe0; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-100);
}
.field-row{ display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 640px){ .field-row.two{ grid-template-columns: 1fr 1fr; } }

.radio-group{ display: flex; flex-wrap: wrap; gap: var(--space-3); }
.radio-card{
  flex: 1; min-width: 160px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  display: flex; align-items: flex-start; gap: 10px;
}
.radio-card:hover{ border-color: var(--blue); }
.radio-card input{ margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); flex-shrink: 0; }
.radio-card strong{ display: block; font-size: var(--fs-sm); color: var(--navy); }
.radio-card span.desc{ font-size: var(--fs-xs); color: var(--color-text-muted); }
.radio-card:has(input:checked){ border-color: var(--blue); background: var(--blue-50); }

.form-note{
  display: flex; gap: var(--space-3);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-size: var(--fs-sm);
  color: var(--navy-800);
  margin-bottom: var(--space-6);
}
.form-note svg{ width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer{
  background: var(--navy);
  color: rgba(255,255,255,0.82);
  padding-block: var(--space-9) var(--space-6);
}
.footer-grid{
  display: grid; gap: var(--space-7);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-8);
}
@media (min-width: 768px){ .footer-grid{ grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand .brand-name{ color: #fff; }
.footer-brand p{ color: rgba(255,255,255,0.62); font-size: var(--fs-sm); margin-block: var(--space-4); max-width: 32ch; }
.footer-social{ display: flex; gap: var(--space-3); }
.footer-social a{
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast) var(--ease-out);
}
.footer-social a:hover{ background: var(--blue); }
.footer-social svg{ width: 18px; height: 18px; }

.footer-col h5{ color: #fff; font-family: var(--font-heading); font-size: var(--fs-base); margin-bottom: var(--space-4); }
.footer-col ul{ display: flex; flex-direction: column; gap: 12px; }
.footer-col a{ font-size: var(--fs-sm); color: rgba(255,255,255,0.62); transition: color var(--dur-fast) var(--ease-out); }
.footer-col a:hover{ color: var(--color-accent); }
.footer-contact li{ display: flex; gap: 10px; font-size: var(--fs-sm); color: rgba(255,255,255,0.72); align-items: flex-start; }
.footer-contact svg{ width: 18px; height: 18px; color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--space-5);
  display: flex; flex-wrap: wrap; gap: var(--space-3);
  justify-content: space-between; align-items: center;
  font-size: var(--fs-xs); color: rgba(255,255,255,0.5);
}

/* ============================================================
   Scroll-reveal animation utilities
   ============================================================ */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

.reveal-scale{ opacity: 0; transform: scale(0.94); transition: opacity 550ms var(--ease-out), transform 550ms var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
.reveal-scale.is-visible{ opacity: 1; transform: scale(1); }

@media (prefers-reduced-motion: reduce){
  .reveal, .reveal-scale{ opacity: 1 !important; transform: none !important; transition: none !important; }
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@keyframes float{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}
.float{ animation: float 5s ease-in-out infinite; }

@keyframes pulse-ring{
  0%{ box-shadow: 0 0 0 0 rgba(42,47,209,0.35); }
  100%{ box-shadow: 0 0 0 14px rgba(42,47,209,0); }
}
.pulse{ animation: pulse-ring 2.2s var(--ease-out) infinite; }

@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
.marquee-track{ animation: marquee 26s linear infinite; }
@media (prefers-reduced-motion: reduce){ .marquee-track{ animation: none; } }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band{
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-600) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band::before{
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(500px 260px at 15% 0%, rgba(240,222,26,0.22), transparent 60%),
              radial-gradient(500px 260px at 90% 100%, rgba(122,31,160,0.35), transparent 60%);
}
.cta-band > *{ position: relative; }
.cta-band h2{ font-size: var(--fs-2xl); margin-bottom: var(--space-3); }
.cta-band p{ color: rgba(255,255,255,0.78); max-width: 52ch; margin-inline: auto; margin-bottom: var(--space-6); }
.cta-actions{ display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4); }

/* ============================================================
   Page header (interior pages)
   ============================================================ */
.page-hero{
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--color-bg) 100%);
  padding-block: var(--space-8) var(--space-7);
}
.breadcrumbs{ display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--color-text-faint); margin-bottom: var(--space-4); font-weight: 600; }
.breadcrumbs a:hover{ color: var(--blue); }
.page-hero h1{ font-size: var(--fs-3xl); color: var(--navy); max-width: 20ch; }
.page-hero p{ font-size: var(--fs-md); max-width: 60ch; margin-top: var(--space-4); }

/* ============================================================
   Misc components
   ============================================================ */
.divider{ height: 1px; background: var(--color-border); border: 0; margin-block: var(--space-7); }

.stat-strip{
  display: grid; grid-template-columns: repeat(2,1fr); gap: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
}
@media (min-width: 768px){ .stat-strip{ grid-template-columns: repeat(4,1fr); } }
.stat-strip .stat dt{ font-family: var(--font-heading); font-size: var(--fs-2xl); font-weight: 700; color: var(--blue); }
.stat-strip .stat dd{ font-size: var(--fs-sm); color: var(--color-text-muted); margin-top: 4px; }

.avatar{
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-family: var(--font-heading); flex-shrink: 0;
}

.quote-card{ position: relative; }
.quote-card svg.quote-mark{ width: 32px; height: 32px; color: var(--blue-100); margin-bottom: var(--space-3); }
.quote-card .stars{ display: flex; gap: 3px; margin-bottom: var(--space-3); color: var(--color-accent); }
.quote-card .stars svg{ width: 16px; height: 16px; }
.quote-card p.quote{ color: var(--color-text); font-size: var(--fs-base); margin-bottom: var(--space-5); }
.quote-person{ display: flex; align-items: center; gap: 12px; }
.quote-person strong{ display: block; font-size: var(--fs-sm); color: var(--navy); }
.quote-person span{ font-size: var(--fs-xs); color: var(--color-text-faint); }

.toast{
  position: fixed; bottom: 24px; left: 50%;
  transform: translate(-50%, 20px);
  background: var(--navy);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; gap: 10px;
  font-size: var(--fs-sm); font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility var(--dur-base);
  z-index: 300;
  max-width: calc(100vw - 32px);
}
.toast.is-visible{ opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast svg{ width: 20px; height: 20px; color: var(--color-accent); flex-shrink: 0; }

.skip-link{
  position: absolute; left: 8px; top: -60px;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm);
  z-index: 999; transition: top var(--dur-fast) var(--ease-out); font-weight: 600; font-size: var(--fs-sm);
}
.skip-link:focus{ top: 8px; }

/* ============================================================
   Big stat row (bold-number style)
   ============================================================ */
.stat-row{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
@media (min-width: 768px){ .stat-row{ grid-template-columns: repeat(4, 1fr); gap: var(--space-4); } }
.stat-row .stat-item{
  padding-inline: var(--space-4);
  border-left: 2px solid var(--color-border);
}
.stat-row .stat-item:first-child,
.stat-row .stat-item:nth-child(3){ border-left: none; }
@media (min-width: 768px){ .stat-row .stat-item:nth-child(3){ border-left: 2px solid var(--color-border); } }
.stat-row .stat-num{
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-row .stat-label{ font-size: var(--fs-sm); color: var(--color-text-muted); }

/* ============================================================
   Specialist / team card
   ============================================================ */
.specialist-card{
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.specialist-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.specialist-avatar{
  position: relative;
  width: 96px; height: 96px;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  background: linear-gradient(155deg, var(--purple-100), var(--blue-100));
  display: flex; align-items: center; justify-content: center;
  color: var(--purple);
}
.specialist-avatar svg{ width: 42px; height: 42px; }
.specialist-avatar__badge{
  position: absolute; bottom: -2px; right: -2px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--color-success);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--color-surface);
}
.specialist-avatar__badge svg{ width: 14px; height: 14px; }
.specialist-card h3{ font-size: var(--fs-md); color: var(--navy); margin-bottom: 2px; }
.specialist-role{ font-size: var(--fs-xs); color: var(--purple); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: var(--space-3); }
.specialist-card p.desc{ font-size: var(--fs-sm); margin-bottom: var(--space-4); }

/* ============================================================
   Blog / tips card
   ============================================================ */
.tip-card{
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.tip-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tip-cover{
  aspect-ratio: 16/10;
  background: linear-gradient(155deg, var(--navy), var(--purple));
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.tip-cover svg{ width: 30%; height: 30%; color: rgba(255,255,255,0.9); }
.tip-cover .badge{ position: absolute; top: var(--space-3); left: var(--space-3); }
.tip-body{ padding: var(--space-5); }
.tip-body h3{ font-size: var(--fs-md); color: var(--navy); margin-bottom: var(--space-2); }
.tip-body p{ font-size: var(--fs-sm); margin-bottom: var(--space-4); }
.tip-link{ display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: var(--fs-sm); color: var(--purple); }
.tip-link svg{ width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease-out); }
.tip-card:hover .tip-link svg{ transform: translateX(4px); }

/* ============================================================
   Category row (infographic-style supply overview)
   ============================================================ */
.category-row{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + var(--space-4));
}
@media (min-width: 860px){
  .category-row{ grid-template-columns: 0.85fr 1.15fr; }
  .category-row--reverse{ grid-template-columns: 1.15fr 0.85fr; }
  .category-row--reverse .category-row__media{ order: 2; }
  .category-row--reverse .category-row__body{ order: 1; }
}
.category-row__media{
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(155deg, var(--navy), var(--purple));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.category-row__media img{ width: 100%; height: 100%; object-fit: cover; }
.category-row__media svg{ width: 32%; height: 32%; color: rgba(255,255,255,0.9); }
.category-row__media .badge{ position: absolute; top: var(--space-4); left: var(--space-4); }
.category-row__body{ padding: var(--space-7); }
.category-row__body h2{ font-size: var(--fs-2xl); color: var(--navy); margin: var(--space-2) 0 var(--space-3); }
.category-row__body > p{ margin-bottom: var(--space-5); }
.category-examples{
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: var(--space-6);
  padding: 0; list-style: none;
}
.category-examples li{
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--blue-50);
  border: 1px solid var(--color-border);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--navy);
}

/* ============================================================
   Pulse CTA band (heartbeat line motif)
   ============================================================ */
.pulse-band{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy) 0%, var(--purple-600) 100%);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  color: #fff;
}
.pulse-band__line{
  position: absolute;
  left: 0; right: 0; top: 50%;
  width: 200%;
  transform: translateY(-50%);
  opacity: 0.35;
  color: var(--color-accent);
}
.pulse-band__line.scroll{ animation: pulse-scroll 14s linear infinite; }
@media (prefers-reduced-motion: reduce){ .pulse-band__line.scroll{ animation: none; } }
@keyframes pulse-scroll{ from{ transform: translate(0, -50%); } to{ transform: translate(-50%, -50%); } }
.pulse-band > *{ position: relative; }
.pulse-band h2{ font-size: var(--fs-2xl); margin-bottom: var(--space-3); }
.pulse-band p{ color: rgba(255,255,255,0.78); max-width: 52ch; margin-inline: auto; margin-bottom: var(--space-6); }
.pulse-actions{ display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4); }

/* ============================================================
   Testimonial carousel (v2)
   ============================================================ */
.testimonial-panel{
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
}
.testimonial-panel .quote-mark{ width: 40px; height: 40px; color: var(--purple-100); margin-bottom: var(--space-4); }
.testimonial-panel p.quote{ font-family: var(--font-heading); font-size: var(--fs-lg); font-weight: 600; color: var(--navy); line-height: 1.4; margin-bottom: var(--space-6); }
.testimonial-nav{ display: flex; gap: var(--space-3); margin-top: var(--space-6); }
.testimonial-nav button{
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.testimonial-nav button:hover{ background: var(--purple); border-color: var(--purple); color: #fff; }
.testimonial-nav button svg{ width: 18px; height: 18px; }
.testimonial-dots{ display: flex; gap: 8px; align-items: center; }
.testimonial-dots span{ width: 7px; height: 7px; border-radius: 50%; background: var(--color-border); transition: background var(--dur-fast) var(--ease-out), width var(--dur-fast) var(--ease-out); }
.testimonial-dots span.is-active{ background: var(--purple); width: 20px; border-radius: var(--radius-full); }

/* ============================================================
   Scroll-expand video hero
   ============================================================ */
.scroll-hero{
  position: relative;
  overflow-x: hidden;
}
.scroll-hero__stage{
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, #FAF8FD 0%, #F4EFFA 100%);
}
.scroll-hero__bg{
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/vaccines/vaccination-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: var(--hero-bg-opacity, 1);
}
.scroll-hero__bg::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,18,107,0.6), rgba(45,18,90,0.72));
}
.scroll-hero__media{
  position: relative;
  z-index: 2;
  width: 300px;
  height: 400px;
  max-width: 95vw;
  max-height: 82vh;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(20,18,107,0.35);
}
.scroll-hero__video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.scroll-hero__media-overlay{
  position: absolute;
  inset: 0;
  background: rgba(20,18,107,0.28);
  transition: opacity 200ms ease;
}
.scroll-hero__caption{
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: var(--space-4);
}
.scroll-hero__eyebrow{
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.scroll-hero__hint{
  color: rgba(255,255,255,0.75);
  font-size: var(--fs-xs);
}
.scroll-hero__title{
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: var(--space-6);
  padding-inline: var(--space-4);
}
.scroll-hero__word{
  font-size: clamp(2rem, 1.4rem + 3.5vw, 4.5rem);
  color: #fff;
  white-space: nowrap;
}
.scroll-hero__word--right{ color: var(--color-accent); }
.scroll-hero__content{
  position: relative;
  z-index: 2;
  opacity: 0;
  padding-block: var(--space-9);
  transition: opacity 500ms ease;
}
.scroll-hero__content-inner{
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}
.scroll-hero__content-inner h2{
  font-size: var(--fs-3xl);
  color: var(--navy);
  margin-block: var(--space-4);
}
.scroll-hero__content-inner .hero-cta{ justify-content: center; margin-top: var(--space-6); margin-bottom: 0; }

.scroll-hero.is-static-expanded .scroll-hero__stage{ min-height: auto; padding-block: var(--space-8); }
.scroll-hero.is-static-expanded .scroll-hero__media{ width: min(900px, 92vw); height: min(560px, 60vh); }
.scroll-hero.is-static-expanded .scroll-hero__bg{ opacity: 0; }
.scroll-hero.is-static-expanded .scroll-hero__content{ opacity: 1; }

@media (max-width: 640px){
  .scroll-hero__word{ font-size: clamp(1.6rem, 1.2rem + 4vw, 2.75rem); }
}
