/* Jielong Crane - Static Site Styles */
:root {
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  --brand-300: #93c5fd;
  --brand-500: #3b82f6;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --brand-800: #1e40af;
  --brand-900: #1e3a5f;
  --brand-950: #0f172a;
  --brand: var(--brand-600);
  --steel-100: #f1f5f9;
  --steel-200: #e2e8f0;
  --steel-300: #cbd5e1;
  --steel-400: #94a3b8;
  --steel-500: #64748b;
  --steel-600: #475569;
  --steel-700: #334155;
  --steel-800: #1e293b;
  --steel-900: #0f172a;
  --green-600: #16a34a;
  --green-700: #15803d;
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --container: 1280px;
  --radius: 0.75rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: #fff; color: var(--steel-800); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .container { padding: 0 1.5rem; } }

.site { min-height: 100vh; display: flex; flex-direction: column; }
.site main { flex: 1; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--steel-200); box-shadow: 0 1px 12px rgba(0,0,0,0.04); transition: box-shadow 0.3s ease, border-color 0.3s ease; }
.header.is-scrolled { box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1); border-bottom-color: transparent; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
@media (min-width: 768px) { .header-inner { height: 5rem; } }

.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-icon { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--steel-200); }
.logo-icon svg { width: 1.5rem; height: 1.5rem; color: var(--brand-300); }
.logo-icon .logo-img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { font-weight: 700; font-size: 1.125rem; color: var(--steel-900); line-height: 1.2; }
.logo-tagline { font-size: 0.75rem; color: var(--steel-500); display: none; }
@media (min-width: 640px) { .logo-tagline { display: block; } }

.nav-desktop { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-desktop a { position: relative; padding: 0.5rem 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--steel-600); border-radius: 0.5rem; transition: color 0.2s, background 0.2s; }
.nav-desktop a:hover { color: var(--brand-700); background: var(--steel-100); }
.nav-desktop a.active { color: var(--brand-700); background: var(--brand-50); }
.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.25rem;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--green-600), var(--brand-600));
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-desktop a:hover::after,
.nav-desktop a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.menu-toggle { display: flex; padding: 0.5rem; border: none; background: none; color: var(--steel-600); border-radius: 0.5rem; cursor: pointer; }
.menu-toggle:hover { background: var(--steel-100); }
.menu-toggle svg { width: 1.5rem; height: 1.5rem; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.nav-mobile { display: none; padding-bottom: 1rem; border-top: 1px solid var(--steel-100); padding-top: 0.75rem; }
.nav-mobile.open { display: block; }
@media (min-width: 1024px) { .nav-mobile { display: none !important; } }
.nav-mobile a { display: block; padding: 0.625rem 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--steel-600); border-radius: 0.5rem; }
.nav-mobile a:hover, .nav-mobile a.active { color: var(--brand-700); background: var(--brand-50); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.5rem; font-weight: 600; font-size: 0.875rem; border-radius: 0.5rem; border: none; cursor: pointer; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; font-family: inherit; position: relative; overflow: hidden; }
.btn-primary { background: linear-gradient(135deg, var(--brand-600), var(--brand-500)); color: #fff; box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3); }
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.22) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { background: var(--brand-700); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35); }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-secondary { background: var(--steel-100); color: var(--steel-800); }
.btn-secondary:hover { background: var(--steel-200); }
.btn-green { background: var(--green-600); color: #fff; }
.btn-green:hover { background: var(--green-700); }
.btn-sm { padding: 0.625rem 1rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; }
.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: inline-flex; } }

.section { padding: 4rem 0; }
.section-lg { padding: 6rem 0; }
.bg-light {
  background-color: var(--steel-100);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.06), transparent),
    radial-gradient(circle at 100% 100%, rgba(22, 163, 74, 0.04), transparent 40%);
}
.bg-dark { background: var(--brand-950); color: #fff; }
.bg-brand { background: var(--brand-600); color: #fff; }

.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin-left: auto; margin-right: auto; }
.section-title { font-size: 1.875rem; font-weight: 700; color: var(--steel-900); letter-spacing: -0.025em; line-height: 1.2; }
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
.section-header.center .section-title::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  margin: 0.75rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green-600), var(--brand-600));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-header.center.reveal.is-visible .section-title::after,
.section-header.center:not(.reveal) .section-title::after { transform: scaleX(1); }
.section-title.light { color: #fff; }
.section-subtitle { font-size: 1.125rem; color: var(--steel-500); margin-top: 0.75rem; max-width: 48rem; }
.section-subtitle.light { color: var(--steel-300); }

.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; } .mt-10 { margin-top: 2.5rem; }
.mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }

.hero { min-height: 85vh; display: flex; align-items: center; color: #fff; background-size: cover; background-position: center; }
.hero-inner { padding: 5rem 0; }
.hero-label { color: var(--brand-300); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.875rem; margin-bottom: 1rem; }
.hero-title { font-size: 2.25rem; font-weight: 700; line-height: 1.15; max-width: 56rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }
.hero-desc { font-size: 1.125rem; color: var(--steel-300); max-width: 42rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .hero-desc { font-size: 1.25rem; } }
.hero-inner > * {
  animation: heroFadeUp 0.7s ease both;
}
.hero-inner > *:nth-child(1) { animation-delay: 0.08s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.16s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.24s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.32s; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-hero { padding: 5rem 0; color: #fff; background-size: cover; background-position: center; }
@media (min-width: 768px) { .page-hero { padding: 7rem 0; } }
.page-hero .breadcrumb { color: var(--brand-300); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.page-hero h1 { font-size: 2.25rem; font-weight: 700; max-width: 56rem; }
@media (min-width: 768px) { .page-hero h1 { font-size: 3rem; } }
.page-hero p { font-size: 1.125rem; color: var(--steel-300); margin-top: 1rem; max-width: 48rem; }

.grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-sm-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-md-2 { grid-template-columns: repeat(2, 1fr); } .grid-md-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) {
  .grid-lg-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-lg-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-lg-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-lg-5 { grid-template-columns: repeat(5, 1fr); }
  .grid-lg-6 { grid-template-columns: repeat(6, 1fr); }
}

.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } }

.block-media-text {
  background: #fff;
}
.block-media-text-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 992px) {
  .block-media-text-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
  }
}
.block-media-text-media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--steel-100);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}
.block-media-text-media img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.block-media-text-body {
  max-width: 36rem;
}
.block-media-text-accent {
  display: block;
  width: 3rem;
  height: 0.25rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: var(--brand-600);
}
.block-media-text-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--steel-900);
}
.block-media-text-abstract {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--steel-600);
}
.block-media-text-abstract p {
  margin: 0 0 1rem;
}
.block-media-text-abstract p:last-child {
  margin-bottom: 0;
}

.card { background: #fff; border-radius: var(--radius); border: 1px solid var(--steel-200); overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.05); transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s; display: flex; flex-direction: column; }
.card:hover { box-shadow: 0 12px 32px rgba(37, 99, 235, 0.1); transform: translateY(-3px); border-color: var(--brand-300); }
.card-body { padding: 1.25rem; } .card-body-lg { padding: 1.5rem; flex: 1; } .card-body-xl { padding: 2rem; }
.card-img { aspect-ratio: 4/3; overflow: hidden; display: block; width: 100%; flex-shrink: 0; }
.card-img-wide { aspect-ratio: 16/10; overflow: hidden; display: block; width: 100%; flex-shrink: 0; }
.card-img img, .card-img-wide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.card:hover .card-img img, .card:hover .card-img-wide img { transform: scale(1.05); }
.card h3 { font-weight: 700; color: var(--steel-900); margin-bottom: 0.5rem; }
.card p { font-size: 0.875rem; color: var(--steel-500); }
.card-link { display: block; }
.card-link:hover h3 { color: var(--brand-700); }

.tag { display: inline-block; font-size: 0.75rem; background: var(--steel-100); color: var(--steel-600); padding: 0.25rem 0.75rem; border-radius: 9999px; }
.tag-brand { background: var(--brand-50); color: var(--brand-700); padding: 0.125rem 0.5rem; border-radius: 0.25rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.375rem; }

.cap-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
.cap-box { padding: 1rem; background: var(--steel-100); border-radius: 0.5rem; border: 1px solid var(--steel-200); }
.cap-box h4 { font-weight: 700; font-size: 0.875rem; color: var(--steel-900); margin-bottom: 0.25rem; }
.cap-box p { font-size: 0.75rem; color: var(--steel-500); }

.feature-card { padding: 1.5rem; border-radius: var(--radius); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.feature-num { width: 2.5rem; height: 2.5rem; border-radius: 9999px; background: var(--brand-600); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.875rem; margin-bottom: 1rem; }
.feature-card h3 { font-weight: 700; font-size: 1.125rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.875rem; color: var(--steel-400); line-height: 1.6; }

.scenario-meta { margin-bottom: 0.75rem; }
.scenario-meta-label { font-size: 0.75rem; font-weight: 600; color: var(--steel-500); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.equipment-text { font-size: 0.875rem; color: var(--brand-700); font-weight: 500; margin-bottom: 0.75rem; }

.inquiry-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--steel-600); margin-bottom: 0.5rem; }
.inquiry-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-500); flex-shrink: 0; }
.icon-box { width: 3rem; height: 3rem; border-radius: 0.5rem; background: var(--brand-100); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.icon-box svg { width: 1.5rem; height: 1.5rem; color: var(--brand-700); }

.project-tag { position: absolute; top: 0.75rem; left: 0.75rem; background: var(--brand-600); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 9999px; }
.card-img-relative { position: relative; }
.ref-dl { display: grid; gap: 0.5rem; }
.ref-dl div { display: flex; gap: 0.5rem; font-size: 0.875rem; }
.ref-dl dt { font-weight: 600; color: var(--steel-700); min-width: 120px; flex-shrink: 0; }
.ref-dl dd { color: var(--steel-500); }

.split-card { display: grid; }
@media (min-width: 768px) { .split-card { grid-template-columns: 1fr 1fr; } }
.split-card-img { aspect-ratio: 1; overflow: hidden; min-height: 200px; }
@media (min-width: 768px) { .split-card-img { aspect-ratio: auto; } }
.split-card-img img { width: 100%; height: 100%; object-fit: cover; }
.app-list li { display: flex; gap: 0.5rem; font-size: 0.875rem; color: var(--steel-600); margin-bottom: 0.25rem; }
.app-list li::before { content: '•'; color: var(--brand-500); }
.link-arrow { color: var(--brand-600); font-weight: 600; font-size: 0.875rem; }
.link-arrow:hover { color: var(--brand-700); }
.rounded-img { border-radius: 1rem; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

.process-step { text-align: center; }
.process-num { width: 3.5rem; height: 3.5rem; margin: 0 auto 0.75rem; border-radius: 9999px; background: var(--brand-100); color: var(--brand-700); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.125rem; }
.process-step p { font-size: 0.875rem; font-weight: 600; color: var(--steel-800); }

.supply-pill { background: #fff; border-radius: 0.5rem; padding: 1rem; text-align: center; border: 1px solid var(--steel-200); box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.supply-pill p { font-size: 0.875rem; font-weight: 600; color: var(--steel-800); }

.contact-section {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(37, 99, 235, 0.08), transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.contact-shell {
  background: #fff;
  border: 1px solid var(--steel-200);
  border-radius: 1.25rem;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 20px 50px rgba(15, 23, 42, 0.08);
  display: grid;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .contact-shell { grid-template-columns: 340px minmax(0, 1fr); min-height: 640px; }
}

/* ---- Left sidebar ---- */
.contact-sidebar {
  background:
    linear-gradient(165deg, #0f172a 0%, #1e3a5f 52%, #1d4ed8 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 2.25rem 2rem;
  position: relative;
}
.contact-sidebar::after {
  background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.12), transparent 55%);
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.contact-sidebar > * { position: relative; z-index: 1; }

.contact-sidebar-title {
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.625rem;
}
.contact-sidebar-intro {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.contact-info-list { display: grid; flex: 1; gap: 0.625rem; }
.contact-info-item {
  align-items: center;
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.875rem;
  display: flex;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  transition: background 0.2s, border-color 0.2s;
}
.contact-info-item:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.18);
}
.contact-info-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 0.625rem;
  color: #fff;
  display: flex;
  flex-shrink: 0;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}
.contact-info-icon svg { height: 1.125rem; width: 1.125rem; }
.contact-info-content { min-width: 0; }
.contact-info-content dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.15rem;
  text-transform: uppercase;
}
.contact-info-content dd {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  word-break: break-word;
}
.contact-info-content a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}
.contact-info-content a:hover { text-decoration-color: rgba(255, 255, 255, 0.8); }

.contact-actions {
  display: grid;
  gap: 0.625rem;
  margin-top: 1.75rem;
}
@media (min-width: 520px) {
  .contact-actions { grid-template-columns: 1fr 1fr; }
}
.contact-actions .btn {
  font-size: 0.8125rem;
  justify-content: center;
  padding: 0.7rem 1rem;
  width: 100%;
}
.btn-outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}

/* ---- Right form panel ---- */
.contact-main {
  display: flex;
  flex-direction: column;
  padding: 2.25rem 2rem 2rem;
}
@media (min-width: 768px) {
  .contact-main { padding: 2.5rem 2.75rem 2.25rem; }
}

.contact-form-head { margin-bottom: 1.75rem; }
.contact-form-head .section-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .contact-form-head .section-title { font-size: 1.75rem; }
}
.contact-form-head .section-title::after { display: none; }
.contact-form-head p {
  color: var(--steel-500);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0;
  max-width: 36rem;
}

.contact-form-grid {
  display: grid;
  gap: 0 1.25rem;
}
@media (min-width: 640px) {
  .contact-form-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-grid .form-group-full { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .contact-form-grid.contact-form-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .contact-form-grid.contact-form-grid-4 .form-hint { display: none; }
}

.contact-section .form-group { margin-bottom: 1.375rem; }
.contact-section .form-group label {
  color: var(--steel-700);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 0.45rem;
}
.contact-section .form-control {
  background: #f8fafc;
  border: 1px solid var(--steel-200);
  border-radius: 0.625rem;
  font-size: 0.9375rem;
  padding: 0.7rem 0.9rem;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.contact-section .form-control:hover {
  background: #fff;
  border-color: var(--steel-300);
}
.contact-section .form-control:focus {
  background: #fff;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.contact-section textarea.form-control {
  line-height: 1.55;
  min-height: 140px;
}

.form-submit-row {
  align-items: center;
  border-top: 1px solid var(--steel-100);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 1.5rem;
}
@media (min-width: 640px) {
  .form-submit-row {
    flex-direction: row;
    justify-content: space-between;
  }
}
.form-submit-note {
  color: var(--steel-500);
  font-size: 0.8125rem;
  line-height: 1.55;
  margin: 0;
  max-width: 22rem;
}
.contact-section .form-submit-row .btn-primary {
  min-width: 11rem;
  padding: 0.8rem 1.75rem;
  width: 100%;
}
@media (min-width: 640px) {
  .contact-section .form-submit-row .btn-primary { width: auto; }
}

/* Standalone inquiry card (about page inject) */
.inquiry-form-card {
  background: #fff;
  border: 1px solid var(--steel-200);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
.inquiry-form-head {
  background: linear-gradient(135deg, var(--brand-950) 0%, var(--brand-900) 55%, var(--brand-700) 100%);
  color: #fff;
  padding: 1.75rem 2rem 1.375rem;
}
.inquiry-form-head .section-title { color: #fff; font-size: 1.5rem; margin-bottom: 0.5rem; }
.inquiry-form-head .section-title::after { background: rgba(255, 255, 255, 0.45); }
.inquiry-form-head p { color: rgba(255, 255, 255, 0.82); font-size: 0.9375rem; line-height: 1.6; margin: 0; }
.inquiry-form-body { padding: 2rem; }

.contact-grid { display: grid; gap: 2rem; }
.contact-dl { display: grid; gap: 1.25rem; }
.contact-dl dt { font-size: 0.875rem; font-weight: 600; color: var(--steel-500); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-dl dd { color: var(--steel-900); font-weight: 500; margin-top: 0.25rem; }
.contact-dl a { color: var(--brand-600); }
.contact-dl a:hover { color: var(--brand-700); }

.inquiry-form-body .alert { margin-bottom: 1.25rem; }

@media (max-width: 1023px) {
  .contact-sidebar { padding: 2rem 1.5rem; }
  .contact-main { padding: 2rem 1.5rem; }
}

@media (max-width: 639px) {
  .contact-shell { border-radius: 1rem; }
  .contact-actions { grid-template-columns: 1fr; }
  .form-submit-note { max-width: none; text-align: center; }
}

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--steel-700); margin-bottom: 0.375rem; }
.form-group .required { color: #ef4444; }
.form-hint { font-size: 0.8125rem; color: var(--steel-500); margin-top: 0.35rem; line-height: 1.4; }
.form-control.is-invalid { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12); }
.form-field-error { font-size: 0.8125rem; color: #dc2626; margin-top: 0.35rem; }
.form-control { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--steel-300); border-radius: 0.5rem; font-family: inherit; font-size: 1rem; }
.form-control:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-100); }
textarea.form-control { resize: vertical; min-height: 120px; }

.alert { margin-bottom: 1rem; padding: 0.875rem 1rem; border-radius: 0.5rem; font-size: 0.875rem; line-height: 1.5; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.inquiry-form-body .alert { margin-bottom: 1.25rem; }

.form-success { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 0.5rem; padding: 1.5rem; text-align: center; }
.form-success h3 { color: #166534; font-size: 1.125rem; margin-bottom: 0.5rem; }
.form-success p { color: #15803d; font-size: 0.875rem; margin-bottom: 1rem; }
.success-icon { width: 3rem; height: 3rem; margin: 0 auto 1rem; border-radius: 9999px; background: #dcfce7; display: flex; align-items: center; justify-content: center; }
.success-icon svg { width: 1.5rem; height: 1.5rem; color: #16a34a; }
.hidden { display: none !important; }

.footer { background: var(--brand-950); color: var(--steel-300); padding: 3rem 0; }
@media (min-width: 768px) { .footer { padding: 4rem 0; } }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer h3 { color: #fff; font-weight: 700; font-size: 1.25rem; margin-bottom: 0.75rem; }
.footer h4 { color: #fff; font-weight: 600; margin-bottom: 1rem; }
.footer p, .footer li { font-size: 0.875rem; line-height: 1.6; }
.footer ul { display: grid; gap: 0.5rem; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--steel-700); margin-top: 2.5rem; padding-top: 1.5rem; text-align: center; font-size: 0.875rem; color: var(--steel-500); }

.anchor-section { scroll-margin-top: 6rem; }

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1.75rem;
  font-size: 0.875rem;
  color: var(--steel-500);
}
.product-breadcrumb a {
  color: var(--brand);
  text-decoration: none;
}
.product-breadcrumb a:hover { text-decoration: underline; }
.product-breadcrumb span[aria-current="page"] {
  color: var(--steel-800);
  font-weight: 600;
}
.product-breadcrumb > :not(:first-child)::before {
  content: '/';
  margin-right: 0.75rem;
  color: var(--steel-400);
}

.product-category-catalog {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .product-category-catalog { grid-template-columns: repeat(3, 1fr); }
}
.product-category-column {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--steel-200);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-category-column li + li {
  border-top: 1px solid var(--steel-200);
}
.product-category-column a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.125rem;
  color: var(--steel-800);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.product-category-column a:hover {
  background: var(--steel-50);
  color: var(--brand);
}
.product-category-arrow {
  color: var(--steel-400);
  font-size: 1.125rem;
  line-height: 1;
}

.product-category-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .product-category-list { grid-template-columns: repeat(2, 1fr); }
}
.product-category-list-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.125rem;
  background: #fff;
  border: 1px solid var(--steel-200);
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-category-list-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.product-category-list-thumb {
  width: 72px;
  height: 72px;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--steel-100);
}
.product-category-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-category-list-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 2rem;
}
.product-category-filter .filter-btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--steel-200);
  border-radius: 2rem;
  background: #fff;
  color: var(--steel-600);
  transition: all 0.2s;
}
.product-category-filter .filter-btn:hover,
.product-category-filter .filter-btn.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* 产品页 — 左侧三级悬浮分类 + 右侧商品 */
.page-hero-sm { padding: 4rem 0; }
@media (min-width: 768px) { .page-hero-sm { padding: 5rem 0; } }
.page-hero-sm h1 { font-size: 1.875rem; }
@media (min-width: 768px) { .page-hero-sm h1 { font-size: 2.5rem; } }
.page-hero .breadcrumb a { color: var(--brand-300); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: #fff; text-decoration: underline; }
.article-hero-meta {
  margin-top: 0.75rem !important;
  font-size: 0.875rem !important;
  color: var(--steel-400) !important;
}

/* Article list & detail */
.article-grid { gap: 1.75rem; align-items: stretch; }
.article-card { height: 100%; display: flex; flex-direction: column; }
.article-card .card-body-lg { flex: 1; display: flex; flex-direction: column; }
.article-card .card-body-lg > p { flex: 1; }
.article-card h3 a { color: inherit; text-decoration: none; }
.article-card h3 a:hover { color: var(--brand-700); }
.card-img-link { display: block; text-decoration: none; }
.article-empty {
  padding: 3rem 1rem;
  color: var(--steel-500);
  font-size: 1rem;
}

.article-detail-body {
  padding: 2.5rem 0 4.5rem;
  background: #fff;
}
@media (min-width: 768px) {
  .article-detail-body {
    padding: 3.5rem 0 5.5rem;
  }
}
.article-detail-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 0.25rem;
}
.article-detail-head {
  margin-bottom: 0;
}
.article-detail-title {
  margin: 0;
  font-size: clamp(1.625rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.45;
  color: var(--steel-900);
  letter-spacing: -0.015em;
  text-align: left;
}
.article-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem 0.625rem;
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--steel-500);
  text-align: left;
}
.article-detail-meta time {
  color: var(--steel-500);
}
.article-detail-meta span + time::before {
  content: '·';
  margin-right: 0.625rem;
  color: var(--steel-400);
}
.article-detail-divider {
  margin: 1.25rem 0 0;
  border: 0;
  height: 5px;
  background:
    linear-gradient(var(--steel-300), var(--steel-300)) 0 0 / 100% 1px no-repeat,
    linear-gradient(var(--steel-300), var(--steel-300)) 0 100% / 100% 1px no-repeat;
}
.article-detail-lead {
  margin: 1.75rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--steel-600);
  text-align: left;
}
.article-detail-content {
  margin-top: 1.75rem;
  line-height: 1.9;
  color: var(--steel-800);
  font-size: 1.0625rem;
  text-align: left;
}
.article-detail-lead + .article-detail-content {
  margin-top: 1.25rem;
}
.article-detail-content > :first-child {
  margin-top: 0;
}
.article-detail-content > :last-child {
  margin-bottom: 0;
}
.article-detail-content p {
  margin: 0 0 1.375rem;
  text-indent: 0;
}
.article-detail-content h2,
.article-detail-content h3,
.article-detail-content h4 {
  margin: 2rem 0 0.875rem;
  color: var(--steel-900);
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.article-detail-content h2 { font-size: 1.375rem; }
.article-detail-content h3 { font-size: 1.1875rem; }
.article-detail-content ul,
.article-detail-content ol {
  margin: 0 0 1.375rem 1.25rem;
  padding: 0;
}
.article-detail-content li {
  margin-bottom: 0.5rem;
}
.article-detail-content li::marker {
  color: var(--brand-600);
}
.article-detail-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.75rem auto;
  border-radius: 0.375rem;
}
.article-detail-content blockquote {
  margin: 1.5rem 0;
  padding: 0.875rem 0 0.875rem 1rem;
  border-left: 3px solid var(--brand-500);
  color: var(--steel-600);
}
.article-detail-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--steel-200);
  text-align: left;
}
.article-detail-back {
  display: inline-flex;
  align-items: center;
  color: var(--steel-600);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}
.article-detail-back:hover {
  color: var(--brand-700);
}

.article-detail {
  max-width: 860px;
  margin: 0 auto;
}
.article-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.article-detail-cover {
  margin: 0 0 1.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--steel-200);
}
.article-detail-cover img {
  width: 100%;
  display: block;
}
.article-detail-summary {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--steel-600);
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--steel-200);
}

.page-hero-plain {
  background: var(--steel-100) !important;
  color: var(--steel-800);
  padding: 1.5rem 0 !important;
}
.page-hero-plain .breadcrumb,
.page-hero-plain .breadcrumb a {
  color: var(--steel-500);
}
.page-hero-plain .breadcrumb a:hover {
  color: var(--brand-700);
}

.article-category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 2rem;
}
.article-category-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--steel-200);
  background: #fff;
  color: var(--steel-600);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
}
.article-category-btn:hover {
  border-color: var(--brand-300);
  color: var(--brand-700);
}
.article-category-btn.is-active {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
}

.article-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
}
.article-card-category {
  padding: 0.1875rem 0.625rem;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.article-card-date {
  font-size: 0.8125rem;
  color: var(--steel-500);
}

.product-card-title a {
  color: inherit;
  text-decoration: none;
}
.product-card-title a:hover {
  color: var(--brand-700);
}
.product-card .card-img-link {
  display: block;
  text-decoration: none;
}

.product-detail-section {
  background: var(--steel-50);
}
.product-detail-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: start;
  padding: 1.75rem;
  background: #fff;
  border-radius: calc(var(--radius) + 0.25rem);
  border: 1px solid var(--steel-200);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}
@media (min-width: 900px) {
  .product-detail-intro {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.5rem;
    padding: 2.5rem;
  }
}
.product-detail-cover {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--steel-100);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
}
.product-detail-cover img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.product-detail-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.product-detail-gallery-item {
  border-radius: 0.5rem;
  overflow: hidden;
  width: 4.5rem;
  height: 4.5rem;
  border: 2px solid var(--steel-200);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}
.product-detail-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
}
.product-detail-card-summary {
  padding: 0;
}
.product-detail-card-summary .product-card-title {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  margin: 0 0 0.5rem;
}
.product-detail-card-action {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.product-detail-card-action::before {
  display: none;
}
.product-detail-card-action .btn {
  width: 100%;
  max-width: 16rem;
}
.product-detail-aside-block {
  margin: 0;
}
.product-detail-title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--steel-900);
  letter-spacing: -0.025em;
}
.product-detail-lead {
  margin: -0.5rem 0 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--steel-600);
}

.product-detail-panel {
  margin-top: 2rem;
  background: #fff;
  border-radius: calc(var(--radius) + 0.25rem);
  border: 1px solid var(--steel-200);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}
@media (min-width: 900px) {
  .product-detail-panel {
    margin-top: 2.5rem;
  }
}
.product-detail-panel-head {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--steel-100);
  background: linear-gradient(to bottom, #fff, var(--steel-50));
}
@media (min-width: 900px) {
  .product-detail-panel-head {
    padding: 1.5rem 2.5rem;
  }
}
.product-detail-panel-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--steel-900);
}
.product-detail-panel-body {
  padding: 1.75rem;
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .product-detail-panel-body {
    padding: 2.5rem;
    gap: 2.5rem;
  }
}
.product-detail-segment-title {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-600);
}
.product-detail-segment-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--steel-700);
}
.product-detail-segment-highlight {
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--brand-50) 0%, var(--steel-50) 100%);
  border-left: 4px solid var(--brand-500);
}
.product-detail-sidebar .product-detail-segment-highlight {
  padding: 1rem 1.125rem;
  border-radius: 0.625rem;
  background: var(--steel-50);
  border-left: 3px solid var(--brand-500);
}
.product-detail-config-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.625rem;
}
.product-detail-sidebar .product-detail-config-grid {
  grid-template-columns: 1fr;
}
@media (min-width: 1100px) {
  .product-detail-sidebar .product-detail-config-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.product-detail-config-grid li {
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  background: var(--steel-50);
  border: 1px solid var(--steel-200);
  color: var(--steel-800);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
}
.product-detail-spec-table {
  margin: 0;
  border: 1px solid var(--steel-200);
  border-radius: 0.625rem;
  overflow: hidden;
}
.product-detail-spec-table div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  background: #fff;
}
.product-detail-spec-table div:nth-child(even) {
  background: var(--steel-50);
}
@media (min-width: 560px) {
  .product-detail-spec-table div {
    grid-template-columns: 10rem 1fr;
    gap: 1.5rem;
  }
}
.product-detail-spec-table dt {
  color: var(--steel-500);
  font-weight: 600;
}
.product-detail-spec-table dd {
  margin: 0;
  color: var(--steel-800);
}
.product-detail-prose {
  padding-top: 0.5rem;
  line-height: 1.85;
  color: var(--steel-700);
}
.product-detail-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

.product-page-section {
  padding-top: 2.5rem;
  overflow: visible;
}
.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .product-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 2.5rem;
  }
}
.product-layout-content {
  min-width: 0;
}

/* 左侧分类菜单 */
.product-cat-menu {
  position: relative;
  z-index: 20;
  background: #fff;
  border: 1px solid var(--steel-200);
  border-radius: 0.5rem;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
  overflow: visible;
}
.product-cat-all {
  display: block;
  padding: 0.875rem 1rem;
  background: var(--brand-700);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0.5rem 0.5rem 0 0;
  transition: background 0.15s;
}
.product-cat-all:hover {
  background: var(--brand-600);
  color: #fff;
}
.product-cat-all.is-active {
  background: var(--brand-600);
}
.product-cat-nav {
  position: relative;
  overflow: visible;
}
.product-cat-l1,
.product-cat-l2,
.product-cat-l3 {
  list-style: none;
  margin: 0;
  padding: 0;
}
.product-cat-l1 {
  padding: 0.375rem 0;
}
.product-cat-l2,
.product-cat-l3 {
  padding: 0.375rem 0;
}
.product-cat-item {
  position: relative;
}
.product-cat-l1 > .product-cat-item + .product-cat-item {
  border-top: 1px solid var(--steel-100);
}
.product-cat-l2 > .product-cat-item + .product-cat-item,
.product-cat-l3 > .product-cat-item + .product-cat-item {
  margin-top: 0.125rem;
}
.product-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6875rem 1rem;
  color: var(--steel-700);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  transition: background 0.15s, color 0.15s;
}
.product-cat-l2 .product-cat-link,
.product-cat-l3 .product-cat-link {
  padding: 0.5625rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 400;
}
.product-cat-link:hover {
  background: var(--brand-50);
  color: var(--brand-700);
}
.product-cat-item.is-in-path > .product-cat-link {
  color: var(--brand-700);
  font-weight: 600;
  background: var(--brand-50);
}
.product-cat-item.is-active > .product-cat-link {
  background: var(--brand-600);
  color: #fff;
  font-weight: 600;
}
.product-cat-item.is-active > .product-cat-link .product-cat-arrow {
  color: rgba(255, 255, 255, 0.85);
}
.product-cat-label {
  flex: 1;
  min-width: 0;
}
.product-cat-arrow {
  flex-shrink: 0;
  display: inline-flex;
  color: var(--steel-300);
  transition: color 0.15s, transform 0.15s;
}
.product-cat-item.has-children:hover > .product-cat-link .product-cat-arrow,
.product-cat-item.is-in-path > .product-cat-link .product-cat-arrow {
  color: var(--brand-400);
}
.product-cat-item.is-active > .product-cat-link:hover {
  background: var(--brand-600);
  color: #fff;
}

/* 悬浮子级面板 — 无子级则不渲染，不占位 */
.product-cat-flyout {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--steel-200);
  border-radius: 0.5rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
  z-index: 30;
}
.product-cat-l2 .product-cat-flyout {
  z-index: 40;
}
.product-cat-item.has-children:hover > .product-cat-flyout {
  display: block;
}
.product-cat-flyout::before {
  content: '';
  position: absolute;
  left: -0.5rem;
  top: 0;
  width: 0.5rem;
  height: 100%;
}

/* 移动端：子级内嵌展开 */
@media (max-width: 899px) {
  .product-cat-menu {
    overflow: hidden;
  }
  .product-cat-flyout {
    display: none;
    position: static;
    left: auto;
    top: auto;
    min-width: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: var(--steel-50, #f8fafc);
    border-top: 1px solid var(--steel-100);
  }
  .product-cat-flyout::before {
    display: none;
  }
  .product-cat-item.has-children.is-open > .product-cat-flyout {
    display: block;
  }
  .product-cat-l2 .product-cat-flyout {
    background: #fff;
    padding-left: 0.75rem;
  }
  .product-cat-l3 {
    padding-left: 0.5rem;
  }
}

.product-card-category {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--brand);
  font-weight: 600;
}

.product-grid { align-items: stretch; gap: 1.75rem; }
.product-card { height: 100%; }
.product-card .card-img {
  background: var(--steel-100);
  box-shadow: inset 0 0 0 1px var(--steel-200);
  border-bottom: 1px solid var(--steel-200);
}
.product-card .card-img img {
  box-sizing: border-box;
}
.product-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.product-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--steel-900);
  margin: 0 0 0.25rem;
  line-height: 1.3;
}
.product-card-list {
  display: grid;
  gap: 0.375rem;
  margin: 0;
  padding: 0;
}
.product-card-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--steel-700);
}
.product-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-500);
}
.product-card-meta {
  margin: auto 0 0;
  padding-top: 0.875rem;
  border-top: 1px solid var(--steel-200);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--steel-600);
}
.product-card .product-card-meta {
  color: var(--steel-600);
  margin-bottom: 0;
}
.product-card-meta-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--steel-500);
  margin-bottom: 0.25rem;
}
.product-card-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--steel-200);
  margin-top: auto;
  width: 100%;
  box-sizing: border-box;
}
.product-card-action::before {
  content: '';
  flex: 1 1 auto;
}
.product-card-action .btn {
  flex: none;
  width: auto;
  min-width: 8rem;
}
.product-card-action .btn-outline {
  color: var(--brand-700);
  border: 2px solid var(--steel-300);
  background: #fff;
}
.product-card-action .btn-outline:hover {
  background: var(--brand-50);
  border-color: var(--brand-400);
}

.pagination {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--steel-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.pagination-info {
  font-size: 0.875rem;
  color: var(--steel-500);
  margin: 0;
}
.pagination-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.pagination-pages {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.pagination-btn,
.pagination-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--steel-700);
  background: #fff;
  border: 1px solid var(--steel-200);
  border-radius: 0.5rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.pagination-page {
  min-width: 2.5rem;
  padding: 0;
}
.pagination-btn:hover,
.pagination-page:hover {
  border-color: var(--brand-500);
  color: var(--brand-700);
  background: var(--brand-50);
}
.pagination-page.is-active {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
}
.pagination-btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
@media (min-width: 640px) {
  .pagination {
    flex-direction: row;
    justify-content: space-between;
  }
  .pagination-info { order: 1; }
  .pagination-controls { order: 2; }
}
.prose p { color: var(--steel-600); line-height: 1.75; margin-bottom: 1rem; }
.prose p:last-child { margin-bottom: 0; }
.max-w-5xl { max-width: 64rem; margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; margin-left: auto; margin-right: auto; }
.cta-section h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 1rem; }
@media (min-width: 768px) { .cta-section h2 { font-size: 2.25rem; } }
.cta-section p { margin-bottom: 2rem; }
.cta-section .cta-desc { color: var(--brand-100); }
.cta-section.bg-dark p { color: var(--steel-400); }
.cta-white { background: #fff; color: var(--brand-700); }
.cta-white:hover { background: var(--brand-50); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-scale {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

::selection { background: var(--brand-100); color: var(--brand-900); }

/* Float sidebar */
.float-bar {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 90;
  display: none;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--steel-200);
  border-right: none;
  border-radius: 0.75rem 0 0 0.75rem;
  box-shadow: -6px 8px 32px rgba(37, 99, 235, 0.14);
  overflow: visible;
  opacity: 0;
  transform: translateY(-50%) translateX(110%);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease,
    box-shadow 0.3s ease;
}
.float-bar.is-ready {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.float-bar:hover { box-shadow: -8px 12px 40px rgba(37, 99, 235, 0.18); }
@media (min-width: 768px) { .float-bar { display: flex; } }

.float-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 4rem;
  min-height: 4.5rem;
  padding: 0.8rem 0.4rem;
  background: #fff;
  color: var(--brand-700);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  border: none;
  border-bottom: 1px solid var(--steel-100);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.25s;
  font-family: inherit;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
}
.float-item:last-child { border-bottom: none; border-radius: 0 0 0 0.75rem; }
.float-item:first-child { border-radius: 0.75rem 0 0 0; }
.float-item:hover {
  background: linear-gradient(180deg, var(--brand-50) 0%, #fff 100%);
  color: var(--brand-700);
  transform: translateX(-2px);
}
.float-item:hover .float-icon { transform: scale(1.08); }
.float-item.is-active {
  background: var(--brand-50);
  color: var(--brand-700);
}
.float-item.is-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, var(--green-600), var(--brand-600));
}

.float-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-600);
  transition: color 0.25s, transform 0.25s;
}
.float-icon svg { width: 1.5rem; height: 1.5rem; display: block; }
.float-label { white-space: nowrap; letter-spacing: 0.04em; }

.float-tip {
  position: absolute;
  right: calc(100% + 0.625rem);
  top: 50%;
  transform: translateY(-50%) translateX(0.5rem);
  padding: 0.45rem 0.875rem;
  background: var(--brand-950);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  z-index: 2;
}
.float-tip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--brand-950);
}
.float-item:hover .float-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

#float-top { opacity: 0.35; transition: opacity 0.3s; }
#float-top.is-visible { opacity: 1; }

.float-bar-mobile {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: flex;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--steel-200);
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.08);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
@media (min-width: 768px) { .float-bar-mobile { display: none !important; } }
body.has-mobile-dock { padding-bottom: calc(3.75rem + env(safe-area-inset-bottom, 0)); }

.float-bar-mobile .float-m-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.625rem 0.5rem;
  color: var(--brand-700);
  font-size: 0.6875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
.float-bar-mobile .float-m-item:active { background: var(--brand-50); }
.float-bar-mobile .float-m-item svg { width: 1.375rem; height: 1.375rem; color: var(--brand-600); }
