:root {
  --automation-ink: #063f48;
  --automation-muted: #667478;
  --automation-line: #d9e1e3;
  --automation-soft: #f6f9fa;
  --automation-accent: #0a8190;
}

.automation-hero {
  overflow: clip;
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
  padding-top: clamp(72px, 8vw, 118px);
  padding-bottom: clamp(72px, 8vw, 118px);
}

.automation-hero-copy { position: relative; z-index: 1; }
.automation-hero-copy h1 {
  margin: 0;
  color: var(--automation-ink);
  font-size: clamp(42px, 4.2vw, 66px);
  line-height: 1.12;
  letter-spacing: -.04em;
}
.automation-hero-copy p {
  max-width: 610px;
  margin: 28px 0 34px;
  color: var(--automation-muted);
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.9;
}
.automation-hero-media { margin: 0; min-width: 0; }
.automation-hero-media img {
  display: block;
  width: 108%;
  max-width: none;
  height: auto;
  margin-left: -4%;
}

.automation-catalog { padding-top: 34px; padding-bottom: clamp(72px, 9vw, 136px); }
.catalog-heading { text-align: center; margin-bottom: 46px; }
.catalog-heading h2 { margin: 0; color: var(--automation-ink); font-size: clamp(32px, 3vw, 48px); line-height: 1.2; }
.catalog-heading span { display: block; width: 42px; height: 3px; margin: 18px auto 0; background: var(--automation-accent); }

.automation-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.automation-card {
  grid-column: span 2;
  overflow: hidden;
  border: 1px solid var(--automation-line);
  background: #fff;
  min-width: 0;
}
.automation-card-large { grid-column: span 3; }
.automation-product-media {
  position: relative;
  height: 320px;
  overflow: hidden;
  background-color: #fff;
  background-image: url("assets/sample-automation-system-family.png");
  background-repeat: no-repeat;
}
.automation-card-large .automation-product-media { height: 380px; }
.crop-fj48 {
  background-image: url("assets/automation-jh-fj48-full.png");
  background-size: contain;
  background-position: center;
}
.crop-s60 {
  background-image: url("assets/automation-s60-full.png");
  background-size: contain;
  background-position: center bottom;
}
.crop-s60::after {
  content: "";
  position: absolute;
  left: 80.5%;
  bottom: 1px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, #d9d9d9 0 54%, rgba(217, 217, 217, 0) 72%);
}
.crop-fj15 { background-size: 310% auto; background-position: 3% 94%; }
.crop-fb200 { background-size: 310% auto; background-position: 51% 94%; }
.crop-g600 { background-size: 310% auto; background-position: 98% 94%; }

.automation-card-copy { padding: 30px 30px 32px; }
.automation-card-copy h3 { margin: 0 0 14px; color: var(--automation-ink); font-size: clamp(21px, 1.7vw, 29px); line-height: 1.35; }
.automation-card-copy p { min-height: 58px; margin: 0; color: var(--automation-muted); font-size: 15px; line-height: 1.75; }
.automation-card-copy ul { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0; padding: 0; list-style: none; }
.automation-card-copy li { border: 1px solid #9dc9cf; border-radius: 6px; padding: 6px 11px; color: #16717d; font-size: 13px; }
.automation-card-copy a,
.automation-card-copy button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 0 7px;
  border: 0;
  border-bottom: 1px solid var(--automation-ink);
  background: transparent;
  color: var(--automation-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.joint-development {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  padding: 32px;
  border: 1px solid var(--automation-line);
  background: linear-gradient(105deg, #f8fbfc, #eef7f9);
  text-align: left;
}
.joint-icon { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid #8bbfc7; border-radius: 50%; color: var(--automation-accent); font-size: 30px; }
.joint-development h2 { margin: 0 0 6px; color: var(--automation-ink); font-size: 23px; }
.joint-development p { margin: 0; color: var(--automation-muted); }

/* 与官网其余正式页面保持同一套浅色页脚。 */
.site-footer { padding: 0; color: var(--text); border-top: 1px solid var(--line); background: var(--surface); }
.site-footer .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); gap: clamp(34px, 5vw, 76px); padding-block: 70px; }
.site-footer .footer-brand img { width: 190px; filter: none; }
.site-footer .footer-brand p { max-width: 330px; margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.site-footer .footer-grid h2 { margin: 0 0 20px; color: var(--text); font-size: 14px; }
.site-footer .footer-grid a,
.site-footer .footer-grid button { margin: 11px 0 0; color: var(--muted); font-size: 13px; }
.site-footer .footer-grid a:hover,
.site-footer .footer-grid button:hover { color: var(--accent); }
.site-footer .footer-bottom { min-height: 76px; margin-top: 0; padding-top: 0; align-items: center; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; }
.site-footer .footer-bottom div { display: flex; flex-wrap: wrap; gap: 28px; }

@media (max-width: 980px) {
  .automation-hero { min-height: auto; grid-template-columns: 1fr; padding-top: 72px; }
  .automation-hero-media img { width: 100%; margin: 0; }
  .automation-card, .automation-card-large { grid-column: span 3; }
  .automation-card-large .automation-product-media, .automation-product-media { height: 320px; }
  .automation-card-large .automation-product-media { height: 270px; }
  .crop-fj48, .crop-s60 { background-size: contain; }
  .site-footer .footer-grid { grid-template-columns: 1.5fr repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .automation-hero { gap: 32px; padding-top: 52px; padding-bottom: 66px; }
  .automation-hero-copy h1 { font-size: 38px; }
  .automation-grid { display: block; }
  .automation-card { margin-bottom: 16px; }
  .automation-card-large .automation-product-media, .automation-product-media { height: 265px; }
  .automation-card-large .automation-product-media { height: 230px; }
  .automation-card-copy { padding: 24px 22px 26px; }
  .automation-card-copy p { min-height: 0; }
  .joint-development { align-items: flex-start; justify-content: flex-start; padding: 24px 22px; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 24px; }
  .site-footer .footer-brand { grid-column: 1 / -1; }
  .site-footer .footer-bottom { align-items: flex-start; padding-block: 24px; }
  .site-footer .footer-bottom div { display: grid; gap: 8px; }
}
