:root {
  --navy: #071a3b;
  --navy-2: #102746;
  --blue: #0b74ff;
  --teal: #27d7b5;
  --ink: #172033;
  --muted: #6c788b;
  --line: #e4ebf4;
  --paper: #ffffff;
  --wash: #f6f9fc;
  --warm: #efe5d8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 clamp(22px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(228, 235, 244, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 300px;
  height: 48px;
  gap: 16px;
}

.brand img {
  width: 172px;
  height: 51px;
  object-fit: contain;
}

.brand-divider {
  width: 2px;
  height: 34px;
  border-radius: 999px;
  background: var(--blue);
}

.brand-cn {
  display: inline-block;
  color: var(--navy);
  font-size: 24px;
  font-weight: 420;
  line-height: 1;
  letter-spacing: 0.34em;
  white-space: nowrap;
  transform: scaleX(0.68);
  transform-origin: left center;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 14px;
  color: var(--navy-2);
}

.hero {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 120px clamp(24px, 6vw, 96px) 72px;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.68) 34%, rgba(255, 255, 255, 0.08) 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.32));
}

.hero-content {
  position: relative;
  width: min(680px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-family: Avenir, Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 26px;
  color: var(--navy);
  font-size: clamp(40px, 5.2vw, 74px);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 620;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.hero-copy {
  width: min(560px, 100%);
  margin-bottom: 0;
  color: #435166;
  font-size: 17px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.metrics div {
  min-height: 148px;
  padding: 34px clamp(20px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-family: Avenir, Montserrat, Arial, sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.section {
  padding: clamp(76px, 10vw, 132px) clamp(24px, 6vw, 96px);
}

.story-grid,
.about-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 8vw, 112px);
}

.story-copy {
  columns: 2;
  column-gap: 42px;
}

.story-copy p {
  break-inside: avoid;
}

.vision-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 26, 59, 0.92), rgba(7, 26, 59, 0.54)),
    url("./assets/pet-tech-bg.svg") center / cover;
}

.vision-band h2,
.vision-band p {
  color: #fff;
}

.vision-band p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
  margin-bottom: 54px;
}

.section-head p {
  width: min(520px, 100%);
}

.product-list {
  display: grid;
  gap: 38px;
}

.product-list article {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(280px, 0.68fr);
  height: 430px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #fff, #f8fbff);
  overflow: hidden;
}

.product-list article:nth-child(even) {
  grid-template-columns: minmax(280px, 0.68fr) minmax(320px, 0.92fr);
}

.product-list article:nth-child(even) img {
  order: 2;
}

.product-list .product-featured {
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  min-height: 620px;
  height: auto;
  background: #fff;
}

.product-list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-list .product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 620px;
  min-width: 0;
  padding: 32px clamp(24px, 5vw, 70px);
  background: #fff;
}

.product-list .robot-media {
  background: linear-gradient(135deg, #fff, #f8fbff);
}

.product-list .robot-image {
  width: auto !important;
  height: 560px !important;
  max-width: 74%;
  max-height: calc(100% - 64px);
  object-fit: contain !important;
  object-position: center;
}

.product-list .product-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(42px, 6vw, 88px);
  background: linear-gradient(135deg, #f7fbff, #fff);
  text-align: center;
}

.product-list .product-featured h3,
.product-list .product-featured p {
  position: relative;
  z-index: 1;
}

.product-list .product-featured h3 {
  color: var(--navy);
}

.product-list .product-featured p {
  color: var(--muted);
}

.product-list .product-featured p {
  max-width: 420px;
  margin-right: auto;
  margin-left: auto;
}

.product-list div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 72px);
}

.product-list h3 {
  font-size: clamp(26px, 3vw, 42px);
}

.product-list p {
  margin-bottom: 0;
  font-size: 17px;
}

.about {
  background: var(--wash);
}

.about-layout {
  align-items: start;
}

.about-title h2 {
  position: sticky;
  top: 112px;
  margin-bottom: 0;
  font-size: clamp(30px, 3.5vw, 48px);
}

.about-copy {
  padding-top: 10px;
}

.about-layout p {
  width: min(760px, 100%);
  font-size: 16px;
  line-height: 1.85;
}

.future {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(90deg, rgba(7, 26, 59, 0.9), rgba(7, 26, 59, 0.48)),
    url("./assets/docx-media/word/media/image6.png") center / cover;
}

.future h2 {
  width: min(900px, 100%);
  color: #fff;
}

.future p:last-child {
  width: min(680px, 100%);
  color: rgba(255, 255, 255, 0.74);
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 420px);
  gap: 42px;
  align-items: center;
  padding: clamp(76px, 10vw, 122px) clamp(24px, 6vw, 96px);
  background: #fff;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 132px;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
}

.contact-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
}

.contact-card strong {
  color: var(--navy);
  font-family: Avenir, Montserrat, Arial, sans-serif;
  font-size: 28px;
}

.contact-card img {
  width: 132px;
  height: 132px;
  object-fit: contain;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding: 0 clamp(24px, 6vw, 96px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer img {
  width: 172px;
  height: 51px;
  object-fit: contain;
}

.footer-brand {
  min-width: 300px;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-meta a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-meta a:hover {
  color: var(--blue);
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: 760px;
    align-items: end;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.95) 62%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.2));
  }

  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-grid,
  .about-layout,
  .vision-band,
  .product-list article,
  .product-list article:nth-child(even),
  .contact {
    grid-template-columns: 1fr;
  }

  .product-list article:nth-child(even) img {
    order: 0;
  }

  .product-list article {
    height: auto;
  }

  .product-list img {
    height: 360px;
  }

  .product-list .product-media {
    min-height: 520px;
  }

  .product-list .robot-image {
    height: 480px !important;
  }

  .story-copy {
    columns: 1;
  }

  .section-head {
    display: block;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 68px;
  }

  .brand {
    min-width: 0;
    gap: 12px;
  }

  .brand img {
    width: 132px;
    height: 40px;
  }

  .brand-divider {
    height: 28px;
  }

  .brand-cn {
    font-size: 18px;
    letter-spacing: 0.2em;
  }

  h1 {
    font-size: 36px;
  }

  .hero {
    min-height: 720px;
    padding-top: 92px;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics div:last-child {
    border-bottom: 0;
  }

  .product-list img {
    height: 260px;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .footer {
    display: grid;
    gap: 12px;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .footer-meta {
    flex-wrap: wrap;
    gap: 8px 16px;
  }
}
