/* ==========================================================================
   SAIDA — Industrial UV & IR Lamp Tubes
   Design system / global stylesheet
   ========================================================================== */

:root {
  /* palette */
  --navy-950: #071522;
  --navy-900: #0a1c2b;
  --navy-800: #10293c;
  --navy-700: #17384f;
  --blue: #0068b7;
  --blue-dark: #00518f;
  --blue-tint: #eaf2fa;
  --uv: #6d4ade;
  --ir: #d8542a;

  --paper: #ffffff;
  --mist: #f4f7f9;
  --mist-2: #eef3f7;
  --line: #dfe7ed;
  --line-dark: rgba(255, 255, 255, 0.14);

  --ink: #10212f;
  --body: #44596b;
  --muted: #6d8194;

  /* type */
  --sans: "Inter", "Helvetica Neue", "Segoe UI", "Arial", "PingFang SC",
    "Microsoft YaHei", sans-serif;

  /* layout */
  --container: 1240px;
  --gutter: 24px;
  --radius: 2px;

  --shadow-sm: 0 1px 2px rgba(10, 28, 43, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(10, 28, 43, 0.22);
  --shadow-lg: 0 28px 60px -24px rgba(10, 28, 43, 0.32);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--blue-dark);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ---------- layout helpers ---------- */
.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.section {
  padding: clamp(60px, 8vw, 112px) 0;
}

.section--tight {
  padding: clamp(40px, 5vw, 64px) 0;
}

.section--mist {
  background: var(--mist);
}

.section--line {
  border-top: 1px solid var(--line);
}

.section--dark {
  background: var(--navy-900);
  color: #b9c9d6;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}

.section--dark .lead {
  color: #a9bccb;
}

/* ---------- type ---------- */
.display {
  font-size: clamp(2.35rem, 5.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
}

h2.h-sec {
  font-size: clamp(1.75rem, 3.1vw, 2.65rem);
  letter-spacing: -0.024em;
}

.h-sec--sm,
h2.h-sec--sm {
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.section--dark .eyebrow {
  color: #7db9ea;
}

.lead {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.7;
  color: var(--body);
  text-wrap: pretty;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.8125rem;
  line-height: 1.6;
}

.measure {
  max-width: 62ch;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--navy-900);
  --btn-fg: #fff;
  --btn-bd: var(--navy-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  height: 50px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease),
    color 0.22s var(--ease), transform 0.22s var(--ease);
}

.btn:hover {
  --btn-bg: var(--blue);
  --btn-bd: var(--blue);
  color: #fff;
  transform: translateY(-1px);
}

.btn .arw {
  transition: transform 0.22s var(--ease);
}

.btn:hover .arw {
  transform: translateX(4px);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: #c6d3dd;
}

.btn--ghost:hover {
  --btn-bg: var(--navy-900);
  --btn-bd: var(--navy-900);
  color: #fff;
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--navy-900);
  --btn-bd: #fff;
}

.btn--light:hover {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.6);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.35);
}

.btn--outline-light:hover {
  --btn-bg: #fff;
  --btn-fg: var(--navy-900);
  --btn-bd: #fff;
}

.btn--sm {
  height: 42px;
  padding: 0 18px;
  font-size: 0.8125rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
}

.link-arrow .arw {
  transition: transform 0.22s var(--ease);
}

.link-arrow:hover .arw {
  transform: translateX(5px);
}

/* ---------- header ---------- */
.topbar {
  background: var(--navy-950);
  color: #93a9ba;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 34px;
}

.topbar__certs {
  display: flex;
  gap: 18px;
  align-items: center;
}

.topbar__certs span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #4d6b82;
}

.topbar__right {
  display: flex;
  gap: 22px;
  align-items: center;
}

.topbar__right a {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.72rem;
}

.topbar a {
  color: #c7d5e0;
}

.topbar a:hover {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-stuck {
  box-shadow: 0 6px 24px -14px rgba(10, 28, 43, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-900);
  flex: none;
  text-decoration: none;
}

.brand:hover {
  color: var(--navy-900);
}

.brand__logo {
  display: block;
  height: 34px;
  width: auto;
  flex: none;
}

.brand__rule {
  flex: none;
  width: 1px;
  height: 27px;
  background: rgba(10, 28, 43, 0.16);
}

.brand__name {
  display: block;
  color: var(--navy-900);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

.brand__desc {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand__name--short {
  display: none;
}

.brand__sub {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.15em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 76px;
  padding: 0 14px;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav__link:hover {
  color: var(--blue);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__link[aria-current="page"] {
  color: var(--blue);
}

.nav__cta {
  margin-left: 18px;
}

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.nav__toggle span {
  position: relative;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}

.nav__toggle span::before {
  top: -6px;
}

.nav__toggle span::after {
  top: 6px;
}

/* dropdown */
.has-menu {
  position: relative;
}

.mega {
  position: absolute;
  top: 100%;
  left: -12px;
  width: 460px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s;
}

.has-menu:hover .mega,
.has-menu:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega a {
  display: block;
  padding: 13px 14px;
  border-radius: var(--radius);
  color: var(--ink);
}

.mega a:hover {
  background: var(--mist);
  color: var(--ink);
}

.mega strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
}

.mega span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78125rem;
  line-height: 1.5;
}

/* ---------- hero (home) ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(760px, 84vh);
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--navy-900);
  color: #c3d2de;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      100deg,
      rgba(7, 21, 34, 0.96) 0%,
      rgba(7, 21, 34, 0.9) 34%,
      rgba(7, 21, 34, 0.55) 58%,
      rgba(7, 21, 34, 0.18) 100%
    ),
    linear-gradient(to top, rgba(7, 21, 34, 0.7), transparent 55%);
}

.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 640px);
  gap: 40px;
}

.hero h1 {
  color: #fff;
}

.hero h1 em {
  font-style: normal;
  color: #7db9ea;
}

.hero__lead {
  margin-top: 22px;
  max-width: 52ch;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.72;
  color: #b3c6d5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8fa8bb;
}

.hero__meta strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

/* ---------- spec strip ---------- */
.strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.strip__item {
  padding: 26px 28px 26px 0;
  border-right: 1px solid var(--line);
}

.strip__item:last-child {
  border-right: 0;
}

.strip__item b {
  display: block;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.strip__item span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78125rem;
  line-height: 1.5;
}

/* ---------- section head ---------- */
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.sec-head__txt {
  max-width: 660px;
}

.sec-head .lead {
  margin-top: 16px;
}

/* ---------- product family cards ---------- */
.fam {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.fam__card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.fam__card:hover {
  transform: translateY(-5px);
  border-color: #c3d6e6;
  box-shadow: var(--shadow-lg);
}

.fam__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-900);
}

.fam__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.fam__card:hover .fam__media img {
  transform: scale(1.04);
}

.fam__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(7, 21, 34, 0.72);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fam__tag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--uv);
}

.fam__card--ir .fam__tag i {
  background: var(--ir);
}

.fam__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 30px 32px 32px;
}

.fam__body h3 {
  font-size: 1.375rem;
}

.fam__body > p {
  margin-top: 10px;
  font-size: 0.9375rem;
  line-height: 1.68;
}

.fam__list {
  margin: 20px 0 26px;
  display: grid;
  gap: 9px;
}

.fam__list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 0.875rem;
  color: var(--ink);
}

.fam__list li::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  background: var(--uv);
  transform: translateY(-2px) rotate(45deg);
}

.fam__card--ir .fam__list li::before {
  background: var(--ir);
}

.fam__body .link-arrow {
  margin-top: auto;
}

/* ---------- split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.split--rev .split__media {
  order: 2;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.split__media--wide img {
  aspect-ratio: 16 / 11;
}

.split__badge {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 20px 24px;
  background: var(--blue);
  color: #fff;
  max-width: 210px;
}

.split__badge b {
  display: block;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.split__badge span {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.feat-list {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}

.feat-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
}

.feat-list svg {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--blue);
}

.feat-list h4 {
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.feat-list p {
  margin-top: 5px;
  font-size: 0.875rem;
  line-height: 1.62;
}

/* ---------- applications tiles ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.tiles--4 {
  grid-template-columns: repeat(4, 1fr);
}

.tile {
  position: relative;
  padding: 30px 28px 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background 0.3s var(--ease);
}

.tile:hover {
  background: var(--mist);
}

.tile svg {
  width: 26px;
  height: 26px;
  color: var(--blue);
  margin-bottom: 18px;
}

.tile h4 {
  font-size: 1.0625rem;
}

.tile p {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.62;
}

.tile__meta {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- stats band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.stats > div {
  background: var(--navy-900);
  padding: 32px 28px;
}

.stats b {
  display: block;
  color: #fff;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stats b i {
  font-style: normal;
  color: #7db9ea;
  font-size: 0.6em;
  letter-spacing: 0;
  margin-left: 2px;
}

.stats span {
  display: block;
  margin-top: 10px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #8fa8bb;
}

/* ---------- process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 30px;
  border-top: 2px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 12px;
  left: 0;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.step h4 {
  font-size: 1rem;
}

.step p {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ---------- certificates ---------- */
.certs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.cert {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 96px;
  height: 62px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
}

.cert b {
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cert span {
  color: var(--muted);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section--dark .cert {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
}

.section--dark .cert b {
  color: #fff;
}

.section--dark .cert span {
  color: #8fa8bb;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--navy-800);
  color: #b9c9d6;
  isolation: isolate;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
      900px 420px at 88% 0%,
      rgba(22, 104, 179, 0.42),
      transparent 62%
    ),
    radial-gradient(600px 320px at 8% 100%, rgba(109, 74, 222, 0.22), transparent 70%);
}

.cta__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(48px, 6vw, 76px) 0;
}

.cta h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.7vw, 2.25rem);
}

.cta p {
  margin-top: 12px;
  max-width: 54ch;
  color: #a9bccb;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- footer ---------- */
.footer {
  background: var(--navy-950);
  color: #8ca1b3;
  font-size: 0.875rem;
}

.footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: clamp(48px, 6vw, 72px) 0 52px;
}

.footer .brand {
  color: #fff;
}

.footer .brand__logo {
  height: 44px;
}

.footer .brand__rule {
  background: rgba(255, 255, 255, 0.18);
}

.footer .brand__name {
  color: #fff;
}

.footer .brand__desc {
  color: #7c93a6;
}

.footer .brand__sub {
  color: #7c93a6;
}

.footer__about {
  margin-top: 20px;
  max-width: 34ch;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #8ca1b3;
}

.footer h5 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer li + li {
  margin-top: 10px;
}

.footer a {
  color: #8ca1b3;
  font-size: 0.8125rem;
}

.footer a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  color: #6f8798;
}

.footer__bottom ul {
  display: flex;
  gap: 22px;
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  padding: clamp(44px, 6vw, 76px) 0 clamp(48px, 6vw, 80px);
  isolation: isolate;
}

.page-hero--img img.bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.page-hero--img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    95deg,
    rgba(7, 21, 34, 0.93) 0%,
    rgba(7, 21, 34, 0.78) 48%,
    rgba(7, 21, 34, 0.38) 100%
  );
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: #7d94a6;
  font-size: 0.75rem;
}

.crumbs a {
  color: #9fb4c5;
}

.crumbs a:hover {
  color: #fff;
}

.crumbs span {
  color: #55708a;
}

.page-hero h1 {
  max-width: 20ch;
  color: #fff;
  font-size: clamp(2.1rem, 4.2vw, 3.15rem);
  letter-spacing: -0.026em;
}

.page-hero .lead {
  margin-top: 20px;
  max-width: 58ch;
  color: #adc0cf;
}

.page-hero__body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(32px, 5vw, 64px);
  align-items: end;
}

.page-hero__aside {
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.page-hero__aside dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.page-hero__aside dt {
  color: #7d94a6;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-hero__aside dd {
  margin: 2px 0 0;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
}

/* ---------- product cards ---------- */
.prods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.prod {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.prod:hover {
  border-color: #c3d6e6;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.prod__code {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 9px;
  margin-bottom: 16px;
  background: var(--blue-tint);
  color: var(--blue);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prod--ir .prod__code {
  background: #fceee8;
  color: var(--ir);
}

.prod h3 {
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.prod > p {
  margin-top: 9px;
  font-size: 0.875rem;
  line-height: 1.65;
}

.prod dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 20px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.prod dt,
.prod dd {
  margin: 0;
  padding: 9px 12px;
  background: #fff;
  font-size: 0.75rem;
}

.prod dt {
  color: var(--muted);
}

.prod dd {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}

.prod__foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
}

/* ---------- data table ---------- */
.table-wrap {
  border: 1px solid var(--line);
  background: #fff;
  overflow-x: auto;
}

.spec-table {
  min-width: 720px;
  font-size: 0.8125rem;
}

.spec-table caption {
  padding: 18px 20px;
  text-align: left;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}

.spec-table th {
  padding: 12px 18px;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}

.spec-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--body);
  white-space: nowrap;
}

.spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.spec-table td:first-child {
  color: var(--ink);
  font-weight: 600;
}

.spec-table tbody tr:hover td {
  background: #fafcfd;
}

.spec-table .num {
  font-variant-numeric: tabular-nums;
}

/* ---------- spectrum chart ---------- */
.chart-box {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
}

.chart-box figcaption {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

/* ---------- info notes ---------- */
.note {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: var(--blue-tint);
  border-left: 3px solid var(--blue);
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #23465f;
}

.note svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  color: var(--blue);
}

/* ---------- application detail rows ---------- */
.approw {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(32px, 4vw, 48px) 0;
  border-top: 1px solid var(--line);
}

.approw:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.approw__label {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.approw__label svg {
  width: 24px;
  height: 24px;
  color: var(--blue);
  flex: none;
  margin-top: 4px;
}

.approw__label h3 {
  font-size: 1.125rem;
}

.approw__label span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.approw__body p {
  font-size: 0.9375rem;
  line-height: 1.72;
}

.approw__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  padding: 5px 11px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  background: #fff;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field .req {
  color: var(--ir);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfdae3;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.875rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(22, 104, 179, 0.12);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 4px;
}

.form__note {
  font-size: 0.75rem;
  color: var(--muted);
  max-width: 32ch;
}

.form__ok {
  display: none;
  padding: 16px 18px;
  background: #eef7f1;
  border-left: 3px solid #2e8b57;
  color: #1f5c3b;
  font-size: 0.875rem;
}

.form__ok.is-on {
  display: block;
}

.form__err {
  display: none;
  padding: 16px 18px;
  background: #fdf0ec;
  border-left: 3px solid var(--ir);
  color: #8a3218;
  font-size: 0.875rem;
  line-height: 1.6;
}

.form__err.is-on {
  display: block;
}

.form__err a {
  color: #8a3218;
  text-decoration: underline;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: progress;
  transform: none;
}

.contact-aside {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.contact-aside > div {
  padding: 24px 26px;
  background: #fff;
}

.contact-aside h4 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-aside p {
  margin-top: 10px;
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.contact-aside a {
  color: var(--ink);
}

.contact-aside a:hover {
  color: var(--blue);
}

/* ---------- timeline ---------- */
.timeline {
  margin: 28px 0 0 5px;
  padding: 0;
  border-left: 1px solid var(--line);
}

.timeline li {
  position: relative;
  padding: 0 0 30px 28px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
}

.timeline b {
  display: block;
  color: var(--blue);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.timeline h4 {
  margin-top: 5px;
  font-size: 1rem;
}

.timeline p {
  margin-top: 6px;
  font-size: 0.875rem;
  line-height: 1.62;
}

/* ---------- lot test report card ---------- */
.lotcard {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.lotcard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.lotcard__k {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lotcard__head b {
  color: var(--ink);
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.lotcard__pass {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #eef7f1;
  color: #2b7a50;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.lotcard__pass::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2b7a50;
}

.lotcard__rows {
  margin: 0;
}

.lotcard__rows > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 24px;
  border-bottom: 1px solid #f0f4f7;
}

.lotcard__rows dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.lotcard__rows dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.lotcard__v {
  display: block;
  color: var(--muted);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.lotcard__foot {
  padding: 14px 24px;
  background: var(--mist);
  color: var(--muted);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- faq ---------- */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "\2013";
}

.faq p {
  padding: 0 0 18px;
  max-width: 78ch;
  font-size: 0.875rem;
  line-height: 1.68;
}

/* ---------- misc ---------- */
.page-head {
  padding: clamp(40px, 5vw, 64px) 0 0;
}

.page-head h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
}

.pt-24 {
  padding-top: 24px;
}

.mt-8 {
  margin-top: 8px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.mt-48 {
  margin-top: 48px;
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav {
    gap: 18px;
  }

  .nav__link {
    padding: 0 10px;
  }

  .strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .strip__item:nth-child(2) {
    border-right: 0;
  }

  .strip__item:nth-child(1),
  .strip__item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .prods {
    grid-template-columns: repeat(2, 1fr);
  }

  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 28px;
  }

  .page-hero__body {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .page-hero__aside {
    max-width: 420px;
  }

  .approw {
    grid-template-columns: 240px 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .topbar {
    display: none;
  }

  .nav {
    height: 66px;
  }

  .brand__desc {
    display: none;
  }

  .brand__rule {
    display: none;
  }

  .brand__name {
    font-size: 0.6875rem;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__links {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: block;
    margin: 0;
    padding: 18px 24px 40px;
    background: #fff;
    border-top: 1px solid var(--line);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
      visibility 0.25s;
  }

  body.nav-open .nav__links {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__link {
    display: flex;
    height: auto;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .nav__link::after {
    display: none;
  }

  .mega {
    position: static;
    width: auto;
    padding: 6px 0 10px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .mega a {
    padding: 10px 12px;
  }

  .nav__cta {
    display: flex;
    width: 100%;
    margin: 20px 0 0;
  }

  .fam {
    grid-template-columns: 1fr;
  }

  .split,
  .split--rev {
    grid-template-columns: 1fr;
  }

  .split--rev .split__media {
    order: 0;
  }

  .contact-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .approw {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .brand__name {
    display: none;
  }

  .brand__name--short {
    display: block;
    font-size: 0.625rem;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 18px;
  }

  .hero {
    min-height: auto;
    padding: 48px 0 44px;
  }

  .hero__bg img {
    object-position: 68% 50%;
  }

  .hero__meta {
    gap: 16px 24px;
    margin-top: 34px;
  }

  .hero__meta div {
    min-width: 40%;
  }

  .strip__grid,
  .stats,
  .tiles,
  .prods,
  .steps,
  .field-row {
    grid-template-columns: 1fr;
  }

  .strip__item {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .strip__item:last-child {
    border-bottom: 0;
  }

  .fam__body {
    padding: 24px 22px 26px;
  }

  .tile {
    padding: 24px 22px 28px;
  }

  .stats > div {
    padding: 24px 20px;
  }

  .cta__in {
    display: block;
  }

  .cta__actions {
    margin-top: 26px;
  }

  .btn {
    height: 48px;
    padding: 0 20px;
  }

  .cta__actions .btn {
    flex: 1 1 100%;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 36px;
  }

  .footer__bottom {
    display: block;
  }

  .footer__bottom ul {
    margin-top: 10px;
    gap: 16px;
  }

  .page-hero {
    padding: 34px 0 40px;
  }

  .spec-table {
    font-size: 0.75rem;
  }

  .spec-table th,
  .spec-table td {
    padding: 10px 12px;
  }

  .chart-box,
  .prod {
    padding: 20px;
  }
}
