/* =============================================================
   Plus Life Health Care — Stylesheet
   Brand: #11A89F (teal) · #ED1B24 (red) · light mode
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  --teal: #11a89f;
  --teal-600: #0e948c;
  --teal-700: #0b7d76;
  --teal-050: #e8f6f5;
  --teal-100: #d3eeec;

  --red: #ed1b24;
  --red-600: #d11620;

  --ink: #15252b;
  --body: #41555d;
  --muted: #71858d;
  --line: #e6eded;
  --line-2: #eef3f3;

  --bg: #ffffff;
  --bg-soft: #f4f8f8;
  --bg-soft-2: #eef5f5;

  --white: #ffffff;

  --shadow-sm: 0 1px 2px rgba(16, 42, 48, 0.06), 0 1px 3px rgba(16, 42, 48, 0.05);
  --shadow: 0 6px 18px rgba(16, 42, 48, 0.08);
  --shadow-lg: 0 18px 50px rgba(16, 42, 48, 0.14);
  --shadow-teal: 0 14px 30px rgba(17, 168, 159, 0.28);

  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 10px;

  --container: 1200px;
  --header-h: 84px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p { margin: 0; }

:focus-visible {
  outline: 3px solid rgba(17, 168, 159, 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection { background: var(--teal-100); color: var(--ink); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section--ink { background: #102a30; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 16px 0 14px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

.text-grad {
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 13px 24px;
  border-radius: 999px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn svg { width: 18px; height: 18px; }

.btn--primary {
  background: var(--teal);
  color: #fff;
  box-shadow: var(--shadow-teal);
}
.btn--primary:hover { background: var(--teal-600); transform: translateY(-2px); box-shadow: 0 18px 36px rgba(17, 168, 159, 0.36); }

.btn--red { background: var(--red); color: #fff; box-shadow: 0 14px 30px rgba(237, 27, 36, 0.26); }
.btn--red:hover { background: var(--red-600); transform: translateY(-2px); }

.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-700); transform: translateY(-2px); }

.btn--light { background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.28); }
.btn--light:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }

.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.35s var(--ease);
}
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  opacity: 0;
  transition: opacity 0.35s var(--ease), border-color 0.35s var(--ease);
  z-index: -1;
}
.site-header.scrolled { height: 66px; }
.site-header.scrolled::after { opacity: 1; border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.nav {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { height: 58px; width: auto; transition: height 0.35s var(--ease); }
.site-header.scrolled .brand img { height: 50px; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-name span {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-700);
  font-weight: 600;
  margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 9px 16px;
  border-radius: 999px;
  position: relative;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--teal-700); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--teal-700); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 19px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after { transform: translate(-50%, 5px); }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { transform: translate(-50%, -50%) rotate(45deg); }
body.menu-open .nav-toggle span::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 104px) 0 120px;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -8%, var(--teal-050) 0%, rgba(232, 246, 245, 0) 60%),
    radial-gradient(820px 420px at 4% 8%, #fdecec 0%, rgba(255, 255, 255, 0) 55%),
    var(--bg);
}

/* Banner background layer */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroBannerIn 1.4s var(--ease) both;
}
/* Light, even wash. The banner is light-toned, so only a gentle veil is needed
   to keep the dark copy legible; the bottom fades softly into the page. */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.42) 0%,
      rgba(255, 255, 255, 0.20) 34%,
      rgba(255, 255, 255, 0.04) 64%,
      rgba(255, 255, 255, 0.00) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 72%, var(--bg) 100%);
}
@keyframes heroBannerIn {
  from { transform: scale(1.06); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%2311a89f' stroke-opacity='0.06' stroke-width='2'%3E%3Cpath d='M30 22v16M22 30h16'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 1;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero .container { position: relative; z-index: 2; }

.hero-inner {
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 7px 15px 7px 9px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--ink);
}
.hero-badge .dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-050); color: var(--teal-700);
  display: grid; place-items: center;
}
.hero-badge .dot svg { width: 13px; height: 13px; }

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  margin: 24px 0 20px;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 14px rgba(255, 255, 255, 0.7);
}
.hero h1 .accent {
  color: var(--teal-700);
}
.hero p.lead {
  font-size: 1.18rem;
  color: var(--body);
  max-width: 580px;
  margin-bottom: 34px;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.7);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-meta {
  display: flex;
  gap: 30px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-meta .item strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ink);
  display: block;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.85);
}
.hero-meta .item span { font-size: 0.86rem; color: var(--body); text-shadow: 0 1px 6px rgba(255, 255, 255, 0.8); }

/* ---------- Trust bar ---------- */
.trustbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.trustbar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-block: 26px;
}
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item .ic {
  width: 48px; height: 48px; border-radius: 13px; flex: none;
  display: grid; place-items: center;
  background: var(--teal-050); color: var(--teal-700);
}
.trust-item .ic svg { width: 24px; height: 24px; }
.trust-item strong { font-family: var(--font-display); color: var(--ink); display: block; font-size: 1rem; }
.trust-item span { font-size: 0.84rem; color: var(--muted); }

/* ---------- Category cards ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.cat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--teal-700));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-card:hover::before { transform: scaleX(1); }

.cat-icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--teal-050); color: var(--teal-700);
  margin-bottom: 22px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.cat-icon svg { width: 30px; height: 30px; }
.cat-card:hover .cat-icon { background: var(--teal); color: #fff; transform: rotate(-6deg) scale(1.05); }

.cat-card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.cat-card p { color: var(--muted); font-size: 0.95rem; flex: 1; margin-bottom: 20px; }

.cat-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cat-count {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-700);
  background: var(--teal-050);
  padding: 5px 12px;
  border-radius: 999px;
}
.cat-count.soon { color: var(--muted); background: var(--bg-soft-2); }
.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.cat-link svg { width: 17px; height: 17px; transition: transform 0.3s var(--ease); }
.cat-card:hover .cat-link { color: var(--teal-700); gap: 11px; }

/* Photo-cover category cards */
.cat-card--photo {
  padding: 0;
  min-height: 320px;
  justify-content: flex-end;
  color: #fff;
  border-color: transparent;
}
.cat-card--photo .cat-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.cat-card--photo:hover .cat-card__bg { transform: scale(1.06); }
.cat-card--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,40,44,0.94) 0%, rgba(13,40,44,0.55) 48%, rgba(13,40,44,0.1) 100%);
}
.cat-card--photo .cat-card__body { position: relative; z-index: 1; padding: 28px; }
.cat-card--photo h3 { color: #fff; }
.cat-card--photo p { color: rgba(255,255,255,0.9); }
.cat-card--photo .cat-count { background: rgba(255,255,255,0.18); color: #fff; }
.cat-card--photo .cat-count.soon { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); }
.cat-card--photo .cat-link { color: #fff; }
.cat-card--photo:hover .cat-link { color: #fff; }

/* ---------- Products ---------- */
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.search-box {
  position: relative;
  flex: 1;
  min-width: 240px;
  max-width: 360px;
}
.search-box svg {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--muted);
  pointer-events: none;
}
.search-box input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 13px 16px 13px 44px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.search-box input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-050);
}
.result-count { font-size: 0.9rem; color: var(--muted); font-family: var(--font-display); }

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.filter-tab {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--body);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  transition: all 0.25s var(--ease);
}
.filter-tab:hover { border-color: var(--teal); color: var(--teal-700); }
.filter-tab.active { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: var(--shadow-teal); }

.subfilter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.chip {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.84rem;
  color: var(--body);
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  transition: all 0.25s var(--ease);
}
.chip:hover { border-color: var(--teal-100); color: var(--teal-700); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 50% 38%, #ffffff 0%, var(--bg-soft) 100%);
  display: grid;
  place-items: center;
  padding: 22px;
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.07); }
.product-sub-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-700);
  background: rgba(232, 246, 245, 0.9);
  backdrop-filter: blur(4px);
  padding: 5px 10px;
  border-radius: 999px;
}
.product-view {
  position: absolute;
  inset: auto 12px 12px auto;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid; place-items: center;
  color: var(--teal-700);
  opacity: 0;
  transform: translateY(8px) scale(0.9);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.product-view svg { width: 18px; height: 18px; }
.product-card:hover .product-view { opacity: 1; transform: translateY(0) scale(1); }

.product-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-body h3 { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.product-variant {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: auto;
}
.product-variant.empty { color: var(--teal-700); font-weight: 500; }

/* Empty state for categories with no products yet */
.empty-state {
  text-align: center;
  padding: 70px 24px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}
.empty-state .ic {
  width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center; margin: 0 auto 20px;
  background: #fff; color: var(--teal-700); box-shadow: var(--shadow-sm);
}
.empty-state .ic svg { width: 30px; height: 30px; }
.empty-state h3 { font-size: 1.4rem; margin-bottom: 10px; }
.empty-state p { color: var(--muted); max-width: 440px; margin: 0 auto 24px; }

/* ---------- Feature / Why us ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ic {
  width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(150deg, var(--teal-050), #fff);
  color: var(--teal-700);
  border: 1px solid var(--teal-100);
}
.feature .ic svg { width: 27px; height: 27px; }
.feature h3 { font-size: 1.18rem; margin-bottom: 9px; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* Photo-cover feature cards (home "Why Plus Life") */
.feature--photo {
  position: relative;
  padding: 28px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
  border-color: transparent;
}
.feature--photo .feature__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.feature--photo:hover .feature__bg { transform: scale(1.06); }
.feature--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,40,44,0.92) 0%, rgba(13,40,44,0.5) 45%, rgba(13,40,44,0.12) 100%);
}
.feature--photo .feature__body { position: relative; z-index: 1; }
.feature--photo h3 { color: #fff; }
.feature--photo p { color: rgba(255,255,255,0.9); }

/* ---------- Split / About ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0f2f34 url("../assets/caring.png") center / cover no-repeat;
  min-height: 420px;
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  padding: 40px;
}
.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(15,47,52,0.34) 0%, rgba(15,47,52,0.14) 65%, rgba(15,47,52,0.08) 130%);
}
.about-visual img { position: relative; height: 110px; width: auto; filter: brightness(0) invert(1); opacity: 0.96; }
.about-quote {
  position: relative;
  text-align: center;
  color: #fff;
}
.about-quote .lg {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 26px;
  letter-spacing: -0.01em;
}

.about-list { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.about-list li { display: flex; gap: 14px; align-items: flex-start; }
.about-list .tick {
  flex: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal-050); color: var(--teal-700);
  display: grid; place-items: center; margin-top: 2px;
}
.about-list .tick svg { width: 15px; height: 15px; }
.about-list strong { font-family: var(--font-display); color: var(--ink); display: block; font-size: 1rem; }
.about-list span { color: var(--muted); font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: 28px;
  background: linear-gradient(135deg, #0f2f34 0%, #0b7d76 70%, #11a89f 120%);
  padding: 56px;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='2'%3E%3Cpath d='M30 22v16M22 30h16'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.86); max-width: 540px; margin: 0 auto 28px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* CTA band with a photo background ("Looking for a specific medical product?") */
.cta-band--looking {
  background: #0f2f34 url("../assets/looking.png") center / cover no-repeat;
}
.cta-band--looking::before {
  background: linear-gradient(135deg, rgba(15,47,52,0.4) 0%, rgba(15,47,52,0.18) 70%, rgba(15,47,52,0.1) 120%);
}

/* CTA band with a photo background ("Let's work together" / "Prefer to chat?") */
.cta-band--chatting {
  background: #0f2f34 url("../assets/chatting.png") center / cover no-repeat;
}
.cta-band--chatting::before {
  background: linear-gradient(135deg, rgba(15,47,52,0.4) 0%, rgba(15,47,52,0.18) 70%, rgba(15,47,52,0.1) 120%);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.contact-card .ic {
  width: 50px; height: 50px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: var(--teal-050); color: var(--teal-700);
}
.contact-card .ic svg { width: 24px; height: 24px; }
.contact-card .t span { font-size: 0.8rem; color: var(--muted); display: block; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.contact-card .t strong { font-family: var(--font-display); color: var(--ink); font-size: 1.05rem; }
.contact-card .t a { color: var(--ink); transition: color 0.2s var(--ease); }
.contact-card .t a:hover { color: var(--teal-700); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px var(--teal-050);
}
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 60px) 0 56px;
  background:
    radial-gradient(900px 360px at 85% -20%, var(--teal-050) 0%, rgba(232,246,245,0) 65%),
    var(--bg-soft);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%2311a89f' stroke-opacity='0.05' stroke-width='2'%3E%3Cpath d='M30 22v16M22 30h16'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.86rem; color: var(--muted); margin-bottom: 14px; font-family: var(--font-display); }
.breadcrumb a:hover { color: var(--teal-700); }
.breadcrumb span { color: var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.page-hero p { color: var(--muted); max-width: 560px; font-size: 1.06rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0e272c;
  color: #b9cace;
  padding: 64px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 52px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.94rem; color: #92a8ac; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.93rem; color: #a7bbbf; transition: color 0.2s var(--ease), padding-left 0.2s var(--ease); }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.93rem; margin-bottom: 13px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 3px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.85rem;
  color: #7e9498;
}
.footer-bottom a { color: var(--teal); }

/* ---------- Floating WhatsApp ---------- */
.fab-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease), box-shadow 0.3s var(--ease);
}
.fab-wa.show { transform: translateY(0); opacity: 1; }
.fab-wa:hover { box-shadow: 0 16px 38px rgba(37, 211, 102, 0.5); transform: translateY(-3px); }
.fab-wa svg { width: 28px; height: 28px; }
.fab-wa::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Modal (quick view) ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 38, 43, 0.55);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.35s var(--ease);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-media {
  background: radial-gradient(circle at 50% 40%, #fff, var(--bg-soft));
  display: grid; place-items: center; padding: 36px;
}
.modal-media img { width: 100%; height: 100%; object-fit: contain; max-height: 320px; }
.modal-body { padding: 36px; position: relative; display: flex; flex-direction: column; }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink);
  display: grid; place-items: center;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.modal-close:hover { background: var(--line); transform: rotate(90deg); }
.modal-close svg { width: 18px; height: 18px; }
.modal-cat {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 12px;
}
.modal-body h3 { font-size: 1.6rem; margin-bottom: 8px; }
.modal-body .variant { color: var(--muted); font-size: 1rem; margin-bottom: 20px; }
.modal-divider { height: 1px; background: var(--line); margin: 4px 0 20px; }
.modal-info { font-size: 0.92rem; color: var(--body); margin-bottom: 24px; }
.modal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Mobile nav drawer ---------- */
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links,
  .nav-cta {
    position: fixed;
    top: var(--header-h);
    left: 16px; right: 16px;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  }
  .nav-cta { top: auto; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 13px 16px; border-radius: 12px; }
  .nav-links a::after { display: none; }
  .nav-links a.active { background: var(--teal-050); }
  .nav-cta {
    margin-top: 8px;
    position: static;
    box-shadow: none;
    border: none;
    padding: 8px 0 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
  }
  body.menu-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-links { gap: 2px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .hero { min-height: 0; padding: calc(var(--header-h) + 72px) 0 84px; }
  .hero-inner { max-width: 640px; }
  .hero-bg img { object-position: center; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.42) 45%, rgba(255, 255, 255, 0.6) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, var(--bg) 100%);
  }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .trustbar .container { grid-template-columns: 1fr 1fr; gap: 22px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .modal { grid-template-columns: 1fr; max-width: 420px; }
  .modal-media { padding: 28px; }
  .cta-band { padding: 40px 26px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .container { padding-inline: 18px; }
  .cat-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero-meta { gap: 22px; }
}

/* =============================================================
   HEX HERO — full-bleed banner + futuristic hexagon constellation
   Coordinates map 1:1 to the 2048 × 700 banner (as % of the stage).
   ============================================================= */
.hexhero {
  position: relative;
  padding-top: 0;
  background: var(--bg);
}

/* Aspect-locked stage keeps every hexagon glued to the artwork at any width */
.hexhero__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 2048 / 700;
  overflow: hidden;
  background: #06222b;
  isolation: isolate;
}

/* ---- Banner (full image, no letterboxing) ---- */
.hexhero__banner { position: absolute; inset: 0; z-index: 0; }
.hexhero__banner img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  animation: hexBannerIn 1.2s var(--ease) both;
}
.hexhero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 42%, rgba(3, 22, 30, 0) 52%, rgba(3, 22, 30, 0.30) 100%),
    linear-gradient(180deg, rgba(3, 22, 30, 0.10) 0%, rgba(3, 22, 30, 0) 22%);
  pointer-events: none;
}
@keyframes hexBannerIn {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: scale(1); }
}

/* ---- Circuit traces ---- */
.hexhero__circuits {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 2; pointer-events: none; overflow: visible;
}
.trace__path {
  fill: none;
  stroke: rgba(225, 245, 248, 0.45);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 3px rgba(220, 245, 250, 0.4));
  transition: stroke 0.3s var(--ease), stroke-width 0.3s var(--ease), filter 0.3s var(--ease);
}
.trace__pad {
  fill: #f2fdff; opacity: 0.85;
  filter: drop-shadow(0 0 5px rgba(230, 250, 252, 0.85));
  transition: opacity 0.3s var(--ease);
}
.trace__pad--sm { opacity: 0.55; filter: drop-shadow(0 0 3px rgba(230, 250, 252, 0.65)); }
.trace__spark {
  fill: #ffffff;
  filter: drop-shadow(0 0 6px rgba(235, 250, 252, 0.95));
}
.trace.is-live .trace__path {
  stroke: rgba(240, 252, 254, 0.95); stroke-width: 2.6;
  filter: drop-shadow(0 0 7px rgba(230, 250, 252, 0.85));
}
.trace.is-live .trace__pad { opacity: 1; }

/* ---- Hex nodes ---- */
.hexhero__nodes { position: absolute; inset: 0; z-index: 3; pointer-events: none; }

.hexnode {
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--w); height: var(--h);
  transform: translate(-50%, -50%);
  z-index: 1;
  animation:
    hexFade 0.6s var(--ease) backwards var(--in, 0s),
    hexFloat var(--dur, 6.5s) ease-in-out infinite;
}
/* gentle, varied drift */
.hexnode:nth-child(3n)   { --dur: 7.6s; --amp: -10px; }
.hexnode:nth-child(3n+1) { --dur: 6.2s; --amp: -6px; }
.hexnode:nth-child(3n+2) { --dur: 8.6s; --amp: -13px; }

/* staggered entrance */
.hexnode--deco { --in: 0.05s; }
.hexnode--cat:nth-of-type(1) { --in: 0.16s; }
.hexnode--cat:nth-of-type(2) { --in: 0.22s; }
.hexnode--cat:nth-of-type(3) { --in: 0.29s; }
.hexnode--cat:nth-of-type(4) { --in: 0.35s; }
.hexnode--cat:nth-of-type(5) { --in: 0.41s; }

/* the Contact hex is a mobile-only honeycomb petal — never shown on the banner */
.hexnode--contact { display: none; }

/* frosted, very transparent glass fill — top sheen + soft inner glow */
.hexnode__glass {
  position: absolute; inset: 0;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background:
    radial-gradient(115% 70% at 50% 14%, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 60%),
    radial-gradient(95% 95% at 50% 52%, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0) 72%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.16) 0%, rgba(214, 244, 246, 0.08) 55%, rgba(120, 170, 180, 0.05) 100%);
  -webkit-backdrop-filter: blur(2.5px) saturate(1.05);
  backdrop-filter: blur(2.5px) saturate(1.05);
  pointer-events: auto;
  transition: background 0.3s var(--ease), transform 0.32s var(--ease);
}

/* corner-only HUD edges (only the vertices are drawn, not full sides) */
.hexnode__edge { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; transition: transform 0.32s var(--ease); }
.hexnode__corners {
  fill: none;
  stroke: #d0f3f5;
  stroke-width: 2.6;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(208, 243, 245, 0.5)) drop-shadow(0 1px 2px rgba(4, 22, 30, 0.4));
  transition: stroke 0.3s var(--ease), stroke-width 0.3s var(--ease), filter 0.3s var(--ease), transform 0.32s var(--ease);
}
/* faint full-hex outline kept only for the decorative background floaters */
.hexnode__edge polygon {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
}

.hexnode__inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 7%;
  padding: 7% 12%;
  pointer-events: none;
  transition: transform 0.32s var(--ease);
}
/* clean white medical line icon above the label */
.hexnode__icon {
  width: 30%; max-width: 38px; min-width: 16px;
  color: #fff; line-height: 0;
  filter: drop-shadow(0 1px 2px rgba(4, 22, 30, 0.5)) drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
  transition: filter 0.3s var(--ease);
}
.hexnode__icon svg { width: 100%; height: 100%; display: block; }
.hexnode__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.5rem, 1.04vw, 0.96rem);
  line-height: 1.05;
  text-align: center;
  color: #fff;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(4, 22, 30, 0.6), 0 0 12px rgba(0, 0, 0, 0.28);
}
.hexnode__logo {
  width: 78%; height: auto;
  filter:
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 14px rgba(255, 255, 255, 0.8))
    drop-shadow(0 0 28px rgba(255, 255, 255, 0.55))
    drop-shadow(0 3px 8px rgba(4, 22, 30, 0.4));
}

/* core (logo) hex — brighter, larger focal point */
.hexnode.hexnode--core { --edge: #f0fbfa; --amp: -4px; --dur: 9s; z-index: 2; }
.hexnode--core .hexnode__inner { padding: 8% 10%; }
.hexnode--core .hexnode__corners {
  stroke: #e6fcfb;
  stroke-width: 3.1;
  filter: drop-shadow(0 0 7px rgba(214, 245, 247, 0.8)) drop-shadow(0 1px 2px rgba(4, 22, 30, 0.4));
}
.hexnode--core .hexnode__corners--in {
  stroke: rgba(240, 253, 254, 0.7);
  stroke-width: 1.4;
  filter: drop-shadow(0 0 3px rgba(214, 245, 247, 0.55));
}
.hexnode--core .hexnode__glass {
  background:
    radial-gradient(70% 70% at 50% 48%, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0) 64%),
    radial-gradient(95% 95% at 50% 52%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 74%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.20) 0%, rgba(214, 244, 246, 0.10) 55%, rgba(120, 170, 180, 0.06) 100%);
}

/* decorative floaters — very faint, varied depth, non-interactive */
.hexnode--deco .hexnode__edge polygon {
  stroke: rgba(235, 248, 250, 0.16);
  stroke-width: 1.3;
  filter: drop-shadow(0 0 3px rgba(225, 245, 250, 0.2));
}
.hexnode--deco:nth-of-type(2n) .hexnode__edge polygon { stroke: rgba(235, 248, 250, 0.1); }
.hexnode--deco:nth-of-type(3n) .hexnode__edge polygon { stroke: rgba(245, 252, 253, 0.22); }

/* hover / keyboard focus */
.hexnode--cat:hover, .hexnode--core:hover,
.hexnode--cat:focus-visible, .hexnode--core:focus-visible { z-index: 6; outline: none; }
.hexnode--cat:hover .hexnode__glass,
.hexnode--cat:hover .hexnode__edge,
.hexnode--cat:hover .hexnode__inner,
.hexnode--core:hover .hexnode__glass,
.hexnode--core:hover .hexnode__edge,
.hexnode--core:hover .hexnode__inner,
.hexnode--cat:focus-visible .hexnode__glass,
.hexnode--cat:focus-visible .hexnode__edge,
.hexnode--cat:focus-visible .hexnode__inner { transform: scale(1.08); }
.hexnode--cat:hover .hexnode__corners,
.hexnode--cat:focus-visible .hexnode__corners,
.hexnode--core:hover .hexnode__corners {
  stroke: #ffffff; stroke-width: 3.4;
  filter: drop-shadow(0 0 9px rgba(225, 250, 252, 0.95)) drop-shadow(0 1px 2px rgba(4, 22, 30, 0.4));
}
.hexnode--cat:hover .hexnode__glass,
.hexnode--cat:focus-visible .hexnode__glass {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.30), rgba(206, 240, 242, 0.16));
}
.hexnode--cat:hover .hexnode__label,
.hexnode--cat:focus-visible .hexnode__label { color: #eafeff; }
.hexnode--cat:hover .hexnode__icon,
.hexnode--cat:focus-visible .hexnode__icon {
  filter: drop-shadow(0 1px 2px rgba(4, 22, 30, 0.5)) drop-shadow(0 0 9px rgba(255, 255, 255, 0.8));
}

@keyframes hexFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hexFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50%      { transform: translate(-50%, -50%) translateY(var(--amp, -7px)); }
}

/* ---- Headline panel (overlaid on the left of the banner) ---- */
.hexhero__panel {
  position: absolute;
  z-index: 1;                 /* sits above the banner, below the hex nodes */
  top: 40%;
  left: 5%;
  transform: translateY(-50%);
  width: clamp(300px, 40%, 560px);
  text-align: left;
  pointer-events: none;       /* let clicks fall through except on the buttons */
  animation: hexBannerIn 1.1s var(--ease) both;
}
.hexhero__copy h1 {
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.hexhero__copy p {
  color: var(--body);
  margin-top: 16px;
  max-width: 42ch;
  font-size: 1.02rem;
  line-height: 1.7;
}
.hexhero__actions {
  display: flex;
  gap: clamp(10px, 1.2vw, 14px);
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 26px;
}
.hexhero__copy, .hexhero__actions { pointer-events: auto; }

/* Fluid hero buttons: the panel is 40% of the viewport, so scaling the padding
   and label with vw keeps both pills sharing one row as the panel narrows
   (no awkward single-button wrap in the tablet band). The clamp() maxima equal
   .btn--lg, so the desktop appearance is unchanged; scoped here so other pages
   keep their fixed-size buttons. */
.hexhero__actions .btn {
  padding: clamp(11px, 1.5vw, 16px) clamp(17px, 2.2vw, 30px);
  font-size: clamp(0.88rem, 1.05vw, 1rem);
  flex: 0 1 auto;
  min-width: 0;
}
.hexhero__actions .btn svg { width: clamp(15px, 1.2vw, 18px); height: clamp(15px, 1.2vw, 18px); flex: none; }

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .trace__spark { display: none; }
  .hexnode { opacity: 1; }
}

/* ---- Mobile: drop the absolute overlay, flow into a tidy honeycomb ---- */
@media (max-width: 760px) {
  /* keep the banner clear of the fixed header on small screens */
  .hexhero { padding-top: var(--header-h); }
  .hexhero__stage {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    overflow: visible;
    background: transparent;
  }
  .hexhero__banner { order: 0; position: relative; inset: auto; aspect-ratio: 2048 / 700; border-radius: 0; }
  .hexhero__circuits { display: none; }

  /* headline panel becomes a normal centered block above the hexes */
  .hexhero__panel {
    order: 1;
    position: static;
    transform: none;
    width: auto;
    text-align: center;
    pointer-events: auto;
    padding: 20px 16px 2px;
    animation: none;
  }
  .hexhero__panel::before { display: none; }
  .hexhero__copy h1 { font-size: clamp(1.5rem, 6vw, 2rem); text-shadow: none; }
  .hexhero__copy p { color: var(--muted); margin-inline: auto; text-shadow: none; }
  /* the CTA buttons sat awkwardly over the cluster — the honeycomb now carries
     both actions (centre logo hex = all products, top petal = contact us) */
  .hexhero__actions { display: none; }

  /* Interlocking honeycomb flower (centre + 6 petals).
     Offsets come straight from the hexagon geometry: a down-right neighbour is
     translated by (0.75 · width, 0.5 · height), so every edge meets cleanly. */
  .hexhero__nodes {
    order: 2;
    --hw: clamp(94px, 29vw, 150px);            /* hex width                    */
    --hh: calc(var(--hw) * 148 / 170);          /* hex height keeps the shape   */
    position: relative; inset: auto; z-index: 1;
    width: calc(var(--hw) * 2.5);
    height: calc(var(--hh) * 3);
    margin: 14px auto 4px;
    pointer-events: auto;
  }
  .hexnode {
    position: absolute;
    width: var(--hw); height: var(--hh);
    transform: none;
    animation: hexFade 0.5s var(--ease) backwards var(--in, 0s);
  }
  .hexnode--deco { display: none; }
  .hexnode--cat, .hexnode--core, .hexnode--contact {
    display: block;
    pointer-events: auto;
    filter: drop-shadow(0 10px 16px rgba(11, 125, 118, 0.22));
  }
  .hexnode--contact { --in: 0.12s; }

  /* honeycomb coordinates — a symmetric 7-hex flower with the logo at its heart.
     6 petals interlock around the centre: 5 categories + contact (top). */
  .hexnode--contact            { left: calc(var(--hw) * 0.75); top: 0; }                       /* Contact (top)     */
  .hexnode--cat:nth-of-type(1) { left: 0;                      top: calc(var(--hh) * 0.5); }   /* Medical Supplies  */
  .hexnode--cat:nth-of-type(2) { left: calc(var(--hw) * 1.5);  top: calc(var(--hh) * 0.5); }   /* Medical Equipment */
  .hexnode--core               { left: calc(var(--hw) * 0.75); top: var(--hh); }               /* logo (centre)     */
  .hexnode--cat:nth-of-type(3) { left: 0;                      top: calc(var(--hh) * 1.5); }   /* Orthopedic        */
  .hexnode--cat:nth-of-type(5) { left: calc(var(--hw) * 1.5);  top: calc(var(--hh) * 1.5); }   /* Disinfectants     */
  .hexnode--cat:nth-of-type(4) { left: calc(var(--hw) * 0.75); top: calc(var(--hh) * 2); }     /* Home Care         */

  /* solid, high-contrast fills so the white icons + labels read on a light page */
  .hexnode--cat .hexnode__glass,
  .hexnode--contact .hexnode__glass {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background:
      radial-gradient(120% 80% at 50% 10%, rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0) 60%),
      linear-gradient(155deg, var(--teal) 0%, var(--teal-700) 100%);
  }
  .hexnode--core .hexnode__glass {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: radial-gradient(80% 80% at 50% 30%, #ffffff, #ecf8f7 72%);
  }
  .hexnode--core .hexnode__corners { stroke: var(--teal); filter: none; }
  .hexnode--core .hexnode__corners--in { stroke: rgba(17, 168, 159, 0.45); filter: none; }
  .hexnode__label { font-size: clamp(0.6rem, 2.7vw, 0.9rem); line-height: 1.04; }
}
