/* 宁德绿康官网预览 — 简单展示壳 */
:root {
  --green: #1b7a38;
  --green-dark: #14602c;
  --navy: #12315c;
  --text: #1a1c1a;
  --muted: #4e554e;
  --bg: #f4f7f2;
  --card: #ffffff;
  --line: #d4e0d2;
  --focus: #0b5cab;
  --max: 42rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1.0625rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
a:hover { color: var(--green); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.skip {
  position: absolute;
  left: .75rem;
  top: -3rem;
  background: var(--navy);
  color: #fff;
  padding: .5rem .8rem;
  z-index: 20;
  text-decoration: none;
}
.skip:focus { top: .75rem; }
.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}
header.hero {
  padding: 2.25rem 0 1.25rem;
  text-align: center;
}
.logo {
  width: auto;
  height: auto;
  max-width: min(17.5rem, 72vw);
  max-height: min(16rem, 46vh);
  margin: 0 auto 1.1rem;
}
h1 {
  margin: 0;
  font-size: clamp(1.15rem, 3.6vw, 1.45rem);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text);
}
.en-name {
  margin: .25rem 0 0;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
}
.intro, .contact, .gallery, footer {
  padding: 0 0 1.75rem;
}
.intro p, .contact p {
  margin: 0 0 .85rem;
  color: var(--text);
}
.intro p:last-child, .contact p:last-child { margin-bottom: 0; }
.contact h2, .gallery h2 {
  margin: 0 0 .65rem;
  font-size: 1.05rem;
  color: var(--green-dark);
  font-weight: 700;
}
.mail {
  font-weight: 600;
  word-break: break-all;
}
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: .75rem;
  background: #122018;
  aspect-ratio: 16 / 10;
  box-shadow: 0 8px 24px rgba(18, 49, 92, .08);
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide--field img {
  object-position: 50% 45%;
}
.caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: .65rem .9rem .75rem;
  color: #fff;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .06em;
  background: linear-gradient(transparent, rgba(0,0,0,.62));
}
.status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 2.5rem;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.65;
}
footer h2 {
  margin: 0 0 .4rem;
  font-size: .82rem;
  color: var(--muted);
  font-weight: 700;
}
footer ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}
footer li { margin: 0 0 .35rem; }
.copyright { margin: 0; }
@media (max-width: 40rem) {
  body { font-size: 1rem; }
  header.hero { padding-top: 1.5rem; }
  .carousel { aspect-ratio: 4 / 3; border-radius: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
}
