:root {
  --green: #2fb568;
  --deep-green: #0f6d47;
  --ink: #153127;
  --muted: #61736b;
  --line: #dce9e2;
  --soft: #f3f8f5;
  --gold: #f2b84b;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(18, 73, 50, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 5vw;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 233, 226, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 4px;
  background: transparent;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  color: #29473b;
  font-size: 15px;
  border-radius: 8px;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--deep-green);
  background: var(--soft);
}

.submenu {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  min-width: 174px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.18s ease;
}

.main-nav .has-submenu > a::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.submenu .submenu {
  left: calc(100% + 8px);
  top: 0;
}

.submenu .has-submenu > a::after {
  margin-left: auto;
  transform: rotate(-45deg);
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  justify-content: flex-start;
  min-height: 38px;
  padding: 0 10px;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  color: var(--white);
  background: #1a6e47;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(20, 112, 69, 0.88), rgba(20, 112, 69, 0.4) 45%, rgba(20, 112, 69, 0.08)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.04));
}

.hero-media {
  position: absolute;
  inset: 0;
  background: url("pdf-preview.png") center / cover no-repeat;
  transform: scale(1.02);
  animation: heroDrift 18s cubic-bezier(0.22, 1, 0.36, 1) infinite alternate;
}

.hero-light,
.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-light {
  z-index: 1;
  background:
    linear-gradient(112deg, transparent 0%, transparent 38%, rgba(255, 255, 255, 0.2) 48%, transparent 58%, transparent 100%),
    radial-gradient(ellipse at 70% 18%, rgba(255, 255, 255, 0.2), transparent 36%);
  opacity: 0.72;
  transform: translateX(-36%);
  animation: heroSweep 7.5s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.hero-lines {
  z-index: 1;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 120px 100%;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 62%, transparent);
  opacity: 0.14;
  animation: heroLines 18s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 90vw);
  padding: clamp(86px, 14vh, 150px) 0 90px 5vw;
}

.hero-content p {
  margin: 0 0 14px;
  font-size: clamp(15px, 1.8vw, 22px);
  opacity: 0;
  animation: heroTextUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.hero h1 {
  margin: 0;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 1.08;
  letter-spacing: 0;
  opacity: 0;
  animation: heroTextUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.28s forwards;
}

.hero-content span {
  display: block;
  margin-top: 28px;
  font-size: clamp(18px, 2.2vw, 28px);
  opacity: 0;
  animation: heroTextUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.46s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
  opacity: 0;
  animation: heroTextUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.62s forwards;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 46px;
  padding: 0 22px;
  font-weight: 700;
  border-radius: 8px;
}

.primary-btn {
  color: var(--white);
  background: var(--deep-green);
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.secondary-btn {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.65);
  transition: transform 0.24s ease, background 0.24s ease;
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.primary-btn:hover {
  background: #118657;
  box-shadow: 0 16px 34px rgba(5, 66, 41, 0.28);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: 88px 0;
}

.detail-section {
  display: none;
  opacity: 0;
  transform: translateY(24px);
}

.detail-section.is-visible {
  display: block;
  animation: detailIn 0.62s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.section-inner {
  width: min(1180px, 90vw);
  margin: 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--deep-green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.3;
}

p {
  color: var(--muted);
}

.lead-copy p,
.lead {
  margin-top: 0;
  font-size: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.chapter-overview {
  border-bottom: 1px solid var(--line);
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.entry-grid a {
  display: grid;
  min-height: 220px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(15, 109, 71, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.entry-grid a:hover,
.entry-grid a:focus-visible {
  border-color: rgba(47, 181, 104, 0.62);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.entry-grid span {
  color: rgba(47, 181, 104, 0.28);
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
}

.entry-grid strong {
  margin-top: 22px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}

.entry-grid em {
  margin-top: 10px;
  color: var(--muted);
  font-style: normal;
}

.section-heading.compact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: none;
  gap: 24px;
}

.intro-band {
  border-bottom: 1px solid var(--line);
}

.value-grid,
.service-grid,
.case-grid,
.stats-grid {
  display: grid;
  gap: 18px;
}

.value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.culture-grid {
  margin-top: 42px;
}

.value-grid article,
.service-card,
.case-grid article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.value-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 24px;
  font-weight: 800;
}

.muted {
  background: var(--soft);
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  min-height: 220px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:target,
.timeline article:target {
  outline: 3px solid rgba(47, 181, 104, 0.22);
  box-shadow: var(--shadow);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--deep-green);
  font-weight: 900;
  background: #e2f4eb;
  border-radius: 8px;
}

.operation-layout {
  align-items: center;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  padding: 24px;
  border-left: 4px solid var(--green);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(15, 109, 71, 0.08);
}

.timeline span {
  display: block;
  margin-bottom: 8px;
  color: var(--deep-green);
  font-size: 20px;
  font-weight: 800;
}

.strength-band {
  color: var(--white);
  background: linear-gradient(135deg, #0f6d47, #2fb568);
}

.strength-band .eyebrow,
.strength-band h2,
.strength-band p {
  color: var(--white);
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.advantage-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats-grid div {
  min-height: 132px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.stats-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 26px;
}

.stats-grid span {
  color: rgba(255, 255, 255, 0.84);
}

.case-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-grid article:first-child {
  grid-column: span 2;
  background: linear-gradient(135deg, #ffffff, #effaf4);
}

.gallery-row {
  align-items: center;
}

.page-visual,
.visual-strip img,
.image-card-grid img,
.caption-gallery img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.page-visual:hover,
.visual-strip img:hover,
.image-card-grid article:hover img,
.caption-gallery figure:hover img {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 24px 60px rgba(18, 73, 50, 0.18);
}

.visual-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.visual-strip.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.caption-gallery {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.caption-gallery.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.caption-gallery.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.performance-image-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.performance-image-gallery figure {
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.performance-image-gallery img {
  background: var(--white);
  border: 0;
  box-shadow: none;
  object-fit: contain;
}

.performance-image-gallery figcaption {
  padding: 4px 2px 2px;
  font-size: 17px;
}

.caption-gallery figure {
  margin: 0;
}

.caption-gallery figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.photo-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.photo-card-grid.four,
.equipment-photo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.photo-card-grid figure,
.photo-card-grid article {
  overflow: hidden;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(18, 73, 50, 0.08);
}

.photo-card-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.photo-card-grid figure:hover img,
.photo-card-grid article:hover img {
  transform: scale(1.035);
}

.photo-card-grid figcaption,
.photo-card-grid article p {
  display: block;
  padding: 16px 18px 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.photo-card-grid figcaption strong,
.photo-card-grid article h3 {
  display: block;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.3;
}

.photo-card-grid figcaption span {
  display: block;
}

.feature-table,
.mini-list-grid {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.feature-table {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-table article,
.mini-list-grid article {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-table strong {
  display: block;
  margin-bottom: 8px;
  color: var(--deep-green);
  font-size: 20px;
}

.feature-table span {
  color: var(--muted);
}

.safety-table article {
  border-top: 4px solid var(--green);
}

.mini-list-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mini-list-grid h3 {
  color: var(--deep-green);
}

.image-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.image-card-grid article {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.image-card-grid img {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.image-card-grid h3 {
  padding: 16px 18px 18px;
}

.equipment-list {
  margin-bottom: 26px;
}

.performance-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.performance-groups article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.performance-groups article:first-child {
  grid-row: span 2;
  background: #ffffff;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.logo-grid figure {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  min-height: 150px;
  margin: 0;
  padding: 16px;
  background: var(--white);
}

.logo-grid img {
  display: block;
  width: 100%;
  max-height: 92px;
  object-fit: contain;
}

.logo-grid figcaption {
  margin-top: 8px;
  color: var(--deep-green);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.process-grid article {
  position: relative;
  min-height: 168px;
  padding: 24px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-grid strong,
.process-grid span {
  display: block;
}

.process-grid strong {
  margin-bottom: 12px;
  color: var(--deep-green);
  font-size: 22px;
}

.process-grid span {
  color: var(--muted);
}

.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes detailIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.07) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes heroSweep {
  0% {
    transform: translateX(-52%);
    opacity: 0;
  }
  22% {
    opacity: 0.78;
  }
  58% {
    opacity: 0.46;
  }
  100% {
    transform: translateX(54%);
    opacity: 0;
  }
}

@keyframes heroLines {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 240px 0;
  }
}

@keyframes heroTextUp {
  from {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media,
  .hero-light,
  .hero-lines,
  .hero-content p,
  .hero h1,
  .hero-content span,
  .hero-actions,
  .detail-section.is-visible {
    animation: none;
  }

  .hero-content p,
  .hero h1,
  .hero-content span,
  .hero-actions {
    opacity: 1;
  }

  .reveal-item,
  .page-visual,
  .visual-strip img,
  .image-card-grid img,
  .caption-gallery img {
    transition: none;
  }
}

.contact-section {
  padding: 88px 0;
  background: #10251d;
}

.contact-section h2,
.contact-section h3,
.contact-section p {
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 420px);
  gap: 40px;
  align-items: center;
}

.contact-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-card .primary-btn {
  margin-top: 12px;
  background: var(--green);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 5vw;
  color: #d7e6df;
  background: #0a1a14;
}

.site-footer a {
  color: var(--white);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 76px;
    max-height: calc(100vh - 76px);
    padding: 14px 5vw 26px;
    overflow: auto;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform 0.22s ease;
  }

  body.nav-open .main-nav {
    transform: translateY(0);
  }

  .main-nav > ul,
  .section-heading.compact {
    display: block;
  }

  .main-nav a {
    justify-content: space-between;
  }

  .submenu {
    position: static;
    display: grid;
    gap: 4px;
    margin: 0 0 8px 16px;
    padding: 4px 0 4px 10px;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .submenu .submenu {
    margin-left: 14px;
  }

  .submenu .has-submenu > a::after {
    transform: rotate(45deg) translateY(-2px);
  }

  .two-col,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .value-grid,
  .service-grid,
  .stats-grid,
  .case-grid,
  .advantage-grid,
  .project-grid,
  .entry-grid,
  .image-card-grid,
  .performance-groups,
  .feature-table,
  .mini-list-grid,
  .photo-card-grid,
  .photo-card-grid.four,
  .equipment-photo-grid,
  .logo-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-grid article:first-child,
  .performance-groups article:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .visual-strip,
  .visual-strip.four,
  .caption-gallery.two,
  .caption-gallery.four,
  .performance-image-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding-left: 6vw;
  }

  .section {
    padding: 64px 0;
  }

  .value-grid,
  .service-grid,
  .stats-grid,
  .case-grid,
  .advantage-grid,
  .project-grid,
  .entry-grid,
  .image-card-grid,
  .performance-groups,
  .feature-table,
  .mini-list-grid,
  .photo-card-grid,
  .photo-card-grid.four,
  .equipment-photo-grid,
  .logo-grid,
  .process-grid,
  .visual-strip,
  .visual-strip.four,
  .caption-gallery.two,
  .caption-gallery.four,
  .performance-image-gallery {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: block;
  }
}
