/* ==========================================================================
   NORDE Security Label — v2
   Layout follows the approved design draft (topbar → header → hero,
   1200px content grid, 3/4-column card grids). Sizes are fluid, not locked
   to the draft's fixed 1440px frames: the container is max-width based and
   headings scale with clamp().
   ========================================================================== */

:root {
  --navy-950: #0A1623;
  --navy-900: #0B1724;
  --navy-800: #14293D;
  --navy-line: rgba(255, 255, 255, .09);
  --orange: #FF5A1F;
  --orange-dark: #E64A12;
  --orange-soft: #FFF2EA;
  --orange-line: #FFD9C2;
  --bg-gray: #F4F5F7;
  --ink: #16222E;
  --ink-mid: #4E5D6B;
  --ink-soft: #7C8B99;
  --line: #E5E9ED;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 10px 30px rgba(11, 23, 36, .10);
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-label: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --header-h: 84px;
  --tabsbar-h: 57px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  font-size: 15px; line-height: 1.65;
  color: var(--ink); background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

.wrap { width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 24px; }

[id] { scroll-margin-top: calc(var(--header-h) + var(--tabsbar-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus {
  position: fixed; left: 8px; top: 8px; z-index: 999;
  background: #fff; color: var(--ink); padding: 9px 14px; border-radius: 4px;
  box-shadow: var(--shadow);
}

/* ---------------------------------------------------------- typography */
.h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(24px, 2.4vw, 32px); line-height: 1.22; letter-spacing: -.01em;
  margin: 10px 0 12px;
}
.h2--light { color: #fff; }
.lead { font-size: 15px; color: var(--ink-mid); max-width: 660px; }
.lead--muted { color: #A8B7C6; }

.eyebrow {
  font-family: var(--font-label); font-weight: 600;
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--orange);
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.link-arrow svg { color: var(--orange); transition: transform .18s ease; }
.link-arrow:hover { color: var(--orange-dark); }
.link-arrow:hover svg { transform: translateX(3px); }

.pillbadge {
  flex: none; align-self: flex-start; margin-top: 4px;
  font-family: var(--font-label); font-size: 12.5px; font-weight: 600; letter-spacing: .14em;
  color: var(--orange-dark); background: var(--orange-soft);
  border: 1px solid var(--orange-line); border-radius: 999px; padding: 7px 14px;
  white-space: nowrap;
}

/* ---------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 14.5px; font-weight: 600; line-height: 1;
  padding: 14px 24px; border-radius: 5px; border: 1px solid transparent;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
  text-align: center;
}
.btn--sm {
  padding: 11px 18px; font-size: 12.5px;
  font-family: var(--font-label); letter-spacing: .09em; text-transform: uppercase;
}
.btn--lg { padding: 16px 28px; }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .07); }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: #1E3348; }
.btn--outline-orange { border-color: var(--orange-line); color: var(--orange-dark); }
.btn--outline-orange:hover { background: rgba(255, 255, 255, .5); border-color: var(--orange); }

.iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; color: var(--ink);
}
.iconbtn:hover { background: var(--bg-gray); }

.chip {
  display: inline-flex; align-items: center;
  font-size: 12.5px; font-weight: 500; color: #C9D5E0;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--navy-line);
  border-radius: 5px; padding: 9px 16px;
}

/* ---------------------------------------------------------- topbar */
.topbar { background: var(--navy-900); color: #C9D5E0; font-size: 12px; }
.topbar__inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px; min-height: 44px;
}
.topbar__group { display: flex; align-items: center; gap: 20px; min-width: 0; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar__item svg { color: var(--orange); flex: none; }
.topbar__item a:hover { color: #fff; }
.topbar__note { color: #93A5B5; }

.lang { display: inline-flex; align-items: center; gap: 6px; }
.lang__btn { font-size: 12px; font-weight: 600; color: #93A5B5; padding: 3px 2px; }
.lang__btn[aria-pressed="true"] { color: var(--orange); }
.lang__btn:hover { color: #fff; }
.lang__sep { color: #44586B; }

/* ---------------------------------------------------------- header */
.header { position: sticky; top: 0; z-index: 300; background: #fff; border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 26px; min-height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { width: 60px; height: 44px; object-fit: contain; }

.nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  font-family: var(--font-label); font-size: 14.5px; font-weight: 600;
  letter-spacing: .1em; color: var(--ink);
  padding: 10px 14px; border-radius: 4px;
}
.nav__link:hover { color: var(--orange-dark); }
.nav__link[aria-current="page"] { color: var(--orange); }
.nav__caret { color: var(--ink-soft); margin-top: 1px; }
.has-drop { position: relative; }
.has-drop:hover .nav__caret, .has-drop:focus-within .nav__caret { color: var(--orange); }

.dropmenu {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  width: min(760px, 88vw); background: #fff; border: 1px solid var(--line);
  border-radius: 10px; box-shadow: var(--shadow); padding: 26px 30px;
  opacity: 0; visibility: hidden; transition: opacity .15s ease;
}
.has-drop:hover .dropmenu, .has-drop:focus-within .dropmenu { opacity: 1; visibility: visible; }
.dropmenu .catmenu__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 26px; }

.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; white-space: nowrap; padding: 8px 4px;
}
.header__phone svg { color: var(--orange); }
.header__phone:hover { color: var(--orange-dark); }

.burger {
  display: none; width: 42px; height: 42px;
  flex-direction: column; align-items: center; justify-content: center;
}
.burger span { position: relative; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------- home hero carousel */
.hero--slider { background: #050B14; color: #fff; position: relative; }
.hero__viewport { position: relative; overflow: hidden; }
.hslide { position: relative; min-height: clamp(440px, 36vw, 620px); display: flex; }
.hslide__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 92% center;
}
.hslide__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(2, 6, 12, .90) 0%, rgba(2, 6, 12, .62) 40%, rgba(2, 6, 12, 0) 76%);
}
.hslide__inner {
  position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center;
  width: 100%; padding: clamp(44px, 5vw, 64px) 0;
}
.hslide__brand { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(20px, 2.6vw, 36px); }
.hslide__mark {
  width: 26px; height: 26px; border-radius: 7px; position: relative; overflow: hidden; flex: none;
  background: linear-gradient(125deg, #5FD8FF, #7C8CFF 32%, #C77BF2 62%, #FF9AD0 88%);
  box-shadow: 0 0 22px rgba(120, 180, 255, .5), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.hslide__mark::after {
  content: ""; position: absolute; inset: 0; opacity: .75;
  background: repeating-linear-gradient(58deg, rgba(255, 255, 255, .6) 0 1px, transparent 1px 4px);
}
.hslide__brand b { font-size: 16px; font-weight: 700; letter-spacing: .36em; }
.hslide__brand i { font-style: normal; color: rgba(255, 255, 255, .26); font-size: 13px; }
.hslide__brand span {
  font-family: var(--font-label); font-size: 11.5px; letter-spacing: .24em; color: rgba(255, 255, 255, .46);
}
.hslide__eyebrow { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.hslide__eyebrow i {
  display: block; width: 36px; height: 2px; flex: none;
  background: linear-gradient(90deg, #5FD8FF, #C77BF2);
}
.hslide__eyebrow span {
  font-family: var(--font-label); font-size: 11.5px; font-weight: 500;
  letter-spacing: .3em; color: rgba(255, 255, 255, .55);
}
.hslide__title {
  font-family: var(--font-display); font-weight: 800; color: #fff;
  font-size: clamp(38px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.02em;
  text-shadow: 0 6px 40px rgba(0, 0, 0, .55);
}
.hslide__title em {
  font-style: normal;
  background: linear-gradient(100deg, #BFE9FF 0%, #7FE9D8 34%, #B7A8FF 68%, #FFB6E0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hslide__lead { margin-top: 18px; font-size: 15.5px; line-height: 1.62; color: rgba(255, 255, 255, .64); max-width: 52ch; }
.hslide__btns { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 26px; }
.hslide__feats {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: clamp(22px, 2.6vw, 34px);
}
.hslide__feats b {
  font-family: var(--font-label); font-size: 10.5px; font-weight: 500;
  letter-spacing: .17em; color: rgba(255, 255, 255, .55);
}
.hslide__feats i { display: block; width: 1px; height: 12px; background: rgba(255, 255, 255, .2); }

/* slide switching (JS-enhanced; without JS only slide 1 shows) */
.hslide + .hslide { display: none; }
html.js .hslide + .hslide { display: flex; position: absolute; inset: 0; }
html.js .hslide {
  opacity: 1; visibility: visible;
  transition: opacity .7s ease, visibility 0s linear 0s;
}
html.js .hslide:not(.is-active) {
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .7s ease, visibility 0s linear .7s;
}
html.js .hslide.is-active { z-index: 1; }

.hero__nav {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; z-index: 3;
}
html:not(.js) .hero__nav { display: none; }
.hdot {
  width: 26px; height: 4px; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, .28); transition: background .2s ease, width .2s ease;
}
.hdot:hover { background: rgba(255, 255, 255, .55); }
.hdot[aria-current="true"] { background: var(--orange); width: 38px; }
.hdot:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html.js .hslide, html.js .hslide:not(.is-active) { transition: none; }
}

@media (max-width: 767px) {
  .stepcard--wide { flex-direction: column; align-items: flex-start; gap: 0; }
  .stepcard--wide .stepcard__title { width: auto; margin: 10px 0 6px; }
  .hslide { min-height: 0; }
  .hslide__bg { object-position: 62% center; }
  .hslide__scrim { background: linear-gradient(180deg, rgba(2, 6, 12, .5) 0%, rgba(2, 6, 12, .82) 62%, rgba(2, 6, 12, .94) 100%); }
  .hslide__inner { padding: clamp(96px, 26vw, 150px) 0 56px; }
  .hslide__lead { font-size: 14px; }
  .hslide__feats { gap: 8px 14px; }
  .hslide__feats i { display: none; }
  .hero__nav { left: auto; right: 18px; transform: none; bottom: 14px; }
}

/* ---------------------------------------------------------- stats bar */
.statsbar { background: var(--bg-gray); border-bottom: 1px solid var(--line); }
.statsbar__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 12px; padding: 30px 0; }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(21px, 2vw, 27px); letter-spacing: -.01em; }
.stat__label {
  font-family: var(--font-label); font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px;
}

/* ---------------------------------------------------------- sections */
.section { padding: clamp(56px, 6vw, 92px) 0; }
.section--gray { background: var(--bg-gray); }
.section--navy { background: var(--navy-900); color: #fff; }
.section--flush { padding-top: 0; }

.sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; }
.sechead .link-arrow { margin-bottom: 6px; }
.sechead--badged { align-items: flex-start; }

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--news { gap: 26px; }

/* ---------------------------------------------------------- product cards */
.pcard {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .18s ease, transform .18s ease;
}
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pcard__media { aspect-ratio: 386 / 208; overflow: hidden; background: var(--bg-gray); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.pcard__tag {
  font-family: var(--font-label); font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--orange);
}
.pcard__title { font-size: 16.5px; line-height: 1.35; margin: 7px 0 6px; }
.pcard__title a:hover { color: var(--orange-dark); }
.pcard__text { flex: 1; font-size: 13px; color: var(--ink-mid); }
.pcard__more, .catrow__more {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--orange-dark); margin-top: 14px;
}
.pcard__more svg, .catrow__more svg { transition: transform .18s ease; }
.pcard__more:hover svg, .catrow__more:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------- about */
.split--about { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 64px); align-items: center; }
.about__copy .h2 { max-width: 22ch; }
.checklist { display: grid; gap: 12px; margin: 22px 0 28px; }
.checklist li { display: flex; gap: 10px; font-size: 13.5px; color: var(--ink-mid); }
.checklist .ok { flex: none; color: var(--orange); margin-top: 3px; }
.about__main { border-radius: var(--radius); overflow: hidden; }
.about__main img { width: 100%; aspect-ratio: 560 / 300; object-fit: cover; }
.about__thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.about__thumb { border-radius: var(--radius); overflow: hidden; }
.about__thumb img { width: 100%; aspect-ratio: 272 / 150; object-fit: cover; }

/* ---------------------------------------------------------- history */
.milestones { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 34px; margin-top: 48px; }
.milestone { position: relative; padding-top: 18px; }
.milestone::before { content: ""; position: absolute; top: 0; left: 0; right: -34px; height: 1px; background: var(--navy-line); }
.milestone:last-child::before { right: 0; }
.milestone__dot {
  position: absolute; top: -4.5px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 90, 31, .22);
}
.milestone__year { font-family: var(--font-display); font-weight: 800; font-size: clamp(19px, 1.7vw, 23px); }
.milestone__text { font-size: 12.5px; line-height: 1.6; color: #A8B7C6; margin-top: 8px; }

/* ---------------------------------------------------------- news */
.ncard {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .18s ease;
}
.ncard:hover { box-shadow: var(--shadow); }
.ncard__media { aspect-ratio: 387 / 168; overflow: hidden; background: var(--bg-gray); }
.ncard__media img { width: 100%; height: 100%; object-fit: cover; }
.ncard__body { display: flex; flex-direction: column; flex: 1; padding: 16px 20px 20px; }
.ncard__date { font-family: var(--font-label); font-size: 11px; letter-spacing: .14em; color: var(--ink-soft); }
.ncard__title { font-size: 15.5px; line-height: 1.4; margin: 8px 0 6px; }
.ncard__text { flex: 1; font-size: 12.5px; color: var(--ink-mid); }

/* ---------------------------------------------------------- certificates */
.ccard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 22px; }
.ccard__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--orange-soft); color: var(--orange);
}
.ccard__title { font-size: 15px; margin: 14px 0 6px; }
.ccard__text { font-size: 12.5px; color: var(--ink-mid); }

/* ---------------------------------------------------------- technology */
.tcard { background: var(--navy-800); border: 1px solid var(--navy-line); border-radius: var(--radius); padding: 26px 24px; }
.tcard__icon { display: inline-flex; color: var(--orange); }
.tcard__title { font-size: 15px; color: #fff; margin: 14px 0 8px; }
.tcard__text { font-size: 12.5px; color: #A8B7C6; }

/* ---------------------------------------------------------- equipment */
.ecard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .18s ease; }
.ecard:hover { box-shadow: var(--shadow); }
.ecard__media { aspect-ratio: 285 / 190; overflow: hidden; background: var(--bg-gray); }
.ecard__media img { width: 100%; height: 100%; object-fit: cover; }
.ecard__body { padding: 16px 18px 18px; }
.ecard__title { font-size: 15px; margin-bottom: 6px; }
.ecard__text { font-size: 12.5px; color: var(--ink-mid); }

/* ---------------------------------------------------------- FAQ */
.faqgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.fqcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.fqcard__q { font-size: 15px; }
.fqcard__a { font-size: 13px; color: var(--ink-mid); margin-top: 9px; }

/* ---------------------------------------------------------- CTA band */
.ctaband { background: var(--navy-800); color: #fff; padding: clamp(48px, 5vw, 66px) 0; }
.ctaband--peach { background: var(--orange-soft); color: var(--ink); }
.ctaband__inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.ctaband__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(22px, 2.2vw, 30px); line-height: 1.24; letter-spacing: -.01em;
  max-width: 34ch;
}
.ctaband__lead { font-size: 13.5px; color: #A8B7C6; max-width: 62ch; margin-top: 12px; }
.ctaband--peach .ctaband__lead { color: var(--ink-mid); }
.ctaband__btns { display: flex; flex-wrap: wrap; gap: 14px; flex: none; }

/* ---------------------------------------------------------- footer */
.footer { background: var(--navy-950); color: #C6D2DD; font-size: 13px; }
.footer__grid { display: grid; grid-template-columns: 1.35fr .95fr .8fr 1.15fr; gap: 48px; padding: 64px 0 48px; }
.footer__brand img { width: 60px; height: 44px; object-fit: contain; margin-bottom: 18px; }
.footer__brand p { font-size: 12.5px; line-height: 1.7; color: #93A5B5; max-width: 34ch; }
.footer__head {
  font-family: var(--font-label); font-size: 12px; font-weight: 600;
  letter-spacing: .18em; color: #8FA1B3; margin-bottom: 16px;
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a:hover { color: #fff; }
.footer__line { margin-top: 10px; line-height: 1.6; }
.footer__line a:hover { color: #fff; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-top: 1px solid var(--navy-line); padding: 20px 0 24px; font-size: 12px; color: #7E93A6;
}
.footer__langs { display: inline-flex; align-items: center; gap: 7px; }

/* ---------------------------------------------------------- products: menu + crumb + tabs */
.catmenu { background: #fff; padding: 30px 0 26px; border-bottom: 1px solid var(--line); }
.catmenu__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.catmenu__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 20px 26px; }
.menucol__title { font-size: 13.5px; font-weight: 700; margin-bottom: 10px; }
.menucol__title a:hover { color: var(--orange-dark); }
.menucol ul { display: grid; gap: 7px; }
.menucol ul a { font-size: 12.5px; color: var(--ink-mid); }
.menucol ul a:hover { color: var(--orange-dark); }

.crumbbar { background: var(--bg-gray); border-bottom: 1px solid var(--line); }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-soft); padding: 15px 0; }
.crumb a:hover { color: var(--orange-dark); }
.crumb svg { color: #B9C2CA; }

.tabsbar { position: sticky; top: var(--header-h); z-index: 200; background: #fff; border-bottom: 1px solid var(--line); }
.tabsbar__inner { display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.tabsbar__inner::-webkit-scrollbar { display: none; }
.ctab__item { position: relative; display: flex; flex: none; }
.ctab {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 13.5px; font-weight: 600; color: var(--ink-mid);
  padding: 18px 16px 15px; border-bottom: 2px solid transparent;
}
.ctab svg { color: #B9C2CA; }
.ctab:hover { color: var(--orange-dark); }
.ctab__item.is-active .ctab { color: var(--orange); border-bottom-color: var(--orange); }
.tabmenu {
  position: absolute; top: 100%; left: 8px; z-index: 210; min-width: 210px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow); padding: 8px;
  opacity: 0; visibility: hidden; transition: opacity .15s ease;
}
.ctab__item:hover .tabmenu, .ctab__item:focus-within .tabmenu { opacity: 1; visibility: visible; }
.tabmenu a { display: block; font-size: 13px; color: var(--ink-mid); padding: 8px 12px; border-radius: 5px; }
.tabmenu a:hover { background: var(--bg-gray); color: var(--orange-dark); }

.vcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.vcard--hot { background: var(--orange-soft); border-color: var(--orange-line); }
.vcard__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.vcard__title { font-size: 19px; font-weight: 700; }
.vcard__tag {
  font-family: var(--font-label); font-size: 10.5px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap;
}
.vcard--hot .vcard__tag { color: var(--orange-dark); }
.vcard__desc { font-size: 13px; color: var(--ink-mid); margin-top: 10px; }
.vcard__list { flex: 1; margin-top: 14px; }
.vcard__list li { font-size: 13px; padding: 8px 0; border-top: 1px dashed var(--line); }
.vcard--hot .vcard__list li { border-top-color: #F5D8C6; }
.vcard__ds { font-size: 13px; font-weight: 600; color: var(--orange-dark); margin-top: 12px; }
.vcard__ds:hover { text-decoration: underline; }

.catrows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.catrow {
  display: grid; grid-template-columns: minmax(150px, 200px) minmax(0, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .18s ease;
}
.catrow:hover { box-shadow: var(--shadow); }
.catrow__thumb { position: relative; min-height: 150px; background: var(--bg-gray); }
.catrow__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.catrow__body { padding: 24px 28px; }
.catrow__eyebrow { font-family: var(--font-label); font-size: 10.5px; font-weight: 600; letter-spacing: .18em; color: var(--orange); }
.catrow__title { font-size: 19px; margin: 8px 0; }
.catrow__desc { font-size: 13px; color: var(--ink-mid); }
.catrow__more { margin-top: 14px; }

/* ---------------------------------------------------------- page heroes */
.pagehero { background: var(--navy-900); color: #fff; padding: clamp(48px, 5.5vw, 80px) 0 clamp(52px, 5.5vw, 88px); }
.pagehero--media { position: relative; overflow: hidden; padding: clamp(56px, 6vw, 96px) 0; }
.pagehero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 78% center;
}
.pagehero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(2, 6, 12, .92) 0%, rgba(2, 6, 12, .68) 42%, rgba(2, 6, 12, .10) 80%);
}
.pagehero--media .wrap { position: relative; }
.pagehero--media .pagehero__title { max-width: 24ch; }
.pagehero--media .pagehero__lead { color: #C3CFDA; max-width: 62ch; }
@media (max-width: 767px) {
  /* 源码顺序必须晚于桌面规则，否则会被同优先级的桌面渐变覆盖 */
  .pagehero__bg { object-position: 72% center; }
  .pagehero__scrim { background: linear-gradient(90deg, rgba(2, 6, 12, .95) 0%, rgba(2, 6, 12, .82) 58%, rgba(2, 6, 12, .38) 100%); }
}
.pagehero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(27px, 2.9vw, 42px); line-height: 1.16; letter-spacing: -.015em;
  margin: 16px 0 18px; max-width: 24ch;
}
.pagehero__lead { font-size: 15px; color: #A8B7C6; max-width: 70ch; }
.pagehero__chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pagehero--gray { background: var(--bg-gray); color: var(--ink); padding: clamp(40px, 4.4vw, 64px) 0 clamp(36px, 4vw, 60px); }
.pagehero__title--dark { color: var(--ink); }
.pagehero__lead--dark { color: var(--ink-mid); }
.pagehero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 460px); gap: clamp(36px, 4.5vw, 64px); align-items: center; }
.pagehero__photo { background: #fff; border-radius: 8px; padding: 8px; box-shadow: 0 18px 44px rgba(0, 0, 0, .35); }
.pagehero__photo img { width: 100%; aspect-ratio: 460 / 300; object-fit: cover; border-radius: 4px; }

/* ---------------------------------------------------------- service */
.stepcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 24px; }
.stepcard--wide { grid-column: 1 / -1; display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.stepcard--wide .stepcard__num { flex: none; }
.stepcard--wide .stepcard__title { flex: none; width: clamp(180px, 22vw, 280px); margin: 0; }
.stepcard--wide .stepcard__text { flex: 1; }
.stepcard__num { font-family: var(--font-display); font-weight: 800; font-size: 27px; color: var(--orange); }
.stepcard__title { font-size: 15.5px; margin: 12px 0 8px; }
.stepcard__text { font-size: 13px; color: var(--ink-mid); }

.kcard { background: var(--bg-gray); border-radius: var(--radius); padding: 28px 26px; }
.kcard__icon { display: inline-flex; color: var(--orange); }
.kcard__title { font-size: 15px; margin: 14px 0 8px; }
.kcard__text { font-size: 12.5px; color: var(--ink-mid); }

/* ---------------------------------------------------------- solutions */
.acard { background: var(--bg-gray); border-radius: var(--radius); padding: 28px 26px; }
.acard__icon { display: inline-flex; color: var(--orange); }
.acard__title { font-size: 15px; margin: 14px 0 8px; }
.acard__text { font-size: 12.5px; color: var(--ink-mid); }

.casecard { background: var(--bg-gray); border-radius: var(--radius); padding: 28px 28px 26px; }
.casecard__title { font-size: 16.5px; line-height: 1.4; }
.case__label {
  font-family: var(--font-label); font-size: 10.5px; font-weight: 600;
  letter-spacing: .18em; color: var(--orange); margin-top: 18px;
}
.casecard__text { font-size: 13px; color: var(--ink-mid); margin-top: 7px; }

/* ---------------------------------------------------------- contact */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(36px, 4.5vw, 56px); align-items: start; }
.form__title { font-size: 20px; margin-bottom: 22px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 7px; }
.field .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 14px; color: var(--ink);
  background: #fff; border: 1px solid #D9E0E6; border-radius: 6px; padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 90, 31, .12);
}
.field { margin-bottom: 16px; }
.form__grid .field { margin-bottom: 0; }
.form__grid + .field { margin-top: 16px; }
.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.form__note { font-size: 12.5px; color: var(--ink-soft); }
.form-success {
  display: none; margin-top: 18px; padding: 13px 16px; border-radius: 6px;
  background: #EDF7EF; border: 1px solid #BFE3C8; font-size: 13.5px; color: #1F7A3D;
}
.form-success[data-open="true"] { display: block; }

/* 蜜罐字段：正常访客看不见，机器人会填 —— 用来挡垃圾询盘 */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error {
  margin-top: 18px; padding: 13px 16px; border-radius: 6px;
  background: #FDECEC; border: 1px solid #F3C6C6; font-size: 13.5px; color: #A32A2A;
}
.form-error[hidden] { display: none !important; }

.direct { display: grid; gap: 16px; }
.direct__title { font-size: 20px; margin-bottom: 6px; }
.person {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: var(--bg-gray); border-radius: var(--radius); padding: 20px 22px;
}
.person__name { font-size: 15.5px; font-weight: 700; }
.person__meta { font-size: 12.5px; color: var(--ink-soft); margin: 3px 0 10px; }
.person__line { font-size: 13px; color: var(--ink-mid); margin-top: 4px; }
.person__line a:hover { color: var(--orange-dark); }
.person__qr { flex: none; width: 76px; height: 76px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.factory { background: var(--navy-900); color: #fff; border-radius: var(--radius); padding: 22px 24px; }
.factory__label { font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--orange); margin-bottom: 10px; }
.factory__addr { font-size: 13.5px; line-height: 1.65; }
.factory__note { font-size: 12.5px; color: #A8B7C6; margin-top: 10px; }

.chcard {
  display: flex; align-items: center; gap: 16px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px;
  transition: box-shadow .18s ease;
}
.chcard:hover { box-shadow: var(--shadow); }
.chcard__icon { display: flex; align-items: center; justify-content: center; flex: none; width: 46px; height: 46px; border-radius: 12px; color: #fff; }
.chcard__icon--wa { background: #25B455; }
.chcard__icon--wechat { background: #1FA855; }
.chcard__icon--mail { background: var(--orange); }
.chcard__name { display: block; font-size: 14.5px; font-weight: 700; }
.chcard__sub { display: block; font-size: 13px; color: var(--ink-mid); margin-top: 2px; word-break: break-word; }
.chcard__sub a:hover { color: var(--orange-dark); }

/* ---------------------------------------------------------- search overlay */
.searchbox { position: fixed; inset: 0; z-index: 500; background: rgba(10, 22, 35, .55); padding: 96px 20px 20px; }
.searchbox__panel {
  display: flex; align-items: center; gap: 10px; max-width: 640px; margin: 0 auto;
  background: #fff; border-radius: 10px; padding: 10px 14px; box-shadow: var(--shadow);
}
.searchbox__panel input { flex: 1; border: 0; outline: none; font: inherit; font-size: 16px; color: var(--ink); }
.searchbox__results {
  display: grid; max-width: 640px; margin: 10px auto 0; background: #fff;
  border-radius: 10px; overflow: hidden; box-shadow: var(--shadow);
}
.searchbox__results a { display: flex; justify-content: space-between; gap: 14px; padding: 12px 18px; font-size: 14px; border-bottom: 1px solid var(--bg-gray); }
.searchbox__results a:last-child { border-bottom: 0; }
.searchbox__results a:hover { background: var(--bg-gray); color: var(--orange-dark); }
.searchbox__results .hit-path { font-size: 12px; color: var(--ink-soft); }

/* ---------------------------------------------------------- reveal */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------- floating contact dock */
.dock {
  position: fixed; right: clamp(14px, 1.8vw, 26px); bottom: clamp(14px, 1.8vw, 22px);
  z-index: 400;
  display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 12px;
}
.dock__fab {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 21px 13px 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--navy-900); color: #fff;
  font-family: var(--font-label); font-size: 15px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; line-height: 1;
  box-shadow: 0 12px 28px rgba(11, 23, 36, .28);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.dock__fab svg { flex: none; color: var(--orange); }
.dock__fab:hover { background: var(--navy-800); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(11, 23, 36, .34); }
.dock__fab:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.dock__fab[aria-expanded="true"] { background: var(--navy-800); }

.dock__panel {
  width: 336px; max-width: calc(100vw - 28px);
  max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px);
  overflow-y: auto; overscroll-behavior: contain;
  padding: 18px 18px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 22px 54px rgba(9, 20, 33, .24);
}
/* [hidden] only carries UA-level display:none, so any class that sets display
   must re-assert it for the hidden state (see .dock__qr below). */
.dock__panel:not([hidden]) { animation: dockIn .2s cubic-bezier(.2, .7, .3, 1); }
@keyframes dockIn {
  from { opacity: 0; transform: translateY(10px) scale(.97); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .dock__panel:not([hidden]) { animation: none; } }

.dock__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.dock__title { font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
.dock__close {
  flex: none; width: 30px; height: 30px; margin: -2px -2px 0 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 50%; background: #fff;
  color: var(--ink-mid); font-size: 13px; line-height: 1; cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.dock__close:hover { background: var(--bg-gray); color: var(--ink); }
.dock__close:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.dock__note { font-size: 12px; color: var(--ink-soft); margin: 7px 0 14px; }

.dock__list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.dock__row {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); text-align: left; text-decoration: none;
  font: inherit; cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
}
.dock__row:hover { border-color: var(--orange-line); background: var(--orange-soft); }
.dock__row:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.dock__ico {
  flex: none; width: 34px; height: 34px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-gray); color: var(--ink-mid);
}
.dock__row--wa .dock__ico { background: #E4F6EC; color: #128C7E; }
.dock__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dock__name { font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.dock__meta { font-size: 11.5px; color: var(--ink-soft); line-height: 1.45; word-break: break-all; }
.dock__go { flex: none; display: inline-flex; color: var(--ink-soft); }
.dock__go--chev { transition: transform .18s ease; }
.dock__row[aria-expanded="true"] .dock__go--chev { transform: rotate(180deg); }

.dock__qr {
  display: flex; align-items: center; gap: 14px;
  margin-top: 8px; padding: 12px;
  border: 1px dashed var(--line); border-radius: 10px; background: var(--bg-gray);
}
.dock__qr[hidden] { display: none; }
.dock__qr img { flex: none; width: 104px; height: auto; padding: 4px; border-radius: 6px; background: #fff; }
.dock__qr p { display: flex; flex-direction: column; gap: 3px; }
.dock__qrname { font-size: 13px; font-weight: 600; }
.dock__qrmeta { font-size: 11.5px; color: var(--ink-soft); }

.dock__cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 12px; padding: 12px; border-radius: 10px;
  background: var(--orange); color: #fff; text-decoration: none;
  font-size: 13.5px; font-weight: 600;
  transition: background .16s ease;
}
.dock__cta:hover { background: var(--orange-dark); }
.dock__cta:focus-visible { outline: 3px solid var(--navy-900); outline-offset: 2px; }

/* the mobile nav panel owns the whole viewport — get the dock out of the way */
body.nav-open .dock { display: none; }

@media (max-width: 767px) {
  .dock { left: 12px; right: 12px; bottom: 12px; align-items: stretch; gap: 10px; }
  .dock__fab { align-self: flex-end; padding: 12px 18px; font-size: 14px; }
  .dock__panel { width: auto; max-width: none; border-radius: 14px; }
  .dock__qr { gap: 12px; }
  .dock__qr img { width: 92px; }
}

/* ---------------------------------------------------------- responsive */
@media (max-width: 1120px) {
  .dropmenu { width: min(640px, 92vw); }
  .dropmenu .catmenu__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
  .footer__col:last-child { grid-column: span 3; }
  .catmenu__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .catrows { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }

  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 290;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 8px 0 16px; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(11, 23, 36, .12);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.nav--open { display: flex; }
  .nav__link { padding: 13px 24px; border-radius: 0; }
  .dropmenu {
    position: static; transform: none; width: auto; padding: 16px 24px;
    display: none; opacity: 1; visibility: visible; border: 0;
    border-top: 1px solid var(--line); border-radius: 0; box-shadow: none;
  }
  .has-drop.is-open .dropmenu { display: block; }
  .dropmenu .catmenu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .burger { display: inline-flex; }
  .header__phone { display: none; }
  .topbar__item--phone, .topbar__note { display: none; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { max-width: 22ch; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--about { grid-template-columns: 1fr; }
  .milestones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 26px; }
  .milestone::before { right: -13px; }
  .faqgrid { grid-template-columns: 1fr; }
  .pagehero__grid { grid-template-columns: 1fr; }
  .pagehero__photo { max-width: 520px; }
  .ctaband__inner { flex-direction: column; align-items: flex-start; gap: 26px; }
  .contact__grid { grid-template-columns: 1fr; }
  .statsbar__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .wrap { padding: 0 18px; }
  .topbar__group { min-width: 0; }
  .topbar__item { overflow: hidden; text-overflow: ellipsis; }
  .topbar__group:last-child { flex: none; }
  .grid--3, .grid--4, .form__grid { grid-template-columns: 1fr; }
  .statsbar__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .milestones { grid-template-columns: 1fr; gap: 26px; }
  .milestone::before { right: 0; }
  .sechead { flex-direction: column; align-items: flex-start; gap: 14px; }
  .catmenu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catrow { grid-template-columns: 1fr; }
  .catrow__thumb { min-height: 180px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__col:last-child { grid-column: auto; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .person { flex-direction: column; align-items: flex-start; }
  .ctaband__btns { width: 100%; }
  .searchbox { padding-top: 72px; }
}
