/* ============================================
   恒信精细化工 设计系统 CSS
   Chemical Industry Design System
   ============================================ */

/* --- Design Tokens --- */
:root {
  --primary: #0F3460;
  --primary-light: #1A4A8A;
  --primary-dark: #0A2540;
  --gold: #E6A600;
  --gold-light: #F0BC30;
  --gold-dark: #C08E00;
  --red: #D92B2B;
  --red-light: #E84444;
  --red-dark: #B02020;
  --neutral-900: #1E293B;
  --neutral-700: #334155;
  --neutral-500: #64748B;
  --neutral-300: #CBD5E1;
  --neutral-100: #F1F5F9;
  --neutral-0: #F8FAFC;
  --white: #FFFFFF;

  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-btn: 4px;
  --radius-card: 4px;
  --radius-sm: 2px;

  --shadow-card: 0 1px 3px rgba(15,52,96,0.10), 0 1px 2px rgba(15,52,96,0.06);
  --shadow-card-hover: 0 4px 12px rgba(15,52,96,0.15), 0 2px 4px rgba(15,52,96,0.10);
  --shadow-elevated: 0 8px 24px rgba(15,52,96,0.18), 0 4px 8px rgba(15,52,96,0.12);

  --transition-base: 250ms ease;
  --transition-fast: 150ms ease;

  --border-metal: rgba(230,166,0,0.30);
  --border-metal-strong: rgba(230,166,0,0.60);
  --border-subtle: rgba(100,116,139,0.20);
}

/* --- Base Reset & Typography --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-700);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--primary);
}

h1 { font-size: 48px; line-height: 1.15; }
h2 { font-size: 36px; line-height: 1.2; }
h3 { font-size: 28px; line-height: 1.25; }
h4 { font-size: 24px; line-height: 1.3; }

@media (max-width: 767px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 22px; }
  h4 { font-size: 20px; }
}

p { margin-bottom: 1em; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }

/* --- Container --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container { padding: 0 32px; }
}

/* --- Section Spacing --- */
.section {
  padding: 48px 0;
}

@media (min-width: 768px) {
  .section { padding: 80px 0; }
}

.section-dark {
  background-color: var(--neutral-900);
  color: var(--neutral-100);
}

.section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: var(--neutral-300);
}

.section-blue {
  background-color: var(--primary);
  color: var(--white);
}

.section-blue h2, .section-blue h3, .section-blue h4 {
  color: var(--white);
}

.section-blue p {
  color: var(--neutral-100);
}

.section-gray {
  background-color: var(--neutral-100);
}

/* --- Section Title --- */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  margin-bottom: 12px;
}

.section-title .subtitle {
  font-size: 16px;
  color: var(--neutral-500);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.section-title .subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background-color: var(--gold);
  border-radius: 2px;
}

.section-dark .section-title .subtitle {
  color: var(--neutral-300);
}

.section-blue .section-title .subtitle {
  color: var(--neutral-100);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.nav.scrolled {
  box-shadow: 0 2px 12px rgba(15,52,96,0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .nav-inner { padding: 0 32px; }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-weight: 800;
  font-size: 18px;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 32px;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--neutral-700);
  padding: 4px 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--gold);
  border-radius: 1px;
}

.nav-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border: none;
  background: none;
  color: var(--primary);
}

@media (min-width: 768px) {
  .nav-mobile-toggle { display: none; }
}

.nav-mobile-toggle svg {
  width: 24px;
  height: 24px;
}

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--white);
  z-index: 99;
  padding: 24px 16px;
  overflow-y: auto;
}

.nav-mobile-menu.open {
  display: block;
}

.nav-mobile-menu a {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: var(--neutral-700);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition-fast);
}

.nav-mobile-menu a:hover,
.nav-mobile-menu a.active {
  color: var(--primary);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-base), background-color var(--transition-base), box-shadow var(--transition-base);
  text-decoration: none;
  line-height: 1;
}

.btn:hover {
  transform: translateY(2px);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 4px rgba(15,52,96,0.20);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  box-shadow: 0 4px 8px rgba(15,52,96,0.30);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--primary-dark);
  box-shadow: 0 2px 4px rgba(230,166,0,0.20);
}

.btn-gold:hover {
  background-color: var(--gold-dark);
  color: var(--primary-dark);
  box-shadow: 0 4px 8px rgba(230,166,0,0.30);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: none;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(2px);
  box-shadow: 0 4px 8px rgba(15,52,96,0.20);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline-gold:hover {
  background-color: var(--gold);
  color: var(--primary-dark);
  transform: translateY(2px);
  box-shadow: 0 4px 8px rgba(230,166,0,0.30);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* --- Cards --- */
.card {
  background-color: var(--neutral-900);
  border: 1px solid var(--border-metal);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-metal-strong);
}

.card-light {
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.card-light:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-metal);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(230,166,0,0.15);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-size: 20px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.card-light .card-title {
  color: var(--primary);
}

.card-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--neutral-300);
}

.card-light .card-desc {
  color: var(--neutral-500);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-color: var(--primary-dark);
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 48px,
      rgba(230,166,0,0.5) 48px,
      rgba(230,166,0,0.5) 50px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 48px,
      rgba(230,166,0,0.5) 48px,
      rgba(230,166,0,0.5) 50px
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 16px;
}

@media (min-width: 768px) {
  .hero-content { padding: 120px 32px; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: rgba(230,166,0,0.15);
  border: 1px solid var(--border-metal);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 720px;
}

@media (max-width: 767px) {
  .hero-title { font-size: 28px; }
}

.hero-title .gold {
  color: var(--gold);
}

.hero-desc {
  font-size: 18px;
  line-height: 1.6;
  color: var(--neutral-300);
  max-width: 560px;
  margin-bottom: 32px;
}

@media (max-width: 767px) {
  .hero-desc { font-size: 15px; }
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
  max-width: 480px;
}

@media (min-width: 768px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); max-width: none; }
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.5px;
  line-height: 1;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--neutral-300);
  margin-top: 6px;
}

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .stats-bar { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
  text-align: center;
  padding: 24px;
}

.stat-value {
  font-size: 40px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.5px;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--neutral-500);
  margin-top: 8px;
}

.section-dark .stat-label,
.section-blue .stat-label {
  color: var(--neutral-300);
}

/* --- Grid Layouts --- */
.grid-2 {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.grid-3 {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-4 {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- Feature Item --- */
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(230,166,0,0.15);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.section-dark .feature-title {
  color: var(--white);
}

.feature-desc {
  font-size: 14px;
  color: var(--neutral-500);
  line-height: 1.5;
}

.section-dark .feature-desc {
  color: var(--neutral-300);
}

/* --- Badge / Tag --- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  letter-spacing: 0.3px;
}

.tag-gold {
  background-color: rgba(230,166,0,0.15);
  color: var(--gold);
}

.tag-blue {
  background-color: rgba(15,52,96,0.15);
  color: var(--primary);
}

.tag-red {
  background-color: rgba(217,43,43,0.15);
  color: var(--red);
}

/* --- Divider --- */
.divider {
  height: 1px;
  background-color: var(--border-subtle);
  margin: 24px 0;
}

.divider-gold {
  background-color: var(--border-metal);
}

/* --- Footer --- */
.footer {
  background-color: var(--primary-dark);
  color: var(--neutral-300);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
  .footer-grid { grid-template-columns: 280px 1fr 1fr 1fr; }
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-link {
  display: block;
  font-size: 14px;
  color: var(--neutral-300);
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(100,116,139,0.20);
  padding-top: 24px;
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--neutral-500);
}

/* --- Floating Customer Service --- */
.floating-cs {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (max-width: 767px) {
  .floating-cs {
    right: 8px;
    top: auto;
    bottom: 16px;
    transform: none;
  }
}

.cs-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  border-radius: var(--radius-btn);
  color: var(--white);
  cursor: pointer;
  transition: background-color var(--transition-base), transform var(--transition-base);
  position: relative;
}

.cs-item:hover {
  background-color: var(--primary-light);
  transform: scale(1.08);
}

.cs-item svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.cs-tooltip {
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--neutral-900);
  border: 1px solid var(--border-metal);
  border-radius: var(--radius-btn);
  padding: 12px 16px;
  white-space: nowrap;
  font-size: 13px;
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  box-shadow: var(--shadow-elevated);
}

.cs-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--neutral-900);
}

.cs-item:hover .cs-tooltip {
  opacity: 1;
  pointer-events: auto;
}

.cs-wechat-popup {
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--white);
  border: 1px solid var(--border-metal);
  border-radius: var(--radius-btn);
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  box-shadow: var(--shadow-elevated);
  width: 160px;
}

.cs-wechat-popup::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--white);
}

.cs-item:hover .cs-wechat-popup {
  opacity: 1;
  pointer-events: auto;
}

.cs-wechat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.cs-wechat-qr {
  width: 128px;
  height: 128px;
  background-color: var(--neutral-100);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-500);
  font-size: 12px;
}

.cs-back-top {
  background-color: var(--neutral-500);
}

.cs-back-top:hover {
  background-color: var(--neutral-700);
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Product Category Tabs --- */
.product-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.product-tab {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--neutral-500);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-btn);
  cursor: pointer;
  background-color: var(--white);
  transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

.product-tab:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.product-tab.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* --- Product Card --- */
.product-card {
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-metal);
}

.product-card-img {
  height: 180px;
  background-color: var(--neutral-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--neutral-300);
  position: relative;
  overflow: hidden;
}

.product-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--gold);
}

.product-card-body {
  padding: 16px;
}

.product-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.product-card-cat {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.product-card-desc {
  font-size: 14px;
  color: var(--neutral-500);
  line-height: 1.5;
  margin-bottom: 12px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

/* --- Qualification Card --- */
.qual-card {
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.qual-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-metal);
}

.qual-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-size: 28px;
}

.qual-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.qual-card-desc {
  font-size: 14px;
  color: var(--neutral-500);
  line-height: 1.5;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 24px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--gold);
}

.timeline-item {
  position: relative;
  padding: 16px 0 16px 24px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 20px;
  width: 12px;
  height: 12px;
  background-color: var(--primary);
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.timeline-year {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}

.timeline-text {
  font-size: 14px;
  color: var(--neutral-500);
  line-height: 1.5;
}

.section-dark .timeline-text {
  color: var(--neutral-300);
}

/* --- Form --- */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-700);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--neutral-700);
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-btn);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  font-family: var(--font-body);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15,52,96,0.10);
}

.form-input::placeholder {
  color: var(--neutral-300);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* --- Page Header --- */
.page-header {
  background-color: var(--primary);
  padding: 80px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .page-header { padding: 100px 0 60px; }
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 48px,
      rgba(230,166,0,0.5) 48px,
      rgba(230,166,0,0.5) 50px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 48px,
      rgba(230,166,0,0.5) 48px,
      rgba(230,166,0,0.5) 50px
    );
}

.page-header-inner {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-header .subtitle {
  font-size: 16px;
  color: var(--neutral-300);
}

.page-header .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--neutral-300);
  margin-top: 20px;
}

.page-header .breadcrumb a {
  color: var(--gold);
  transition: color var(--transition-fast);
}

.page-header .breadcrumb a:hover {
  color: var(--gold-light);
}

/* --- Case Card --- */
.case-card {
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.case-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-metal);
}

.case-card-tag {
  margin-bottom: 12px;
}

.case-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.case-card-desc {
  font-size: 14px;
  color: var(--neutral-500);
  line-height: 1.5;
  margin-bottom: 16px;
}

.case-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--neutral-500);
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

/* --- Equipment Card --- */
.equip-card {
  background-color: var(--neutral-900);
  border: 1px solid var(--border-metal);
  border-radius: var(--radius-card);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.equip-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-metal-strong);
}

.equip-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(230,166,0,0.15);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-size: 24px;
}

.equip-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.equip-card-desc {
  font-size: 14px;
  color: var(--neutral-300);
  line-height: 1.5;
  margin-bottom: 16px;
}

.equip-card-spec {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
}

/* --- Safety Indicator --- */
.safety-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background-color: rgba(217,43,43,0.08);
  border: 1px solid rgba(217,43,43,0.20);
  border-radius: var(--radius-card);
}

.safety-indicator-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--red);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 18px;
}

.safety-indicator-text {
  font-size: 14px;
  color: var(--neutral-700);
  font-weight: 600;
}

/* --- Map Placeholder --- */
.map-placeholder {
  width: 100%;
  height: 300px;
  background-color: var(--neutral-100);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-500);
  font-size: 14px;
}

@media (min-width: 768px) {
  .map-placeholder { height: 400px; }
}

/* --- Utility --- */
.text-gold { color: var(--gold); }
.text-primary { color: var(--primary); }
.text-red { color: var(--red); }
.text-white { color: var(--white); }
.text-neutral { color: var(--neutral-500); }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.bg-primary { background-color: var(--primary); }
.bg-gold { background-color: var(--gold); }
.bg-dark { background-color: var(--neutral-900); }
.bg-gray { background-color: var(--neutral-100); }
.bg-white { background-color: var(--white); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 4px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-48 { gap: 48px; }

.w-full { width: 100%; }
.mx-auto { margin: 0 auto; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.p-0 { padding: 0; }
.p-16 { padding: 16px; }
.p-24 { padding: 24px; }

.overflow-hidden { overflow: hidden; }
.relative { position: relative; }

.hidden-mobile { display: none; }
@media (min-width: 768px) {
  .hidden-mobile { display: block; }
}

/* --- Chemical Molecular Decorative Element --- */
.mol-decor {
  position: absolute;
  color: rgba(230,166,0,0.08);
  font-size: 180px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 767px) {
  .mol-decor { font-size: 100px; }
}