/* =============================================================================
   BioTrend — main stylesheet
   Brand: deep clinical blue + signal green, drawn from the BioTrend logo.
   Type:  Manrope (display / UI) + Barlow (body copy).
   ========================================================================== */

/* ------------------------------------------------------------------ tokens */
:root {
  --blue-950: #062a45;
  --blue-900: #0a3f66;
  --blue-800: #0d4e7f;
  --blue-700: #0f5c96;
  --blue-500: #1c7fc4;
  --blue-300: #7db8e0;
  --blue-100: #dcecf7;

  --green-700: #3d7f20;
  --green-600: #4d9e28;
  --green-500: #5cb531;
  --green-100: #e6f4dc;

  --ink:      #0b1d2a;
  --ink-70:   #3d5566;
  --ink-50:   #6a8090;
  --line:     #dde8f0;
  --mist:     #f2f7fb;
  --mist-2:   #e8f1f7;
  --paper:    #ffffff;

  --shell:    1240px;
  --gap:      clamp(1.25rem, 3vw, 2.5rem);
  --radius:   14px;
  --radius-lg:22px;

  --shadow-sm: 0 1px 2px rgba(6, 42, 69, .06), 0 4px 12px rgba(6, 42, 69, .05);
  --shadow-md: 0 8px 24px rgba(6, 42, 69, .09), 0 2px 6px rgba(6, 42, 69, .05);
  --shadow-lg: 0 24px 60px rgba(6, 42, 69, .14);

  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Barlow, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--ink-70);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.16;
  margin: 0 0 .6em;
  letter-spacing: -.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 2.1vw, 1.65rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }
h5 { font-size: 1rem;    font-weight: 700; }

p  { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--green-600); }

img, svg, video { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

table { border-collapse: collapse; width: 100%; }

button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--blue-700); color: #fff; padding: .8rem 1.2rem;
}
.skip:focus { left: 1rem; top: 1rem; color: #fff; }

/* ------------------------------------------------------------------ layout */
.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.section-mist { background: var(--mist); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: Manrope, sans-serif;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--green-600);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--green-500); border-radius: 2px;
}
.section-head.center .eyebrow::before { display: none; }

.lede { font-size: 1.15rem; color: var(--ink-70); }

/* ----------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--blue-700);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.9rem;
  font-family: Manrope, sans-serif; font-size: .95rem; font-weight: 700;
  letter-spacing: .01em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 2px solid var(--btn-bg); border-radius: 999px;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background-color .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}
.btn:hover {
  color: #fff;
  --btn-bg: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(77, 158, 40, .28);
}
.btn-green { --btn-bg: var(--green-600); }
.btn-green:hover { --btn-bg: var(--blue-700); box-shadow: 0 10px 24px rgba(15, 92, 150, .28); }

.btn-ghost {
  --btn-bg: transparent; --btn-fg: var(--blue-700);
  border-color: var(--blue-300);
}
.btn-ghost:hover { --btn-bg: var(--blue-700); border-color: var(--blue-700); }

.btn-light {
  --btn-bg: transparent; --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .55);
}
.btn-light:hover { --btn-bg: #fff; --btn-fg: var(--blue-900); border-color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
.btn-light:hover { color: var(--blue-900); }

.btn-sm { padding: .65rem 1.3rem; font-size: .85rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: Manrope, sans-serif; font-weight: 700; font-size: .95rem;
  color: var(--blue-700);
}
.link-arrow::after {
  content: ""; width: 18px; height: 8px; flex: none;
  background: currentColor;
  clip-path: polygon(0 3px, 11px 3px, 8px 0, 11px 0, 18px 4px, 11px 8px, 8px 8px, 11px 5px, 0 5px);
  transition: transform .25s var(--ease);
}
.link-arrow:hover::after { transform: translateX(5px); }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(6, 42, 69, .07);
}

.header-inner {
  display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem);
  min-height: var(--header-h);
}

.brand { flex: none; }
.brand img { width: clamp(160px, 18vw, 220px); height: auto; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(.4rem, 1.4vw, 1.4rem); list-style: none; margin: 0; padding: 0; }
.nav-list > li { margin: 0; position: relative; }
.nav-list > li > a {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem .35rem;
  font-family: Manrope, sans-serif; font-size: .95rem; font-weight: 600;
  color: var(--ink);
  position: relative;
}
.nav-list > li > a::after {
  content: ""; position: absolute; left: .35rem; right: .35rem; bottom: .15rem;
  height: 2px; background: var(--green-500); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav-list > li > a:hover::after,
.nav-list > li > a[aria-current]::after { transform: scaleX(1); }
.nav-list > li > a:hover { color: var(--blue-700); }

.caret {
  width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px); opacity: .55;
  transition: transform .25s var(--ease);
}
.has-mega:hover .caret { transform: rotate(225deg) translate(-3px, -3px); }

/* mega menu */
.mega {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 10px);
  width: min(96vw, 980px);
  background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 6px);
}
.mega-inner {
  display: grid; grid-template-columns: repeat(3, 1fr) 1.05fr; gap: 1.75rem;
  padding: 2rem; width: 100%;
}
.mega-head {
  display: block; font-family: Manrope, sans-serif; font-weight: 800; font-size: .95rem;
  color: var(--ink); padding-bottom: .6rem; margin-bottom: .7rem;
  border-bottom: 2px solid var(--blue-100);
}
.mega-head:hover { color: var(--blue-700); border-bottom-color: var(--green-500); }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li { margin-bottom: .1rem; }
.mega-col li a {
  display: block; padding: .42rem 0; font-size: .92rem; color: var(--ink-70);
}
.mega-col li a:hover { color: var(--blue-700); transform: translateX(3px); }
.mega-promo {
  background: linear-gradient(160deg, var(--blue-900), var(--blue-700));
  border-radius: var(--radius); padding: 1.5rem; color: #fff;
}
.mega-promo-eyebrow {
  font-family: Manrope, sans-serif; font-size: .7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green-500);
  margin-bottom: .6rem;
}
.mega-promo-text { font-size: 1.02rem; line-height: 1.4; color: #fff; font-family: Manrope, sans-serif; font-weight: 700; margin-bottom: 1.1rem; }
.mega-promo .btn { --btn-bg: var(--green-600); border-color: var(--green-600); }

.header-actions { display: flex; align-items: center; gap: .75rem; flex: none; }

.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 38px; padding: 0 .6rem;
  font-family: Manrope, sans-serif; font-size: .82rem; font-weight: 800; letter-spacing: .06em;
  color: var(--ink); border: 1.5px solid var(--line); border-radius: 999px;
}
.lang-switch:hover { color: #fff; background: var(--blue-700); border-color: var(--blue-700); }

.btn-header { padding: .7rem 1.4rem; font-size: .88rem; }

.burger {
  display: none; width: 44px; height: 44px; padding: 0;
  background: none; border: 1.5px solid var(--line); border-radius: 12px;
  cursor: pointer; position: relative;
}
.burger span {
  position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile nav */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0; z-index: 95;
  background: var(--paper);
  overflow-y: auto;
  padding: 1.5rem 0 4rem;
  animation: slideIn .28s var(--ease);
}
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobile-nav[hidden] { display: none; }
.mobile-nav-inner { width: min(100% - 2.5rem, var(--shell)); margin-inline: auto; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav > .mobile-nav-inner > ul > li > a {
  display: block; padding: .95rem 0; font-family: Manrope, sans-serif;
  font-size: 1.15rem; font-weight: 700; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-nav .m-group > ul { padding: .4rem 0 .8rem 1rem; border-bottom: 1px solid var(--line); }
.mobile-nav .m-group > ul a { display: block; padding: .45rem 0; font-size: 1rem; color: var(--ink-70); }
.mobile-lang {
  display: inline-flex; margin-top: 1.5rem; padding: .7rem 1.4rem;
  border: 1.5px solid var(--line); border-radius: 999px;
  font-family: Manrope, sans-serif; font-weight: 800; letter-spacing: .06em;
}

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative; isolation: isolate;
  min-height: min(88vh, 780px);
  display: flex; align-items: center;
  padding: clamp(4rem, 10vw, 7rem) 0;
  color: #fff;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(6, 42, 69, .95) 0%, rgba(8, 52, 85, .92) 34%, rgba(11, 70, 114, .74) 55%, rgba(15, 92, 150, .34) 80%, rgba(15, 92, 150, .12) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  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: 72px 72px;
  mask-image: radial-gradient(120% 80% at 15% 50%, #000 20%, transparent 72%);
}
.hero-inner { max-width: 46rem; position: relative; }
.hero .eyebrow { color: var(--green-500); }
.hero .eyebrow::before { background: var(--green-500); }
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: rgba(255, 255, 255, .88); max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: .5rem;
  font-family: Manrope, sans-serif; font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .7);
}
.hero-scroll span.line {
  width: 1px; height: 38px;
  background: linear-gradient(rgba(255, 255, 255, .8), transparent);
  animation: scrollPulse 2.2s var(--ease) infinite;
}
@keyframes scrollPulse { 0%, 100% { opacity: .35; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* page hero (inner pages) */
.page-hero {
  position: relative; isolation: isolate;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  background: linear-gradient(150deg, var(--blue-950), var(--blue-800) 62%, var(--blue-700));
  color: #fff; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    radial-gradient(circle at 82% 18%, rgba(92, 181, 49, .28), transparent 46%),
    radial-gradient(circle at 12% 88%, rgba(28, 127, 196, .35), transparent 52%);
}
.page-hero h1 { color: #fff; margin-bottom: .5rem; }
.page-hero .eyebrow { color: var(--green-500); }
.page-hero .eyebrow::before { background: var(--green-500); }
.page-hero p { color: rgba(255, 255, 255, .84); max-width: 58ch; }
.page-hero-inner { max-width: 52rem; }

.crumbs {
  display: flex; flex-wrap: wrap; gap: .45rem; align-items: center;
  list-style: none; margin: 0 0 1.4rem; padding: 0;
  font-size: .85rem; color: rgba(255, 255, 255, .62);
}
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: .45rem; opacity: .6; }
.crumbs a { color: rgba(255, 255, 255, .8); }
.crumbs a:hover { color: #fff; }

/* ------------------------------------------------------------- split blocks */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
  width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3; object-fit: cover;
}
.split-media::before {
  content: ""; position: absolute; inset: auto -18px -18px auto;
  width: 55%; height: 55%; border-radius: var(--radius-lg);
  border: 2px solid var(--green-500); opacity: .5; z-index: -1;
}

/* --------------------------------------------------------------- stat strip */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-top: 2.5rem;
}
.stat {
  padding: 1.35rem 1.25rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.stat-value {
  font-family: Manrope, sans-serif; font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800; line-height: 1; color: var(--blue-700);
  letter-spacing: -.03em;
}
.stat-label { font-size: .9rem; color: var(--ink-50); margin-top: .4rem; }

/* -------------------------------------------------------------------- cards */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.card-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card-grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }

.card-media { position: relative; overflow: hidden; background: var(--mist-2); aspect-ratio: 16 / 11; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-caption {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  padding: .4rem .85rem;
  background: var(--green-600); color: #fff;
  font-family: Manrope, sans-serif; font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  border-top-right-radius: 10px;
}

.card-body { padding: clamp(1.35rem, 2.4vw, 1.9rem); display: flex; flex-direction: column; flex: 1; gap: .75rem; }
.card-body h3 { margin: 0; font-size: 1.22rem; }
.card-body p { margin: 0; font-size: .98rem; color: var(--ink-70); }
.card-body .link-arrow { margin-top: auto; padding-top: .5rem; }

/* ------------------------------------------------------------ feature chips */
.chip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.chip {
  padding: 1.6rem 1.5rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--green-500);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.chip h4 { margin: 0 0 .4rem; font-size: 1.05rem; }
.chip p { margin: 0; font-size: .95rem; color: var(--ink-50); }

/* ------------------------------------------------------------- rich content */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 2.4rem; font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.prose h3 { margin-top: 1.9rem; font-size: 1.2rem; color: var(--blue-800); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li {
  position: relative; padding-left: 1.75rem; margin-bottom: .65rem;
}
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green-500); box-shadow: 0 0 0 3px var(--green-100);
}
.prose .lead {
  font-size: 1.2rem; color: var(--ink); font-family: Manrope, sans-serif;
  font-weight: 600; line-height: 1.5;
  padding-left: 1.25rem; border-left: 3px solid var(--green-500);
  margin-bottom: 1.75rem;
}

/* checklist used on the device / printer pages */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.checklist li {
  position: relative; padding: .95rem 1.15rem .95rem 3.1rem; margin: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  font-size: .99rem;
}
.checklist li::before {
  content: ""; position: absolute; left: 1.15rem; top: 1.25rem;
  width: 16px; height: 9px;
  border-left: 2.5px solid var(--green-600); border-bottom: 2.5px solid var(--green-600);
  transform: rotate(-45deg);
}

/* two-column feature block used on Marrow BMAC */
.feature-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.feature-col {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.feature-col img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.feature-col-body { padding: 1.6rem; }
.feature-col h3 {
  font-size: 1rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue-700); margin-bottom: 1rem;
}
.feature-col ul { list-style: none; padding: 0; margin: 0; }
.feature-col li {
  position: relative; padding-left: 1.5rem; margin-bottom: .55rem; font-size: .96rem;
}
.feature-col li::before {
  content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px;
  background: var(--green-500); border-radius: 50%;
}

/* highlight row */
.highlight-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.highlight {
  text-align: center; padding: 1.5rem 1.1rem;
  background: linear-gradient(160deg, var(--blue-900), var(--blue-700));
  color: #fff; border-radius: var(--radius);
  font-family: Manrope, sans-serif; font-weight: 700; font-size: 1.05rem;
}

/* -------------------------------------------------------------- spec tables */
.spec-block { margin-top: 2.5rem; }
.spec-block h3 {
  font-size: 1rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-700); margin-bottom: .9rem;
}
.table-wrap {
  overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); box-shadow: var(--shadow-sm);
}
.spec-table { min-width: 560px; font-size: .95rem; }
.spec-table th, .spec-table td {
  padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table thead th {
  background: var(--mist); font-family: Manrope, sans-serif; font-weight: 700;
  color: var(--ink); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap;
}
.spec-table tbody th { font-family: Manrope, sans-serif; font-weight: 600; color: var(--ink); white-space: nowrap; }
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table tbody tr:hover { background: var(--mist); }

/* -------------------------------------------------------------------- tabs */
.tabs { margin-top: 2rem; }
.tab-list {
  display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.5rem;
}
.tab-list li { margin: 0; }
.tab-btn {
  padding: .65rem 1.4rem; border-radius: 999px; cursor: pointer;
  background: var(--paper); border: 1.5px solid var(--line);
  font-family: Manrope, sans-serif; font-weight: 700; font-size: .88rem; color: var(--ink-70);
  transition: all .22s var(--ease);
}
.tab-btn:hover { border-color: var(--blue-300); color: var(--blue-700); }
.tab-btn[aria-selected="true"] {
  background: var(--blue-700); border-color: var(--blue-700); color: #fff;
}
.tab-panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-sm);
}
.tab-panel[hidden] { display: none; }
.tab-panel h3 { margin-top: 0; color: var(--blue-800); }

/* ---------------------------------------------------------------- CTA band */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(120deg, var(--blue-950), var(--blue-700) 70%, var(--green-700));
  color: #fff;
  padding: clamp(2.75rem, 6vw, 4.25rem) 0;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(90% 130% at 80% 20%, #000 10%, transparent 70%);
}
.cta-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem 2rem;
}
.cta-inner h2 { color: #fff; margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.cta-phone {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: Manrope, sans-serif; font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 800;
  color: #fff; letter-spacing: -.01em;
}
.cta-phone:hover { color: var(--green-500); }
.cta-sep { color: rgba(255, 255, 255, .6); font-size: 1rem; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

/* ----------------------------------------------------------------- partners */
.partner-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem); align-items: center;
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 3rem);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.partner-strip img {
  width: 100%; max-width: 160px; margin-inline: auto;
  filter: grayscale(1); opacity: .62;
  transition: filter .3s var(--ease), opacity .3s var(--ease), transform .3s var(--ease);
}
.partner-strip img:hover { filter: none; opacity: 1; transform: translateY(-3px); }

/* --------------------------------------------------------------- blog cards */
.post-card { position: relative; }
.post-card .card-media { aspect-ratio: 16 / 10; }
.post-meta {
  display: flex; align-items: center; gap: .6rem;
  font-family: Manrope, sans-serif; font-size: .76rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--green-600);
}
.post-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-50); }
.post-meta time { color: var(--ink-50); letter-spacing: .04em; }
.post-card h3 a { color: inherit; }
.post-card h3 a:hover { color: var(--blue-700); }

/* article layout */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.article-figure { margin: 0 0 2.5rem; }
.article-figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.article-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.25rem; }
.aside-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
}
.aside-card h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.aside-card p { font-size: .95rem; margin-bottom: 1rem; }
.aside-card.dark {
  background: linear-gradient(160deg, var(--blue-900), var(--blue-700));
  border-color: transparent; color: rgba(255, 255, 255, .85);
}
.aside-card.dark h3 { color: #fff; }
.aside-list { list-style: none; padding: 0; margin: 0; }
.aside-list li { margin-bottom: .8rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.aside-list li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.aside-list a { font-family: Manrope, sans-serif; font-weight: 600; font-size: .95rem; color: var(--ink); display: block; }
.aside-list a:hover { color: var(--blue-700); }
.aside-list span { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-600); font-weight: 700; margin-bottom: .2rem; }

/* event box in the blog / article sidebar */
.event-card {
  position: relative; overflow: hidden;
  border-top: 3px solid var(--green-500);
}
.event-year {
  display: inline-block; margin-bottom: .6rem;
  font-family: Manrope, sans-serif; font-size: .78rem; font-weight: 800;
  letter-spacing: .16em; color: var(--green-600);
}
.event-card h3 { margin-bottom: .9rem; font-size: 1.2rem; }
.event-when { display: grid; gap: .15rem; margin-bottom: 1.25rem; }
.event-when strong { font-family: Manrope, sans-serif; color: var(--blue-800); font-size: 1.02rem; }
.event-when span { font-size: .93rem; color: var(--ink-50); }

/* --------------------------------------------------------------- resources */
.res-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.res-item {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: 1.35rem 1.6rem; margin: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.res-item:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.res-item .res-tag {
  flex: none; min-width: 68px; padding: .3rem .7rem; text-align: center;
  background: var(--green-100); color: var(--green-700);
  border-radius: 999px; font-family: Manrope, sans-serif; font-weight: 800; font-size: .76rem;
  letter-spacing: .06em; text-transform: uppercase;
}
.res-item a { flex: 1; font-family: Manrope, sans-serif; font-weight: 700; font-size: 1.02rem; color: var(--ink); }
.res-item a:hover { color: var(--blue-700); }
.res-item .link-arrow { flex: none; color: var(--blue-500); }
.res-item:hover .link-arrow { color: var(--green-600); }
.res-item:hover .link-arrow::after { transform: translateX(5px); }

.empty-note {
  padding: 2rem; text-align: center; color: var(--ink-50);
  background: var(--mist); border: 1px dashed var(--line); border-radius: var(--radius);
}

/* video / vlog panel */
.vlog {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: linear-gradient(150deg, var(--blue-950), var(--blue-700));
  border-radius: var(--radius-lg); overflow: hidden;
  color: #fff; padding: clamp(2rem, 4vw, 3.25rem);
}
.vlog h2 { color: #fff; }
.vlog p { color: rgba(255, 255, 255, .84); }
.vlog-visual {
  display: grid; place-items: center; aspect-ratio: 16 / 10;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
}
.play-badge {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--green-600); display: grid; place-items: center;
  box-shadow: 0 0 0 12px rgba(92, 181, 49, .18);
  transition: transform .3s var(--ease);
}
.vlog-visual:hover .play-badge { transform: scale(1.08); }
.play-badge svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }

/* ------------------------------------------------------------------ contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem; box-shadow: var(--shadow-sm); margin-bottom: 1.25rem;
}
.info-card h3 {
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-600); margin-bottom: .8rem;
}
.info-card ul { list-style: none; padding: 0; margin: 0; }
.info-card li { margin-bottom: .45rem; font-size: 1.05rem; font-family: Manrope, sans-serif; font-weight: 600; color: var(--ink); }
.info-card li a { color: var(--ink); }
.info-card li a:hover { color: var(--blue-700); }
.info-card address { font-style: normal; font-family: Barlow, sans-serif; font-weight: 400; color: var(--ink-70); font-size: 1.02rem; line-height: 1.65; }

.form-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem); box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; padding: .95rem 1.1rem;
  background: var(--mist); border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); background: var(--paper);
  box-shadow: 0 0 0 4px rgba(28, 127, 196, .12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-50); }

.form-note { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 12px; font-size: .95rem; }
.form-note.ok  { background: var(--green-100); color: var(--green-700); }
.form-note.err { background: #fdecec; color: #a3282a; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; }

/* -------------------------------------------------------------- newsletter */
.newsletter {
  background: linear-gradient(120deg, var(--green-700), var(--green-600));
  color: #fff; padding: clamp(2.25rem, 5vw, 3.25rem) 0;
}
.newsletter-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem;
}
.newsletter-copy h2 { color: #fff; margin: 0 0 .3rem; font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.newsletter-copy p { margin: 0; color: rgba(255, 255, 255, .88); }
.newsletter-form { display: flex; gap: .6rem; flex: 1 1 380px; max-width: 520px; }
.newsletter-form input {
  flex: 1; padding: .95rem 1.2rem; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .14);
  color: #fff;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, .78); }
.newsletter-form input:focus { outline: none; background: #fff; color: var(--ink); border-color: #fff; }
.newsletter-form input:focus::placeholder { color: var(--ink-50); }
.newsletter-form .btn { --btn-bg: var(--blue-900); border-color: var(--blue-900); flex: none; }
.newsletter-form .btn:hover { --btn-bg: #fff; color: var(--blue-900); border-color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--blue-950); color: rgba(255, 255, 255, .72); }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(1.75rem, 3.5vw, 3rem);
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
}
.footer-brand img { width: 200px; }
.footer-slogan { margin: 1rem 0 1.5rem; font-size: .95rem; color: rgba(255, 255, 255, .6); }
.social { display: flex; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.social li { margin: 0; }
.social a {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%;
  transition: all .25s var(--ease);
}
.social svg { width: 18px; height: 18px; fill: rgba(255, 255, 255, .8); transition: fill .25s var(--ease); }
.social a:hover { background: var(--green-600); border-color: var(--green-600); transform: translateY(-3px); }
.social a:hover svg { fill: #fff; }

.footer-col h3 {
  color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { color: rgba(255, 255, 255, .72); font-size: .96rem; }
.footer-col a:hover { color: var(--green-500); }
.footer-address { font-size: .93rem; line-height: 1.6; color: rgba(255, 255, 255, .6); margin-top: .8rem; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.35rem 0; }
.footer-bottom p { margin: 0; font-size: .88rem; color: rgba(255, 255, 255, .55); }
.footer-bottom a { color: rgba(255, 255, 255, .75); }
.footer-bottom a:hover { color: var(--green-500); }

/* ---------------------------------------------------------------- whatsapp */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .8rem 1.1rem;
  background: #25d366; color: #fff; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .38);
  font-family: Manrope, sans-serif; font-weight: 700; font-size: .9rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-float:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 38px rgba(37, 211, 102, .48); }
.wa-float svg { width: 22px; height: 22px; fill: #fff; flex: none; }

/* --------------------------------------------------------------- 404 page */
.notfound { text-align: center; padding: clamp(4rem, 12vw, 8rem) 0; }
.notfound .code {
  font-family: Manrope, sans-serif; font-size: clamp(5rem, 18vw, 11rem); font-weight: 800;
  line-height: .9; letter-spacing: -.05em;
  background: linear-gradient(120deg, var(--blue-700), var(--green-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------- reveal fx */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.d1.in { transition-delay: .08s; }
.reveal.d2.in { transition-delay: .16s; }
.reveal.d3.in { transition-delay: .24s; }

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

/* ------------------------------------------------------------- breakpoints */
@media (max-width: 1080px) {
  .main-nav, .btn-header { display: none; }
  .burger { display: block; }
  .article { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}

@media (max-width: 900px) {
  .split, .contact-grid, .vlog { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .stats { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }
  .res-item { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .wa-float .wa-label { display: none; }
  .wa-float { padding: .9rem; }
  .hero-scroll { display: none; }

  /* The hero overlay runs left-to-right on wide screens; on a narrow viewport
     that leaves the headline over a bright part of the photo, so switch to a
     vertical wash that keeps the copy legible. */
  .hero::before {
    background:
      linear-gradient(180deg, rgba(6, 42, 69, .82) 0%, rgba(10, 63, 102, .88) 45%, rgba(6, 42, 69, .92) 100%);
  }
  .hero { min-height: 0; }
  .hero .eyebrow { flex-wrap: wrap; }
  .hero .eyebrow::before { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
}
