/* =========================================================================
   RyGood — homepage stylesheet
   - no external fonts or icon libraries (works offline)
   - tokens first, then layout, then components, then responsive
   ========================================================================= */

/* ---------- tokens ---------- */
:root {
  --ink: #0c0e11;
  --ink-2: #14171c;
  --ink-3: #1d2127;
  --paper: #ffffff;
  --paper-2: #f4f5f7;
  --paper-3: #eceef1;
  --line: #e2e5ea;
  --line-dark: rgba(255, 255, 255, 0.12);
  --muted: #666e7a;
  --muted-dark: #9aa3ae;
  --accent: #e2602a;
  --accent-soft: #ff8b53;
  --accent-ink: #b8481a;
  --radius: 14px;
  --radius-lg: 22px;
  --shell: 1280px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 74px;
  --shadow-sm: 0 1px 2px rgba(12, 14, 17, 0.05), 0 4px 16px rgba(12, 14, 17, 0.04);
  --shadow-md: 0 18px 44px rgba(12, 14, 17, 0.12);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial,
    "Microsoft YaHei", "PingFang SC", sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

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

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

/* ---------- primitives ---------- */
.container {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ico {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}
.eyebrow--light { color: var(--accent-soft); }

.h2 {
  font-size: clamp(1.65rem, 2.9vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 680;
  max-width: 22ch;
}
.h2--light { color: #fff; }
.h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 660;
  letter-spacing: -0.01em;
}

.section__note {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 46ch;
}
.section__note--light { color: var(--muted-dark); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s, gap 0.2s;
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); gap: 12px; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 14.5px;
  font-weight: 620;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.2s, color 0.2s,
    border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .ico { transition: transform 0.2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }

.btn--primary { --btn-bg: var(--accent); box-shadow: 0 8px 22px rgba(226, 96, 42, 0.28); }
.btn--primary:hover { background: #cf5120; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); border-color: #cfd4db; }
.btn--outline:hover { border-color: var(--ink); background: rgba(12, 14, 17, 0.03); }

.btn--light { --btn-fg: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn--light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }

.btn--lg { min-height: 54px; padding: 0 28px; font-size: 15.5px; }
.btn--block { width: 100%; }

/* ---------- top bar ---------- */
.topbar {
  background: var(--ink);
  color: var(--muted-dark);
  font-size: 12.5px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 38px;
  padding-block: 6px;
}
.topbar__note,
.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.topbar__note .ico { color: var(--accent-soft); }
.topbar__right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar__link { color: #cfd5dc; transition: color 0.2s; }
.topbar__link:hover { color: #fff; }
.topbar__pay {
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  color: #8d949d;
  letter-spacing: 0.02em;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s, background 0.25s;
}
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(12, 14, 17, 0.07); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.logo__mark {
  width: 34px;
  height: 34px;
  color: var(--accent);
  flex: none;
}
.logo__text {
  display: flex;
  flex-direction: column;
  font-size: 19px;
  font-weight: 760;
  letter-spacing: 0.09em;
  line-height: 1;
}
.logo__text em {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}
.logo--light { color: #fff; }
.logo--light .logo__text em { color: var(--muted-dark); }

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 560;
  color: #2b3037;
  transition: background 0.18s, color 0.18s;
}
.nav__list > li > a:hover { background: var(--paper-2); color: var(--ink); }
.ico--chev { width: 14px; height: 14px; opacity: 0.55; transition: transform 0.2s; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  width: min(400px, 84vw);
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.has-dropdown:hover .ico--chev { transform: rotate(180deg); }
.dropdown a {
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.8px;
  color: #2b3037;
  line-height: 1.35;
  transition: background 0.16s, color 0.16s;
}
.dropdown a:hover { background: var(--paper-2); color: var(--ink); }
.dropdown a span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 2px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}
.header__icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #3a4048;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.header__icon:hover { color: var(--accent); border-color: var(--accent); }
.header__cta { min-height: 42px; padding: 0 20px; }

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

.nav__mobile-actions { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(540px, 82vh, 780px);
  padding-block: clamp(64px, 9vw, 108px) clamp(48px, 6vw, 76px);
  background: #0a0c0f;
  color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 52%;
  filter: saturate(0.85) contrast(1.05);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(94deg, rgba(9, 11, 14, 0.97) 0%, rgba(9, 11, 14, 0.9) 36%, rgba(9, 11, 14, 0.42) 66%, rgba(9, 11, 14, 0.62) 100%),
    linear-gradient(0deg, rgba(9, 11, 14, 0.75), transparent 44%);
}
.hero__inner { position: relative; width: 100%; }

.hero__title {
  font-size: clamp(2.05rem, 4.5vw, 4.05rem);
  line-height: 1.06;
  letter-spacing: -0.028em;
  font-weight: 700;
  max-width: 21ch;
  margin-bottom: 22px;
}
.hero__title em {
  font-style: normal;
  color: var(--accent-soft);
  white-space: nowrap;
}
.hero__lede {
  max-width: 56ch;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.72;
  color: #c3cad2;
  margin-bottom: 32px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 760px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 22px;
}
.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 18px;
}
.hero__stats li:first-child { padding-left: 0; }
.hero__stats li:last-child { border-right: 0; }
.hero__stats b {
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 680;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.hero__stats span {
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #8f97a1;
}

/* ---------- sections ---------- */
.section {
  padding-block: clamp(58px, 7vw, 104px);
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.section--products {
  padding-block: clamp(44px, 5vw, 68px) clamp(40px, 5vw, 64px);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.section--dark {
  background: var(--ink);
  color: #e7e9ec;
}
.section--dark .eyebrow { color: var(--accent-soft); }
.section--faq { background: var(--paper); }
.section--about { background: var(--paper-2); border-top: 1px solid var(--line); }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 64px);
  margin-bottom: clamp(28px, 3.4vw, 46px);
}
.section__head-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 42ch;
  padding-bottom: 4px;
}

/* ---------- products rail ---------- */
.rail { position: relative; }
.rail__track {
  display: flex;
  gap: clamp(12px, 1.4vw, 18px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-inline: max(var(--gutter), calc((100vw - var(--shell)) / 2));
  padding-block: 4px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  height: clamp(360px, 47vh, 520px);
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }

.product-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  width: clamp(218px, 23vw, 288px);
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.28s var(--ease), box-shadow 0.28s, border-color 0.28s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #d3d8df;
}
.product-card__media {
  flex: 1 1 auto;
  min-height: 0;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.45s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.035); }
.product-card__body {
  flex: 0 0 auto;
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-card__body h3 {
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.product-card__body p {
  font-size: 12.8px;
  line-height: 1.5;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__quote {
  align-self: flex-start;
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--accent);
  cursor: pointer;
  border-bottom: 1px solid rgba(226, 96, 42, 0.35);
  transition: border-color 0.2s, color 0.2s;
}
.product-card__quote:hover { color: var(--accent-ink); border-color: currentColor; }

.rail__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
}
.rail__progress {
  position: relative;
  flex: 1 1 auto;
  max-width: 420px;
  height: 2px;
  background: #dfe3e8;
  border-radius: 2px;
  overflow: hidden;
}
.rail__progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 24%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.1s linear;
}
.rail__nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rail__hint {
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin-right: 6px;
}
.rail__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #cfd4db;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}
.rail__btn:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); }
.rail__btn:disabled { opacity: 0.35; cursor: default; }

/* ---------- capabilities ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.cap-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.cap-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #d3d8df;
}
.cap-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--paper-2);
}
.cap-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: transform 0.5s var(--ease);
}
.cap-card:hover .cap-card__media img { transform: scale(1.04); }
.cap-card__num {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.cap-card__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.cap-card__body h3 {
  font-size: 17px;
  font-weight: 660;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.cap-card__body > p {
  font-size: 13.8px;
  line-height: 1.62;
  color: var(--muted);
}
.spec {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: grid;
  gap: 6px;
  font-size: 12.8px;
  color: #4b525c;
}
.spec li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.spec b { font-weight: 640; color: var(--ink); white-space: nowrap; }

/* ---------- projects ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}
.case {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.case:hover {
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-3px);
  background: #171b21;
}
.case__media { position: relative; background: #fff; overflow: hidden; }
.case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.case:hover .case__media img { transform: scale(1.05); }
.case__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(12, 14, 17, 0.82);
  color: #fff;
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.case__body {
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.case__body h3 {
  font-size: 16.5px;
  font-weight: 650;
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: #fff;
}
.case__body p {
  font-size: 13.4px;
  line-height: 1.6;
  color: #a7b0ba;
}
.case__meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
  display: grid;
  gap: 5px;
  font-size: 12.4px;
}
.case__meta li { display: flex; justify-content: space-between; gap: 10px; }
.case__meta span { color: #7e8792; letter-spacing: 0.02em; }
.case__meta b { color: #e7e9ec; font-weight: 600; }

/* ---------- testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}
.quote {
  position: relative;
  padding: 30px 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  right: 22px;
  font-size: 76px;
  line-height: 1;
  color: rgba(226, 96, 42, 0.16);
  font-family: Georgia, "Times New Roman", serif;
}
.quote blockquote p {
  font-size: 15px;
  line-height: 1.68;
  color: #262b32;
}
.quote figcaption {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.quote__avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex: none;
}
.quote__who { display: flex; flex-direction: column; gap: 2px; }
.quote__who b { font-size: 13.5px; font-weight: 650; }
.quote__who small { font-size: 12px; color: var(--muted); line-height: 1.4; }

/* ---------- faq ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.faq__intro {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.faq__intro .h2 { max-width: 16ch; margin-bottom: 2px; }
.faq__list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 4px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.008em;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary .ico {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  padding: 3px;
  box-sizing: content-box;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: transform 0.28s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.faq-item[open] summary .ico {
  transform: rotate(135deg);
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.faq-item__body {
  padding: 0 46px 22px 4px;
}
.faq-item__body p {
  font-size: 14.2px;
  line-height: 1.7;
  color: #4d555f;
}
.faq-item__body b { color: var(--ink); font-weight: 640; }

/* ---------- about ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.about__text .h2 { margin-bottom: 20px; max-width: 20ch; }
.about__text p {
  font-size: 14.8px;
  line-height: 1.76;
  color: #4d555f;
  margin-bottom: 14px;
  max-width: 60ch;
}
.about__text p b { color: var(--ink); font-weight: 650; }
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.about__stats div { display: flex; flex-direction: column; gap: 3px; }
.about__stats b {
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 680;
  letter-spacing: -0.02em;
}
.about__stats span {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.about__aside { display: flex; flex-direction: column; gap: 16px; }
.about__photo {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}
.about__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about__photo figcaption {
  padding: 9px 14px;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.about__facts {
  display: grid;
  gap: 12px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13.2px;
  line-height: 1.55;
}
.about__facts li { display: grid; grid-template-columns: 78px 1fr; gap: 12px; }
.about__facts span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}
.about__facts a { border-bottom: 1px solid var(--line); }
.about__facts a:hover { color: var(--accent); border-color: currentColor; }

.equip-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin: clamp(36px, 4.5vw, 60px) 0 18px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.equip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 14px);
}
.equip__item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.equip__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.equip__item:hover img { transform: scale(1.05); }
.equip__item span {
  display: block;
  padding: 8px 10px;
  font-size: 11.5px;
  font-weight: 560;
  letter-spacing: 0.02em;
  color: #3d444d;
  border-top: 1px solid var(--line);
}

/* ---------- closing cta ---------- */
.cta-band {
  position: relative;
  padding-block: clamp(46px, 6vw, 78px);
  background: linear-gradient(104deg, #0c0e11 0%, #191d23 58%, #24282f 100%);
  color: #fff;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -40%;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 96, 42, 0.28), transparent 62%);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
}
.cta-band__inner .h2 { max-width: 24ch; margin-bottom: 12px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: #b8c0c9;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: clamp(44px, 5vw, 68px);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1.3fr;
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: clamp(32px, 4vw, 52px);
}
.footer__brand { max-width: 40ch; }
.footer__blurb {
  margin: 16px 0 18px;
  font-size: 13.4px;
  line-height: 1.7;
  color: #8f98a2;
}
.footer__pay {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__pay span {
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #cfd6de;
}
.footer__col h3 {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.footer__col ul { display: grid; gap: 9px; font-size: 13.4px; }
.footer__col a { color: #a7b0ba; transition: color 0.2s; }
.footer__col a:hover { color: #fff; }
.footer__contact { color: #8f98a2; line-height: 1.65; }
.footer__contact li span { display: block; color: #fff; margin-bottom: 3px; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.2px;
  color: #79828d;
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: #fff; }

/* ---------- floating inquiry ---------- */
.inquiry {
  position: fixed;
  right: 0;
  bottom: clamp(72px, 12vh, 120px);
  z-index: 70;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.inquiry__tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  border: 0;
  border-radius: 12px 0 0 12px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(226, 96, 42, 0.34);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: 0.08em;
  transition: background 0.2s, transform 0.32s var(--ease), opacity 0.2s;
}
.inquiry__tab .ico { writing-mode: initial; transform: rotate(90deg); }
.inquiry__tab:hover { background: #cf5120; }
.inquiry__panel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(398px, calc(100vw - 16px));
  max-height: min(84vh, 700px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  box-shadow: 0 24px 70px rgba(12, 14, 17, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateX(102%);
  transition: transform 0.38s var(--ease), opacity 0.28s, visibility 0.38s;
}
.inquiry.is-open .inquiry__panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.inquiry.is-open .inquiry__tab { transform: rotate(180deg) translateX(6px); opacity: 0; pointer-events: none; }

.inquiry__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.inquiry__head h2 {
  font-size: 19px;
  font-weight: 680;
  letter-spacing: -0.02em;
}
.inquiry__head p { font-size: 12.4px; color: var(--muted); margin-top: 3px; }
.inquiry__close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  color: var(--muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.inquiry__close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.inquiry__form { display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5a626c;
}
.field label span { color: var(--accent); }
.field input,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d9dee5;
  border-radius: 9px;
  background: #fbfcfd;
  font: inherit;
  font-size: 13.6px;
  color: var(--ink);
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa3ae; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(226, 96, 42, 0.13);
}
.field textarea { resize: vertical; min-height: 74px; }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #d33a2c;
  background: #fff8f7;
}

.dropzone {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px dashed #cdd3da;
  border-radius: 10px;
  background: #fbfcfd;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.dropzone:hover,
.dropzone.is-over { border-color: var(--accent); background: #fff7f3; }
.dropzone .ico { color: var(--accent); flex: none; }
.dropzone__text { font-size: 12.2px; line-height: 1.4; color: #626a75; }
.dropzone__file {
  font-size: 11.8px;
  font-weight: 600;
  color: var(--accent-ink);
  margin-left: auto;
  text-align: right;
  max-width: 40%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dropzone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.inquiry__legal {
  font-size: 11.2px;
  line-height: 1.5;
  color: #8e96a1;
  text-align: center;
}
.inquiry__status { font-size: 12.6px; font-weight: 600; color: #1c7a4a; text-align: center; }
.inquiry__status:empty { display: none; }
.inquiry__status.is-error { color: #c5341f; }
.btn.is-sending { opacity: 0.7; pointer-events: none; }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================================
   responsive
   ========================================================================= */
@media (max-width: 1180px) {
  .nav__list > li > a { padding: 10px 10px; font-size: 13.6px; }
  .footer__top { grid-template-columns: 1.4fr 0.9fr 0.9fr; }
  .footer__col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .about { grid-template-columns: 1fr; }
  .about__aside { max-width: 640px; }
  .equip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .header__icon { display: none; }
}

@media (max-width: 900px) {
  .topbar__pay { display: none; }
  .topbar__note { display: none; }
  .topbar__inner { justify-content: flex-end; }
  .nav-toggle { display: block; }
  .header__cta { display: none; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    margin: 0;
    padding: 22px var(--gutter) 32px;
    background: #fff;
    border-top: 1px solid var(--line);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__list > li > a {
    justify-content: space-between;
    padding: 14px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .dropdown {
    position: static;
    display: none;
    width: auto;
    translate: none;
    transform: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 6px 0 10px;
    opacity: 1;
    visibility: visible;
  }
  .has-dropdown.is-open .dropdown { display: block; }
  .has-dropdown:hover .dropdown { opacity: 1; }
  .nav__mobile-actions {
    display: grid;
    gap: 10px;
    margin-top: 26px;
  }

  .hero { min-height: auto; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .hero__stats li:nth-child(2) { border-right: 0; }
  .hero__stats li:nth-child(3) { padding-left: 0; }
  .only-desktop { display: none; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section__head-side { max-width: 52ch; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .rail__track { height: clamp(340px, 52vh, 440px); }
  .rail__hint { display: none; }
  .equip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-item__body { padding-right: 12px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; max-width: none; }
  .footer__col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .section { padding-block: 52px; }
  .cap-grid { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .hero__lede { font-size: 14.6px; }
  .hero__cta .btn { width: 100%; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .equip-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .rail__progress { max-width: none; }

  .inquiry { bottom: 0; right: 0; left: 0; }
  .inquiry__tab {
    writing-mode: horizontal-tb;
    transform: none;
    border-radius: 12px 12px 0 0;
    margin-left: auto;
    padding: 12px 20px;
    box-shadow: 0 -8px 24px rgba(12, 14, 17, 0.18);
  }
  .inquiry__tab .ico { transform: none; }
  .inquiry.is-open .inquiry__tab { transform: translateY(10px); }
  .inquiry__panel {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
    border-right: 1px solid var(--line);
    transform: translateY(102%);
    padding-bottom: max(22px, env(safe-area-inset-bottom));
  }
  .inquiry.is-open .inquiry__panel { transform: translateY(0); }
  .field-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}

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

/* ---------- simple document pages (privacy policy, sitemap) ---------- */
.doc-page .site-header { position: static; }
.doc { padding-block: clamp(44px, 6vw, 88px); }
.doc__title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 10px;
}
.doc__meta { font-size: 13px; color: var(--muted); margin-bottom: 34px; }
.doc__body { max-width: 74ch; font-size: 15px; line-height: 1.78; color: #454c55; }
.doc__body h2 {
  font-size: 17px;
  font-weight: 680;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 34px 0 8px;
}
.doc__body p { margin-bottom: 12px; }
.doc__body ul { list-style: disc; padding-left: 20px; display: grid; gap: 8px; margin-bottom: 14px; }
.doc__body li::marker { color: var(--accent); }
.doc__body a { color: var(--ink); border-bottom: 1px solid var(--line); }
.doc__body a:hover { color: var(--accent); border-color: currentColor; }
.doc__body b { color: var(--ink); font-weight: 650; }
.doc__contact {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.doc__back { margin-top: 44px; }
.sitemap { display: grid; gap: 0; list-style: none; padding-left: 0; }
.sitemap li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.sitemap a {
  align-self: flex-start;
  font-weight: 620;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 0;
}
.sitemap a:hover { color: var(--accent); }
.sitemap span { font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .doc-page .header__actions .btn--ghost { display: none; }
}

/* hero headline tuning */
.hero__title {
  font-size: clamp(1.95rem, 3.85vw, 3.45rem);
  max-width: 26ch;
}
.hero .btn--outline.btn--light { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.hero .btn--outline.btn--light:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }

/* ---------- fixes: right-edge inquiry tab reads top-to-bottom, no clipping ---------- */
.inquiry__tab {
  writing-mode: vertical-rl;
  transform: none;
  border-radius: 14px 0 0 14px;
  padding: 16px 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}
.inquiry__tab .ico { transform: none; width: 16px; height: 16px; margin-bottom: 2px; }
.inquiry.is-open .inquiry__tab { transform: translateX(8px); }
@media (max-width: 640px) {
  .inquiry__tab {
    writing-mode: horizontal-tb;
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 13.5px;
    padding: 12px 20px;
    border-radius: 12px 12px 0 0;
  }
  .inquiry.is-open .inquiry__tab { transform: translateY(10px); }
}

/* ---------- rail: snap must respect the gutter padding ---------- */
.rail__track {
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--shell)) / 2));
  height: clamp(330px, 40vh, 470px);
}
.section--products { padding-block: clamp(40px, 4.4vw, 60px) clamp(30px, 3.6vw, 48px); }
@media (max-width: 900px) {
  .rail__track { height: clamp(320px, 46vh, 420px); }
}

/* product photos are white-backed: blend so the card reads as one surface */
.product-card__media img { mix-blend-mode: multiply; }
.product-card__media { background: #fff; }

/* ---------- small-screen fixes ---------- */
@media (max-width: 700px) {
  .case { grid-template-columns: 1fr; }
  .case__media { aspect-ratio: 16 / 10; }
  .case__media img { height: 100%; }
  .case__body { padding: 18px 20px 20px; }
  .case__body h3 { font-size: 17px; }
}

@media (max-width: 640px) {
  .inquiry { inset: auto 12px 12px auto; }
  .inquiry__tab {
    border-radius: 999px;
    margin: 0;
    box-shadow: 0 10px 26px rgba(226, 96, 42, 0.32);
  }
  .inquiry.is-open .inquiry__tab { transform: none; opacity: 0; pointer-events: none; }
  .footer { padding-bottom: 74px; }
}

/* ---------- inquiry form polish ---------- */
.field label.dropzone {
  text-transform: none;
  letter-spacing: normal;
  font-size: 12.2px;
  font-weight: 500;
  color: inherit;
  justify-content: flex-start;
}
.dropzone__text { text-transform: none; letter-spacing: normal; }

@media (max-width: 640px) {
  body.inquiry-open { overflow: hidden; }
  body.inquiry-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(9, 11, 14, 0.55);
    backdrop-filter: blur(2px);
    z-index: 65;
  }
}

/* ---------- tighter products band + uncropped capability images ---------- */
.section--products .h2 { max-width: 34ch; }
.rail__track { height: clamp(320px, 34vh, 400px); }
.cap-card__media { background: #fff; }
.cap-card__media img {
  object-fit: contain;
  padding: 10px;
  mix-blend-mode: multiply;
}
@media (max-width: 900px) {
  .rail__track { height: clamp(300px, 42vh, 380px); }
}

/* CTA band: keep the orange glow behind the content, not over the buttons */
.cta-band__inner { z-index: 1; }
.cta-band::after { z-index: 0; }

/* ---------- product line filter chips ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid #d5dae1;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 560;
  color: #333a42;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}
.chip:hover { border-color: #9fa8b3; transform: translateY(-1px); }
.chip b {
  font-size: 11px;
  font-weight: 700;
  color: #8d95a0;
  padding-left: 2px;
}
.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.chip.is-active b { color: rgba(255, 255, 255, 0.55); }

.product-card__group {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1px;
}
.product-card[hidden] { display: none !important; }

@media (max-width: 640px) {
  .chips { gap: 6px; margin-bottom: 14px; }
  .chip { padding: 7px 12px; font-size: 12.2px; }
  .chip b { display: none; }
}

/* 产品卡：描述放宽到 3 行，滑轨略高一点 */
.rail__track { height: clamp(340px, 36vh, 430px); }
.product-card__body p {
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.product-card__body { gap: 5px; padding: 13px 16px 15px; }

/* 首屏：导语变短后把纵向留白略收，保证 800–900px 高视口下数据条在首屏内 */
.hero { padding-block: clamp(52px, 7vw, 88px) clamp(40px, 5vw, 64px); }
.hero__cta { margin-bottom: clamp(28px, 4vw, 44px); }
.hero__lede { max-width: 60ch; }

/* 矮视口（1366×768 这类）首屏再收一点 */
.hero { padding-block: clamp(44px, 6vw, 80px) clamp(36px, 4.4vw, 56px); }
.hero__lede { margin-bottom: 26px; line-height: 1.66; }
.hero__cta { margin-bottom: clamp(24px, 3.4vw, 40px); }
.hero__stats { padding-top: 18px; }
@media (max-height: 820px) and (min-width: 901px) {
  .hero__title { font-size: clamp(1.9rem, 3.4vw, 3rem); }
  .hero__lede { font-size: 15px; }
}

/* 蜜罐字段：给人看不见，给机器人可填 */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.inquiry__status a { text-decoration: underline; font-weight: 650; }

/* =========================================================
   WordPress 菜单标记适配（wp_nav_menu 输出 .menu-item / .sub-menu）
   ========================================================= */
.nav__list .menu-item-has-children { position: relative; }
.nav__list .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  width: min(400px, 84vw);
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  counter-reset: submenu;
}
.nav__list .menu-item-has-children:hover > .sub-menu,
.nav__list .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__list .sub-menu li { counter-increment: submenu; }
.nav__list .sub-menu a {
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.8px;
  line-height: 1.35;
  color: #2b3037;
}
.nav__list .sub-menu a::before {
  content: counter(submenu, decimal-leading-zero);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 2px;
}
.nav__list .sub-menu a:hover { background: var(--paper-2); color: var(--ink); }
.nav__list .menu-item-has-children > a::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 5px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.5;
}

@media (max-width: 900px) {
  .nav__list .sub-menu {
    position: static;
    display: none;
    width: auto;
    translate: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 6px 0 10px;
  }
  .nav__list .menu-item-has-children.is-open > .sub-menu { display: block; }
  .nav__list .menu-item-has-children > a::after { display: none; }
  .nav__list .sub-menu a { padding: 10px 4px; }
}
