/* ===========================================================
   常州乐固机器人有限公司 · 企业官网
   设计风格：简约大气 / 科技工业感
   =========================================================== */

:root {
  --navy: #022c22;
  --navy-2: #064e3b;
  --blue: #017f01;
  --blue-dark: #016201;
  --blue-soft: #e6f6e6;
  --blue-light: #2fb344;
  --ink: #161b24;
  --muted: #5b6577;
  --line: #e1ece6;
  --bg: #ffffff;
  --bg-soft: #f3faf3;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(2, 44, 34, 0.08);
  --shadow-sm: 0 4px 18px rgba(2, 44, 34, 0.06);
  --maxw: 1200px;
  --header-h: 88px;
  --font: "PingFang SC", "Microsoft YaHei", "Segoe UI", -apple-system,
    BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(16, 42, 76, 0.05);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  color: var(--navy);
}

.brand .brand-logo-img {
  height: 58px;
  width: auto;
  display: block;
}

/* 页头品牌信息：公司全称 + 联系方式（大字体） */
.brand-info {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
  padding-left: 14px;
  border-left: 2px solid var(--line);
}

.brand-info .brand-name {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--navy);
}

.brand-info .brand-contact {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-dark);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-info .brand-contact .sep {
  color: var(--line);
  font-weight: 400;
}

@media (max-width: 1100px) {
  .brand-info .brand-name { font-size: 20px; }
  .brand-info .brand-contact { font-size: 14px; }
}

@media (max-width: 1080px) {
  .brand-info { display: none; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(46, 124, 240, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(46, 124, 240, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: radial-gradient(
      1200px 600px at 80% -10%,
      rgba(46, 124, 240, 0.12),
      transparent 60%
    ),
    linear-gradient(180deg, #f5fdf5 0%, #ffffff 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.18;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}

.hero h1 .accent {
  color: var(--blue);
}

.hero p.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 34px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(46, 124, 240, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(46, 124, 240, 0.42);
}

.btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero-stats .stat strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
}

.hero-stats .stat span {
  font-size: 14px;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: transparent;
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-visual svg {
  width: 100%;
  height: 100%;
}

/* ---------- 顶部轮播 banner ---------- */
.hero-carousel {
  position: relative;
  overflow: hidden;
  background: #eef6ef;
  padding-top: var(--header-h);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #022c22;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.slide-calc { background: linear-gradient(120deg, #eaf6ec 0%, #d8f0dd 100%); }
.slide-brand { background: linear-gradient(120deg, #ecf5f0 0%, #dcf0e6 100%); }
.slide-service { background: linear-gradient(120deg, #eef6ef 0%, #e0f1ea 100%); }

.carousel-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 78px 0;
}

.carousel-copy .carousel-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(1, 126, 0, 0.1);
  color: #017e00;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.carousel-copy h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  margin-bottom: 16px;
  color: #0f2a20;
}

.carousel-copy p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(20, 42, 32, 0.78);
  max-width: 540px;
  margin-bottom: 26px;
}

.carousel-btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 12px 30px rgba(1, 126, 0, 0.22);
  transition: transform 0.2s ease;
}

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

.carousel-tip {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: rgba(20, 42, 32, 0.6);
}

.carousel-demo { display: flex; justify-content: center; }

.calc-card {
  width: 100%;
  max-width: 360px;
  background: #ffffff;
  border: 1px solid rgba(1, 126, 0, 0.18);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 44px rgba(2, 44, 34, 0.1);
}

.calc-card h4 { font-size: 15px; margin-bottom: 16px; color: #0f2a20; }

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(1, 126, 0, 0.12);
  font-size: 14px;
  color: rgba(20, 42, 32, 0.8);
}

.calc-row .val { font-weight: 700; color: #0f2a20; }
.calc-row.hl, .calc-row.hl .val { color: #017e00; }

.brand-grid-img {
  width: 100%;
  max-width: 460px;
  filter: drop-shadow(0 16px 40px rgba(2, 44, 34, 0.14));
}

.icon-demo .svc-icon {
  font-size: 120px;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.35));
}

.icon-demo .svc-photo {
  width: 100%;
  max-width: 460px;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(2, 44, 34, 0.12);
  object-fit: cover;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(1, 126, 0, 0.28);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.carousel-dot.active { background: #017e00; width: 28px; border-radius: 8px; }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(1, 126, 0, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: #017e00;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.carousel-arrow:hover { background: #ffffff; }
.carousel-arrow.prev { left: 18px; }
.carousel-arrow.next { right: 18px; }


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

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
}

/* ---------- Feature cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card .icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split .visual {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  color: #fff;
  padding: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.split .visual svg {
  width: 80%;
}

.split .visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 关于页：浅色主题下的圆角照片卡（不沿用 split 默认深色渐变） */
.split .about-visual {
  background: transparent;
  border-radius: 20px;
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow: 0 14px 36px rgba(2, 44, 34, 0.10);
  overflow: hidden;
}
.split .about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--navy);
  margin-bottom: 18px;
  font-weight: 800;
}

.split p {
  color: var(--muted);
  margin-bottom: 18px;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 12px;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink);
  font-size: 15px;
}

.checklist .dot {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

/* ---------- Product grid（一格一格 + 点击详情） ---------- */
.product-sections {
  display: grid;
  gap: 48px;
}

.product-section {
  scroll-margin-top: 90px;
}

.section-title {
  font-size: 23px;
  color: var(--navy);
  margin: 0 0 22px;
  padding-left: 14px;
  border-left: 4px solid var(--blue);
  font-weight: 800;
}

.product-subgroup {
  margin-bottom: 30px;
}

.product-subgroup:last-child {
  margin-bottom: 0;
}

.subgroup-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  color: var(--blue-dark);
  margin: 0 0 16px;
  font-weight: 700;
}

.subgroup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
  flex: 0 0 auto;
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.filter-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.filter-chip.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(1, 126, 1, 0.22);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(264px, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  outline: none;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.product-card:hover .pc-more,
.product-card:focus-visible .pc-more {
  color: var(--blue);
  transform: translateX(4px);
}

.pc-media {
  height: 132px;
  border-radius: 14px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 16px;
  color: var(--blue);
}

.pc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pc-media--icon svg {
  width: 56px;
  height: 56px;
}

.pc-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 12px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.pc-title {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}

.pc-sum {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
  flex: 1;
}

.pc-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s ease, transform 0.2s ease;
}

/* ---------- 详情弹窗 ---------- */
.product-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 44, 34, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 999;
}

.product-modal.open {
  display: flex;
  animation: modalFade 0.2s ease;
}

@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  max-width: 540px;
  width: 100%;
  padding: 40px 38px 36px;
  box-shadow: 0 30px 80px rgba(2, 44, 34, 0.35);
  max-height: 88vh;
  overflow-y: auto;
  animation: modalPop 0.25s cubic-bezier(0.2, 0.8, 0.3, 1.2);
}

@keyframes modalPop {
  from { transform: translateY(20px) scale(0.97); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: none;
  background: var(--bg-soft);
  color: var(--navy);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

.m-media {
  height: 180px;
  border-radius: 16px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--blue);
  margin-bottom: 22px;
}

.m-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-media--icon svg {
  width: 72px;
  height: 72px;
}

.m-title {
  font-size: 24px;
  color: var(--navy);
  margin: 12px 0 14px;
}

.m-sum {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.tag {
  font-size: 12px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  padding: 4px 12px;
  border-radius: 999px;
}

/* 数据驱动：产品图片与分类标题 */
.product-img {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.group-title {
  font-size: 20px;
  color: var(--navy);
  margin: 38px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--blue);
}

.group-title:first-of-type {
  margin-top: 8px;
}

/* ---------- Timeline ---------- */
.timeline {
  display: grid;
  gap: 0;
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding-bottom: 36px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 119px;
  top: 8px;
  bottom: -8px;
  width: 2px;
  background: var(--line);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-item .year {
  font-weight: 800;
  color: var(--blue);
  font-size: 18px;
  padding-top: 2px;
}

.timeline-item .node {
  position: absolute;
  left: 112px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
}

.timeline-item h4 {
  color: var(--navy);
  font-size: 17px;
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(1, 127, 1, 0.45), transparent 70%);
}

.cta-band h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 14px;
  position: relative;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 30px;
  position: relative;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--navy);
  position: relative;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}

.info-list {
  list-style: none;
  display: grid;
  gap: 20px;
}

.info-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-list .ic {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
}

.info-list strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 2px;
}

.info-list span {
  color: var(--muted);
  font-size: 14.5px;
}

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form .field {
  margin-bottom: 18px;
}

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

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

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

.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form .btn-primary {
  width: 100%;
  justify-content: center;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}

.contact-map {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #eef6ef;
}

.contact-map .map-open {
  display: flex;
  justify-content: center;
  padding: 12px 0;
  background: #fff;
  border-top: 1px solid var(--line);
}

.contact-map .map-open a {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.site-footer .brand {
  color: #fff;
  margin-bottom: 16px;
}

.site-footer .brand small {
  color: rgba(255, 255, 255, 0.5);
}

.footer-about {
  font-size: 14.5px;
  max-width: 320px;
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer-col a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-admin {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.footer-admin:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    max-width: 420px;
    margin: 0 auto;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(16, 42, 76, 0.08);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 14px 24px !important;
  }
  .nav-cta {
    margin: 8px 24px 14px;
    text-align: center;
  }
  .hamburger {
    display: flex;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .form .row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .section {
    padding: 64px 0;
  }
  .cta-band {
    padding: 44px 24px;
  }
  .hero-carousel { padding-top: var(--header-h); }
  .carousel-slide { min-height: auto; }
  .carousel-inner { grid-template-columns: 1fr; gap: 26px; padding: 40px 0 56px; text-align: left; }
  .carousel-demo { order: -1; }
  .brand-grid-img { max-width: 300px; }
  .icon-demo .svc-icon { font-size: 88px; }
  .carousel-arrow { display: none; }
}

/* ===== 手机端独立排版（≤640px） ===== */
@media (max-width: 640px) {
  .container { padding: 0 16px; }

  /* 首页 Hero */
  .hero { padding: 44px 0 60px; }
  .hero h1 { font-size: 30px; line-height: 1.22; margin-bottom: 16px; }
  .hero p.lead { font-size: 15px; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 13px 22px; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
  .hero-stats .stat { min-width: 0; }
  .hero-stats .stat:last-child { grid-column: 1 / -1; }
  .hero-stats .stat strong { font-size: 24px; }
  .hero-stats .stat span { font-size: 12.5px; line-height: 1.35; }
  .hero-visual { max-width: 320px; margin: 20px auto 0; }

  /* 轮播 banner */
  .carousel-inner { padding: 26px 0 44px; gap: 20px; }
  .carousel-copy .carousel-tag { font-size: 12px; padding: 5px 12px; margin-bottom: 14px; }
  .carousel-copy h2 { font-size: 23px; line-height: 1.25; }
  .carousel-copy p { font-size: 14px; line-height: 1.6; margin-bottom: 18px; }
  .carousel-btn { padding: 12px 20px; font-size: 14px; }
  .carousel-tip { font-size: 12px; margin-top: 12px; }
  .calc-card { max-width: 100%; padding: 18px; }
  .calc-row { font-size: 13px; padding: 10px 0; }
  .brand-grid-img { max-width: 260px; }
  .icon-demo .svc-icon { font-size: 76px; }
  .carousel-dots { bottom: 12px; }

  /* 通用区块 / 卡片 */
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: 24px; }
  .section-head p { font-size: 14.5px; }
  .eyebrow { font-size: 12px; padding: 5px 12px; }
  .grid-3, .grid-2 { gap: 18px; }
  .card { padding: 22px 20px; }
  .card .icon { width: 46px; height: 46px; margin-bottom: 16px; }
  .card h3 { font-size: 17px; }
  .card p { font-size: 14px; }

  /* Split */
  .split { gap: 30px; }
  .split .visual { padding: 26px; }
  .split h2 { font-size: 24px; }
  .split p, .checklist li { font-size: 14px; }

  /* 产品中心 */
  .product-sections { gap: 36px; }
  .section-title { font-size: 20px; }
  .subgroup-title { font-size: 15px; }
  .product-filters { gap: 8px; margin-bottom: 22px; }
  .filter-chip { padding: 7px 13px; font-size: 13px; }
  .product-grid { gap: 16px; }
  .product-card { padding: 20px 16px 18px; }
  .pc-media { height: 104px; }
  .pc-title { font-size: 16px; }
  .pc-badge { top: 14px; right: 14px; padding: 3px 10px; font-size: 11px; }
  .product-modal { padding: 14px; }
  .modal-card { padding: 28px 20px 24px; border-radius: 16px; }

  /* CTA / 页脚 */
  .cta-band { padding: 32px 18px; }
  .cta-band h2 { font-size: 22px; }
  .cta-band p { font-size: 14px; }
  .cta-band .btn-primary { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
}

/* ---------- FAQ（GEO 结构化内容） ---------- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item[open] {
  border-color: rgba(1, 126, 0, 0.25);
  box-shadow: 0 8px 24px rgba(2, 44, 34, 0.06);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 400;
  color: var(--blue);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 22px 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}
@media (max-width: 640px) {
  .faq-item summary { font-size: 15px; padding: 14px 16px; }
  .faq-item p { padding: 0 16px 14px; font-size: 13.5px; }
}

/* 内页 hero：给固定页头（88px）预留顶部空间 */
.page-hero {
  padding-top: calc(var(--header-h) + 40px);
}
