/* Chicheng Biotech — DSM-Firmenich inspired corporate layout */

:root {
  --green-900: #0f2f22;
  --green-800: #164032;
  --green-700: #1f5a44;
  --green-600: #2a7a55;
  --green-500: #2f8f5b;
  --green-100: #e7f3ec;
  --green-50: #f3faf6;
  --amber: #e8a317;
  --amber-soft: #f6d48a;
  --ink: #15201b;
  --ink-soft: #3d4a43;
  --muted: #6b7871;
  --line: rgba(21, 32, 27, 0.12);
  --paper: #f7faf8;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(15, 47, 34, 0.12);
  --radius: 1.25rem;
  --header-h: 6.5rem;
  --font-display: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 77rem;
  --title-size: clamp(1.75rem, 2.8vw, 2.35rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@font-face {
	font-family:impact;
	src: url('../fonts/Barlow-Regular.ttf'); }



html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(47, 143, 91, 0.08), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(232, 163, 23, 0.08), transparent 50%),
    linear-gradient(180deg, #fbfdfc 0%, var(--paper) 40%, #eef6f1 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {

}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.025em;
}

p {
  margin: 0 0 1rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green-800);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container.narrow {

}

/* Header — above banner, not overlaid */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(15, 47, 34, 0.08);
}

.header-inner {
  width: min(100% - 2rem, 80rem);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo {
  width: 70px !important;
  height: 70px !important;
  max-width: 70px !important;
  max-height: 70px !important;
  object-fit: contain;
  object-position: center;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size:20px;
  letter-spacing: 0.05em;
  color: var(--green-800);
}

.brand-text em {
  font-style: normal;
  font-size: 20px;
  letter-spacing: 0.14em;
  color: var(--amber);
  font-weight: 700;
}

.primary-nav > ul {
  display: flex;
  align-items: center;
  gap:3rem;
}

.primary-nav > ul > li {
  position: relative;
}

.primary-nav > ul > li > a {
  font-size:18px;
  font-weight: 400;
  color: var(--ink-soft);
  position: relative;
  padding: 0.55rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.primary-nav > ul > li.has-dropdown > a::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.7;
  order: 2;
  margin-left: 0.2rem;
}

.primary-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.2rem;
  width: 100%;
  height: 2px;
  background: var(--green-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.primary-nav > ul > li > a:hover::after,
.primary-nav > ul > li > a.is-active::after,
.primary-nav > ul > li > a:focus-visible::after,
.primary-nav > ul > li.is-open > a::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.1rem);
  left: 50%;
  transform: translateX(-50%) translateY(0.35rem);
  min-width: 15rem;
  padding: 0.55rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  box-shadow: 0 16px 40px rgba(10, 28, 20, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 120;
}

.nav-dropdown a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 0.4rem;
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-soft);
  white-space: nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: rgba(31, 90, 68, 0.08);
  color: var(--green-800);
}

.primary-nav > ul > li.has-dropdown:hover > .nav-dropdown,
.primary-nav > ul > li.has-dropdown:focus-within > .nav-dropdown,
.primary-nav > ul > li.is-open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
}

.search-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.search-toggle:hover,
.search-toggle[aria-expanded="true"] {
  background: rgba(31, 90, 68, 0.1);
  color: var(--green-800);
}

.search-panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  min-width: 18rem;
  padding: 0.55rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(10, 28, 20, 0.14);
  z-index: 130;
}

.search-panel[hidden] {
  display: none;
}

.search-panel input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0.35rem 0.75rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
}

.lang-menu {
  position: relative;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.4rem;
  padding: 0.35rem 0.55rem;
  border-radius: 0.4rem;
  font-size:15px;
  font-weight: 400;
  color: var(--ink-soft);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.lang-toggle:hover,
.lang-toggle[aria-expanded="true"] {
  background: rgba(31, 90, 68, 0.1);
  color: var(--green-800);
}

.lang-caret {
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.7;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 9.5rem;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  box-shadow: 0 16px 40px rgba(10, 28, 20, 0.14);
  z-index: 140;
}

.lang-dropdown[hidden] {
  display: none;
}

.lang-dropdown a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.4rem;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--ink-soft);
}

.lang-dropdown a:hover,
.lang-dropdown a:focus-visible {
  background: rgba(31, 90, 68, 0.08);
  color: var(--green-800);
}

.lang-dropdown a.is-active {
  color: var(--green-700);
  background: rgba(31, 90, 68, 0.1);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
/*  height: 2.5rem;*/
  place-items: center;
  gap: 6px;
  flex-direction: column;
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 2.4rem;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-solid {
  background: var(--green-600);
  color: #fff;
}

.btn-solid:hover {
  background: var(--green-800);
}

.btn-ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-ghost-dark {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--green-700);
}

.text-link span {
  transition: transform 0.25s var(--ease);
}

.text-link:hover span {
  transform: translateX(4px);
}

/* Hero — image on right (not full-bleed), left edge fades */
.hero {
  position: relative;
  min-height: 28rem;
  max-height: none;
  height: clamp(22rem, 48vh, 32rem);
  display: block;
  color: #fff;
  overflow: hidden;
  background: var(--green-700);
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: 68%;
  z-index: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0) 10%,
    #000 28%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 10%,
    #000 50%,
    #000 100%
  );
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(52%, 42rem);
  max-width: none;
  height: 100%;
  margin: 0;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 4rem);
  padding-right: clamp(3rem, 8vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  background: linear-gradient(
    90deg,
    rgba(31, 90, 68, 0) 0%,
   rgba(31, 90, 68, 0) 0%,
    rgba(31, 90, 68, 0) 0%,
    rgba(31, 90, 68, 0) 100%
  );
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  font-size: clamp(0.92rem, 1.8vw, 2rem);
  font-weight: 600;
  max-width: 40ch;
  margin-bottom: 2rem;
    margin-top: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 6px 18px rgba(0, 0, 0, 0.3);
}

.hero-lead {
  max-width: 36rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4), 0 4px 14px rgba(0, 0, 0, 0.28);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-cta .btn {
  min-height: 2.35rem;
  padding: 0.45rem 2.45rem;
  font-size:1rem;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: bob 2.2s ease-in-out infinite;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Sections */
.section {
  padding: clamp(4.5rem, 9vw, 6.5rem) 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.85rem;
}

.eyebrow.light {
  color: var(--amber-soft);
}

.display {  font-size:35px;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 0.9rem;
}

.section-head.split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
}

.section-head h2,
.contact-inner h2,
.vr-title,
.impact h2,
.news-head h2 {  font-size:40px;
  line-height: 1.2;
  font-weight: 600;
}

.section-desc {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* About + stats */
.about {
  background:
    linear-gradient(180deg, transparent, rgba(231, 243, 236, 0.55) 30%, transparent);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(12rem, 0.3fr);
  gap: clamp(10rem, 5vw, 4rem);
  align-items: center;
}

.about-copy {
  text-align: left;

}

.about-cta {
  margin-top: 1.5rem;
}

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  justify-items: start;
}

.stat {
  padding: 2.5rem 0;
}

.stat + .stat {
  border-top: 1px solid rgb(216 226 219);
}

.stat:first-child .stat-value {
  color: var(--green-600);
  font-family:impact;
}

.stat:first-child .stat-label {
  color: var(--green-700);
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;

  letter-spacing: -0.03em;
  line-height: 1;  font-family:impact;
}

.stat-value span {
  font-size: 0.55em;
  margin-left: 0.15rem;
  color: #e57373;
}

.stat-label {

  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 0.35rem;
  display: block;
  opacity: 0.85;
}

/* Products */
.products {
  background: var(--white);
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.55rem;
  margin: 0 0 1.75rem;
  width: 100%;
}

.product-tab {
  padding: 0.75rem 2.2rem;
  border-radius: 999px;
      background-color: #e6edeb;
  border: 1px solid #e6edeb;
  color:#000;
  font-weight: 300;
  font-size: 16px;
  white-space: nowrap;
  line-height: 1.2;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.product-tab.is-active,
.product-tab:hover {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #fff;
}

.product-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.product-viewport {
  overflow: hidden;
  min-width: 0;
  width: 100%;
}

.product-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.product-nav {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(21, 32, 27, 0.12);
  background: #f3f7f5;
  color: #1a1a1a;
  display: grid;
  place-items: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.25s var(--ease), box-shadow 0.25s var(--ease);
  flex-shrink: 0;
  padding: 0;
}

.product-nav svg {
  display: block;
}

.product-nav:hover:not(:disabled) {
  background: #fff;
  border-color: rgba(21, 32, 27, 0.18);
  box-shadow: 0 4px 14px rgba(15, 47, 34, 0.08);
}

.product-nav:disabled {
  opacity: 0.4;
  cursor: default;
}

.product-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 0.55rem;
}

.product-dots button {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border-radius: 999px;
  background: #cfd8d3;
  border: 0;
  transition: width 0.25s var(--ease), background 0.25s var(--ease);
}

.product-dots button.is-active {
  width: 1.45rem;
  background: var(--green-700);
}

.product-panels {
  position: relative;
  width: 100%;
}

.product-panel {
  display: none;
  gap: 1rem;
  will-change: transform;
}

.product-panel[hidden] {
  display: none !important;
}

.product-panel.is-active {
  display: flex;
  flex-wrap: nowrap;
}

.product-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 3rem) / 4);
  width: calc((100% - 3rem) / 4);
  max-width: calc((100% - 3rem) / 4);
  min-width: 0;
  padding: 0.9rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(21, 32, 27, 0.08);
  box-shadow: 0 8px 24px rgba(15, 47, 34, 0.06);
  box-sizing: border-box;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.product-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.product-card:hover {
  border-color: rgba(47, 143, 91, 0.35);
  transform: translateY(-4px);
  background: #fff;
}

.product-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  padding: 0.55rem;
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-card h3 {
  font-size: 17px;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.product-card p {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.45;
}

/* Impact */
.impact {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background:
    linear-gradient(135deg, rgba(15, 47, 34, 0.92), rgba(31, 90, 68, 0.88)),
    url("../images/products-bg.jpg") center/cover;
  color: #fff;
}

.impact-inner {

}

.impact h2 {
  margin: 0 0 1rem;
}

.impact p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  margin: 0;
}


/* Group Portfolio — DSM-style split: text left, image right */
.group {
  background: #f7faf8;
  color: var(--ink);
}

.group-split {
  display: grid;
  grid-template-columns: minmax(16rem, 0.92fr) minmax(0, 1.08fr);
  height: clamp(22rem, 42vh, 28rem);
  min-height: 22rem;
  max-height: 28rem;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  overflow: hidden;
}

.group-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  height: 100%;
  min-height: 0;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 4rem);
  background: #fff;
  overflow: hidden;
}

.group-heading {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  padding-bottom:15px;
}

.group-address {
  margin: 0.35rem 0 0;
  max-width: 34rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;

}

.group-media {
  position: relative;
  height: 100%;
  min-height: 0;
  background: #0f2f22;
  overflow: hidden;
}

.group-eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-600);
}

.group-en {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green-700);
}

.group-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-shrink: 0;
}

.group-nav {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(21, 32, 27, 0.14);
  background: #f3f7f5;
  color: #1a1a1a;
  display: grid;
  place-items: center;
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.group-nav:hover {
  background: #fff;
  border-color: rgba(21, 32, 27, 0.22);
  box-shadow: 0 4px 14px rgba(15, 47, 34, 0.08);
}

.group-page {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.group-panels {
  position: absolute;
  inset: 0;
}

.group-panel {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}

.group-panel.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.group-media-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #1a1a1a;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.group-media-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.group-media-nav.prev { left: 1rem; }
.group-media-nav.next { right: 1rem; }

/* VR — title above, full-width media player below */
.vr {
  background: var(--white);
}

.vr-title {
  margin: 0 0 2.2rem;
  text-align: left;
  color: var(--ink);
}

.vr-player {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 30rem;
  overflow: hidden;
  border-radius: 0.35rem;
  background: var(--green-900);
  color: #fff;
}

.vr-player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.vr-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 28, 20, 0.18);
  transition: background 0.3s var(--ease);
}

.vr-play svg {
  width: clamp(3.5rem, 8vw, 5rem);
  height: clamp(3.5rem, 8vw, 5rem);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s var(--ease);
}

.vr-player:hover img {
  transform: scale(1.04);
}

.vr-player:hover .vr-play {
  background: rgba(10, 28, 20, 0.28);
}

.vr-player:hover .vr-play svg {
  transform: scale(1.08);
}

/* News — left title / right list */
.news {
  background: #1f5a44;
  color: #fff;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 0.9fr) minmax(0, 1.7fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.news-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.news-head h2 {
  margin: 0;
  color: #fff;
  max-width: none;
}

.news-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.news-more:hover {
  color: #fff;
}

.news-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.news-row {
  display: grid;
  grid-template-columns: 12.5rem minmax(0, 1fr);
  gap: 1.75rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  text-decoration: none;
  transition: opacity 0.25s var(--ease);
}

.news-row:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.news-row:hover {
  opacity: 0.88;
}

.news-row-media {
  width: 12.5rem;
  aspect-ratio: 16 / 9.5;
  border-radius: 0.25rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.news-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.news-row:hover .news-row-media img {
  transform: scale(1.05);
}

.news-row-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
}

.news-row-body time {
  font-size: 0.95rem;
  font-weight:normal;
  color: #fff;
}

.news-row-body h3 {
  margin: 0;
  font-size: clamp(1rem, 2vw, 0.5rem);
  line-height: 1.5;
  font-weight: 700;
  color: #fff;
}

.news-read {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.news-read span {
  text-decoration: none;
  transition: transform 0.25s var(--ease);
}

.news-row:hover .news-read span {
  transform: translateX(4px);
}

/* Contact CTA */
.contact-cta {
  padding: clamp(5rem, 5vw, 5rem) 0;
  background: #fff;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 2rem;
  align-items: center;
}

.contact-inner h2 {
  color: var(--ink);
}

.contact-inner p {

}

.contact-actions {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.contact-emails {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.contact-cta .btn-ghost-dark {
  border: 1.5px solid var(--green-700);
  color: var(--green-800);
  background: transparent;
}

.contact-cta .btn-ghost-dark:hover {
  background: rgba(31, 90, 68, 0.08);
}

/* Footer */
.site-footer {
  background: #1f5a44;
  color: rgba(255, 255, 255, 0.78);
  padding: 4rem 0 3.25rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  width: auto;
  height: 4.25rem;
  object-fit: contain;
  display: block;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  justify-content: flex-end;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-nav a:hover {
  color: #fff;
}

.site-footer a:hover {
  color: var(--amber-soft);
}

.footer-bottom {
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  font-size:15px;
  color: rgba(255, 255, 255, 0.55);
}

/* Back to top */
.back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: var(--green-600);
  color: #fff;
  box-shadow: 0 10px 28px rgba(10, 28, 20, 0.28);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), opacity 0.25s var(--ease);
}

.back-top[hidden] {
  display: none;
}

.back-top:hover {
  background: var(--green-800);
  transform: translateY(-3px);
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.22s; }
.delay-3 { transition-delay: 0.32s; }

/* Responsive */
@media (max-width: 1100px) {
  .product-card {
    flex-basis: calc((100% - 2rem) / 3);
    width: calc((100% - 2rem) / 3);
    max-width: calc((100% - 2rem) / 3);
  }
.contact-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {


.contact-inner {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 1rem;
    align-items: center;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2rem;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    font-size:14px;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}


.section {
  padding: clamp(2.8rem, 9vw, 6.5rem) 0;
}



.section-head h2,
.contact-inner h2,
.vr-title,
.impact h2,
.news-head h2 {  font-size:26px;
  line-height: 1.2;
  font-weight: 600;
}





.product-tab {
    padding: 0.5rem 2rem;
    border-radius: 999px;
    background-color: #e6edeb;
    border: 1px solid #e6edeb;
    color: #000;
    font-weight: 300;
    font-size: 14px;
    white-space: nowrap;
    line-height: 1;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.impact p {
    color: rgba(255, 255, 255, 0.82);
    font-size:14px;
    margin: 0;
}



.group-heading {
    margin: 0;
    font-size:18px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    padding-bottom: 0px;
}

.group-address {
    margin: 0rem 0 0;
    max-width: 34rem;
    font-size:14px;
    line-height: 1.55;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.lead {
  font-size: 14px;
  color: var(--ink-soft);
}

.stat {
  padding: 1rem 0;
}


.news-layout {
    display: grid;
    grid-template-columns: minmax(8rem, 0.5fr) minmax(0, 1.7fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

  .news-head {
    position: static;
  }

  .news-head h2 {
    max-width: none;
  }

  .news-row {
    grid-template-columns: 9.5rem minmax(0, 1fr);
    gap: 1.15rem;
  }

  .news-row-media {
    width: 9.5rem;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: rgba(251, 253, 252, 0.96);
    backdrop-filter: blur(12px);
    padding: 1rem 1.25rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
    border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - var(--header-h));
    overflow: auto;
  }

  .primary-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .primary-nav > ul > li > a {
    color: var(--ink);
    width: 100%;
    justify-content: space-between;
    padding: 0.7rem 0;
  }

  .nav-dropdown {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    min-width: 0;
    width: 100%;
    margin: 0 0 0.4rem;
    padding: 0.15rem 0 0.35rem 0.85rem;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(31, 90, 68, 0.04);
  }

  .primary-nav > ul > li.has-dropdown:hover > .nav-dropdown,
  .primary-nav > ul > li.has-dropdown:focus-within > .nav-dropdown {
    display: none;
  }

  .primary-nav > ul > li.has-dropdown.is-open > .nav-dropdown,
  .primary-nav > ul > li.has-dropdown.is-open:hover > .nav-dropdown,
  .primary-nav > ul > li.has-dropdown.is-open:focus-within > .nav-dropdown {
    display: grid;
    transform: none;
  }

  .nav-dropdown a {
    white-space: normal;
    padding: 0.4rem 0.5rem;
    font-size: 0.88rem;
    font-weight: 500;
  }

  .search-panel {
    position: fixed;
    top: calc(var(--header-h) + 0.65rem);
    left: 1rem;
    right: 1rem;
    min-width: 0;
    width: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions .btn-sm {
    display: none;
  }

  .section-head.split,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;

  }

  .footer-nav ul {
    justify-content: flex-start; display:none;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

.contact-inner {
    grid-template-columns: 1fr;
  }

  .group-split {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .group-copy {
    height: auto;
  }

  .group-media {
    height: 22rem;
    min-height: 22rem;
    max-height: 22rem;
    order: -1;
  }
  
  
  .display {  font-size:25px;
  margin-bottom:0rem;
  line-height: 1.5;
}


    .group-copy {
        padding: 1.5rem 1.25rem 2rem;
    }

  
  
  .eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 0rem;
}

.news-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap:0.7rem;
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
}


.news-row-body h3 {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 300;
    color: #fff;
}


 .hero-content {
    width: 100%;
    height: auto;
    padding: 3rem 2rem 4rem;
    background: var(--green-700);
  }
  }

@media (max-width: 640px) {
  .news-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .news-row-media {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .product-card {
    flex-basis: calc((100% - 1rem) / 2);
    width: calc((100% - 1rem) / 2);
    max-width: calc((100% - 1rem) / 2);
  }

  .product-nav {
    width: 2.5rem;
    height: 2.5rem;
  }



  .group-media {
    height: 18rem;
    min-height: 18rem;
    max-height: 18rem;
  }

  .group-media-nav {
    width: 2.4rem;
    height: 2.4rem;
  }

  .group-media-nav.prev { left: 0.65rem; }
  .group-media-nav.next { right: 0.65rem; }
.product-tab {
    white-space: normal;
    text-align: left;
  }

  .hero {
    height: auto;
    min-height: 0;
  }

  .hero-media {
    position: relative;
    width: 100%;
    height: 14rem;
    left: auto;
    right: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

 

  .hero-brand {
    font-size: clamp(1.25rem, 5.5vw, 1.65rem);
  }

  .hero h1 {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }

  .hero-lead {
    font-size: 0.84rem;
  }

  .brand-text {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero-image,
  .hero-scroll,
  .text-link span {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ========== 内页翻页 .newspage / .pagination ========== */
.newspage,
.pagination,
.pp-page-nav.newspage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 36px auto 8px;
  padding: 8px 0 24px;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted, #6b7871);
  box-sizing: border-box;
}

.newspage a,
.pagination a,
.newspage span,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(31, 90, 68, 0.18);
  background: #fff;
  color: var(--green-800, #164032);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.25s var(--ease, ease), color 0.25s var(--ease, ease), border-color 0.25s var(--ease, ease), box-shadow 0.25s var(--ease, ease);
}

.newspage a:hover,
.pagination a:hover {
  background: var(--green-700, #1f5a44);
  border-color: var(--green-700, #1f5a44);
  color: #fff;
  box-shadow: 0 8px 18px rgba(31, 90, 68, 0.18);
}

.newspage span.current,
.pagination span.current,
.newspage a.current,
.pagination a.current {
  background: var(--green-700, #1f5a44);
  border-color: var(--green-700, #1f5a44);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(31, 90, 68, 0.18);
  cursor: default;
}

.newspage span.disabled,
.pagination span.disabled,
.newspage a.disabled,
.pagination a.disabled {
  background: #f3f5f4;
  border-color: #e2e8e4;
  color: #9aa59e;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

/* 纯文字条数，如 “8 Records / 共8条” */
.newspage > b,
.pagination > b,
.newspage font,
.pagination font {
  font-weight: 600;
  color: var(--green-800, #164032);
}

@media (max-width: 560px) {
  .newspage,
  .pagination,
  .pp-page-nav.newspage {
    gap: 6px;
    margin-top: 28px;
  }

  .newspage a,
  .pagination a,
  .newspage span,
  .pagination span {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }
}
