/* ==========================================================================
   NXT Heal Biotech — Main stylesheet
   Structure: tokens → base → layout → components → sections → pages → utilities
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --navy: #12385A;
  --navy-900: #0B2640;
  --blue: #2878B8;
  --blue-600: #1F679F;
  --blue-50: #EAF3FA;
  --teal: #39AFA3;
  --teal-700: #23867B;
  --teal-50: #E7F6F4;
  --white: #FFFFFF;
  --surface: #F3F7FA;
  --surface-2: #E9F0F5;
  --line: #DCE5EC;
  --text: #526273;
  --text-strong: #12385A;
  --muted: #7A8A99;

  --font-head: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(18, 56, 90, .06), 0 2px 8px rgba(18, 56, 90, .05);
  --shadow: 0 2px 6px rgba(18, 56, 90, .05), 0 12px 32px rgba(18, 56, 90, .08);
  --shadow-lg: 0 6px 16px rgba(18, 56, 90, .07), 0 28px 60px rgba(18, 56, 90, .14);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 120px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text-strong);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 750;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); letter-spacing: -.03em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--teal-50); color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

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

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--alt { background: var(--surface); }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.section-head { max-width: 720px; margin: 0 0 clamp(36px, 5vw, 56px); }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--split {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.section-head--split > div { max-width: 640px; }
.section-head p { font-size: 1.075rem; margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: -.005em;
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(18, 56, 90, .22); }
.btn--primary:hover { background: var(--blue); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(40, 120, 184, .28); }
.btn--secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--secondary:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-1px); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-700); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--teal-50); color: var(--navy); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .88rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--blue);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 5. Announcement bar ---------- */
.announce {
  background: var(--navy); color: rgba(255, 255, 255, .86);
  font-size: .84rem; line-height: 1.4;
}
.announce .container { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 38px; padding-top: 7px; padding-bottom: 7px; text-align: center; flex-wrap: wrap; }
.announce a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); }
.announce a:hover { text-decoration-color: #fff; color: #fff; }
.announce__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex: none; }

/* ---------- 6. Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(18, 56, 90, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); flex: none; }
.logo:hover { color: var(--navy); }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-head); font-weight: 800; font-size: 1.24rem; letter-spacing: -.03em; color: var(--navy); }
.logo__name span { color: var(--blue); }
.logo__tag { font-family: var(--font-head); font-weight: 700; font-size: .6rem; letter-spacing: .38em; color: var(--teal-700); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .93rem; color: var(--navy);
  background: none; border: 0; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav__link:hover, .nav__item.is-open > .nav__link { background: var(--surface); color: var(--navy); }
.nav__link[aria-current="page"], .nav__link.is-active { color: var(--blue); }
.nav__link[aria-current="page"]::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); margin-left: 2px;
}
.nav__chev { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav__item { position: relative; }
.nav__item.is-open .nav__chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: 560px; padding: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
  color: var(--navy); font-weight: 500; font-size: .92rem; line-height: 1.3;
}
.dropdown a:hover { background: var(--surface); }
.dropdown__icon {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center; background: var(--blue-50); color: var(--blue);
}
.dropdown__icon svg { width: 18px; height: 18px; }
.dropdown__all { grid-column: 1 / -1; margin-top: 6px; border-top: 1px solid var(--line); padding-top: 8px; }
.dropdown__all a { color: var(--blue); font-family: var(--font-head); font-weight: 700; }

.header-cta { flex: none; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center; color: var(--navy);
}
.nav-toggle__bars { position: relative; width: 20px; height: 14px; }
.nav-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px);
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(40, 120, 184, .10), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(57, 175, 163, .08), transparent 60%),
    #fff;
}
.hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy h1 { margin-bottom: 22px; }
.hero__copy h1 .accent {
  background: linear-gradient(92deg, var(--blue) 0%, var(--teal) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 540px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 40px 0 0; padding: 0; list-style: none; }
.hero__points li { display: flex; align-items: center; gap: 9px; font-size: .93rem; font-weight: 500; color: var(--navy); }
.hero__points svg { width: 20px; height: 20px; color: var(--teal); flex: none; }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero__badge {
  position: absolute; left: -22px; top: 40px;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow);
  font-size: .85rem; line-height: 1.35; max-width: 250px;
}
.hero__badge strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .95rem; }
.hero__badge-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); flex: none; }
.hero__badge-icon svg { width: 22px; height: 22px; }

/* ---------- 8. Page hero (inner pages) ---------- */
.page-hero {
  padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(40, 120, 184, .10), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); max-width: 820px; }
.page-hero p { font-size: 1.12rem; max-width: 680px; margin: 0; }

.breadcrumb { margin: 0 0 18px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: .86rem; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: var(--muted); }
.breadcrumb a { color: var(--text); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current] { color: var(--navy); font-weight: 600; }

/* ---------- 9. Cards: categories ---------- */
.cat-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; color: var(--text);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.cat-card__media { aspect-ratio: 4 / 3; background: linear-gradient(160deg, #F6FAFD 0%, #E6EFF6 100%); overflow: hidden; }
.cat-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.05); }
.cat-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.cat-card__body h3 { font-size: 1.08rem; margin-bottom: 6px; }
.cat-card__body p { font-size: .92rem; margin-bottom: 14px; }
.cat-card__body .link-arrow { margin-top: auto; }

/* ---------- 10. Cards: products ---------- */
.product-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card__media {
  position: relative; aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #F7FAFD 0%, #E8F0F7 100%);
}
.product-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.product-card__cat { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 6px; }
.product-card__body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.product-card__body h3 a { color: inherit; }
.product-card__body h3 a::after { content: ""; position: absolute; inset: 0; } /* whole-card click target */
.product-card { position: relative; }
.product-card__body p { font-size: .93rem; margin-bottom: 14px; }
.feature-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 7px; }
.feature-list li { position: relative; padding-left: 24px; font-size: .9rem; color: var(--navy); line-height: 1.45; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 15px; height: 15px; border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2323867B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.product-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-card__foot .btn { position: relative; z-index: 1; }

.tag-sample {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); border: 1px solid var(--line);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--navy);
}
.tag-sample::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #E3A13B; }

/* ---------- 11. Value / feature cards ---------- */
.value-card {
  background: #fff; border-radius: var(--radius); padding: 30px 28px;
  border: 1px solid var(--line); height: 100%;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card h3 { font-size: 1.12rem; margin: 20px 0 8px; }
.value-card p { font-size: .94rem; margin: 0; }
.icon-badge {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--blue-50), var(--teal-50)); color: var(--blue);
}
.icon-badge svg { width: 26px; height: 26px; }

.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.why__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.why__intro p { font-size: 1.07rem; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why__grid .value-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- 12. Solutions ---------- */
.solutions-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.solution-tile {
  position: relative; grid-column: span 2; overflow: hidden;
  border-radius: var(--radius-lg); padding: 14px 14px 26px;
  display: flex; flex-direction: column;
  background: var(--surface); color: var(--text);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.solution-tile:nth-child(1), .solution-tile:nth-child(2) { grid-column: span 3; }
.solution-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.solution-tile__media { border-radius: calc(var(--radius-lg) - 10px); overflow: hidden; margin-bottom: 22px; }
.solution-tile__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s var(--ease); }
.solution-tile:nth-child(1) .solution-tile__media img, .solution-tile:nth-child(2) .solution-tile__media img { aspect-ratio: 16 / 9; }
.solution-tile:hover .solution-tile__media img { transform: scale(1.04); }
.solution-tile > :not(.solution-tile__media) { padding: 0 14px; }
.solution-tile .link-arrow { margin-top: auto; }
.solution-tile h3 { font-size: 1.3rem; margin-bottom: 6px; }
.solution-tile p { font-size: .93rem; margin-bottom: 14px; max-width: 360px; }
.solution-tile--navy { background: linear-gradient(150deg, var(--navy) 0%, #1B4F7E 100%); }
.solution-tile--navy h3, .solution-tile--navy .link-arrow { color: #fff; }
.solution-tile--navy p { color: rgba(255, 255, 255, .78); }
.solution-tile--teal { background: linear-gradient(150deg, #E3F4F2 0%, #D3ECE9 100%); }
.solution-tile--blue { background: linear-gradient(150deg, #E8F2FA 0%, #D8E8F5 100%); }

.solution-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding: clamp(40px, 6vw, 72px) 0; }
.solution-row + .solution-row { border-top: 1px solid var(--line); }
.solution-row:nth-child(even) .solution-row__media { order: 2; }
.solution-row__media { border-radius: var(--radius-lg); background: linear-gradient(160deg, #F6FAFD 0%, #E3EDF6 100%); overflow: hidden; }
.solution-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.solution-row h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }

/* ---------- 13. Articles ---------- */
.article-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; color: var(--text);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.article-card__media { aspect-ratio: 16 / 10; background: linear-gradient(150deg, #EAF3FA, #DDEBF5); overflow: hidden; }
.article-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.05); }
.article-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.article-card__meta { display: flex; gap: 10px; align-items: center; font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
.chip { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue-600); font-weight: 600; font-size: .75rem; }
.article-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.article-card p { font-size: .92rem; margin-bottom: 16px; }
.article-card .link-arrow { margin-top: auto; }

/* ---------- 14. About ---------- */
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); width: 100%; box-shadow: var(--shadow); }
.about-stat {
  position: absolute; right: -18px; bottom: -22px;
  background: #fff; border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-lg);
  max-width: 240px; font-size: .86rem; line-height: 1.4;
}
.about-stat strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1rem; margin-bottom: 2px; }
.check-list { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--navy); font-weight: 500; }
.check-list svg { width: 22px; height: 22px; flex: none; color: var(--teal); margin-top: 1px; }

.placeholder-note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: 12px;
  background: #FFF8EC; border: 1px solid #F3DEB4; color: #7A5A1F;
  font-size: .88rem; line-height: 1.5;
}
.placeholder-note svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: #C98A1F; }
.placeholder-note strong { color: #5E4413; }
.editable { background: #FFF8EC; outline: 1px dashed #E3B868; outline-offset: 2px; border-radius: 4px; padding: 0 3px; }

/* ---------- 15. CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px);
  background: linear-gradient(130deg, var(--navy) 0%, #1A4F80 55%, #227A9E 100%);
  color: rgba(255, 255, 255, .82);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  border: 60px solid rgba(57, 175, 163, .16); pointer-events: none;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { margin: 0; max-width: 560px; }
.cta-band .btn { position: relative; z-index: 1; }

/* ---------- 16. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
}
.contact-item h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-item p, .contact-item address { margin: 0; font-style: normal; font-size: .95rem; }
.contact-item a { font-weight: 600; }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-head); font-weight: 650; font-size: .88rem; color: var(--navy); }
.form-field label .req { color: #C4473A; margin-left: 2px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #FBFDFE;
  color: var(--navy); font-size: 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #9AA8B5; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(40, 120, 184, .14);
}
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: #C4473A; background: #FFF8F7; }
.form-error { font-size: .82rem; color: #B23B2F; min-height: 0; }
.form-error:empty { display: none; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
.form-consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-status { font-size: .92rem; border-radius: 12px; padding: 14px 16px; margin-top: 18px; }
.form-status[hidden] { display: none; }
.form-status--success { background: var(--teal-50); color: #1C6A61; border: 1px solid #BFE5E0; }
.form-status--error { background: #FFF3F1; color: #9A3127; border: 1px solid #F2C9C3; }
.form-demo-flag { margin-bottom: 22px; }

/* ---------- 17. Accordion (FAQ) ---------- */
.accordion { display: grid; gap: 12px; }
.accordion__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: box-shadow .25s var(--ease); }
.accordion__item.is-open { box-shadow: var(--shadow-sm); }
.accordion__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--navy);
}
.accordion__icon { width: 30px; height: 30px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease), background .3s var(--ease); }
.accordion__icon svg { width: 16px; height: 16px; }
.accordion__item.is-open .accordion__icon { transform: rotate(45deg); background: var(--teal-50); color: var(--teal-700); }
.accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__panel > div { overflow: hidden; }
.accordion__panel p { padding: 0 22px 20px; margin: 0; font-size: .95rem; }

/* ---------- 18. Product detail ---------- */
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.pd__gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.pd__main {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, #F7FAFD 0%, #E3EDF6 100%); border: 1px solid var(--line);
}
.pd__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.pd__info h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.pd__lead { font-size: 1.1rem; }
.pd__info .placeholder-note { margin: 22px 0 26px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .94rem; margin: 8px 0 28px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-family: var(--font-head); color: var(--navy); font-weight: 650; width: 42%; padding-right: 16px; }
.pd__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pd__features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pd__features li { background: var(--surface); border-radius: 14px; padding: 16px 18px; font-size: .93rem; color: var(--navy); display: flex; gap: 12px; align-items: flex-start; }
.pd__features svg { width: 20px; height: 20px; color: var(--teal); flex: none; margin-top: 2px; }

/* ---------- 19. Product catalogue filters ---------- */
.filter-bar {
  position: sticky; top: var(--header-h); z-index: 20;
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.filter-bar__inner { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; scrollbar-width: thin; }
.filter-chip {
  flex: none; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-family: var(--font-head); font-weight: 650; font-size: .86rem; color: var(--navy); cursor: pointer;
  transition: all .2s var(--ease);
}
.filter-chip:hover { border-color: var(--navy); }
.filter-chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.cat-section { padding: clamp(48px, 6vw, 72px) 0 0; }
.cat-section[hidden] { display: none; }
.cat-section__head { display: flex; gap: 20px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.cat-section__head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 6px; }
.cat-section__head p { margin: 0; max-width: 640px; }
.cat-count { font-size: .85rem; color: var(--muted); white-space: nowrap; }

/* ---------- 20. Prose (articles & legal) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { font-size: 1.03rem; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.layout-aside { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .9rem; }
.toc h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--text); }
.toc a:hover, .toc a.is-active { color: var(--navy); border-left-color: var(--teal); }
.article-block { padding-bottom: clamp(48px, 6vw, 72px); margin-bottom: clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.article-block:last-child { border-bottom: 0; margin-bottom: 0; }
.article-block__media { border-radius: var(--radius); overflow: hidden; background: linear-gradient(150deg, #EAF3FA, #DDEBF5); margin: 20px 0 28px; }
.article-block__media img { width: 100%; aspect-ratio: 16 / 7; object-fit: contain; }
.callout {
  border-left: 4px solid var(--teal); background: var(--teal-50); border-radius: 0 12px 12px 0;
  padding: 16px 20px; margin: 24px 0; color: #1E5B55; font-size: .97rem;
}
.callout p:last-child { margin: 0; }

/* ---------- 21. Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .68); padding: clamp(56px, 7vw, 88px) 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.25fr; gap: 36px; padding-bottom: 48px; }
.site-footer .logo__name { color: #fff; }
.site-footer .logo__name span { color: #7CC0EE; }
.site-footer .logo__tag { color: var(--teal); }
.footer-about p { margin: 18px 0 0; max-width: 320px; }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: #fff; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--teal); margin-top: 3px; }
.footer-contact address { font-style: normal; }
.footer-disclaimer { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: .82rem; color: rgba(255, 255, 255, .55); }
.footer-disclaimer p { margin: 0; max-width: 980px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom ul { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }

.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; box-shadow: var(--shadow);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--blue); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- 22. Misc ---------- */
.lead { font-size: 1.12rem; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: clamp(32px, 4vw, 48px); }
.stack-sm > * + * { margin-top: 12px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--navy); margin-bottom: 6px; }
.stat p { margin: 0; font-size: .92rem; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 28px 34px; border-left: 2px solid var(--line); margin-left: 8px; }
.timeline li:last-child { padding-bottom: 0; border-color: transparent; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); }
.timeline h3 { font-size: 1.05rem; margin-bottom: 4px; }
.timeline p { margin: 0; font-size: .95rem; }
.notfound { text-align: center; padding: clamp(80px, 12vw, 160px) 0; }
.notfound h1 { font-size: clamp(4rem, 12vw, 8rem); margin-bottom: 0; color: var(--blue-50); -webkit-text-stroke: 2px var(--blue); }

/* ---------- 23. Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: .08s; }
.js .reveal-delay-2 { transition-delay: .16s; }
.js .reveal-delay-3 { transition-delay: .24s; }

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

/* ---------- 24. Responsive ---------- */
@media (max-width: 1180px) {
  .nav__link { padding: 10px 10px; font-size: .9rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  /* backdrop-filter would make the header the containing block for the fixed menu panel */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .nav {
    position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, var(--header-h)); z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px var(--gutter) 32px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-radius: 0; }
  .nav__link:hover, .nav__item.is-open > .nav__link { background: none; }
  .nav__link[aria-current="page"]::after { margin-left: auto; margin-right: 0; }
  .nav__item .nav__link[aria-current="page"]::after { display: none; }
  .dropdown {
    position: static; width: auto; transform: none; box-shadow: none; border: 0; padding: 0 0 12px;
    grid-template-columns: 1fr; display: none; opacity: 1; visibility: visible;
  }
  .nav__item.is-open .dropdown { display: grid; transform: none; }
  .dropdown a { padding: 10px 6px; }
  .nav__mobile-cta { display: block !important; margin-top: 24px; }
  body.nav-open { overflow: hidden; }

  .hero__grid, .split, .why, .pd, .contact-grid, .solution-row { grid-template-columns: 1fr; }
  .hero__media { max-width: 620px; margin: 0 auto; width: 100%; }
  .hero__badge { left: 12px; }
  .why__intro, .pd__gallery { position: static; }
  .solution-row:nth-child(even) .solution-row__media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .solution-tile, .solution-tile:nth-child(1), .solution-tile:nth-child(2) { grid-column: span 1; }
  .solution-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .layout-aside { grid-template-columns: 1fr; }
  .toc { position: static; }
  .about-stat { right: 12px; }
}
.nav__mobile-cta { display: none; }

@media (max-width: 720px) {
  body { font-size: .98rem; }
  .grid-2, .grid-3, .grid-4, .why__grid, .solutions-grid, .form-grid, .pd__features, .stats { grid-template-columns: 1fr; }
  .solution-tile:last-child:nth-child(odd) { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-about { grid-column: 1 / -1; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__badge { position: relative; left: auto; bottom: auto; margin: -36px auto 0; max-width: 300px; }
  .about-stat { position: relative; right: auto; bottom: auto; margin: -28px 16px 0; }
  .cta-band .btn { width: 100%; }
  .section-head--split { align-items: flex-start; }
  .logo__name { font-size: 1.1rem; }
  .announce__long { display: none; }
  .logo__mark { width: 36px; height: 36px; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .product-card__foot { flex-direction: column; align-items: stretch; }
}

@media print {
  .announce, .site-header, .site-footer, .back-to-top, .filter-bar { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
