:root {
  --bg: #eef3f1;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: #ffffff;
  --surface-dark: #12353b;
  --text: #173136;
  --muted: #5b7275;
  --line: rgba(18, 53, 59, 0.12);
  --accent: #1d7c72;
  --accent-strong: #0f5e57;
  --accent-soft: #d9efe9;
  --shadow: 0 24px 70px rgba(17, 55, 59, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(29, 124, 114, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(12, 82, 96, 0.15), transparent 24%),
    linear-gradient(180deg, #f6faf8 0%, var(--bg) 45%, #f4f1ea 100%);
  min-height: 100vh;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding-bottom: 56px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(248, 252, 251, 0.8);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

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

.brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(17, 55, 59, 0.16);
}

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

.brand strong {
  font-size: 1rem;
}

.brand span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-strong);
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--accent-soft);
  color: var(--accent-strong);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 42px;
  padding: 72px 0 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1,
.section-heading h2 {
  font-family: "Noto Serif SC", "STSong", serif;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-text,
.section-heading p,
.about-copy p,
.solution-card p,
.capability-grid p,
.timeline-card li,
.contact-card li,
.form-note {
  color: var(--muted);
  line-height: 1.8;
}

.hero-text {
  max-width: 60ch;
  margin: 22px 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #125b7a 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(24, 103, 100, 0.25);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 36px 0 0;
  list-style: none;
}

.hero-metrics li,
.hero-card,
.trust-band,
.timeline-card,
.solution-card,
.project-gallery figure,
.capability-grid article,
.contact-card,
.contact-form,
.product-panel,
.product-tab,
.honors-gallery img {
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
}

.hero-metrics li {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
}

.hero-metrics strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
}

.hero-card-main {
  position: absolute;
  inset: 0 28px 46px 0;
}

.hero-card-main img {
  height: 100%;
  object-fit: cover;
}

.hero-card-float {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(320px, 82%);
  padding: 24px;
  background: linear-gradient(180deg, rgba(15, 44, 56, 0.96), rgba(18, 53, 59, 0.92));
  color: #eff9f8;
}

.hero-card-float span {
  display: block;
  margin-bottom: 12px;
  color: rgba(239, 249, 248, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
}

.hero-card-float strong {
  font-size: 1.2rem;
  line-height: 1.6;
}

.trust-band,
.section,
.product-panel {
  background: var(--surface);
  backdrop-filter: blur(20px);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 22px 28px;
  border-radius: var(--radius-lg);
}

.trust-band span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.84rem;
  color: var(--muted);
}

.trust-band strong {
  font-size: 1.04rem;
}

.section {
  margin-top: 28px;
  padding: 34px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
}

.section-heading p {
  margin: 12px 0 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
  gap: 28px;
}

.timeline-card {
  padding: 24px;
  background: linear-gradient(180deg, rgba(18, 53, 59, 0.95), rgba(29, 124, 114, 0.9));
  color: #fff;
  border-radius: var(--radius-lg);
}

.timeline-card h3 {
  margin-top: 0;
}

.timeline-card ol {
  margin: 0;
  padding-left: 18px;
}

.timeline-card li {
  color: rgba(255, 255, 255, 0.82);
}

.solutions-grid,
.capability-grid {
  display: grid;
  gap: 22px;
}

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

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

.solution-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  overflow: hidden;
}

.solution-card img {
  height: 100%;
  min-height: 180px;
  object-fit: contain;
  border-radius: 18px;
  background: #ffffff;
}

.solution-card h3,
.capability-grid h3,
.contact-card h3,
.timeline-card h3 {
  margin: 4px 0 10px;
  font-size: 1.2rem;
}

.mini-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(18, 53, 59, 0.1);
  background: rgba(248, 252, 251, 0.92);
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.76rem;
  line-height: 1.55;
}

.mini-table th,
.mini-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(18, 53, 59, 0.08);
  border-right: 1px solid rgba(18, 53, 59, 0.08);
  text-align: left;
  vertical-align: top;
  word-break: break-word;
}

.mini-table th:last-child,
.mini-table td:last-child {
  border-right: 0;
}

.mini-table tbody tr:last-child td {
  border-bottom: 0;
}

.mini-table th {
  background: linear-gradient(135deg, rgba(29, 124, 114, 0.14), rgba(18, 94, 87, 0.08));
  color: var(--text);
  font-weight: 700;
}

.mini-table td:first-child {
  width: 64px;
  color: var(--accent-strong);
  font-weight: 700;
}

.mini-table td:nth-child(2) {
  width: 150px;
  color: var(--text);
  font-weight: 600;
}

.mini-table td {
  color: var(--muted);
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.product-tab {
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  cursor: pointer;
}

.product-tab.is-active {
  background: var(--surface-dark);
  color: #f4fbfa;
}

.product-panel {
  padding: 24px;
  border-radius: var(--radius-xl);
}

.product-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 20px;
}

.product-panel-head h3 {
  margin: 0;
  font-size: 1.55rem;
}

.product-panel-head p {
  margin: 10px 0 0;
  color: var(--muted);
}

.product-count {
  color: var(--accent-strong);
  font-weight: 700;
}

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

.product-card {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(18, 53, 59, 0.08);
}

.product-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.product-photo,
.product-params {
  min-height: 260px;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-params {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #ffffff;
}

.product-params img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-photo img,
.product-params img {
  cursor: zoom-in;
}

.product-photo {
  border-right: 1px solid rgba(18, 53, 59, 0.08);
  background: #ffffff;
}

.product-card-body {
  padding: 18px;
}

.product-card-body h4 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.product-card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.94rem;
}

.project-gallery {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px;
}

.project-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
}

.project-gallery img {
  height: 300px;
  object-fit: cover;
}

.project-gallery .project-tall {
  grid-row: span 2;
}

.project-gallery .project-tall img {
  height: 100%;
  min-height: 618px;
}

.project-gallery figcaption {
  padding: 14px 16px 18px;
  color: var(--muted);
}

.capability-grid article {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
}

.honors-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.honors-gallery img {
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.contact-card,
.contact-form {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
}

.contact-card ul {
  margin: 0;
  padding-left: 18px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(18, 53, 59, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(248, 252, 251, 0.9);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.product-tab:focus,
.menu-toggle:focus,
.button:focus {
  outline: 2px solid rgba(29, 124, 114, 0.34);
  outline-offset: 2px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 24, 0.72);
  backdrop-filter: blur(10px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  height: min(88vh, 860px);
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
}

.lightbox-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

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

@media (max-width: 1080px) {
  .hero,
  .about-grid,
  .contact-grid,
  .solutions-grid,
  .capability-grid,
  .project-gallery,
  .honors-gallery,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }

  .project-gallery .project-tall {
    grid-row: auto;
  }

  .project-gallery .project-tall img {
    min-height: 320px;
  }

  .product-panel-head {
    flex-direction: column;
    align-items: start;
  }

  .product-media {
    grid-template-columns: 1fr;
  }

  .product-photo {
    border-right: 0;
    border-bottom: 1px solid rgba(18, 53, 59, 0.08);
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-dialog {
    height: min(82vh, 760px);
    padding: 12px;
    border-radius: 22px;
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--container));
  }

  .site-header {
    flex-wrap: wrap;
    border-radius: 28px;
    padding: 14px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 6px 4px 2px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 9vw, 3.4rem);
  }

  .hero-metrics,
  .trust-band {
    grid-template-columns: 1fr;
  }

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

  .mini-table {
    font-size: 0.7rem;
  }

  .section {
    padding: 26px 18px;
  }
}

main > p {
  display: none;
}

.site-footer {
  padding: 0 0 32px;
  text-align: center;
}

.site-footer p {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  color: rgba(18, 53, 59, 0.72);
  font-size: 0.95rem;
}

.site-footer img {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}
