/* Lisa Health — Clinical Medtech design system (v2)
   Multi-page static site. Shared across all pages.
   Aesthetic: clean, trustworthy clinical B2B — white surfaces on a soft
   blue-grey field, deep navy ink, teal accent and a navy→teal gradient that
   echoes the logo cross. Display: Sora. Body: Mulish. */

:root {
  /* Brand — sampled from the Lisa Health logo */
  --navy-900: #0b2740;
  --navy-800: #103251;
  --navy: #143b5e;
  --navy-600: #1d557f;
  --teal: #1f8b9b;
  --teal-600: #18788a;
  --teal-bright: #2ba9bb;
  --teal-tint: #e4f1f3;
  --teal-tint-2: #d2e8ec;

  /* Surfaces & text */
  --bg: #eef4f6;
  --bg-2: #e6eef1;
  --surface: #ffffff;
  --surface-2: #f5f9fa;
  --ink: #11283a;
  --ink-soft: #33495a;
  --muted: #65798a;
  --line: #d8e3e8;
  --line-soft: #e6eef1;
  --on-dark: #e9f1f3;
  --on-dark-soft: #a9c2cc;

  --grad: linear-gradient(125deg, var(--navy) 0%, var(--navy-600) 45%, var(--teal) 100%);

  --max: 1220px;
  --gutter: clamp(20px, 5vw, 60px);
  --radius: 18px;
  --radius-sm: 11px;

  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Mulish", "Segoe UI", system-ui, sans-serif;

  --shadow-sm: 0 2px 8px -3px rgba(16, 50, 81, .25);
  --shadow: 0 22px 48px -30px rgba(11, 39, 64, .55);
  --shadow-lg: 0 40px 80px -42px rgba(11, 39, 64, .6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.62;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

/* Ambient field — soft brand glows fixed behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(46% 38% at 96% -4%, rgba(31, 139, 155, .16), transparent 62%),
    radial-gradient(50% 40% at 2% 0%, rgba(20, 59, 94, .14), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }
::selection { background: rgba(31, 139, 155, .22); }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.02em;
}

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skip {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 80;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
}
.skip:focus { left: 16px; }

/* ---------- Utility bar ---------- */
.topbar {
  background: var(--grad);
  color: var(--on-dark);
  font-size: 12.5px;
  letter-spacing: .03em;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}
.topbar .tag-mono { color: var(--on-dark-soft); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.topbar .dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 3px rgba(43, 169, 187, .3);
  margin-right: 8px;
  vertical-align: middle;
}

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 0;
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: clamp(146px, 19vw, 188px); height: auto; }

nav.primary ul {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav.primary a {
  position: relative;
  display: block;
  padding: 9px 15px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
nav.primary a:hover { color: var(--navy); background: var(--teal-tint); }
nav.primary a[aria-current="page"] { color: var(--navy); }
nav.primary a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px;
  bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.btn .arrow { transition: transform .25s ease; }
.btn:hover { background: var(--navy-800); transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(16, 50, 81, .6); }
.btn:hover .arrow { transform: translate(3px, -3px); }
.btn.accent { background: var(--teal); }
.btn.accent:hover { background: var(--teal-600); }
.btn.ghost { background: transparent; color: var(--navy); border-color: var(--line); box-shadow: none; }
.btn.ghost:hover { background: var(--surface); border-color: var(--teal); color: var(--navy); }
.btn.lite { background: #fff; color: var(--navy); }
.btn.lite:hover { background: var(--teal-tint); color: var(--navy-800); }

a.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--teal-600);
  transition: gap .2s ease, color .2s ease;
}
a.text-link:hover { gap: 11px; color: var(--navy); }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-600);
}
.eyebrow .idx { color: var(--navy); }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--teal); }

.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 58ch; line-height: 1.6; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px 7px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); }

/* page intro band */
.page-hero { padding-top: clamp(46px, 6.5vw, 88px); padding-bottom: clamp(34px, 4.5vw, 56px); position: relative; }
.page-hero .crumb { font-size: 12.5px; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; font-weight: 700; margin-bottom: 20px; }
.page-hero .crumb b { color: var(--navy); }
.page-hero h1 {
  font-size: clamp(36px, 5.6vw, 68px);
  max-width: 18ch;
}
.page-hero h1 em { font-style: normal; color: var(--teal-600); }
.page-hero .lede { margin-top: 22px; }

.section { padding-top: clamp(54px, 7vw, 100px); padding-bottom: clamp(54px, 7vw, 100px); }
.section.tight { padding-top: clamp(34px, 4vw, 54px); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .72fr); gap: 40px; align-items: end; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(27px, 3.6vw, 44px); max-width: 18ch; }
.sec-head p { color: var(--muted); margin: 0; }

/* ---------- Home hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 5.5vw, 76px); padding-bottom: clamp(36px, 5vw, 70px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .82fr); gap: clamp(32px, 5vw, 70px); align-items: center; }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 80px);
  line-height: 1.02;
  margin-top: 22px;
}
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { margin-top: 24px; max-width: 50ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }

/* Hero visual card — clinical credential panel with logo-derived gradient */
.hero-panel {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  background: var(--grad);
  color: var(--on-dark);
  padding: 34px 32px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 100% 0%, rgba(43,169,187,.45), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M40 0H0v40' fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-panel .hp-mark {
  position: relative;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 15px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  margin-bottom: 22px;
}
.hero-panel .hp-label { position: relative; font-family: var(--display); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-soft); font-weight: 600; }
.hero-panel dl { position: relative; margin: 16px 0 0; display: grid; gap: 0; }
.hero-panel dl > div { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); }
.hero-panel dl > div:first-child { border-top: 0; }
.hero-panel dt { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-soft); font-weight: 700; }
.hero-panel dd { margin: 6px 0 0; font-family: var(--display); font-size: 19px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.hero-panel dd small { display: block; font-family: var(--body); font-size: 13.5px; font-weight: 400; color: var(--on-dark-soft); margin-top: 2px; letter-spacing: 0; }

/* ---------- Trust strip ---------- */
.specimen { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.55); }
.specimen .row { display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--max); margin: 0 auto; }
.specimen .cell { padding: 26px var(--gutter); border-left: 1px solid var(--line); }
.specimen .cell:first-child { border-left: 0; }
.specimen .k { font-family: var(--display); font-size: clamp(24px, 2.8vw, 34px); color: var(--navy); font-weight: 700; letter-spacing: -0.02em; }
.specimen .v { display: block; margin-top: 5px; font-size: 13px; color: var(--muted); }

/* ---------- Product family cards (home) ---------- */
.family-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.family-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}
.family-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.family-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--teal-tint-2); }
.family-card:hover::before { transform: scaleX(1); }
.family-card .fc-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--teal-tint);
  color: var(--teal-600);
}
.family-card .fc-num { position: absolute; top: 24px; right: 26px; font-family: var(--display); font-size: 14px; font-weight: 700; color: var(--line); }
.family-card h3 { font-size: 21px; }
.family-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.family-card .meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.family-card .text-link { margin-top: auto; padding-top: 8px; }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

/* ---------- Split + steps ---------- */
.split { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
.split h2 { font-size: clamp(26px, 3.3vw, 40px); margin-top: 16px; }

.stack { display: grid; gap: 14px; }
.stack article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  transition: border-color .22s ease, box-shadow .22s ease;
}
.stack article:hover { border-color: var(--teal-tint-2); box-shadow: var(--shadow-sm); }
.stack article h3 { font-size: 19px; display: flex; align-items: baseline; gap: 11px; }
.stack article h3 .n { font-family: var(--display); font-size: 13px; color: var(--teal-600); font-weight: 700; }
.stack article p { margin: 9px 0 0; color: var(--muted); font-size: 14.5px; }

.ledger { display: grid; gap: 14px; }
.ledger article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.ledger article:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.ledger article .step {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--teal-tint);
  color: var(--teal-600);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
}
.ledger article h3 { font-size: 19px; }
.ledger article p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Products ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 34px; }
.filter {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.filter:hover { border-color: var(--teal); color: var(--navy); }
.filter.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-tint-2); }
.product-card .pc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.product-card .badge {
  font-family: var(--display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--cat, var(--teal));
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 999px;
}
.product-card[data-category="protez"] { --cat: var(--navy-600); }
.product-card[data-category="inkontinans"] { --cat: var(--teal-600); }
.product-card[data-category="sarf"] { --cat: #4a7d8c; }
.product-card h3 { font-size: 22px; max-width: 18ch; }
.product-card > p { margin: 0; color: var(--ink-soft); }
.product-card ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.product-card ul li { position: relative; padding-left: 22px; color: var(--ink-soft); font-size: 14.5px; }
.product-card ul li::before {
  content: "";
  position: absolute;
  left: 3px; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cat, var(--teal));
  opacity: .85;
}
.seo-panel { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); display: grid; gap: 9px; }
.seo-panel h4 { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--teal-600); }
.seo-panel p { margin: 0; color: var(--muted); font-size: 13.5px; }
.keyword-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }
.keyword-list li { font-size: 11.5px; color: var(--navy); border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; background: var(--surface-2); }
.product-card .text-link { margin-top: 2px; }
.product-card .pc-media {
  margin: 2px 0 4px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.product-card .pc-media img { width: 100%; height: 200px; object-fit: contain; padding: 14px; }

/* ---------- Featured product ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 38px);
  box-shadow: var(--shadow-sm);
}
.feature .feature-media { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.feature .feature-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.feature .eyebrow { margin-bottom: 14px; }
.feature h2 { font-size: clamp(24px, 3vw, 34px); }
.feature p { color: var(--ink-soft); margin: 16px 0 0; }
.feature .feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; }
  .feature .feature-media { order: -1; }
}

/* ---------- FAQ ---------- */
.faq-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.faq-tab {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.faq-tab:hover { border-color: var(--teal); }
.faq-tab[aria-selected="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.faq-panel { display: none; }
.faq-panel.active { display: grid; gap: 14px; animation: fade .4s ease both; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
}
.faq-item .q-mark { font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--teal-600); }
.faq-item h3 { font-size: 18px; }
.faq-item p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Doc cards ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.doc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  min-height: 198px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  box-shadow: var(--shadow-sm);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-tint-2); }
.doc-card .dc-tag {
  align-self: flex-start;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-600);
  background: var(--teal-tint);
  border-radius: 10px;
  padding: 8px 13px;
  letter-spacing: .02em;
}
.doc-card h3 { font-size: 19px; }
.doc-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(22px, 4vw, 44px); align-items: start; }
.contact-aside {
  background: var(--grad);
  color: var(--on-dark);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}
.contact-aside .line { padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-aside .line:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-aside .line span { display: block; font-family: var(--display); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-soft); margin-bottom: 6px; font-weight: 600; }
.contact-aside .line b { font-family: var(--display); font-weight: 600; font-size: 17px; color: #fff; }
.contact-aside .line a:hover { color: var(--teal-bright); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-sm); }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
label { display: grid; gap: 7px; font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--navy); }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--surface-2);
  color: var(--ink);
  font-family: var(--body);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
input:hover, textarea:hover, select:hover { border-color: #bcccd3; }
textarea { min-height: 130px; resize: vertical; }
.full { grid-column: 1 / -1; }
.form-card .btn { margin-top: 18px; }
.form-note { margin-top: 14px; color: var(--muted); font-size: 13px; }

:where(input, textarea, select):focus-visible,
:where(a, button, .filter, .faq-tab):focus-visible {
  outline: 2.5px solid var(--teal);
  outline-offset: 2px;
}
:where(input, textarea, select):focus-visible { background: #fff; box-shadow: 0 0 0 4px var(--teal-tint); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; }
.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  background: var(--grad);
  color: var(--on-dark);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(34px, 4.5vw, 56px);
  margin: clamp(20px, 4vw, 40px) 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.cta-inner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(46% 90% at 92% 0%, rgba(43,169,187,.4), transparent 62%);
  pointer-events: none;
}
.cta-inner h2 { position: relative; color: #fff; font-size: clamp(26px, 3.6vw, 42px); max-width: 18ch; }
.cta-inner p { position: relative; color: var(--on-dark-soft); margin: 12px 0 0; max-width: 48ch; }
.cta-inner .btn { position: relative; }

/* ---------- Footer ---------- */
footer.site { background: var(--navy-900); color: var(--on-dark-soft); position: relative; overflow: hidden; }
footer.site::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(40% 70% at 88% 0%, rgba(31,139,155,.22), transparent 60%);
  pointer-events: none;
}
footer.site .wrap { position: relative; padding-top: 54px; padding-bottom: 30px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, .8fr)); gap: 36px; }
.foot-brand .word { font-family: var(--display); font-size: clamp(28px, 4vw, 40px); color: #fff; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.foot-brand p { margin: 14px 0 0; max-width: 40ch; color: var(--on-dark-soft); font-size: 14.5px; }
.foot-col h4 { font-family: var(--display); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-bright); font-weight: 700; margin-bottom: 15px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { color: var(--on-dark-soft); font-size: 14.5px; transition: color .2s ease; }
.foot-col a:hover { color: #fff; }
.foot-bottom { position: relative; margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 12.5px; color: var(--on-dark-soft); }
.notice { max-width: 70ch; }

/* ---------- Product detail page ---------- */
.prod-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, .82fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding-bottom: clamp(48px, 7vw, 100px);
}
.prod-main { display: grid; gap: 18px; }
.prod-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
}
.prod-block .eyebrow { margin-bottom: 14px; }
.prod-block h2 { font-size: clamp(22px, 2.6vw, 30px); }
.prod-block h2 + p { margin-top: 14px; }
.prod-block p { color: var(--ink-soft); margin: 0; }
.prod-block p + p { margin-top: 14px; }
.prod-block h3 { font-size: 18px; margin-top: 22px; }
.prod-block h3 + p { margin-top: 10px; }

.feature-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.feature-list li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: 15px; }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--teal);
  opacity: .9;
}
.feature-list li b { color: var(--ink); font-weight: 700; }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 40%; font-family: var(--display); color: var(--navy); font-weight: 600; background: var(--surface-2); }
.spec-table td { color: var(--ink-soft); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* Wide tables scroll horizontally on small screens instead of overflowing */
.table-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .spec-table { margin-top: 0; }
.prod-block .table-scroll { margin-top: 16px; }
.spec-table th, .spec-table td { overflow-wrap: anywhere; }

/* Multi-column comparison/data tables: a real header row instead of the
   40%-wide label column used by the two-column key/value tables. */
.spec-table.cmp th { width: auto; }
.spec-table.cmp thead th {
  background: var(--navy);
  color: #fff;
  border-bottom-color: var(--navy);
  white-space: nowrap;
}
.spec-table.cmp tbody th { background: var(--surface-2); color: var(--navy); }

.kw-block { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.kw-block span {
  font-size: 12px; color: var(--navy);
  border: 1px solid var(--line); border-radius: 7px;
  padding: 5px 11px; background: var(--surface-2);
}

/* aside */
.prod-aside { position: sticky; top: 92px; display: grid; gap: 18px; }
.aside-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 16px;
}
.cat-badge {
  justify-self: start;
  font-family: var(--display);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--teal-600);
  padding: 6px 12px; border-radius: 999px;
}
.aside-card h2 { font-size: 19px; }
.aside-media { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.aside-media img { width: 100%; height: 220px; object-fit: contain; padding: 14px; }
.aside-card dl { margin: 0; display: grid; gap: 0; }
.aside-card dl > div { padding: 12px 0; border-top: 1px solid var(--line); }
.aside-card dl > div:first-child { border-top: 0; padding-top: 0; }
.aside-card dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.aside-card dd { margin: 4px 0 0; font-family: var(--display); font-size: 15px; color: var(--ink); font-weight: 600; line-height: 1.35; }
.aside-actions { display: grid; gap: 10px; }
.aside-actions .btn { width: 100%; justify-content: center; }
.aside-note { font-size: 12.5px; color: var(--muted); margin: 0; }
.aside-brand { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.aside-brand span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.aside-brand img { height: 24px; width: auto; opacity: .8; }

/* product figures & video */
.prod-figure { margin: 18px 0 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.prod-figure img { display: block; width: 100%; height: auto; }
.prod-figure.wide img { aspect-ratio: 2 / 1; object-fit: cover; }
.prod-figure figcaption { font-size: 12.5px; color: var(--muted); padding: 12px 16px; border-top: 1px solid var(--line); background: var(--surface); }
.mfr-logo { margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-align: center; }
.mfr-logo img { display: block; width: auto; max-width: 160px; height: auto; margin: 0 auto; }
.mfr-logo figcaption { margin-top: 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pc-brand { display: flex; align-items: center; gap: 8px; margin: 2px 0 12px; }
.pc-brand img { display: block; height: 22px; width: auto; }
.pc-brand span { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.video-frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #000; align-self: start; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* related products */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-tint-2); }
.related-card .rc-tag {
  align-self: flex-start;
  font-family: var(--display); font-size: 10.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal-600); background: var(--teal-tint);
  padding: 5px 10px; border-radius: 999px;
}
.related-card h3 { font-size: 17px; }
.related-card p { margin: 0; color: var(--muted); font-size: 13.5px; flex-grow: 1; }
.related-card .text-link { margin-top: 4px; }

@media (max-width: 980px) {
  .prod-detail { grid-template-columns: 1fr; }
  .prod-aside { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
.reveal.d1 { animation-delay: .07s; }
.reveal.d2 { animation-delay: .14s; }
.reveal.d3 { animation-delay: .21s; }
.reveal.d4 { animation-delay: .28s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  nav.primary {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    padding: 10px 22px 18px;
  }
  nav.primary.open { display: block; animation: fade .25s ease both; }
  nav.primary ul { flex-direction: column; align-items: stretch; gap: 2px; }
  nav.primary a { padding: 12px 14px; border-radius: var(--radius-sm); }
  nav.primary a[aria-current="page"]::after { display: none; }
  nav.primary a[aria-current="page"] { background: var(--teal-tint); }
  .menu-toggle { display: inline-flex; }
  .hero-grid, .split, .contact-grid, .sec-head { grid-template-columns: 1fr; }
  .sec-head { gap: 16px; }
  .family-grid { grid-template-columns: repeat(2, 1fr); }
  .specimen .row { grid-template-columns: repeat(2, 1fr); }
  .specimen .cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .specimen .cell:nth-child(odd) { border-left: 0; }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .header-actions .btn { display: none; }
  /* Give the logo and menu button room so they don't hug the screen edges */
  .wrap.masthead { padding-left: 22px; padding-right: 22px; }
  .masthead { gap: 16px; padding: 11px 0; }
  .brand img { width: clamp(130px, 40vw, 156px); }
  .product-grid { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr; }
  .family-grid { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .specimen .row { grid-template-columns: 1fr; }
  .specimen .cell { border-left: 0; border-bottom: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  /* Utility bar: drop the secondary location tag and tighten on phones */
  .topbar { font-size: 11.5px; }
  .topbar .wrap { gap: 10px; }
  .topbar .tag-mono { display: none; }
  /* Stacked footer meta reads better left-aligned */
  .foot-bottom { flex-direction: column; gap: 10px; }
  /* Generous block padding eats too much width on small phones */
  .prod-block { padding: 20px 18px; }
  .feature { padding: 20px 18px; }
}
@media (max-width: 400px) {
  body { font-size: 16px; }
  .wrap.masthead { padding-left: 18px; padding-right: 18px; }
  .masthead { gap: 12px; }
  .brand img { width: clamp(120px, 44vw, 140px); }
  .menu-toggle { padding: 9px 12px; }
  .hero-cta .btn, .hero-cta .btn.ghost { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
