:root {
  --bg: #f6f4ef;
  --bg-alt: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.92);

  --accent: #0f766e;
  --accent-2: #c7a55a;
  --accent-soft: rgba(15, 118, 110, 0.12);
  --accent-strong: rgba(15, 118, 110, 0.28);

  --text-main: #0b1220;
  --text-muted: #5b6472;

  --border: rgba(226, 232, 240, 1);
  --shadow-soft: 0 18px 45px rgba(2, 6, 23, 0.08);
  --shadow-card: 0 12px 30px rgba(2, 6, 23, 0.06);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 999px;
  --container-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro Text',
    'PingFang SC', 'Microsoft YaHei', sans-serif;
  background:
    radial-gradient(900px 460px at 15% 0%, rgba(199, 165, 90, 0.14), transparent 55%),
    radial-gradient(820px 460px at 75% 0%, rgba(15, 118, 110, 0.12), transparent 52%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 58%, #eef2f7 100%);
  color: var(--text-main);
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.92),
    rgba(255, 255, 255, 0.72),
    transparent
  );
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: auto;
  height: 50px;
  border-radius: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #022c22;
  box-shadow: none;
  flex-shrink: 0;
}

.logo-mark img {
  width: auto;
  height: 100%;
  max-width: 200px;
  object-fit: contain;
  border-radius: 0;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--text-muted);
}

.nav a {
  position: relative;
  padding-bottom: 4px;
}

.nav a::after {
  position: absolute;
  content: '';
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(15, 118, 110, 0.55));
  transition: width 0.2s ease;
}

.nav a:hover {
  color: #111827;
}

.nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(226, 232, 240, 1);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 2px 6px;
  font-size: 12px;
  cursor: pointer;
  color: #6b7280;
  border-radius: 999px;
  transition: all 0.15s ease-out;
}

.lang-btn.is-active {
  background: #ffffff;
  color: var(--accent);
  box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.35);
}

.lang-divider {
  font-size: 11px;
  color: #d1d5db;
  padding-inline: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #f8fafc;
  box-shadow: 0 16px 40px rgba(15, 118, 110, 0.32);
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 22px 55px rgba(15, 118, 110, 0.38);
}

.btn-outline {
  border-color: rgba(226, 232, 240, 1);
  color: #111827;
  background: rgba(255, 255, 255, 0.86);
}

.btn-outline:hover {
  border-color: rgba(15, 118, 110, 0.55);
  background: rgba(15, 118, 110, 0.06);
}

.btn-small {
  padding: 8px 14px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

.btn-ghost {
  border-color: transparent;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.btn-ghost:hover {
  background: rgba(15, 118, 110, 0.08);
  color: #1f2937;
}

.hero {
  padding: 70px 0 40px;
  background:
    radial-gradient(900px 460px at 15% 0%, rgba(199, 165, 90, 0.12), transparent 55%),
    radial-gradient(820px 460px at 75% 0%, rgba(15, 118, 110, 0.12), transparent 52%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 70%, rgba(255, 255, 255, 0) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(28px, 4vw, 36px);
  margin: 0 0 14px;
}

.hero-text p {
  margin: 0 0 18px;
  color: var(--text-muted);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  font-size: 13px;
  color: #0b3d3a;
}

.hero-highlights div {
  background: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  padding: 6px 12px;
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.05);
}

.hero-card {
  background:
    radial-gradient(120% 140% at 15% 0%, rgba(199, 165, 90, 0.12), transparent 50%),
    radial-gradient(120% 140% at 85% 0%, rgba(15, 118, 110, 0.10), transparent 52%),
    rgba(255, 255, 255, 0.86);
  border-radius: 22px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(226, 232, 240, 1);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at top,
    rgba(15, 118, 110, 0.14),
    transparent 55%
  );
  opacity: 0.6;
  pointer-events: none;
}

.hero-card-title {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.hero-form {
  position: relative;
  z-index: 1;
}

.section {
  padding: 60px 0;
}

.section-alt {
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.7);
}

.section-header {
  text-align: center;
  margin-bottom: 26px;
}

.section-header-left {
  text-align: left;
}

.section-header h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 16px 16px 18px;
  border: 1px solid rgba(226, 232, 240, 1);
  box-shadow: var(--shadow-card);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.carousel {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 1);
  box-shadow: var(--shadow-soft);
  margin-bottom: 18px;
  background: #ffffff;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
}

.carousel-slide {
  position: relative;
  min-width: 100%;
  height: 340px;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  color: #111827;
  border: 1px solid rgba(226, 232, 240, 1);
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.12);
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 1);
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.16);
  transition: all 0.18s ease-out;
}

.carousel-control:hover {
  background: rgba(15, 118, 110, 0.08);
  border-color: rgba(15, 118, 110, 0.5);
  transform: translateY(-50%) scale(1.02);
}

.carousel-control.prev {
  left: 14px;
}

.carousel-control.next {
  right: 14px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.6);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.18s ease-out;
}

.carousel-dot.is-active {
  width: 16px;
  background: var(--accent);
}

.factory-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.highlight-item {
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1px solid rgba(226, 232, 240, 1);
  box-shadow: var(--shadow-card);
}

.highlight-number {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
}

.highlight-label {
  font-size: 13px;
  color: var(--text-muted);
}

.product-showcase {
  margin-top: 30px;
}

.product-showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.product-showcase-header h3 {
  margin: 0;
  font-size: 18px;
}

.product-showcase-header p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  max-width: 420px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  background: var(--card-bg);
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 1);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.product-media {
  position: relative;
  width: 100%;
  padding-top: 70%;
  overflow: hidden;
}

.product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 产品卡片内轮播 */
.product-carousel {
  padding-top: 70%;
  position: relative;
}

.product-carousel-track {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform 0.35s ease;
}

.product-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  display: none;
}

.product-carousel-slide.is-active {
  display: block;
}

.product-carousel-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-carousel-prev,
.product-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-main);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.2s, opacity 0.2s;
}

.product-carousel-prev:hover,
.product-carousel-next:hover {
  background: #fff;
  opacity: 1;
}

.product-carousel-prev {
  left: 6px;
}

.product-carousel-next {
  right: 6px;
}

.product-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}

.product-carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.product-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.9);
}

.product-carousel-dot.is-active {
  background: #fff;
  transform: scale(1.2);
}

.product-body {
  padding: 10px 12px 12px;
}

.product-name {
  margin: 0 0 4px;
  font-size: 15px;
}

.product-desc {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.step {
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 1);
  padding: 16px 14px 16px;
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
}

.step-number {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.step p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.form-group {
  margin-bottom: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 13px;
  color: #374151;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 1);
  padding: 8px 12px;
  background: #ffffff;
  color: #111827;
  font-size: 14px;
  outline: none;
  transition: border-color 0.14s ease-out, box-shadow 0.14s ease-out,
    background 0.14s ease-out;
}

textarea {
  border-radius: 14px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #9ca3af;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(15, 118, 110, 0.75);
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.38);
}

.form-tip {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.form-alert {
  margin-top: 10px;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 999px;
}

.form-alert.success {
  background: rgba(15, 118, 110, 0.10);
  color: #0b3d3a;
  border: 1px solid rgba(15, 118, 110, 0.35);
}

.form-alert.error {
  background: rgba(254, 226, 226, 0.9);
  color: #b91c1c;
  border: 1px solid rgba(248, 113, 113, 0.8);
}

.message-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: flex-start;
}

.message-form {
  background: var(--card-bg);
  border-radius: 22px;
  padding: 18px 18px 18px;
  border: 1px solid rgba(226, 232, 240, 1);
  box-shadow: var(--shadow-soft);
}

.message-list-wrapper {
  background: var(--card-bg);
  border-radius: 22px;
  padding: 16px 16px 14px;
  border: 1px solid rgba(226, 232, 240, 1);
  box-shadow: var(--shadow-card);
}

.message-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.message-list-header h3 {
  margin: 0;
  font-size: 15px;
}

.message-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.message-item {
  border-radius: 14px;
  padding: 10px 11px;
  border: 1px solid rgba(226, 232, 240, 1);
  background: rgba(248, 250, 252, 0.9);
  font-size: 13px;
}

.message-item-header {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}

.message-item-name {
  font-weight: 500;
}

.message-item-meta {
  color: var(--text-muted);
  font-size: 12px;
}

.message-item-intent {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.10);
  color: #0b3d3a;
}

.message-item-body {
  color: #111827;
  margin-bottom: 4px;
  white-space: pre-wrap;
}

.message-item-footer {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}

.message-list-tip {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 20px;
  align-items: stretch;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-list li {
  margin-bottom: 8px;
}

.highlight {
  color: var(--accent);
}

.contact-map-placeholder {
  display: flex;
  align-items: stretch;
}

.map-box {
  width: 100%;
  border-radius: 20px;
  border: 1px dashed rgba(226, 232, 240, 1);
  background: rgba(248, 250, 252, 0.8);
  padding: 14px 14px 16px;
}

.map-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.map-body {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

#amap-container {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
}

.site-footer {
  border-top: 1px solid rgba(229, 231, 235, 1);
  padding: 14px 0 16px;
  background: #ffffff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 12px;
}

.footer-links a:hover {
  color: #111827;
}

@media (max-width: 960px) {
  .header-inner { padding-inline: 14px; }
  .nav { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1.2fr); }
  .hero-card { order: -1; }
  .section { padding: 46px 0; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .factory-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .message-layout { grid-template-columns: minmax(0, 1.2fr); }
  .contact-grid { grid-template-columns: minmax(0, 1.2fr); }
}
@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-carousel-prev, .product-carousel-next { width: 36px; height: 36px; font-size: 20px; }
}

@media (max-width: 640px) {
  .container { padding: 0 14px; }
  .hero { padding-top: 60px; }
  .hero-text h1 { font-size: 24px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .grid-3, .steps, .factory-highlights { grid-template-columns: minmax(0, 1fr); }
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .carousel-slide { height: 250px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
  .product-carousel-prev, .product-carousel-next { width: 40px; height: 40px; font-size: 22px; }
}

