/* =============================================================
   BioMed Solutions — Core Stylesheet
   Premium healthcare distribution website
   Brand palette derived from the BioMed logo
   ============================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand colors */
  --green-900: #003B1F;   /* deep medical green */
  --green-800: #064F2C;
  --green-700: #0A5C36;
  --emerald:   #007A3D;   /* rich emerald accent */
  --emerald-soft: #0E8A4C;
  --red:       #EF3F43;   /* medical red accent */
  --red-dark:  #D62F33;
  --mint:      #EAF7F1;   /* soft clinical mint */
  --mint-deep: #DCF0E6;
  --white:     #FFFFFF;
  --charcoal:  #0B1F1A;   /* premium charcoal */
  --gray-50:   #F5F8F7;   /* light medical gray */
  --gray-100:  #EEF3F1;
  --border:    #DDE7E3;   /* border gray */
  --border-soft:#E7EFEB;

  /* Text */
  --ink:       #0B1F1A;
  --ink-soft:  #2D3B36;
  --ink-muted: #586763;

  /* Typography */
  --font-head: "Sora", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Spacing & radius */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11,31,26,.05), 0 1px 3px rgba(11,31,26,.04);
  --shadow:    0 6px 24px rgba(11,31,26,.07), 0 2px 6px rgba(11,31,26,.05);
  --shadow-lg: 0 20px 48px rgba(11,31,26,.12);

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--mint { background: var(--mint); }
.section--gray { background: var(--gray-50); }
.section--green {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(0,122,61,.35), transparent 60%),
    linear-gradient(160deg, var(--green-900), var(--green-800));
  color: var(--white);
}
.center { text-align: center; }
.narrow { max-width: 760px; margin-inline: auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--green-900); font-weight: 700; letter-spacing: -.015em; }
.section--green h1, .section--green h2, .section--green h3 { color: #fff; }
h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.45rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { color: var(--ink-soft); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); }
.section--green .lead, .section--green p { color: rgba(255,255,255,.86); }

/* Eyebrow label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600;
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--emerald); margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 2px;
}
.section--green .eyebrow { color: #7be3aa; }

.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head p { margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--emerald); color: #fff; box-shadow: 0 6px 18px rgba(0,122,61,.28); }
.btn--primary:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,122,61,.34); }
.btn--ghost { background: transparent; color: var(--green-900); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--emerald); color: var(--emerald); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--green-900); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(239,63,67,.28); }
.btn--red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Top announcement bar ---------- */
.topbar {
  background: var(--green-900); color: #fff;
  font-size: .82rem; letter-spacing: .01em;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 9px; }
.topbar__msg { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.92); }
.topbar__pulse { color: var(--red); flex: none; }
.topbar__links { display: flex; gap: 20px; flex: none; }
.topbar__links a { color: rgba(255,255,255,.82); display: inline-flex; align-items: center; gap: 7px; transition: color .15s; }
.topbar__links a:hover { color: #fff; }
.topbar__links svg { width: 14px; height: 14px; }
@media (max-width: 760px) { .topbar__links { display: none; } .topbar .container { justify-content: center; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
@media (max-width: 480px){ .brand img { height: 38px; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-head); font-weight: 500; font-size: .93rem;
  color: var(--ink-soft); padding: 9px 14px; border-radius: 8px;
  transition: color .15s, background .15s; position: relative;
}
.nav a:hover { color: var(--green-900); background: var(--mint); }
.nav a.is-active { color: var(--green-900); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px;
  height: 2px; background: var(--red); border-radius: 2px;
}
.header__cta { display: flex; align-items: center; gap: 12px; flex: none; }
.nav__cta { display: none; }

/* Hamburger */
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--border);
  border-radius: 10px; width: 44px; height: 44px; padding: 0; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--green-900); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    width: min(320px, 84vw);
    height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh;
    z-index: 60;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 90px 22px 32px; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  }
  .nav.is-open { transform: translateX(0); }
  /* Keep the hamburger / X above the open panel so it stays tappable */
  .nav-toggle { position: relative; z-index: 70; }
  .nav-toggle[aria-expanded="true"] { background: #fff; }
  .nav a { padding: 14px 16px; font-size: 1rem; border-radius: 10px; }
  .nav a.is-active::after { display: none; }
  .nav a.is-active { background: var(--mint); }
  .nav__cta { display: block; margin-top: 12px; text-align: center; }
  .nav a.nav__cta, .nav a.nav__cta:hover { color: #fff; background: var(--emerald); }
  .nav a.nav__cta:hover { background: var(--green-700); }
  .header__cta .btn--cta-desktop { display: none; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(11,31,26,.4); z-index: 49;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--mint) 0%, #fff 78%); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,122,61,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,122,61,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(900px 480px at 78% 18%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(900px 480px at 78% 18%, #000 30%, transparent 78%);
}
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 92px); }
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { color: var(--emerald); }
.hero__sub { max-width: 560px; margin-bottom: 30px; }
.hero .btn-row { margin-bottom: 40px; }

.hero__metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 520px; }
.metric {
  background: rgba(255,255,255,.7); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px; backdrop-filter: blur(4px);
}
.metric__num { font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; color: var(--green-900); line-height: 1; }
.metric__num .plus { color: var(--red); }
.metric__label { font-size: .82rem; color: var(--ink-muted); margin-top: 6px; }

/* Hero visual card */
.hero__visual {
  position: relative; background: linear-gradient(155deg, var(--green-900), var(--green-700));
  border-radius: var(--radius-lg); padding: 30px; color: #fff; box-shadow: var(--shadow-lg);
  overflow: hidden; min-height: 380px;
}
.hero__visual::after {
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 34px 34px; opacity:.5;
}
.hero__visual > * { position: relative; z-index: 1; }
.hero__visual h3 { color:#fff; font-size: 1.05rem; margin-bottom: 4px; }
.hero__visual .hv-sub { color: rgba(255,255,255,.7); font-size: .85rem; margin-bottom: 22px; }
.hv-ecg { margin: 6px 0 22px; }
.hv-ecg path { stroke: #5ee29a; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hv-ecg .spike { stroke: var(--red); }
.hv-rows { display: grid; gap: 10px; }
.hv-row { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 11px 14px; }
.hv-row .dot { width: 9px; height: 9px; border-radius: 50%; background: #5ee29a; flex:none; box-shadow: 0 0 0 4px rgba(94,226,154,.18); }
.hv-row .dot.red { background: var(--red); box-shadow: 0 0 0 4px rgba(239,63,67,.18); }
.hv-row span { font-size: .86rem; color: rgba(255,255,255,.9); }
.hv-row strong { margin-left: auto; font-family: var(--font-head); font-size: .82rem; color:#fff; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; min-height: 300px; }
}
@media (max-width: 520px) {
  .hero__metrics { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric { padding: 13px 14px; }
  .metric__num { font-size: 1.4rem; }
}

/* ---------- ECG divider ---------- */
.ecg-divider { display:block; width: 100%; height: 34px; }
.ecg-divider path { fill: none; stroke: var(--emerald); stroke-width: 2; opacity: .55; stroke-linecap: round; }
.ecg-divider .spike { stroke: var(--red); opacity: .9; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px){ .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-soft); }
.card h3 { margin-bottom: 9px; font-size: 1.18rem; }
.card p { font-size: .94rem; }
.card__icon {
  width: 50px; height: 50px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: var(--mint); color: var(--emerald); margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card--accent .card__icon { background: rgba(239,63,67,.1); color: var(--red); }
.card__link { display:inline-flex; align-items:center; gap:6px; margin-top:16px; font-family:var(--font-head); font-weight:600; font-size:.88rem; color: var(--emerald); }
.card__link svg { width:15px; height:15px; transition: transform .2s; }
.card:hover .card__link svg { transform: translateX(3px); }

/* Feature list inside cards */
.tick-list { display: grid; gap: 11px; margin-top: 6px; }
.tick-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.tick-list li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23007A3D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Audience chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 11px 18px; font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--ink-soft);
  transition: border-color .18s, color .18s, transform .18s;
}
.chip:hover { border-color: var(--emerald); color: var(--green-900); transform: translateY(-2px); }
.chip svg { width: 18px; height: 18px; color: var(--emerald); }

/* ---------- Stat band ---------- */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.statband .stat { text-align: center; padding: 12px; }
.statband .stat__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem,3.5vw,2.8rem); color: #fff; line-height: 1; }
.statband .stat__num .plus { color: #5ee29a; }
.statband .stat__label { color: rgba(255,255,255,.78); font-size: .9rem; margin-top: 8px; }
@media (max-width: 760px){ .statband { grid-template-columns: repeat(2, 1fr); gap: 28px; } }

/* ---------- Partners ---------- */
.partners-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(28px, 6vw, 70px); }
.partner-logo { height: 56px; width: auto; filter: saturate(1); opacity: .92; transition: opacity .2s, transform .2s; }
.partner-logo:hover { opacity: 1; transform: scale(1.04); }
.partner-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 38px 30px;
  transition: transform .2s, box-shadow .2s;
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.partner-card img { height: 72px; width: auto; }
.partner-card .wordmark { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--green-900); letter-spacing: .02em; }
.partner-card p { font-size: .92rem; }
.partner-tag { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--emerald); font-weight: 600; font-family: var(--font-head); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,64px); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 880px){ .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__media {
  background: var(--green-900); border-radius: var(--radius-lg); padding: 34px; color:#fff;
  position: relative; overflow: hidden; min-height: 320px;
}
.split__media.is-mint { background: var(--mint); color: var(--green-900); border:1px solid var(--border); }

/* ---------- Locations ---------- */
.loc-card {
  background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding: 26px;
  position: relative; height: 100%; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.loc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.loc-card .loc-tag {
  display:inline-flex; align-items:center; gap:7px; font-family:var(--font-head); font-weight:600;
  font-size:.74rem; letter-spacing:.1em; text-transform:uppercase; color: var(--emerald); margin-bottom: 12px;
}
.loc-card .loc-tag svg { width:15px; height:15px; }
.loc-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.loc-card address { font-style: normal; color: var(--ink-muted); font-size: .93rem; line-height: 1.6; margin-bottom: 14px; }
.loc-card .loc-contact { display:grid; gap:7px; }
.loc-card .loc-contact a, .loc-card .loc-contact span { display:inline-flex; align-items:center; gap:9px; font-size:.9rem; color: var(--ink-soft); }
.loc-card .loc-contact svg { width:16px; height:16px; color: var(--emerald); flex:none; }
.loc-card .loc-contact a:hover { color: var(--emerald); }

/* ---------- Marquee (institutions) ---------- */
.inst-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
@media (max-width: 880px){ .inst-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .inst-grid { grid-template-columns: 1fr; } }
.inst {
  display:flex; align-items:center; gap:12px; background:#fff; border:1px solid var(--border);
  border-radius: 12px; padding: 14px 16px; font-size:.92rem; color: var(--ink-soft);
}
.inst .ic { width:8px; height:8px; border-radius:50%; background: var(--emerald); flex:none; }

/* ---------- Values / principles tiles ---------- */
.tile { background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding: 28px; height:100%; }
.tile h3 { display:flex; align-items:center; gap:12px; font-size:1.12rem; margin-bottom: 12px; }
.tile h3 .badge {
  width:38px; height:38px; border-radius:10px; background: var(--mint); color: var(--emerald);
  display:flex; align-items:center; justify-content:center; flex:none;
}
.tile h3 .badge svg { width:20px; height:20px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 34px; display:grid; gap: 30px; }
.timeline::before { content:""; position:absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline__item { position: relative; }
.timeline__item::before {
  content:""; position:absolute; left: -34px; top: 4px; width: 22px; height: 22px; border-radius:50%;
  background:#fff; border: 3px solid var(--emerald);
}
.timeline__item.is-red::before { border-color: var(--red); }
.timeline__year { font-family: var(--font-head); font-weight:700; color: var(--emerald); font-size:.95rem; margin-bottom: 4px; }
.timeline__item.is-red .timeline__year { color: var(--red); }

/* ---------- Leadership cards ---------- */
.person {
  background:#fff; border:1px solid var(--border); border-radius: var(--radius); padding: 26px; height:100%;
  display:flex; flex-direction:column;
}
.person__avatar {
  width: 60px; height: 60px; border-radius: 16px; display:flex; align-items:center; justify-content:center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color:#fff;
  background: linear-gradient(150deg, var(--emerald), var(--green-700)); margin-bottom: 18px;
}
.person--red .person__avatar { background: linear-gradient(150deg, var(--red), var(--red-dark)); }
.person__name { font-family: var(--font-head); font-weight:700; color: var(--green-900); font-size: 1.1rem; }
.person__role { color: var(--emerald); font-size: .9rem; font-weight:600; font-family: var(--font-head); margin-top: 2px; }
.person--red .person__role { color: var(--red); }

/* Compact team table */
.team-table { width:100%; border-collapse: collapse; background:#fff; border:1px solid var(--border); border-radius: var(--radius); overflow:hidden; }
.team-table th, .team-table td { text-align:left; padding: 14px 18px; font-size:.93rem; border-bottom:1px solid var(--border-soft); }
.team-table thead th { background: var(--mint); color: var(--green-900); font-family: var(--font-head); font-weight:600; font-size:.8rem; letter-spacing:.05em; text-transform:uppercase; }
.team-table tbody tr:last-child td { border-bottom: none; }
.team-table td:first-child { font-weight: 600; color: var(--green-900); }
.team-table tbody tr:hover { background: var(--gray-50); }
@media (max-width: 560px){ .team-table th, .team-table td { padding: 11px 13px; font-size:.86rem; } }

/* ---------- Registrations ---------- */
.reg-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
@media (max-width: 760px){ .reg-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 460px){ .reg-grid { grid-template-columns: 1fr; } }
.reg {
  display:flex; align-items:center; gap:14px; background:#fff; border:1px solid var(--border);
  border-radius: 12px; padding: 16px 18px;
}
.reg .reg-ic { width:40px; height:40px; border-radius:10px; background: var(--mint); color: var(--emerald); display:flex; align-items:center; justify-content:center; flex:none; }
.reg .reg-ic svg { width:20px; height:20px; }
.reg span { font-family: var(--font-head); font-weight:500; font-size:.93rem; color: var(--green-900); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow:hidden; }
.cta-band__inner {
  background:
    radial-gradient(700px 360px at 85% 0%, rgba(0,122,61,.5), transparent 60%),
    linear-gradient(150deg, var(--green-900), var(--green-800));
  border-radius: var(--radius-lg); padding: clamp(38px, 6vw, 68px); color:#fff;
  display:grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items:center; position:relative; overflow:hidden;
}
.cta-band__inner::after {
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px,transparent 1px);
  background-size: 40px 40px; mask-image: radial-gradient(500px 300px at 90% 10%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(500px 300px at 90% 10%, #000, transparent 70%);
}
.cta-band__inner > * { position: relative; z-index:1; }
.cta-band h2 { color:#fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; }
@media (max-width: 760px){ .cta-band__inner { grid-template-columns: 1fr; } }

/* ---------- Contact form ---------- */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,48px); align-items:start; }
@media (max-width: 880px){ .contact-grid { grid-template-columns: 1fr; } }
.form { background:#fff; border:1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px,3vw,34px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display:block; font-family: var(--font-head); font-weight:600; font-size:.85rem; color: var(--green-900); margin-bottom: 7px; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width:100%; font-family: var(--font-body); font-size: .95rem; color: var(--ink);
  background: var(--gray-50); border:1.5px solid var(--border); border-radius: 10px; padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--emerald); background:#fff; box-shadow: 0 0 0 3px rgba(0,122,61,.12);
}
.field-row { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px){ .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .84rem; color: var(--ink-muted); margin-top: 4px; }
.form__fallback {
  margin-top: 18px; padding: 16px 18px; background: var(--mint); border:1px solid var(--mint-deep);
  border-radius: 12px; font-size:.9rem; color: var(--green-900);
}
.form__fallback a { color: var(--emerald); font-weight:600; }
.form-success {
  display:none; align-items:center; gap:12px; margin-top: 16px; padding: 14px 16px;
  background: rgba(0,122,61,.08); border:1px solid rgba(0,122,61,.25); border-radius: 12px; color: var(--green-800); font-size:.92rem;
}
.form-success.is-visible { display:flex; }

/* Inquiry prompt chips */
.inq-list { display:grid; gap:12px; }
.inq {
  display:flex; align-items:flex-start; gap:14px; background:#fff; border:1px solid var(--border);
  border-radius: 12px; padding: 16px 18px;
}
.inq .inq-ic { width:38px; height:38px; border-radius:10px; background: var(--mint); color: var(--emerald); display:flex; align-items:center; justify-content:center; flex:none; }
.inq .inq-ic svg { width:19px; height:19px; }
.inq strong { display:block; font-family: var(--font-head); color: var(--green-900); font-size:.96rem; }
.inq p { font-size:.86rem; margin-top:2px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow:hidden; background: linear-gradient(180deg, var(--mint), #fff); padding-block: clamp(46px,6vw,76px); }
.page-hero::before {
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(0,122,61,.05) 1px,transparent 1px), linear-gradient(90deg, rgba(0,122,61,.05) 1px,transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(700px 360px at 85% 10%, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(700px 360px at 85% 10%, #000 40%, transparent 80%);
}
.page-hero .container { position:relative; z-index:1; }
.page-hero .lead { max-width: 680px; margin-top: 14px; }
.breadcrumb { display:flex; gap:8px; align-items:center; font-size:.84rem; color: var(--ink-muted); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--emerald); }
.breadcrumb svg { width:14px; height:14px; opacity:.5; }

/* ---------- Footer ---------- */
.footer { background: var(--charcoal); color: rgba(255,255,255,.72); padding-block: clamp(48px,6vw,72px) 0; }
.footer__grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 44px; }
@media (max-width: 920px){ .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 540px){ .footer__grid { grid-template-columns: 1fr; gap: 28px; } }
.footer__brand img { height: 50px; width:auto; background:#fff; padding: 8px 12px; border-radius: 12px; margin-bottom: 16px; }
.footer__brand p { color: rgba(255,255,255,.6); font-size:.9rem; max-width: 320px; }
.footer h4 { color:#fff; font-size:.82rem; letter-spacing:.1em; text-transform:uppercase; margin-bottom: 16px; font-family: var(--font-head); }
.footer ul { display:grid; gap: 10px; }
.footer ul a { font-size:.92rem; color: rgba(255,255,255,.7); transition: color .15s; }
.footer ul a:hover { color: #fff; }
.footer__contact li { display:flex; gap:10px; align-items:flex-start; font-size:.9rem; margin-bottom: 12px; }
.footer__contact svg { width:16px; height:16px; color:#5ee29a; flex:none; margin-top:3px; }
.footer__contact a:hover { color:#fff; }
.footer__bottom {
  border-top:1px solid rgba(255,255,255,.1); padding-block: 22px;
  display:flex; flex-wrap:wrap; gap: 12px; justify-content:space-between; align-items:center; font-size:.84rem; color: rgba(255,255,255,.5);
}
.footer__bottom .ecg-mini { color:#5ee29a; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hv-ecg .anim, .topbar__pulse .anim { animation: none !important; }
}

/* ---------- Accessibility ---------- */
:focus-visible { outline: 3px solid rgba(0,122,61,.45); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; background: var(--green-900); color:#fff;
  padding: 10px 16px; border-radius: 8px; z-index: 100; transition: top .2s;
}
.skip-link:focus { top: 12px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ECG pulse animation */
@keyframes ecg-draw { to { stroke-dashoffset: 0; } }
.hv-ecg .anim { stroke-dasharray: 600; stroke-dashoffset: 600; animation: ecg-draw 2.6s ease-out forwards; }
@keyframes pulse { 0%,100%{ transform: scale(1); opacity:1; } 50%{ transform: scale(1.25); opacity:.7; } }
.topbar__pulse .anim { display:inline-block; animation: pulse 1.8s ease-in-out infinite; }
