/* 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:
    radial-gradient(circle at 84% 0%, rgba(96, 165, 250, 0.24), transparent 28rem),
    linear-gradient(125deg, rgba(7, 22, 38, 0.94), rgba(15, 47, 78, 0.88));
  border-top: 1px solid rgba(147, 197, 253, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(140%);
  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 rgba(148, 163, 184, 0.35); margin-top: 2.5rem; padding-top: 1.5rem; text-align: center; font-size: 0.875rem; color: var(--steel-400); }

.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 detail: a wider, calmer two-column sales layout. */
.product-detail-section {
  padding: 3.5rem 0 5rem;
  background:
    radial-gradient(circle at 9% 18%, rgba(147, 197, 253, 0.19), transparent 30rem),
    linear-gradient(135deg, #f8fbff 0%, #f1f7ff 48%, #f8fafc 100%);
}
.product-detail-container { max-width: 1440px; }
.product-detail-intro {
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
@media (min-width: 900px) {
  .product-detail-intro {
    grid-template-columns: minmax(0, 1.42fr) minmax(23rem, 0.84fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    padding: 0;
  }
}
.product-detail-hero-media { min-width: 0; }
.product-detail-cover {
  border: 1px solid rgba(203, 213, 225, 0.78);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.96), rgba(219, 234, 254, 0.62) 66%, rgba(191, 219, 254, 0.44)),
    var(--steel-100);
  box-shadow: 0 20px 46px rgba(30, 64, 175, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.product-detail-cover img {
  aspect-ratio: 16 / 11;
  object-fit: contain;
  padding: clamp(1rem, 2.5vw, 2.5rem);
}
.product-detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(4.75rem, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.product-detail-gallery-item {
  width: auto;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid rgba(148, 163, 184, 0.46);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.58);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.product-detail-gallery-item:hover {
  transform: translateY(-2px);
  border-color: var(--brand-500);
}
.product-detail-sidebar {
  align-self: start;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 1.25rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 251, 255, 0.72));
  box-shadow: 0 18px 42px rgba(30, 64, 175, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
@media (min-width: 900px) {
  .product-detail-sidebar { position: sticky; top: 6.5rem; }
}
.product-detail-card-summary { gap: 1.125rem; }
.product-detail-eyebrow,
.product-detail-options-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-700);
}
.product-detail-title {
  font-size: clamp(2rem, 3.25vw, 3.25rem);
  line-height: 1.1;
  margin: 0;
}
.product-detail-lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--steel-600);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.product-detail-options {
  display: grid;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--steel-200);
}
.product-detail-sidebar .product-detail-config-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
}
.product-detail-config-grid li {
  min-height: 100%;
  padding: 0.75rem 0.875rem;
  border-color: rgba(191, 219, 254, 0.75);
  background: rgba(239, 246, 255, 0.66);
  font-size: 0.8125rem;
}
.product-detail-more-options {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--steel-500);
}
.product-detail-card-action {
  display: grid;
  gap: 0.875rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--steel-200);
}
.product-detail-card-action .btn { max-width: none; min-height: 3.25rem; }
.product-detail-text-link {
  justify-self: start;
  color: var(--brand-700);
  font-size: 0.875rem;
  font-weight: 700;
}
.product-detail-text-link:hover { color: var(--brand-800); }
.product-detail-panel {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-radius: 1.25rem;
  border-color: rgba(203, 213, 225, 0.78);
  box-shadow: 0 18px 42px rgba(30, 64, 175, 0.09);
}
.product-detail-panel-head {
  padding: 1.5rem clamp(1.5rem, 3vw, 3rem);
  background: linear-gradient(135deg, #fff, rgba(239, 246, 255, 0.7));
}
.product-detail-panel-title { font-size: 1.25rem; }
.product-detail-panel-body {
  gap: 0;
  padding: clamp(1.5rem, 3vw, 3rem);
}
@media (min-width: 900px) {
  .product-detail-panel-body {
    grid-template-columns: minmax(17rem, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
  }
  .product-detail-panel-body > .product-detail-segment + .product-detail-segment {
    padding-left: clamp(2rem, 4vw, 4rem);
    margin-left: clamp(2rem, 4vw, 4rem);
    border-left: 1px solid var(--steel-200);
  }
}
.product-detail-segment-title { margin-bottom: 1.25rem; }
.product-detail-spec-table { border-radius: 0.75rem; }
.product-detail-spec-table div { padding: 0.9rem 1.1rem; }
@media (max-width: 599px) {
  .product-detail-section { padding: 2rem 0 3rem; }
  .product-detail-cover img { aspect-ratio: 4 / 3; padding: 0.75rem; }
  .product-detail-sidebar .product-detail-config-grid { grid-template-columns: 1fr; }
}

.product-page-section {
  padding-top: 2.5rem;
  overflow: visible;
}
.products-page > .container { max-width: 1440px; }
.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.25rem; }
@media (min-width: 1180px) {
  .products-page .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.product-card { height: 100%; }
.product-card .card-img {
  aspect-ratio: 16 / 10;
  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.1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.product-card-title {
  font-size: 1.125rem;
  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);
}

/* Product catalog visual refinement */
.products-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.products-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 82% 28%, rgba(125, 211, 252, 0.18), transparent 28%);
}
.products-hero .container { position: relative; z-index: 1; }
.products-hero .breadcrumb {
  display: inline-flex;
  padding: 0.38rem 0.78rem;
  border: 1px solid rgba(191, 219, 254, 0.42);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(8px);
}
.products-hero h1 { text-shadow: 0 3px 18px rgba(2, 6, 23, 0.25); }
.products-hero p { text-shadow: 0 2px 12px rgba(2, 6, 23, 0.18); }
.products-page {
  background-color: #edf6ff;
  background-image:
    radial-gradient(circle at 8% 20%, rgba(96, 165, 250, 0.22), transparent 24rem),
    radial-gradient(circle at 94% 80%, rgba(110, 231, 183, 0.18), transparent 28rem),
    linear-gradient(135deg, #eff8ff 0%, #f9fcff 52%, #effcf7 100%);
}
.products-page .product-layout {
  padding: clamp(1rem, 2.2vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: 0 20px 52px rgba(30, 64, 175, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(140%);
}
.products-page .product-cat-menu {
  border-color: rgba(255, 255, 255, 0.88);
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 30px rgba(30, 64, 175, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(16px) saturate(145%);
}
.products-page .product-cat-all {
  border-radius: 0.8rem 0.8rem 0 0;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
}
.products-page .product-cat-flyout {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 36px rgba(30, 64, 175, 0.16);
  backdrop-filter: blur(16px);
}
.products-page .product-card {
  border-color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42));
  box-shadow: 0 14px 34px rgba(30, 64, 175, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(140%);
}
.products-page .product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(147, 197, 253, 0.9);
  box-shadow: 0 22px 46px rgba(30, 64, 175, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.products-page .product-card .card-img {
  border-bottom-color: rgba(203, 213, 225, 0.72);
}
.products-page .product-card-content { background: rgba(255, 255, 255, 0.18); }
.products-page .product-card-action {
  border-top-color: rgba(203, 213, 225, 0.72);
  background: rgba(255, 255, 255, 0.2);
}
.products-page .product-card-action .btn-outline {
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(148, 163, 184, 0.58);
  backdrop-filter: blur(8px);
}
.products-page .pagination { border-top-color: rgba(148, 163, 184, 0.32); }
.products-page .pagination-btn,
.products-page .pagination-page {
  background: rgba(255, 255, 255, 0.66);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.08);
}
@media (min-width: 900px) {
  .products-page .product-cat-menu { position: sticky; top: 6.5rem; }
}
@media (max-width: 899px) {
  .products-hero { min-height: 290px; }
  .products-page .product-layout { padding: 0.75rem; border-radius: 1rem; }
}

.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: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(96, 165, 250, 0.68);
  border-right: none;
  border-radius: 0.75rem 0 0 0.75rem;
  box-shadow: -6px 8px 32px rgba(37, 99, 235, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px) saturate(140%);
  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), inset 0 1px 0 rgba(255, 255, 255, 0.76); }
@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: rgba(255, 255, 255, 0.2);
  color: var(--brand-700);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.2;
  border: none;
  border-bottom: 1px solid rgba(96, 165, 250, 0.24);
  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, rgba(219, 234, 254, 0.72) 0%, rgba(255, 255, 255, 0.38) 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); }

/* Homepage visual polish: preserve the existing content and layout */
.home-page {
  background:
    radial-gradient(ellipse 70% 24rem at 82% 15%, rgba(103, 232, 249, 0.12), transparent 70%),
    linear-gradient(180deg, #f8fcff 0%, #fff 28%, #f7fafc 62%, #fff 100%);
}
.home-page .header,
.header-glass {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(7, 22, 38, 0.18);
  border-bottom-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  backdrop-filter: blur(12px);
}
.home-page .header .logo-icon,
.header-glass .logo-icon {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.34);
}
.home-page .header .logo-text,
.header-glass .logo-text { color: #fff; }
.home-page .header .logo-tagline,
.header-glass .logo-tagline { color: rgba(255, 255, 255, 0.68); }
.home-page .header .nav-desktop a,
.header-glass .nav-desktop a { color: rgba(255, 255, 255, 0.9); }
.home-page .header .nav-desktop a:hover,
.home-page .header .nav-desktop a.active,
.header-glass .nav-desktop a:hover,
.header-glass .nav-desktop a.active { color: #fff; background: rgba(255, 255, 255, 0.14); }
.home-page .header .menu-toggle,
.header-glass .menu-toggle { color: #fff; }
.home-page .header .menu-toggle:hover,
.header-glass .menu-toggle:hover { background: rgba(255, 255, 255, 0.14); }
.home-page .header .btn-primary,
.header-glass .btn-primary {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.82), rgba(59, 130, 246, 0.72));
  border: 1px solid rgba(191, 219, 254, 0.3);
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px) saturate(135%);
}
.home-page .header.is-scrolled,
.header-glass.is-scrolled {
  position: fixed;
  background: rgba(7, 22, 38, 0.24);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.12);
}
.home-page .hero {
  min-height: 100vh;
  background-position: center;
  position: relative;
  isolation: isolate;
}
.home-page .hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 78% 30%, rgba(125, 211, 252, 0.16), transparent 35%),
    linear-gradient(105deg, rgba(7, 32, 57, 0.06), transparent 58%);
}
.home-page .hero-inner { position: relative; z-index: 1; padding-top: 5.5rem; padding-bottom: 5.5rem; }
.home-page .hero-label {
  display: inline-flex;
  padding: 0.38rem 0.78rem;
  border: 1px solid rgba(191, 219, 254, 0.5);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(7px);
  color: #dbeafe;
}
.home-page .hero-title { text-shadow: 0 3px 22px rgba(2, 6, 23, 0.24); }
.home-page .hero-desc { text-shadow: 0 2px 12px rgba(2, 6, 23, 0.2); }
.home-page .hero .btn-primary {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.82), rgba(59, 130, 246, 0.72));
  border: 1px solid rgba(191, 219, 254, 0.3);
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px) saturate(135%);
}
.home-page .hero .btn-outline {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px) saturate(135%);
}
.home-page .bg-light {
  background-color: rgba(241, 245, 249, 0.62);
  background-image:
    radial-gradient(ellipse 60% 46% at 6% 8%, rgba(125, 211, 252, 0.16), transparent 68%),
    radial-gradient(ellipse 44% 34% at 95% 90%, rgba(134, 239, 172, 0.1), transparent 70%);
}
.home-page .card {
  border-color: rgba(203, 213, 225, 0.78);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.055);
}
.home-page .card:hover {
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.13);
}
.home-page .section-title { letter-spacing: -0.035em; }
.home-page .cta-section {
  background:
    radial-gradient(circle at 82% 16%, rgba(186, 230, 253, 0.26), transparent 32%),
    linear-gradient(125deg, #174c9e 0%, #2563eb 52%, #0f4a97 100%);
}
.home-page main {
  padding: 1rem 0 1.5rem;
  background:
    radial-gradient(circle at 6% 28%, rgba(96, 165, 250, 0.3), transparent 24rem),
    radial-gradient(circle at 94% 60%, rgba(110, 231, 183, 0.24), transparent 26rem),
    linear-gradient(135deg, #eaf4ff 0%, #f9fcff 48%, #ebfaf6 100%);
}
.home-page main > .section:not(.hero) {
  margin: 1rem clamp(0.5rem, 2.2vw, 2.25rem);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 1.25rem;
  box-shadow: 0 18px 46px rgba(30, 64, 175, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  overflow: hidden;
  backdrop-filter: blur(20px) saturate(145%);
}
.home-page main > .section:not(.hero):not(.bg-dark):not(.cta-section) {
  background-color: rgba(255, 255, 255, 0.38);
}
.home-page main > .section.bg-light {
  background-color: rgba(239, 246, 255, 0.4);
}
.home-page main > .section.bg-dark {
  background-color: rgba(15, 23, 42, 0.9);
  background-image: radial-gradient(circle at 82% 0%, rgba(59, 130, 246, 0.22), transparent 35%);
  border-color: rgba(191, 219, 254, 0.15);
}
.home-page main > .section.cta-section {
  border-color: rgba(191, 219, 254, 0.35);
  box-shadow: 0 18px 46px rgba(30, 64, 175, 0.2);
}
.home-page main > .section:not(.hero) .card {
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.38) 100%);
  border-color: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 14px 32px rgba(30, 64, 175, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(148, 163, 184, 0.08);
  backdrop-filter: blur(16px) saturate(145%);
}
.home-page main > .section:not(.hero) .card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.24), transparent 28%, transparent 68%, rgba(191, 219, 254, 0.16));
}
.home-page main > .section:not(.hero) .card > * {
  position: relative;
  z-index: 1;
}
.home-page main > .section:not(.hero) .card .card-body {
  background: rgba(255, 255, 255, 0.28);
}
.home-page main > .section.bg-dark .card {
  background: rgba(30, 58, 95, 0.5);
  border-color: rgba(191, 219, 254, 0.2);
}
@media (max-width: 767px) {
  .home-page .header .nav-mobile,
  .header-glass .nav-mobile { background: rgba(7, 22, 38, 0.94); border-top-color: rgba(255, 255, 255, 0.15); }
  .home-page .header .nav-mobile a,
  .header-glass .nav-mobile a { color: rgba(255, 255, 255, 0.9); }
  .home-page .header .nav-mobile a:hover,
  .home-page .header .nav-mobile a.active,
  .header-glass .nav-mobile a:hover,
  .header-glass .nav-mobile a.active { color: #fff; background: rgba(255, 255, 255, 0.12); }
  .home-page .header-inner { height: 3.75rem; }
  .home-page .header .logo-icon { width: 2.25rem; height: 2.25rem; }
  .home-page .header .logo-text { font-size: 1.0625rem; }
  .home-page .hero {
    min-height: min(70svh, 38rem);
    background-position: 58% center;
  }
  .home-page .hero-inner {
    padding: 4.5rem 1.25rem 3rem;
  }
  .home-page .hero-label { margin-bottom: 0.75rem; font-size: 0.75rem; }
  .home-page .hero-title {
    font-size: clamp(2rem, 9vw, 2.45rem);
    line-height: 1.12;
    margin-bottom: 1rem;
  }
  .home-page .hero-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  .home-page .hero .btn-group { gap: 0.75rem; }
  .home-page .hero .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.85rem 0.7rem;
  }
  .home-page main { padding: 0.5rem 0 0.75rem; }
  .home-page main > .section:not(.hero) { margin: 0.6rem 0.5rem; border-radius: 1rem; }
}

/* Interior pages: image-led headers and a lighter, frosted content surface. */
.interior-page {
  background:
    radial-gradient(circle at 8% 22%, rgba(125, 211, 252, 0.28), transparent 28rem),
    radial-gradient(circle at 94% 62%, rgba(110, 231, 183, 0.19), transparent 28rem),
    linear-gradient(135deg, #edf7ff 0%, #fbfdff 48%, #effcf7 100%);
}
.interior-page main {
  padding: 1rem 0 1.5rem;
  background: transparent;
}
.interior-page .interior-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-position: center;
}
.interior-page .interior-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 25%, rgba(186, 230, 253, 0.18), transparent 29%),
    linear-gradient(105deg, rgba(2, 24, 43, 0.06), transparent 60%);
}
.interior-page .interior-hero .container { position: relative; z-index: 1; }
.interior-page .interior-hero .breadcrumb {
  display: inline-flex;
  padding: 0.38rem 0.78rem;
  border: 1px solid rgba(191, 219, 254, 0.46);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(8px);
}
.interior-page .interior-hero h1,
.interior-page .interior-hero p { text-shadow: 0 2px 14px rgba(2, 6, 23, 0.24); }
/* Match the Products header: prevent a pale hero edge from showing through it. */
.interior-page .header-glass,
.interior-page .header-glass.is-scrolled {
  background: rgba(7, 22, 38, 0.58);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.interior-page main > .section:not(.interior-hero) {
  margin: 1rem clamp(0.5rem, 2.2vw, 2.25rem);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 1.25rem;
  box-shadow: 0 18px 46px rgba(30, 64, 175, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
  backdrop-filter: blur(20px) saturate(145%);
}
.interior-page main > .section:not(.interior-hero):not(.bg-dark):not(.bg-brand):not(.cta-section) {
  background-color: rgba(255, 255, 255, 0.42);
}
.interior-page main > .section.bg-light {
  background-color: rgba(239, 246, 255, 0.46);
}
.interior-page main > .section.bg-dark,
.interior-page main > .section.bg-brand {
  border-color: rgba(191, 219, 254, 0.24);
  box-shadow: 0 18px 46px rgba(30, 64, 175, 0.18);
}
.interior-page main > .section.cta-section {
  background:
    radial-gradient(circle at 82% 14%, rgba(186, 230, 253, 0.24), transparent 30%),
    linear-gradient(125deg, rgba(23, 76, 158, 0.82) 0%, rgba(37, 99, 235, 0.76) 52%, rgba(15, 74, 151, 0.8) 100%);
  border-color: rgba(191, 219, 254, 0.42);
  box-shadow: 0 20px 48px rgba(30, 64, 175, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(18px) saturate(145%);
}
.interior-page main > .section:not(.interior-hero) .card,
.interior-page .contact-shell,
.interior-page .article-category-filter {
  border-color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.4));
  box-shadow: 0 14px 34px rgba(30, 64, 175, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(140%);
}
.interior-page main > .section:not(.interior-hero) .card:hover {
  border-color: rgba(147, 197, 253, 0.9);
  box-shadow: 0 22px 46px rgba(30, 64, 175, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.interior-page .rounded-img,
.interior-page .split-card-img {
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 32px rgba(30, 64, 175, 0.14);
}
/* Contact uses the same frosted surface as the other inner-page cards. */
.interior-page .contact-shell {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.28));
}
.interior-page .contact-main {
  background: rgba(255, 255, 255, 0.1);
}
.interior-page .contact-section .form-control {
  background: rgba(248, 250, 252, 0.58);
  border-color: rgba(203, 213, 225, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}
.interior-page .contact-section .form-control:hover,
.interior-page .contact-section .form-control:focus {
  background: rgba(255, 255, 255, 0.72);
}
.interior-page main .btn-primary {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.82), rgba(59, 130, 246, 0.72));
  border: 1px solid rgba(191, 219, 254, 0.3);
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px) saturate(135%);
}
.interior-page .cta-section .cta-white {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(135%);
}
.interior-page .cta-section .btn-outline {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(14px) saturate(135%);
}
.interior-page .tag,
.interior-page .tag-brand {
  background: rgba(219, 234, 254, 0.46);
  border: 1px solid rgba(147, 197, 253, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(10px) saturate(135%);
  color: var(--brand-700);
}
/* News shares the exact same left content line as Crane Solutions. */
.interior-page .articles-hero .container,
.interior-page .articles-page-section > .container {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
@media (min-width: 1024px) {
  .interior-page .articles-hero .container { transform: translateX(-135px); }
}
.interior-page .article-category-filter {
  align-items: center;
  min-height: 3.5rem;
  padding: 0.625rem;
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(30, 64, 175, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(18px) saturate(145%);
}
.interior-page .article-category-btn {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(147, 197, 253, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px) saturate(135%);
}
.interior-page .article-category-btn.is-active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.82), rgba(59, 130, 246, 0.72));
  border-color: rgba(191, 219, 254, 0.44);
  box-shadow: 0 7px 18px rgba(30, 64, 175, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
@media (max-width: 767px) {
  .interior-page main { padding: 0.5rem 0 0.75rem; }
  .interior-page .interior-hero { min-height: 300px; }
  .interior-page main > .section:not(.interior-hero) { margin: 0.6rem 0.5rem; border-radius: 1rem; }
}
