/* =====================================================================
   China Wristband — English static site
   Warm-orange B2B theme. Single external stylesheet, no framework.
   ===================================================================== */

/* Self-hosted fonts. Serving them from our own domain removes the Google
   Fonts round-trip and the FOUT reflow that used to shift the nav bar. */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-variable.woff2") format("woff2");
  font-style: normal; font-weight: 100 900; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-500.woff2") format("woff2");
  font-style: normal; font-weight: 500; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600.woff2") format("woff2");
  font-style: normal; font-weight: 600; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-700.woff2") format("woff2");
  font-style: normal; font-weight: 700; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-800.woff2") format("woff2");
  font-style: normal; font-weight: 800; font-display: swap;
}

:root {
  --orange: #ee6c22;
  --orange-dark: #d55612;
  --orange-light: #f89a54;
  --orange-100: #fff0e3;
  --orange-50: #fff8f2;
  /* WhatsApp brand green, used for the footer's secondary contact CTA. */
  --wa-green: #25d366;
  --wa-green-dark: #1eb857;
  --navy: #12293c;
  --navy-soft: #1d3b52;
  --ink: #1b2b36;
  --body: #4d5f6b;
  --muted: #7d8b95;
  --line: #ecdfd4;
  --line-soft: #f1e9e2;
  --white: #ffffff;
  --shadow-sm: 0 4px 18px rgba(24, 42, 56, .06);
  --shadow-md: 0 14px 40px rgba(24, 42, 56, .10);
  --shadow-lg: 0 24px 60px rgba(24, 42, 56, .14);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1200px;
  --font: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
  --font-head: "Poppins", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.68;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--orange); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
ul, ol { padding-left: 1.25rem; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 0 0 .55em;
  font-weight: 700;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); }
h4 { font-size: 1.08rem; font-weight: 600; }
h5 { font-weight: 600; }
p { margin: 0 0 1rem; }
strong { color: var(--ink); font-weight: 650; }
:focus-visible { outline: 3px solid var(--orange-light); outline-offset: 3px; }

/* ---------- layout ---------- */
.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(64px, 7vw, 104px) 0; }
.section--tint { background: var(--orange-50); }
.section--warm { background: linear-gradient(180deg, #fff6ed 0%, #fffaf6 100%); }
.section--tight { padding: clamp(46px, 5vw, 70px) 0; }
.section-head { max-width: 760px; margin: 0 auto clamp(34px, 4vw, 54px); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head p { font-size: 1.05rem; color: var(--body); margin-bottom: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .76rem; font-weight: 750; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange-dark);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange); border-radius: 2px; }
.section-head .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--orange); border-radius: 2px; }
.grid { display: grid; gap: 22px; }
.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)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.text-center { text-align: center; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 28px; }
.mt-lg { margin-top: 44px; }
.lead { font-size: 1.12rem; color: var(--body); }
.small { font-size: .9rem; color: var(--muted); }
.divider { height: 1px; background: var(--line); margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 650; font-size: .95rem; line-height: 1.2;
  text-align: center; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(238, 108, 34, .28); }
.btn--primary:hover { background: var(--orange-dark); color: #fff; box-shadow: 0 12px 28px rgba(238, 108, 34, .34); }
.btn--outline { border-color: var(--orange); color: var(--orange-dark); background: transparent; }
.btn--outline:hover { background: var(--orange); color: #fff; }
.btn--white { background: #fff; color: var(--orange-dark); }
.btn--white:hover { background: var(--orange-100); color: var(--orange-dark); }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--orange-dark); }
.btn--sm { padding: 9px 18px; font-size: .86rem; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Common Applications on product pages: six equal-width pills in two
   straight rows. Grid (not flex-wrap) keeps every column and row aligned. */
.app-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; }
.app-links .btn {
  width: 100%; min-width: 0; white-space: normal;
  padding: 11px 14px; line-height: 1.35;
}

/* ---------- notice bar + header ---------- */
.notice-bar {
  background: linear-gradient(90deg, #e9631b, #f4893a);
  color: #fff; font-size: .82rem; font-weight: 550;
  letter-spacing: .01em; padding: 8px 0;
}
.notice-bar .container { display: flex; align-items: center; justify-content: flex-start; gap: 4px 10px; flex-wrap: wrap; text-align: left; max-width: 100%; }
.notice-bar .container > * { min-width: 0; }
.notice-bar span { overflow-wrap: anywhere; }
.notice-bar strong { color: #fff; font-weight: 750; }
/* "Made in China" is a quiet lead-in: lighter than the factory claim that
   follows it, so the strip does not read as two competing headlines. */
.notice-bar strong.notice-bar__origin { font-weight: 650; letter-spacing: .02em; }
/* Contact details read as plain text; links only reveal themselves on hover
   so the strip stays one calm line of information instead of two CTAs. */
.notice-bar__contact { margin-left: 6px; }
.notice-bar a { color: #fff; text-decoration: none; }
.notice-bar a:hover, .notice-bar a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(8px);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(18, 41, 60, .09); }
.nav-wrap { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--orange); color: #fff;
  display: grid; place-items: center; flex: none;
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-head); font-size: 1.16rem; font-weight: 800; color: var(--ink); letter-spacing: -.035em; }
.brand__sub { font-size: .66rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-dark); margin-top: 4px; }
.brand__logo { display: block; height: 38px; width: auto; }

.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-menu > li { position: relative; list-style: none; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 12px; font-size: .9rem; font-weight: 600;
  color: var(--ink); border-radius: 8px; white-space: nowrap;
}
.nav-link:hover, .nav-link.is-active { color: var(--orange-dark); background: var(--orange-50); }
.nav-link svg { width: 13px; height: 13px; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 246px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  z-index: 110;
}
/* Transparent bridge across the 10px gap: without it the hover state drops
   for a frame while the pointer travels into the dropdown, causing a flicker. */
.has-dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.dropdown li { list-style: none; }
.dropdown a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 9px; font-size: .88rem; font-weight: 550; color: var(--ink); }
.dropdown a:hover { background: var(--orange-50); color: var(--orange-dark); }
.dropdown a span { font-size: .72rem; color: var(--muted); font-weight: 500; }
.dropdown__sep { height: 1px; background: var(--line-soft); margin: 6px 4px; }

.nav-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 13px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); font-size: .85rem; font-weight: 700;
  letter-spacing: .01em;
}
.lang__btn > svg:first-child { color: var(--orange); }
.lang__btn > svg:last-child { opacity: .65; }
.lang__btn svg { width: 16px; height: 16px; flex: none; }
.lang__btn:hover, .lang__btn[aria-expanded="true"] {
  border-color: var(--orange); color: var(--orange-dark); background: var(--orange-50);
}
/* Business-style popover: a ruled header, a solid dark "current" row, and an
   even 3-column grid. With 27 planned languages, 3 per row keeps the panel
   compact (9 rows) instead of the 14 rows a 2-column layout would need. The
   wider panel is what lets long names such as "Traditional Chinese" stay on
   one line. Below 600px the grid drops back to 2 columns for legibility. */
.lang__panel {
  position: absolute; right: 0; top: calc(100% + 10px);
  width: min(440px, calc(100vw - 24px));
  max-height: min(84vh, 560px); overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: #d8e0e5 transparent;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 15px; z-index: 120;
  display: none;
}
.lang.is-open .lang__panel { display: block; }
.lang__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 0 2px 9px; margin-bottom: 11px;
  border-bottom: 1px solid var(--line-soft);
}
.lang__head-title {
  font-size: .78rem; font-weight: 800; letter-spacing: .11em;
  text-transform: uppercase; color: var(--ink);
}
.lang__head-meta { font-size: .68rem; font-weight: 600; color: var(--muted); }
.lang__current {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 9px;
  background: var(--ink); color: #fff;
}
.lang__current-mark {
  display: grid; place-items: center; width: 20px; height: 20px;
  border-radius: 50%; background: var(--orange); flex: none; color: #fff;
}
.lang__current-mark svg { width: 12px; height: 12px; }
.lang__current-name { font-size: .92rem; font-weight: 700; letter-spacing: .01em; }
.lang__current em {
  margin-left: auto; font-style: normal; font-size: .62rem; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase; color: #fff;
  border: 1px solid rgba(255,255,255,.38); border-radius: 4px;
  padding: 3px 6px; opacity: .92;
}
.lang__soon { margin-top: 14px; }
.lang__soon-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
  font-size: .66rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.lang__soon-head i { flex: 1; height: 1px; background: var(--line-soft); }
.lang__list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px; margin: 0; padding: 0;
}
.lang__list li { list-style: none; min-width: 0; }
/* A published language (e.g. German) renders as a live link inside the
   "other languages" grid; style it as an active, clickable chip. */
.lang__list li a.lang__link {
  display: block; height: 30px; line-height: 28px; padding: 0 8px;
  font-size: .71rem; font-weight: 700; color: #fff; text-align: center;
  text-decoration: none; background: var(--orange-dark); border: 1px solid var(--orange-dark);
  border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lang__list li a.lang__link:hover,
.lang__list li a.lang__link:focus-visible { background: #c64a26; border-color: #c64a26; }
.lang__list span {
  display: block; height: 30px; line-height: 28px; padding: 0 8px;
  font-size: .71rem; font-weight: 600; color: #43535e;
  background: #f7f8f9; border: 1px solid #e8edf0; border-radius: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lang__list li.lang__placeholder span {
  background: transparent; border-style: dashed; color: var(--muted);
  font-style: italic; font-weight: 600;
}
/* 27 items fill 9 rows of 3 on desktop but would leave one orphan in the
   2-column mobile grid; this filler is only displayed below 600px. */
.lang__list li.lang__placeholder--mobile { display: none; }
.lang__panel::-webkit-scrollbar { width: 6px; }
.lang__panel::-webkit-scrollbar-thumb { background: #d8e0e5; border-radius: 6px; }
@media (max-width: 600px) {
  /* Two wider columns read better on a phone; use the full available height
     and tighten the rows so the whole list usually fits without scrolling. */
  .lang__panel { max-height: min(92vh, calc(100vh - 80px)); }
  .lang__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .lang__list li.lang__placeholder--mobile { display: block; }
  .lang__list span { height: 29px; line-height: 27px; font-size: .75rem; padding: 0 11px; }
}
.lang__brand {
  position: sticky; bottom: 0; z-index: 2; background: #fff;
  margin: 12px 0 0; padding: 12px 0 4px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: center;
}
.lang__brand-logo { display: block; width: auto; max-width: 160px; height: 34px; }
.nav-cta { padding: 11px 20px; font-size: .88rem; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  /* Image height is constrained by BOTH viewport axes: 34.7vw keeps the
     artwork's width proportional to the container (no horizontal drift),
     62vh stops it from dominating a short window, and 620px caps huge
     monitors. HERO height is height-driven, so using vw alone made the
     product row look oversized on short windows and stranded in the middle
     on ultra-wide ones. */
  --hero-img-h: min(34.7vw, 62vh, 620px);
  /* Copy-column vertical rhythm. Variables let the narrow breakpoints tighten
     the spacing without repeating every margin rule. The desktop values add
     ~56px of air between the six tiers while the 760px hero height and every
     font size (therefore every line break) stay unchanged. */
  --hero-gap-badge: 26px;
  --hero-gap-eyebrow: 28px;
  --hero-gap-h1: 32px;
  --hero-gap-lead: 40px;
  --hero-gap-checks: 40px;
  --hero-check-row: 18px;
  --hero-h1-lh: 1.22;
  --hero-lead-lh: 1.82;
  /* The banner's own backdrop is a vertical white -> warm apricot gradient
     (~#fdf8f2 at its top edge, ~#f8e4db at its bottom edge). Mirroring it
     makes the contained image edge disappear and gives the whole hero one
     harmonious warm base. White at 0% / 100% joins header and trust strip. */
  background: linear-gradient(180deg,
    #ffffff 0%,
    #fdf8f2 calc(50% - var(--hero-img-h) / 2),
    #fbece3 50%,
    #f8e4db calc(50% + var(--hero-img-h) / 2),
    #ffffff 100%);
}
/* The banner is a product shot, not a repeating texture. `cover` used to
   scale it up to fill 100% of the hero height, which made the wristbands
   dominate the fold. Keep it contained on the right at a deliberate size.
   JPEG is the fallback; supporting browsers pick the lossless WebP. */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("../images/hero-bg.jpg?v=20261109a59");
  background-image: image-set(
    url("../images/hero-bg.webp?v=20261109a59") type("image/webp"),
    url("../images/hero-bg.jpg?v=20261109a59") type("image/jpeg")
  );
  background-repeat: no-repeat;
  /* 70% is the balanced anchoring point. 96% (pure right anchoring) left a
     6-9% dead gap between the copy column and the product row, so the two
     halves read as detached; 34% pushed the wristbands on top of the copy.
     At 70% the product row starts at ~53% and the copy ends at ~49-50%:
     close enough to feel like one composition, still no overlap. The
     percentage resolves against container-minus-image, which stays
     proportional to the viewport, so there is no width-dependent drift. */
  background-position: 70% 50%;
  background-size: auto var(--hero-img-h);
}
/* A gentle warm-white veil over the copy column only. The product row now
   starts around 50%, so it stays fully saturated; the veil just softens the
   studio backdrop behind the text. Sits below .hero__grid (z-index 1). */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(255,251,247,.88) 0%,
    rgba(255,251,247,.70) 32%,
    rgba(255,251,247,.28) 44%,
    rgba(255,251,247,0) 52%);
}
.hero__grid {
  position: relative; z-index: 1;
  /* 760px is the comfortable desktop baseline: header + notice (~104px)
     + 760px puts the CTA and checks fully above the fold on a 900px-tall
     screen while still showing the top of the trust strip. A pure vh value
     used to collapse to ~620px on short preview windows, squeezing the copy;
     the floor prevents that, 950px remains the ceiling on tall monitors. */
  min-height: clamp(760px, 82vh, 950px);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  padding: clamp(64px, 7vw, 104px) 0 clamp(68px, 7.4vw, 110px);
}
.hero__content { max-width: 660px; }
/* Two label tiers: a quiet factory badge above the orange section eyebrow.
   Vertical rhythm is deliberately airy: the six tiers (badge / eyebrow /
   headline / lead / buttons / checks) each get their own breathing room, plus
   slightly open leading inside the headline, lead and 2x2 check grid. Font
   sizes are fixed so the two-line headline and three-line lead never re-break. */
.hero__badge {
  display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 9px;
  background: rgba(255,255,255,.7); border: 1px solid var(--line-soft);
  padding: 7px 14px; border-radius: 999px; font-size: .76rem; font-weight: 600;
  color: var(--muted); margin-bottom: var(--hero-gap-badge);
}
.hero__badge i { width: 8px; height: 8px; border-radius: 50%; background: #2fa36b; display: block; flex: none; }
.hero .eyebrow { display: flex; width: fit-content; margin-bottom: var(--hero-gap-eyebrow); }
/* Slightly smaller headline keeps "Custom RFID Wristbands" on one line,
   so the orange emphasis is never split across two rows. */
.hero h1 {
  font-size: clamp(2.3rem, 3.3vw, 3rem);
  line-height: var(--hero-h1-lh); letter-spacing: -.034em;
  margin-bottom: var(--hero-gap-h1);
}
.hero h1 em { font-style: normal; color: var(--orange); white-space: nowrap; }
.hero__lead {
  font-size: 1.05rem; line-height: var(--hero-lead-lh); max-width: 580px;
  margin-bottom: var(--hero-gap-lead); color: #43535e; text-wrap: pretty;
}
/* 2 x 2 grid instead of a flex row that left one item orphaned. */
.hero__checks {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--hero-check-row) 24px; max-width: 520px;
  margin: var(--hero-gap-checks) 0 0; padding: 0; list-style: none;
}
.hero__checks li { display: inline-flex; align-items: center; gap: 8px; font-size: .87rem; font-weight: 600; color: var(--ink); }
.hero__checks svg { width: 17px; height: 17px; color: var(--orange); flex: none; }
/* Pure layout spacer: the banner artwork lives on .hero::before, but keeping
   the second grid column preserves the copy column width (and therefore the
   tuned two-line headline / three-line lead) exactly. No visible content. */
.hero__visual { position: relative; align-self: stretch; min-height: 100%; }

/* ---------- trust strip ---------- */
.trust-strip { background: #fff; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.trust-strip__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.trust-item { padding: 26px 18px; text-align: center; border-right: 1px solid var(--line-soft); }
.trust-item:last-child { border-right: 0; }
.trust-item svg { width: 26px; height: 26px; color: var(--orange); margin: 0 auto 10px; }
.trust-item strong { display: block; font-size: .92rem; color: var(--ink); margin-bottom: 3px; }
.trust-item span { font-size: .78rem; color: var(--muted); line-height: 1.45; display: block; }

/* ---------- cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #f6d3b8; }
.product-card { display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.product-card__media { position: relative; background: #fbfcFd; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .35s ease; }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__tag { position: absolute; top: 12px; left: 12px; background: var(--orange-100); color: var(--orange-dark); font-size: .68rem; font-weight: 750; padding: 5px 11px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.product-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-card__body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.product-card__body h3 a { color: var(--ink); }
.product-card__body h3 a:hover { color: var(--orange-dark); }
.product-card__body p { font-size: .88rem; margin-bottom: 16px; flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 700; color: var(--orange-dark); }
.card-link svg { width: 15px; height: 15px; transition: transform .2s ease; }
.card-link:hover svg { transform: translateX(4px); }

.icon-card { padding: 26px 24px; height: 100%; }
.icon-card__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--orange-100); color: var(--orange-dark); display: grid; place-items: center; margin-bottom: 18px; }
.icon-card__icon svg { width: 25px; height: 25px; }
.icon-card h3 { font-size: 1.08rem; margin-bottom: 9px; }
.icon-card p { font-size: .9rem; margin-bottom: 0; }
.icon-card ul { margin: 12px 0 0; padding-left: 1.1rem; font-size: .87rem; }
.icon-card ul li { margin-bottom: 5px; }

.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.stat-card strong { display: block; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--orange); font-weight: 800; line-height: 1.1; }
.stat-card span { font-size: .85rem; color: var(--muted); }

.pill-list { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 0; list-style: none; }
.pill-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .84rem; font-weight: 600; color: var(--ink); }
.section--tint .pill-list li { background: #fff; }

/* Home application cards: six cards fill a 3 x 2 grid. A 6-column track is
   used so the cards line up with the other three-column sections while
   letting narrower breakpoints switch to 2 or 1 column without a gap. */
.app-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.app-grid > * { grid-column: span 2; }

/* Application scenario board: a ruled business-style panel with six equal
   category cells. Replaces the free-wrapping pill cloud, which wrapped
   unevenly and left a lonely last row. 1px grid gaps draw the dividers, so
   the lines stay correct no matter how many columns the breakpoint uses. */
.scenario-board {
  margin-top: 34px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.scenario-board__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 26px; background: var(--orange-50);
  border-bottom: 1px solid var(--line);
}
.scenario-board__eyebrow {
  display: block; margin-bottom: 5px; font-size: .67rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--orange-dark);
}
.scenario-board__head h3 {
  margin: 0; font-size: 1.12rem; font-weight: 800; letter-spacing: -.015em;
}
.scenario-board__count {
  flex: none; padding: 7px 13px; border: 1px solid var(--line);
  border-radius: 999px; background: #fff; font-size: .74rem; font-weight: 700;
  color: var(--muted); white-space: nowrap;
}
.scenario-board__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line-soft);
}
.scenario-group { background: #fff; padding: 20px 24px 24px; min-width: 0; }
.scenario-group__head { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; }
.scenario-group__no {
  display: grid; place-items: center; width: 23px; height: 23px; flex: none;
  border-radius: 6px; background: var(--orange-100); color: var(--orange-dark);
  font-size: .68rem; font-weight: 800;
}
.scenario-group__head h4 { margin: 0; font-size: .87rem; font-weight: 750; }
.scenario-group__items {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px; margin: 0; padding: 0; list-style: none;
}
.scenario-group__items li {
  position: relative; display: block; height: 32px; line-height: 30px;
  padding: 0 8px 0 19px; min-width: 0;
  background: #f8f9fa; border: 1px solid #edf0f2; border-radius: 6px;
  font-size: .75rem; font-weight: 600; color: #43535e;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.scenario-group__items li::before {
  content: ""; position: absolute; left: 8px; top: 50%; transform: translateY(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--orange-light);
}
.scenario-group__items li:hover {
  background: var(--orange-50); border-color: var(--orange); color: var(--orange-dark);
}

.application-card { display: flex; align-items: flex-start; gap: 14px; padding: 22px; height: 100%; }
.application-card__icon { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--orange-100); color: var(--orange-dark); display: grid; place-items: center; }
.application-card__icon svg { width: 22px; height: 22px; }
.application-card h3 { font-size: 1rem; margin-bottom: 6px; }
/* The sixth headline ("RFID Wristband for Amusement Parks") is longer than
   the others and wraps to two lines in narrower cards. Balance the wrap so
   a single word such as "Parks" is never left orphaned on its own line. */
.app-grid .application-card h3 { text-wrap: balance; }
.application-card p { font-size: .85rem; margin: 0; }

.step-card { position: relative; padding: 26px 22px; height: 100%; }
.step-card__no { font-size: 2.2rem; font-weight: 800; color: #f9d7bd; line-height: 1; margin-bottom: 14px; }
.step-card h3 { font-size: 1.05rem; }
.step-card p { font-size: .88rem; margin: 0; }

/* ---------- generic content ---------- */
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--body); }
.prose ul { margin-bottom: 1.2rem; }
.prose li { margin-bottom: 7px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .93rem; color: var(--body); }
.check-list svg { width: 19px; height: 19px; color: var(--orange); flex: none; margin-top: 3px; }
.answer-box { background: var(--orange-50); border-left: 4px solid var(--orange); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 22px 26px; }
.answer-box p { margin: 0; }
.answer-box strong { color: var(--ink); }

.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.feature-split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; }
.feature-split__media img { width: 100%; height: 100%; object-fit: cover; }
/* Application guides use near-square product cut-outs on white. Cropping
   those to the 4:3 photo canvas cut the top/bottom off tall bands (the light
   blue patient band lost its closure and its lower edge). Give these a square
   canvas and fit the whole image; the letterbox blends into the white card.
   Factory / trade-show photos on the About page keep the 4:3 cover look. */
.feature-split__media--product { aspect-ratio: 1 / 1; background: #fff; }
.feature-split__media--product img { object-fit: contain; }
.feature-split__stack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature-split__stack img { border-radius: var(--radius-sm); width: 100%; height: 190px; object-fit: cover; }
.media-caption { font-size: .78rem; color: var(--muted); margin-top: 10px; }

/* ---------- model chart (product detail pages) ---------- */
.model-chart { margin: 0 auto; max-width: 880px; }
.model-chart__link {
  display: block; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--navy); box-shadow: var(--shadow-md);
  transition: box-shadow .25s ease, transform .25s ease;
}
.model-chart__link:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.model-chart__img { width: 100%; height: auto; }
.model-chart__caption { text-align: center; font-size: .84rem; color: var(--muted); margin-top: 14px; }
.model-chart__actions { justify-content: center; margin-top: 28px; }
@media (prefers-reduced-motion: reduce) {
  .model-chart__link { transition: none; }
  .model-chart__link:hover { transform: none; }
}
@media (max-width: 600px) {
  .model-chart__link { border-radius: var(--radius-sm); }
  .model-chart__caption { font-size: .78rem; }
}

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
thead th { background: var(--orange); color: #fff; text-align: left; padding: 14px 18px; font-weight: 650; white-space: nowrap; }
tbody td { padding: 13px 18px; border-bottom: 1px solid var(--line-soft); color: var(--body); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #fffcF9; }
tbody td:first-child { font-weight: 650; color: var(--ink); }

/* ---------- accordion / FAQ ---------- */
.faq-list { max-width: 880px; margin-inline: auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-item[open] { border-color: #f3c8a9; box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--orange); font-weight: 400; flex: none; transition: transform .22s ease, color .22s ease; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:hover { color: #d55612; }
.faq-item summary:focus-visible { outline: 2px solid var(--orange); outline-offset: -3px; border-radius: var(--radius-sm); }
.faq-item[open] summary { color: #d55612; }
.faq-item__body { padding: 0 22px 20px; font-size: .94rem; }
.faq-item__body p:last-child { margin-bottom: 0; }
/* Reveal animation works in every browser; the height transition is a
   progressive enhancement for engines supporting ::details-content. */
.faq-item[open] .faq-item__body { animation: faq-reveal .26s ease both; }
@keyframes faq-reveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@supports selector(::details-content) {
  .faq-item { interpolate-size: allow-keywords; }
  .faq-item::details-content {
    block-size: 0; opacity: 0; overflow: hidden;
    transition: block-size .28s ease, opacity .22s ease, content-visibility .28s allow-discrete;
  }
  .faq-item[open]::details-content { block-size: auto; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item[open] .faq-item__body { animation: none; }
  .faq-item::details-content, .faq-item summary::after { transition: none; }
}

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(115deg, #e9631b 0%, #f2873a 58%, #f9a15c 100%); color: #fff; border-radius: 26px; padding: clamp(38px, 5vw, 64px); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 46px solid rgba(255,255,255,.09); pointer-events: none; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #fff4e9; font-size: 1.05rem; max-width: 640px; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- page hero / breadcrumb ---------- */
.page-hero { background: linear-gradient(180deg, var(--orange-50), #fff); border-bottom: 1px solid var(--line-soft); padding: clamp(44px, 5vw, 72px) 0 clamp(38px, 4.5vw, 62px); }
.page-hero h1 { margin-bottom: 14px; max-width: 900px; }
.page-hero p { font-size: 1.08rem; max-width: 780px; margin-bottom: 0; }
.breadcrumb { font-size: .8rem; margin-bottom: 20px; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; padding: 0; margin: 0; }
.breadcrumb li::after { content: "/"; margin-left: 8px; color: #c9b9ab; }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--orange-dark); }
.breadcrumb [aria-current="page"] { color: var(--orange-dark); font-weight: 650; }

/* ---------- product detail ---------- */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.product-gallery__main { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fbfcfd; aspect-ratio: 1 / 1; }
.product-gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.product-gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.product-gallery__thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfd; padding: 6px; }
.product-summary h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.product-summary__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.product-summary__meta span { background: var(--orange-100); color: var(--orange-dark); border-radius: 999px; padding: 6px 13px; font-size: .76rem; font-weight: 700; }
.product-summary .btn-row { margin-top: 26px; }

/* ---------- contact (form-free) ----------
   The contact page has no input fields: buyers open their own mail / chat app,
   so this section only styles direct-contact cards and a copyable template. */
.contact-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-bottom: clamp(28px, 3vw, 42px); }
.contact-trust__item { display: flex; align-items: center; gap: 13px; padding: 16px 20px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); }
.contact-trust__icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--orange-100); color: var(--orange-dark); }
.contact-trust__icon svg { width: 20px; height: 20px; }
.contact-trust strong { display: block; font-size: .9rem; line-height: 1.3; }
.contact-trust small { display: block; font-size: .77rem; color: var(--muted); margin-top: 3px; line-height: 1.4; }

.contact-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; align-items: stretch; }
.contact-way { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 28px; box-shadow: var(--shadow-sm); }
.contact-way::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--line); }
.contact-way--email { border-color: #f3c4a2; box-shadow: 0 14px 40px rgba(238, 108, 34, .10); }
.contact-way--email::before { background: var(--orange); }
.contact-way--whatsapp::before { background: var(--wa-green); }
.contact-way--factory::before { background: var(--navy-soft); }
.contact-way__icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--orange-100); color: var(--orange-dark); margin-bottom: 20px; }
.contact-way__icon svg { width: 24px; height: 24px; }
.contact-way--whatsapp .contact-way__icon { background: #e5f9ed; color: var(--wa-green-dark); }
.contact-way--factory .contact-way__icon { background: #eaf1f7; color: var(--navy-soft); }
.contact-way__label { font-size: .7rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 9px; }
.contact-way--whatsapp .contact-way__label { color: var(--wa-green-dark); }
.contact-way--factory .contact-way__label { color: var(--navy-soft); }
.contact-way h2 { font-size: 1.18rem; margin-bottom: 12px; }
.contact-way__value { display: block; font-family: var(--font-head); font-size: 1.04rem; font-weight: 700; color: var(--ink); word-break: break-word; margin-bottom: 12px; }
a.contact-way__value:hover { color: var(--orange-dark); }
.contact-way p { font-size: .88rem; color: var(--body); line-height: 1.66; margin-bottom: 0; }
.contact-way__facts { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.contact-way__facts li { display: flex; gap: 10px; font-size: .86rem; color: var(--body); line-height: 1.5; }
.contact-way__facts svg { width: 17px; height: 17px; color: var(--orange); flex: none; margin-top: 2px; }
.contact-way__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 24px; }
.contact-way__actions .btn { padding: 11px 18px; font-size: .84rem; white-space: normal; }
.contact-way__actions button { cursor: pointer; font-family: inherit; }
.btn--wa { background: var(--wa-green); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .22); }
.btn--wa:hover { background: var(--wa-green-dark); color: #fff; }
.btn.is-copied { background: #1e6840; border-color: #1e6840; color: #fff; }

.copy-template { margin-bottom: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.copy-template__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.copy-template__head > div { flex: 1 1 420px; max-width: 720px; }
.copy-template__head .eyebrow { margin-bottom: 12px; }
.copy-template h2 { font-size: 1.5rem; margin-bottom: 10px; }
.copy-template p { font-size: .92rem; color: var(--body); margin: 0; line-height: 1.65; }
.copy-template__head button { cursor: pointer; font-family: inherit; flex: none; }
.copy-template__body { margin: 0; padding: 22px 24px; background: #f8fafc; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; font-size: .82rem; line-height: 1.75; color: var(--ink); white-space: pre-wrap; word-break: break-word; overflow-x: auto; }
.copy-template__status { display: none; margin: 14px 0 0; padding: 11px 16px; border-radius: 10px; background: #eaf7ef; border: 1px solid #bfe6cd; color: #1e6840; font-size: .86rem; }
.copy-template__status.is-visible { display: block; }

.include-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.include-item { display: flex; align-items: flex-start; gap: 14px; padding: 17px 20px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); font-size: .9rem; color: var(--body); line-height: 1.55; }
.include-item__no { flex: none; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; background: var(--orange-100); color: var(--orange-dark); font-family: var(--font-head); font-size: .76rem; font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #b9c7d1; padding: clamp(56px, 6vw, 80px) 0 0; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer a { color: #b9c7d1; font-size: .88rem; }
.site-footer a:hover { color: var(--orange-light); }
/* Applications needs ~251px for "RFID Wristband for Amusement Parks" to stay
   on one line. Keep the brand column at its original ~352px (the two contact
   buttons need that width for their email / phone labels), give Applications
   the extra room, trim the shared gap, and let Company shift right.
   Products / Company only need ~163px / ~173px, so they still fit. */
.footer-grid { display: grid; grid-template-columns: 1.56fr 1fr 1.38fr 1fr; gap: 28px; }
.footer-brand__row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 168px; height: auto; background: #fff; border-radius: 8px; padding: 8px 10px; }
.footer-brand p { font-size: .88rem; max-width: 320px; }
/* Two contact actions under the brand blurb: a solid orange primary (email)
   and a solid WhatsApp-green secondary. Equal-height two-line buttons read as
   one deliberate CTA pair instead of two text links. */
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; max-width: 360px; }
.footer-actions a {
  /* 160px basis keeps the email / phone label readable; when the brand
     column gets narrower the pair wraps into two full-width rows instead
     of squeezing the text into an ellipsis. */
  flex: 1 1 160px; min-width: 0; display: flex; align-items: center; gap: 9px;
  padding: 11px 12px; border: 1px solid transparent; border-radius: 10px;
  font-size: .84rem; line-height: 1.2; text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease,
              transform .18s ease, box-shadow .18s ease;
}
.footer-actions svg { width: 19px; height: 19px; flex: none; }
.footer-actions a > span { display: grid; gap: 3px; min-width: 0; }
/* The global `strong { color: var(--ink) }` would otherwise paint these
   headlines dark navy on the dark footer, so force inheritance from the
   button's white text colour. */
.footer-actions strong { color: inherit; font-size: .84rem; font-weight: 700; letter-spacing: .01em; }
.footer-actions small {
  color: inherit;
  font-size: .68rem; font-weight: 500; letter-spacing: .01em; opacity: .72;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.footer-actions a.footer-actions__email { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(238,108,34,.22); }
.footer-actions a.footer-actions__email:hover { background: var(--orange-dark); color: #fff; transform: translateY(-2px); }
.footer-actions a.footer-actions__whatsapp { background: var(--wa-green); border-color: var(--wa-green); color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,.20); }
.footer-actions a.footer-actions__whatsapp:hover { background: var(--wa-green-dark); border-color: var(--wa-green-dark); color: #fff; transform: translateY(-2px); }
/* Keep the phone number legible on the brighter green fill. */
.footer-actions a.footer-actions__whatsapp small { opacity: .92; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
/* Longer application names wrap to two lines; balance them so no single
   word is orphaned on the second line. Unsupported browsers fall back to
   the normal wrap with no layout change. */
.footer-list li.footer-list__balance { text-wrap: balance; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .8rem; }
.footer-bottom a { font-size: .8rem; }
/* One-click shortcut back to the top, placed at the very end of the footer
   so visitors who have scrolled through the whole page need not step back
   one viewport at a time with the right-side arrows. */
.footer-to-top {
  display: inline-flex; align-items: center; gap: 8px;
  /* Keep clear of the fixed Quick Quote pill in the bottom-right corner. */
  margin-right: 175px;
  padding: 9px 16px; border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px; background: transparent; color: #fff;
  font-family: inherit; font-size: .8rem; font-weight: 600; line-height: 1.2;
  white-space: nowrap; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.footer-to-top svg { width: 15px; height: 15px; flex: none; }
.footer-to-top:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-2px); }
.footer-to-top:focus-visible { outline: 2px solid var(--orange-light); outline-offset: 3px; }

/* ---------- floating quick contact ---------- */
.float-cta { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.float-cta a { display: inline-flex; align-items: center; gap: 9px; background: var(--orange); color: #fff; padding: 12px 19px; border-radius: 999px; font-size: .85rem; font-weight: 700; box-shadow: 0 10px 28px rgba(238,108,34,.35); }
.float-cta a:hover { background: var(--orange-dark); color: #fff; transform: translateY(-2px); }
.float-cta svg { width: 18px; height: 18px; }

/* ---------- right-side page scroll controls ---------- */
/* Fixed at the middle of the right edge, clear of the Quick Quote pill in the
   bottom corner. One click moves roughly one viewport; main.js disables a
   button when there is nothing left to scroll in that direction. */
.page-scroll {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%);
  z-index: 88; display: grid; overflow: hidden;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 10px 30px rgba(18,41,60,.16);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.page-scroll__btn {
  width: 42px; height: 42px; padding: 0; border: 0; background: transparent;
  color: var(--navy); cursor: pointer;
  display: grid; place-items: center;
  transition: background-color .18s ease, color .18s ease, opacity .18s ease;
}
.page-scroll__btn + .page-scroll__btn { border-top: 1px solid var(--line-soft); }
.page-scroll__btn svg { width: 20px; height: 20px; display: block; }
.page-scroll__btn:hover:not(:disabled) { background: var(--orange); color: #fff; }
.page-scroll__btn:focus-visible { outline: 2px solid var(--orange); outline-offset: -3px; }
.page-scroll__btn:disabled { opacity: .5; cursor: default; }

/* ---------- misc ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.section--tint .card, .section--warm .card { background: #fff; }
.anchor-offset { scroll-margin-top: 100px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-menu { gap: 0; }
  .nav-link { padding: 10px 9px; font-size: .84rem; }
  .nav-cta { padding: 10px 15px; }
  /* Three category columns make the label cells too narrow on laptops and
     ellipsis long names such as "Hospitals & Patients"; switch to two. */
  .scenario-board__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}
/* 981-1100px: the full desktop nav would otherwise be up to ~96px wider
   than the container and create a horizontal scrollbar. Tighten it here
   instead of dropping to the hamburger menu this early. */
@media (max-width: 1100px) and (min-width: 981px) {
  .nav-wrap { gap: 10px; min-height: 68px; }
  .brand__logo { height: 34px; }
  .nav-menu { gap: 0; }
  .nav-link { padding: 9px 6px; font-size: .78rem; }
  .nav-link svg { width: 11px; height: 11px; }
  .nav-actions { gap: 6px; }
  .lang__btn { padding: 8px 9px; font-size: .8rem; }
  .lang__btn svg { width: 14px; height: 14px; }
  .nav-cta { padding: 9px 12px; font-size: .8rem; }
}
/* 1101-1240px: the full-size nav needs ~90px less than the default spacing
   or the Get a Quote button pushes a horizontal scrollbar onto the page. */
@media (min-width: 1101px) and (max-width: 1240px) {
  .nav-menu { gap: 0; }
  .nav-link { padding: 10px 9px; font-size: .86rem; }
  .nav-cta { padding: 11px 16px; }
}
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .has-dropdown::after { display: none; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 20px; margin: 0;
    max-height: calc(100vh - 120px); overflow-y: auto;
    display: none;
  }
  .site-header.is-menu-open .nav-menu { display: flex; }
  .nav-link { padding: 12px 8px; font-size: .95rem; justify-content: space-between; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 4px 12px; min-width: 0; display: none; }
  .has-dropdown.is-open > .dropdown { display: block; }
  .dropdown a { padding: 8px 10px; }
  .nav-actions { margin-left: auto; }
  /* On narrow screens the wristbands fade to a barely-there wash. A warm
     white veil (not pure white) keeps a hint of the base gradient. */
  .hero {
    --hero-img-h: 62%;
    --hero-gap-badge: 22px;
    --hero-gap-eyebrow: 24px;
    --hero-gap-h1: 28px;
    --hero-gap-lead: 34px;
    --hero-gap-checks: 34px;
    --hero-check-row: 16px;
    --hero-h1-lh: 1.21;
    --hero-lead-lh: 1.72;
  }
  .hero::before { background-position: 72% 50%; background-size: auto var(--hero-img-h); }
  .hero::after {
    background: linear-gradient(90deg,
      rgba(255,251,247,.99) 0%,
      rgba(255,251,247,.97) 55%,
      rgba(255,251,247,.93) 100%);
  }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; min-height: 0; }
  .hero__visual { display: none; }
  .trust-strip__grid { grid-template-columns: repeat(3, 1fr); }
  .trust-item:nth-child(3) { border-right: 0; }
  .trust-item:nth-child(n+4) { border-top: 1px solid var(--line-soft); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-grid > * { grid-column: auto; }
  .scenario-board__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-layout { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; }
  .feature-split__media { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
  .app-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* At 768px a three-up card is only ~223px wide, which squeezes long link
     labels. Two columns read much better; an odd final card spans the row so
     no half-empty orphan row is left behind. */
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* Tablet portrait / phones: park both fixed controls together in one
     compact bottom strip instead of leaving the arrow pair over mid-page copy. */
  .page-scroll {
    right: 84px; top: auto; bottom: 20px; transform: none;
    grid-auto-flow: column; border-radius: 12px;
  }
  .page-scroll__btn { width: 38px; height: 38px; }
  .page-scroll__btn svg { width: 18px; height: 18px; }
  .page-scroll__btn + .page-scroll__btn { border-top: 0; border-left: 1px solid var(--line-soft); }
  .float-cta a { width: 52px; height: 52px; padding: 0; font-size: 0; justify-content: center; }
  .float-cta a span { display: none; }
  .float-cta svg { width: 22px; height: 22px; }
}
@media (max-width: 700px) {
  .container { width: min(100% - 32px, var(--maxw)); }
  .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: 0; padding: 20px 10px; }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--line-soft); }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .notice-bar { font-size: .74rem; }
  .scenario-board__head { flex-wrap: wrap; gap: 10px; padding: 16px 18px; }
  .scenario-board__grid { grid-template-columns: 1fr; }
  .scenario-group { padding: 18px 18px 20px; }
  .nav-cta { display: none; }
  .lang__btn { padding: 7px 9px; }
  .lang__btn span { display: none; }
  .lang__panel { right: -8px; }
  .hero {
    --hero-gap-badge: 20px;
    --hero-gap-eyebrow: 22px;
    --hero-gap-h1: 26px;
    --hero-gap-lead: 30px;
    --hero-gap-checks: 30px;
    --hero-check-row: 12px;
    --hero-h1-lh: 1.20;
  }
  .hero__badge { flex-wrap: wrap; white-space: normal; }
  .hero .eyebrow { font-size: .7rem; letter-spacing: .1em; gap: 8px; }
  .hero__br { display: none; }
  .hero h1 { font-size: clamp(1.75rem, 7.4vw, 2rem); }
  .hero__lead { font-size: .96rem; line-height: 1.62; }
  .hero__checks { gap: var(--hero-check-row); }
  .hero__checks li { font-size: .82rem; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .include-grid { grid-template-columns: 1fr; }
  .contact-way__actions .btn { flex: 1 1 100%; }
  .copy-template__head button { width: 100%; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .brand__name { font-size: 1.02rem; }
  .footer-grid { gap: 26px; }
  .footer-actions { max-width: none; }
  .footer-actions a { flex: 1 1 100%; }
  /* The bottom control strip and the compact quote circle are defined once
     in the 980px block above, so they also apply to tablet portrait. */
}
@media (max-width: 480px) {
  .brand__sub { display: none; }
  .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .app-grid > * { grid-column: auto; }
  .scenario-board__count { font-size: .68rem; padding: 6px 10px; }
  .scenario-group__items li { font-size: .72rem; padding-left: 17px; }
  .trust-strip__grid { grid-template-columns: 1fr 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .app-links { grid-template-columns: 1fr; }
  .cta-band .btn { width: auto; }
  .lang__panel { right: 0; width: min(440px, calc(100vw - 24px)); }
  .product-gallery__thumbs { grid-template-columns: repeat(4, 1fr); gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
/* --- responsive polish ---------------------------------------------------- */
/* Wide spec tables scroll inside .table-wrap. main.js adds .is-visible only
   when the table really overflows, so desktop pages never show a dead hint. */
.table-hint {
  display: none; margin: 0 0 10px; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; color: var(--muted);
}
.table-hint.is-visible { display: flex; }
.table-hint__icon {
  display: inline-grid; place-items: center; width: 20px; height: 20px;
  border: 1px solid var(--line); border-radius: 5px;
  color: var(--orange-dark); font-size: .82rem; line-height: 1;
}
.table-wrap:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* Fixed controls dim while the visitor is moving through, or stopped inside,
   the body of a page on narrow screens - otherwise their solid pill sits on
   top of a line of copy. The first screen and the footer / CTA area keep them
   fully visible; hover and keyboard focus always restore them. */
.float-cta, .page-scroll { transition: opacity .22s ease; }
@media (max-width: 980px) {
  body.is-reading .float-cta, body.is-reading .page-scroll,
  body.is-scrolling .float-cta, body.is-scrolling .page-scroll { opacity: .28; }
  body.is-scrolling .float-cta:hover, body.is-scrolling .float-cta:focus-within,
  body.is-scrolling .page-scroll:hover, body.is-scrolling .page-scroll:focus-within,
  body.is-reading .float-cta:hover, body.is-reading .float-cta:focus-within,
  body.is-reading .page-scroll:hover, body.is-reading .page-scroll:focus-within { opacity: 1; }
}
@media print {
  .notice-bar, .site-header, .float-cta, .page-scroll, .cta-band, .site-footer { display: none !important; }
}

/* --- SEO / accessibility additions ------------------------------------ */
/* Keyboard users can skip the whole header and land directly in <main>. */
.skip-link {
  position: absolute; left: 12px; top: -64px; z-index: 999;
  background: #fff; color: var(--ink); padding: 10px 16px;
  border: 2px solid var(--orange); border-radius: 8px;
  font-size: .9rem; font-weight: 600; text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; outline: 3px solid var(--orange-dark); outline-offset: 2px; }

/* 404 keeps a correct H1 -> H2 -> H3 outline without an oversized heading. */
.page-404__sub { font-size: 1.15rem; font-weight: 600; margin: 18px 0 14px; }

/* <address> now carries the contact values; keep the previous card look. */
address.contact-way__value { font-style: normal; }
address.contact-way__value a { color: inherit; font: inherit; text-decoration: none; }
address.contact-way__value a:hover { color: var(--orange-dark); }

/* --- spacing utilities on list components -------------------------------- */
/* `.pill-list` / `.check-list` reset `margin: 0` with the same specificity but
   later in this file, which silently cancelled mt-* on those elements. The
   chip pill row therefore sat flush against the spec table border. Re-assert
   the utilities for these combinations so the intended breathing room shows. */
.pill-list.mt-sm, .check-list.mt-sm { margin-top: 16px; }
.pill-list.mt-md, .check-list.mt-md { margin-top: 28px; }
.pill-list.mt-lg, .check-list.mt-lg { margin-top: 44px; }

/* FAQ hub: compact topic links inside the icon cards. `.icon-card ul` has a
   higher specificity, so these rules are scoped to the card as well. */
.card .faq-topic-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 9px; }
.card .faq-topic-list li { margin-bottom: 0; }
.card .faq-topic-list a { font-size: .88rem; color: var(--body); text-decoration: none; }
.card .faq-topic-list a:hover, .card .faq-topic-list a:focus-visible { color: var(--orange-dark); text-decoration: underline; }
