/* Bridge: keep Webflow-derived home readable inside FastAdmin theme shell */

/*
 * Hongpeng theme tokens — change --hp-brand / --hp-accent to recolor the site.
 * Source blues → brand green; source oranges → amber gold.
 */
:root {
  --hp-brand: #06821f;
  --hp-brand-rgb: 6, 130, 31;
  --hp-brand-deep: #046217;
  --hp-brand-deep-rgb: 4, 98, 23;
  --hp-brand-soft: #e1f3e5;
  --hp-brand-softer: #f0f9f2;
  --hp-brand-mid: #7ec48c;
  --hp-brand-light: #a8d9b3;
  --hp-brand-pale: #cce9d2;
  --hp-surface: #f4faf5;
  --hp-header-bg: rgb(244 250 245 / 0.88);

  /* Accent — amber gold; pairs with brand green for CTAs / underlines */
  --hp-accent: #c9a227;
  --hp-accent-rgb: 201, 162, 39;
  --hp-accent-deep: #a8861c;
  --hp-accent-deep-rgb: 168, 134, 28;
  --hp-accent-soft: #f7f1de;

  /* Remap source design tokens → Hongpeng brand */
  --dark-slate-blue-2: var(--hp-brand);
  --alice-blue: var(--hp-brand-soft);
  --alice-blue-2: var(--hp-brand-softer);
  --light-steel-blue: var(--hp-brand-mid);
  --light-sky-blue: var(--hp-brand-light);
  --light-steel-blue-2: var(--hp-brand-pale);
  --white-2: var(--hp-surface);
  --dark-orange: var(--hp-accent);
  --dark-orange-2: var(--hp-accent-deep);
  --light-salmon: var(--hp-accent-soft);
  --peach-puff: #efe4c4;
}

/*
 * Root cause of “right/bottom cut off with no scrollbar”:
 * html { overflow-x: hidden } + a 1440px body (hp-desktop-fit / zoom).
 * When zoom does not actually scale, a 1440 layout is clipped to the
 * window and the missing columns cannot be scrolled to.
 * Keep the document as the viewport scroller; never clip html/body.
 */
html {
  overflow-x: visible;
  overflow-y: visible;
  width: 100%;
  height: auto;
  max-width: 100%;
}

body.hp-page {
  overflow-x: visible;
  overflow-y: visible;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

body.hp-page > .all,
body.hp-page .hp-home.all {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  box-sizing: border-box;
}

/*
 * Keep layout fluid with the viewport (Webflow .w-container defaults to 940px).
 * Theme already sets .container { max-width: none }; reinforce so widen = grow.
 */
.hp-home .container.w-container,
.hp-home .w-container,
body.hp-page .header.w-nav .container.w-container,
body.hp-page .section-footer .container.w-container {
  width: 100%;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* English hero titles: start a bit smaller; JS still fits to max 5 lines */
html[data-hp-lg="en"] .hp-home .home-banner-title,
html[lang="en"] .hp-home .home-banner-title {
  font-size: clamp(36px, 3.6vw, 64px);
  line-height: 1.18;
}

/* Above 1440px theme locks title to 70px — keep scaling when window widens */
@media screen and (min-width: 1440px) {
  .hp-home .home-banner-title {
    font-size: clamp(70px, 4.86vw, 96px);
  }

  html[data-hp-lg="en"] .hp-home .home-banner-title,
  html[lang="en"] .hp-home .home-banner-title {
    font-size: clamp(42px, 3.4vw, 68px);
  }

  .hp-home .home-banner-message {
    font-size: clamp(24px, 1.5vw, 30px);
  }

  .hp-home .container,
  .hp-home .container.v-header,
  body.hp-page .header.w-nav .container.v-header {
    padding-left: max(2.5vw, 36px);
    padding-right: max(2.5vw, 36px);
  }
}

/* Kill 100vw scrollbar gutter overflow (100vw = innerWidth > clientWidth) */
body.hp-page .pop-search,
body.hp-page .bg-detail {
  width: 100% !important;
  max-width: 100% !important;
}

/* Slider masks only — do not clip whole sections (that cuts CTA / footer) */
.hp-home .home-latest-slider,
.hp-home .home-banner-slider-mask,
.hp-home .home-latest-slider-mask {
  max-width: 100%;
}

.hp-home .home-banner-slider-mask,
.hp-home .home-latest-slider-mask {
  overflow: hidden;
}

html.w-mod-js .hp-home,
.hp-home {
  font-family: "Maven Pro", sans-serif;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
}

.hp-home *,
.hp-home *::before,
.hp-home *::after {
  box-sizing: border-box;
}

.hp-home img {
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
}

/* Market left column pin — sticky until 767px, then flow */
.hp-home .home-market-intro-b {
  position: sticky;
  top: 140px;
  align-self: flex-start;
}

.hp-home .home-market-wrap {
  display: flex;
  align-items: flex-start;
}

@media screen and (max-width: 767px) {
  /* ≤767: intro no longer sticky; wrap stacks */
  .hp-home .home-market-intro-b {
    position: relative;
    top: 0;
    width: auto;
    max-width: none;
  }

  .hp-home .home-market-wrap {
    display: block;
  }

  .hp-home .home-market-content {
    margin-left: 0;
  }

  .hp-home .market-flip,
  .hp-home .market-face--front .market-img-b {
    width: 146px;
    height: 220px;
  }
}

/* Market watermark — Hongpeng flask logo */
.hp-home .home-market-bg-b {
  z-index: 0;
  width: min(820px, 70vw);
  max-width: none;
  overflow: hidden;
  pointer-events: none;
  /* Parent opacity — img has Webflow inline opacity:1 that would override .home-market-img */
  opacity: 0.7;
}

.hp-home .home-market-img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 420px;
  margin-left: -50px;
  margin-bottom: -6%;
}

.hp-home .section-div.v-home-market > .container {
  position: relative;
  z-index: 1;
}

/* Sticky needs visible overflow on the market column — not every .container */
.hp-home .home-market-wrap,
.hp-home .home-market-content {
  overflow: visible;
}

.hp-home .market-link {
  position: relative;
}

.hp-home .market-flip {
  width: 180px;
  height: 270px;
  margin-left: auto;
  margin-right: auto;
  perspective: 1200px;
}

.hp-home .market-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(0deg);
  will-change: transform;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .hp-home .market-link:hover .market-flip-inner {
    transform: rotateY(180deg);
  }
}

.hp-home .market-link.is-flipped .market-flip-inner {
  transform: rotateY(180deg);
}

.hp-home .market-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 180px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hp-home .market-face--front {
  transform: rotateY(0deg);
}

.hp-home .market-face--front .market-img-b {
  width: 180px;
  height: 270px;
  margin-left: 0;
  margin-right: 0;
  transform: none !important;
}

.hp-home .market-face--front .market-img {
  width: 100%;
  height: 100%;
  transform: none !important;
}

.hp-home .market-face--back {
  background: linear-gradient(180deg, rgba(var(--hp-brand-deep-rgb), 0.96) 0%, rgba(var(--hp-brand-rgb), 0.96) 100%);
  color: #fff;
  transform: rotateY(180deg);
  box-shadow: 0 18px 34px rgba(var(--hp-brand-deep-rgb), 0.18);
  overflow: hidden;
  align-items: stretch;
  justify-content: stretch;
}

.hp-home .market-back-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
}

.hp-home .market-back-copy {
  width: 100%;
  padding: 34px 24px;
  text-align: center;
  box-sizing: border-box;
  will-change: transform;
}

.hp-home .market-back-copy.is-scrolling {
  animation-name: hp-market-back-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.hp-home .market-link:hover .market-back-copy.is-scrolling,
.hp-home .market-link.is-flipped .market-back-copy.is-scrolling {
  animation-play-state: running;
}

@media (prefers-reduced-motion: reduce) {
  .hp-home .market-back-copy.is-scrolling {
    animation: none !important;
    transform: none !important;
  }

  .hp-home .market-back-viewport {
    overflow-y: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@keyframes hp-market-back-scroll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(calc(-1 * var(--hp-market-scroll, 0px)));
  }
}

.hp-home .market-back-line {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.hp-home .market-back-line + .market-back-line {
  margin-top: 10px;
}

.hp-home .market-back-line::before {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  margin: 0 auto 10px;
  background: rgba(var(--hp-accent-rgb), 0.88);
}

.hp-home .market-back-line:first-child::before {
  display: none;
}

.hp-home .market-back-copy--dense {
  padding: 28px 16px;
}

.hp-home .market-back-group {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
}

.hp-home .market-back-group + .market-back-group {
  margin-top: 10px;
}

.hp-home .market-back-group strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.hp-home .market-back-group span {
  display: block;
  margin-top: 2px;
  opacity: 0.92;
}

@media (prefers-reduced-motion: reduce) {
  .hp-home .market-flip-inner {
    transition-duration: 1ms;
  }
}

@media screen and (max-width: 767px) {
  .hp-home .market-flip,
  .hp-home .market-face--front .market-img-b {
    width: 146px;
    height: 220px;
  }

  .hp-home .market-back-copy {
    padding: 18px 12px;
  }

  .hp-home .market-back-line {
    font-size: 13px;
  }

  .hp-home .market-back-copy--dense {
    padding: 18px 10px;
  }

  .hp-home .market-back-group {
    font-size: 13px;
  }

  .hp-home .market-back-group + .market-back-group {
    margin-top: 8px;
  }

  .hp-home .market-back-group strong {
    font-size: 14px;
  }
}

/* Header/footer sit outside .hp-home but need same font */
.header.w-nav,
.section-footer {
  font-family: "Maven Pro", sans-serif;
}

/* Square header: slight transparency + frosted glass */
.header.w-nav {
  background-color: var(--hp-header-bg) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

header {
  width: 100%;
  max-width: none;
}

.header.w-nav .container.v-header {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding-left: max(2vw, 24px);
  padding-right: max(2.5vw, 28px);
}

.header.w-nav .header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.header.w-nav,
.header.w-nav .header-bg,
.header.w-nav .header-wrap {
  border-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.header.w-nav .header-bg {
  background-color: transparent !important;
}

.header.w-nav .lang-b,
.header.w-nav .nav-top-b {
  display: none !important;
}

.header.w-nav .header-l-b {
  flex: 0 1 auto;
  min-width: 0;
}

.header.w-nav .hp-lang--header {
  margin-left: auto;
  margin-right: 4px;
  flex: none;
}

/* Desktop language control sits beside nav, not inside overflowing .w-nav-menu */
.header.w-nav .hp-lang--toolbar {
  display: none;
  position: relative;
  z-index: 20;
  flex: 0 0 auto;
  margin-left: 12px;
}

@media (min-width: 1280px) {
  /* Desktop nav only when the 5 Chinese items actually fit */
  .header.w-nav .header-l-b {
    flex: none;
  }

  .header.w-nav .hp-lang--header {
    display: none;
  }

  .header.w-nav .hp-lang--toolbar {
    display: block;
  }

  .header.w-nav .nav-menu {
    float: none !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    height: 80px;
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 100%;
    overflow: visible;
  }

  .header.w-nav .nav-main-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 0;
    flex-wrap: nowrap;
  }

  .header.w-nav .nav-item {
    margin-left: clamp(22px, 2vw, 36px);
    white-space: nowrap;
    flex: none;
  }

  .header.w-nav .nav-link {
    font-size: 17px;
  }
}

/* Medium desktop — keep nav + lang inside viewport */
@media (min-width: 1280px) and (max-width: 1360px) {
  .header.w-nav .nav-item {
    margin-left: clamp(16px, 1.2vw, 24px);
  }

  .header.w-nav .hp-lang--toolbar {
    margin-left: 8px;
  }

  .header.w-nav .nav-link {
    font-size: 16px;
  }

  .header.w-nav .hp-lang-btn {
    padding: 0 10px;
    font-size: 13px;
  }
}

/* Dropdown panel: round top + bottom (theme only rounded bottom) */
.header.w-nav .nav-dropdown-wrap {
  border-radius: 15px;
}

/* Brand: SVG mark + Hongpon wordmark */
.header.w-nav .brand.hp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  min-width: 0;
  color: var(--hp-brand);
  text-decoration: none;
}

.header.w-nav .hp-brand-mark {
  display: block;
  flex: none;
  width: 42px;
  height: 32px;
  line-height: 0;
}

.header.w-nav .hp-brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.header.w-nav .hp-brand-text {
  font-family: "Maven Pro", sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  color: inherit;
}

/* Active top-level nav (incl. dropdown toggles) */
.header.w-nav .nav-item .nav-link.w--current {
  color: var(--hp-accent, #c9a227);
}

/* Menu underline: grows left → right on hover / current (desktop) */
@media (min-width: 1280px) {
  .header.w-nav .nav-item .nav-link {
    padding-bottom: 8px;
  }

  .header.w-nav .nav-item .nav-link .nav-dot {
    display: none !important;
  }

  .header.w-nav .nav-item .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--hp-accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s ease;
    pointer-events: none;
  }

  .header.w-nav .nav-item .nav-link:hover::after,
  .header.w-nav .nav-item .nav-link.w--current::after,
  .header.w-nav .nav-item:hover > .nav-link::after,
  .header.w-nav .nav-item:hover > .nav-dropdown > .nav-link::after {
    transform: scaleX(1);
  }

  /* Desktop: hover-only menu; neutralize Webflow click `.w--open` positioning */
  .header.w-nav .nav-item:hover > .nav-dropdown .nav-dropdown-list,
  .header.w-nav .nav-item:hover > .nav-dropdown .nav-dropdown-list.w--open {
    display: block !important;
    position: absolute;
    left: 50%;
    right: auto;
    top: 100%;
    bottom: auto;
    inset: auto auto auto 50%;
    width: max-content;
    min-width: 200px;
    transform: translateX(-50%);
    overflow: visible;
    background-color: transparent;
  }

  .header.w-nav .nav-dropdown.w--open:not(:hover) .nav-dropdown-list {
    display: none !important;
  }
}

.header.w-nav .hp-lang {
  position: relative;
}

.header.w-nav .hp-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--hp-brand);
  border-radius: 999px;
  background: #fff;
  color: var(--hp-brand);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.header.w-nav .hp-lang-btn:hover,
.header.w-nav .hp-lang.is-open .hp-lang-btn {
  background: var(--hp-brand);
  color: #fff;
}

.header.w-nav .hp-lang-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.25s ease;
}

.header.w-nav .hp-lang.is-open .hp-lang-caret {
  transform: rotate(180deg);
}

.header.w-nav .hp-lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 140px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid rgba(0, 74, 151, 0.12);
  box-shadow: 0 12px 28px rgba(0, 40, 80, 0.12);
  z-index: 1600;
}

.header.w-nav .hp-lang-menu[hidden] {
  display: none;
}

.header.w-nav .hp-lang-option {
  display: block;
  padding: 8px 16px;
  color: var(--hp-brand);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header.w-nav .hp-lang-option:hover,
.header.w-nav .hp-lang-option.is-active {
  background: rgb(var(--hp-brand-rgb) / 0.06);
  color: var(--hp-accent);
}

.header.w-nav .hp-lang-option.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  color: inherit;
  text-decoration: none;
}

.header.w-nav .hp-lang-option.is-disabled:hover {
  background: transparent;
  color: inherit;
}

/* Overlay menu until 1279: 1024-wide windows cannot fit desktop nav */
@media (max-width: 1279px) {
  .header.w-nav {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  .header.w-nav .header-wrap {
    height: 70px;
  }

  .header.w-nav .header-l-b {
    flex: 1;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    z-index: 1001;
  }

  .header.w-nav .hp-lang--header {
    margin-left: auto;
    margin-right: 4px;
  }

  .header.w-nav .hp-brand-text {
    font-size: 22px;
  }

  .header.w-nav .hp-brand-mark {
    width: 36px;
    height: 28px;
  }

  .header.w-nav .hp-lang--header {
    display: block;
  }

  .header.w-nav .hp-lang--toolbar {
    display: none;
  }

  .header.w-nav .hp-lang-btn {
    height: 32px;
    padding: 0 12px;
    font-size: 13px;
  }

  .header.w-nav .hp-lang-menu {
    z-index: 2000;
  }

  .header.w-nav .btn-menu,
  .header.w-nav .w-nav-button {
    z-index: 1001;
    float: none;
    flex: none;
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 0;
  }

  .header.w-nav .btn-menu.w--open {
    background-color: transparent;
  }

  .header.w-nav .btn-menu-line-gp {
    width: 30px;
  }

  .header.w-nav .menu-line-1 {
    background-color: var(--hp-accent);
    border-radius: 20px;
    width: 100%;
    height: 4px;
  }

  .header.w-nav .menu-line-2 {
    background-color: var(--hp-brand);
    border-radius: 20px;
    width: 100%;
    height: 4px;
    margin-top: 10px;
  }

  .header.w-nav .header-bg {
    z-index: 10;
    background-color: var(--hp-surface);
    display: block;
  }

  .header.w-nav .nav-menu {
    display: none;
    background-color: var(--hp-surface);
    flex: 0 auto;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: 70px 5vw 100px;
    position: fixed;
    inset: 0 auto auto 0;
    overflow: auto;
    float: none;
    z-index: 1000;
  }

  .header.w-nav .nav-menu[data-nav-menu-open] {
    display: block !important;
  }

  .header.w-nav .nav-main-menu {
    display: block;
    height: auto;
    padding-bottom: 40px;
  }

  .header.w-nav .nav-item {
    border-bottom: 1px solid var(--hp-brand-soft);
    margin-left: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    white-space: normal;
  }

  .header.w-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    text-align: left;
    font-size: 19px;
    padding-bottom: 0;
  }

  /* Leaf links: no trailing indicator on mobile */
  .header.w-nav .nav-link .nav-dot {
    display: none !important;
  }

  /* Dropdown parents: circular “more / expand” control */
  .header.w-nav .nav-link.w-dropdown-toggle .nav-dot {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    inset: auto;
    transform: none;
    margin: 0;
    opacity: 1;
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--hp-brand);
  }

  .header.w-nav .nav-link.w-dropdown-toggle .nav-dot::before,
  .header.w-nav .nav-link.w-dropdown-toggle .nav-dot::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background-color: #fff;
    border-radius: 1px;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }

  /* horizontal bar of “+” */
  .header.w-nav .nav-link.w-dropdown-toggle .nav-dot::before {
    width: 12px;
    height: 2px;
  }

  /* vertical bar of “+” */
  .header.w-nav .nav-link.w-dropdown-toggle .nav-dot::after {
    width: 2px;
    height: 12px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  /* Open → “−” (hide vertical bar) */
  .header.w-nav .nav-dropdown.w--open > .nav-link.w-dropdown-toggle .nav-dot::after {
    transform: translate(-50%, -50%) scaleY(0);
    opacity: 0;
  }

  .header.w-nav .nav-link::after {
    display: none;
  }

  .header.w-nav .nav-dropdown-list.w--open {
    position: static;
    left: auto;
    width: 100%;
    transform: none;
  }

  /* Overlay menu: submenus only when clicked open — never on hover */
  .header.w-nav .nav-dropdown .nav-dropdown-list {
    display: none !important;
  }

  .header.w-nav .nav-dropdown.w--open > .nav-dropdown-list,
  .header.w-nav .nav-dropdown .nav-dropdown-list.w--open {
    display: block !important;
  }

  .header.w-nav .nav-dropdown-wrap {
    background-color: transparent;
    border-radius: 0;
    margin-top: 0;
    padding: 8px 0 0;
  }

  .header.w-nav .nav-sublink {
    border-bottom-style: none;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 16px;
  }

  .hp-home .section-banner {
    padding-top: 78px;
  }
}

/* Hide leftover old-theme chrome if any leaked */
body.hp-page .pc_header,
body.hp-page .mobile_header,
body.hp-page .public_footer {
  display: none !important;
}

.hp-home a {
  text-decoration: none;
}

/* Mask rounding (from theme inline head styles) */
.hp-home .product-item-box,
.hp-home .market-img-b,
.hp-home .home-banner-photo-b,
.hp-home .btn-product-cat-link,
.hp-home .section-heading-graphic-b {
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

/* Section heading — test tube deco */
:is(.hp-home, .hp-about) .section-heading-graphic-b .hp-heading-tube {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 50% 92%;
  animation: hp-heading-tube-float 3.8s ease-in-out infinite;
}

@keyframes hp-heading-tube-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(-2.5deg); }
}

/* First-paint fallback if Webflow IX has not run */
.hp-home .w-slider-mask {
  height: auto !important;
}

.hp-home .home-banner-slide {
  opacity: 1;
}

.hp-home .product-item-content {
  /* Default collapsed — only title shows; expands on card hover */
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden;
  transition: height 800ms ease-out;
  /* Use rgba — rgb(var(--x) / a) breaks when --x has commas */
  background-color: rgba(var(--hp-brand-rgb), 0.9) !important;
}

.hp-home .product-item-box:hover .product-item-content {
  height: 80% !important;
}

.hp-home .product-item-top {
  background-image: linear-gradient(
    rgba(var(--hp-brand-rgb), 0),
    rgba(var(--hp-brand-rgb), 0.9) 86%
  ) !important;
}

/* Corner arrow stays accent gold (副色); hidden until hover */
.hp-home .btn-product-cat-link {
  background-color: var(--hp-accent) !important;
  opacity: 0 !important;
  transform: scale(0.01) !important;
  transition: opacity 800ms ease, transform 800ms ease, background-color 0.5s !important;
}

.hp-home .product-item-box:hover .btn-product-cat-link {
  opacity: 1 !important;
  transform: scale(1) !important;
}

.hp-home .btn-product-cat-link:hover {
  background-color: var(--hp-accent-deep) !important;
}

.hp-home .product-icon-arrow {
  transition: opacity 400ms ease, height 400ms ease;
}

.hp-home .product-item-box:hover .product-icon-arrow {
  opacity: 0;
  height: 0 !important;
  margin: 0;
  overflow: hidden;
}

/* Hide original PNG molecule deco — replaced by animated SVG */
.hp-home .home-banner-deco-1,
.hp-home .home-banner-deco-2,
.hp-home .home-banner-deco-3,
.hp-home .home-banner-deco-4 {
  display: none !important;
}

/* Animated SVG molecule field (brand green ↔ accent gold) */
.hp-home .hp-mol-field {
  position: absolute;
  inset: 0;
  width: 58%;
  max-width: 780px;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

.hp-home .hp-mol {
  position: absolute;
  overflow: visible;
  will-change: transform;
}

.hp-home .hp-mol--a { animation: hp-mol-float-a 9s ease-in-out infinite; }
.hp-home .hp-mol--b { animation: hp-mol-float-b 7.5s ease-in-out infinite; }
.hp-home .hp-mol--c { animation: hp-mol-float-c 8.5s ease-in-out infinite; }
.hp-home .hp-mol--d { animation: hp-mol-float-d 6.5s ease-in-out infinite; }
.hp-home .hp-mol--e { animation: hp-mol-float-e 10s ease-in-out infinite; }

.hp-home .hp-mol-field .hp-mol--a {
  top: 6%;
  left: 2%;
  width: min(16vw, 220px);
}

.hp-home .hp-mol-field .hp-mol--b {
  top: 12%;
  left: 38%;
  width: min(10vw, 140px);
}

.hp-home .hp-mol-field .hp-mol--c {
  bottom: 18%;
  left: 8%;
  width: min(9vw, 130px);
}

.hp-home .hp-mol-field .hp-mol--d {
  bottom: 28%;
  left: 42%;
  width: min(7vw, 100px);
}

.hp-home .hp-mol-field .hp-mol--e {
  top: 42%;
  left: 22%;
  width: min(12vw, 170px);
}

.hp-home .hp-mol-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: hp-mol-pulse 4.5s ease-in-out infinite;
}

.hp-home .hp-mol-node.n2 { animation-delay: 0.4s; }
.hp-home .hp-mol-node.n3 { animation-delay: 0.8s; }
.hp-home .hp-mol-node.n4 { animation-delay: 1.2s; }
.hp-home .hp-mol-node.n5 { animation-delay: 1.6s; }
.hp-home .hp-mol-node.n6 { animation-delay: 2s; }

@keyframes hp-mol-float-a {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  40% { transform: translate(10px, -14px) scale(1.08) rotate(3deg); }
  70% { transform: translate(-6px, 8px) scale(0.94) rotate(-2deg); }
}

@keyframes hp-mol-float-b {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  35% { transform: translate(-12px, 10px) scale(1.1) rotate(-4deg); }
  65% { transform: translate(8px, -8px) scale(0.92) rotate(2deg); }
}

@keyframes hp-mol-float-c {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(8px, -16px) scale(1.12) rotate(5deg); }
}

@keyframes hp-mol-float-d {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10px, -8px) scale(1.15); }
}

@keyframes hp-mol-float-e {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  45% { transform: translate(12px, 10px) scale(1.06) rotate(-3deg); }
  75% { transform: translate(-8px, -12px) scale(0.9) rotate(4deg); }
}

@keyframes hp-mol-pulse {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50% { transform: scale(1.28); opacity: 0.72; }
}

@media (max-width: 767px) {
  .hp-home .hp-mol-field {
    width: 100%;
    opacity: 0.7;
  }
  .hp-home .hp-mol-field .hp-mol--b,
  .hp-home .hp-mol-field .hp-mol--e {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp-home .hp-mol,
  .hp-home .hp-mol-node,
  .hp-home .hp-heading-tube {
    animation: none !important;
  }
  .hp-home .hp-banner-dot.w-active::before {
    animation: none !important;
  }
  .hp-home .hp-banner-nav .w-slider-dot.w-active::before {
    --hp-dot-progress: 100;
  }
}

/* Hero stays inside the window; theme .section-banner already clips */
.hp-home .section-banner {
  padding-top: 88px;
  overflow: hidden;
  max-width: 100%;
}

.hp-home .home-banner-b {
  overflow: hidden;
  max-width: 100%;
}

.hp-home .home-banner-content-b {
  align-items: stretch;
  /* Keep CTA inside the clipped banner — taller first viewport */
  min-height: max(46vw, 580px);
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding-bottom: 28px;
}

/* Short laptop screens: keep hero CTA inside first viewport */
@media screen and (max-height: 820px) and (min-width: 992px) {
  .hp-home .home-banner-content-b {
    min-height: min(max(38vw, 460px), calc(100vh - 90px));
    padding-bottom: 20px;
  }
}

.hp-home .home-banner-txt-b,
.hp-home .home-banner-mv-b,
.hp-home .home-banner-photo-b {
  min-width: 0;
}

/* Tablet / narrow desktop: keep side-by-side, tighten overlap */
@media screen and (min-width: 768px) and (max-width: 1279px) {
  .hp-home .home-banner-txt-wrap {
    margin-right: 0;
  }

  .hp-home .home-banner-txt-b {
    width: 38%;
  }

  .hp-home .home-banner-photo-b {
    margin-left: -16%;
  }

  .hp-home .home-banner-title {
    font-size: clamp(28px, 4vw, 44px);
  }

  .hp-home .home-banner-content-b {
    min-height: min(max(34vw, 420px), calc(100vh - 90px));
  }
}

/* Phone: text above, flask + photo below (APC-style stack) */
@media screen and (max-width: 767px) {
  .hp-home .home-banner-content-b {
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: stretch;
    min-height: 0;
    height: auto;
    padding-bottom: 8px;
  }

  .hp-home .home-banner-txt-b {
    width: 100% !important;
    flex: 0 0 100%;
    /* Keep short-copy slides the same height as the tallest (JS also locks min-height) */
    align-items: flex-start;
  }

  .hp-home .home-banner-txt-wrap {
    margin-right: 0;
    padding-top: 28px;
    padding-bottom: 20px;
    padding-left: 5vw;
    padding-right: 5vw;
    width: 100%;
  }

  .hp-home .home-banner-title {
    font-size: clamp(28px, 9vw, 40px);
  }

  .hp-home .home-banner-mv-b {
    width: 42%;
    flex: 0 0 42%;
    min-height: 58vw;
    align-self: stretch;
  }

  .hp-home .home-banner-photo-b {
    flex: 1 1 auto;
    width: auto;
    margin-left: -42% !important;
    margin-right: 0 !important;
    min-height: 58vw;
    height: 58vw;
    align-self: stretch;
    border-top-right-radius: 28px !important;
  }

  .hp-home .hp-banner-flask {
    object-fit: fill;
  }

  .hp-home .home-banner-slider-nav.hp-banner-nav {
    width: 42%;
    left: 0;
    right: auto;
    margin-left: 0;
    margin-right: 0;
    bottom: 10px;
    height: auto;
    padding-bottom: 10px;
    justify-content: center;
  }
}

.hp-home .home-banner-photo-b {
  /* Keep square corner; do NOT lock margin-left — theme uses -39% / -33% by breakpoint */
  border-top-right-radius: 0 !important;
  z-index: 1;
  align-self: stretch;
  min-height: inherit;
  margin-right: 0 !important; /* negative margin-right was painting past the viewport */
}

.hp-home .home-banner-txt-b {
  position: relative;
  z-index: 3;
  background-color: var(--hp-surface) !important;
}

.hp-home .home-banner-mv-b {
  align-self: stretch;
  display: flex;
  align-items: stretch;
  min-height: inherit;
  background-color: transparent;
  z-index: 2;
}

.hp-home .hp-banner-flask {
  width: 100%;
  height: 100% !important;
  min-height: 100%;
  flex: 1 1 auto;
  display: block;
  object-fit: fill;
  pointer-events: none;
}

/* Keep left banner surface and flask cover the same mint tone */

/* Section / ESG / Latest: animated molecule replacements */
.hp-home .section-deco-1,
.hp-home .section-deco-2,
.hp-home .section-deco-3 {
  overflow: hidden;
  max-width: 100%;
}

.hp-home .content-subtitle,
.hp-home .section-div > p {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.hp-home .hp-mol-deco {
  width: 100%;
  display: block;
  pointer-events: none;
}

.hp-home .hp-mol-deco .hp-mol {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  height: auto;
  display: block;
}

.hp-home .esg-main-bg,
.hp-home .home-latest-bg {
  overflow: visible;
}

.hp-home .hp-mol-field-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 260px;
  pointer-events: none;
}

.hp-home .hp-mol-field-bg__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 260px;
}

.hp-home .hp-mol-field-bg .hp-mol {
  position: absolute;
  opacity: 0.85;
}

.hp-home .hp-mol-field-bg .hp-mol--a {
  top: 4%;
  left: 6%;
  width: 48%;
}

.hp-home .hp-mol-field-bg .hp-mol--b {
  top: 18%;
  right: 4%;
  left: auto;
  width: 34%;
}

.hp-home .hp-mol-field-bg .hp-mol--c {
  bottom: 22%;
  left: 10%;
  top: auto;
  width: 30%;
}

.hp-home .hp-mol-field-bg .hp-mol--d {
  bottom: 12%;
  right: 18%;
  left: auto;
  top: auto;
  width: 22%;
}

.hp-home .hp-mol-field-bg .hp-mol--e {
  top: 42%;
  left: 36%;
  width: 40%;
  right: auto;
  bottom: auto;
}

/* ESG: separate the two clusters stacked near the title */
.hp-home .esg-main-bg .hp-mol-field-bg .hp-mol--a {
  top: 0;
  left: 28%;
  width: 40%;
}

.hp-home .esg-main-bg .hp-mol-field-bg .hp-mol--c {
  top: 8%;
  bottom: auto;
  left: 0;
  width: 26%;
}

.hp-home .esg-main-bg .hp-mol-field-bg .hp-mol--d {
  top: 12%;
  bottom: auto;
  right: 4%;
  left: auto;
  width: 16%;
}

/* Smaller banner dots + circular progress on active */
.hp-home .home-banner-slider-nav.hp-banner-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  height: auto;
  padding-bottom: 2.6vw;
  z-index: 5;
}

.hp-home .hp-banner-nav .w-slider-dot {
  width: 7px !important;
  height: 7px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background-color: rgba(255, 255, 255, 0.45) !important;
  position: relative;
  flex: none;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.hp-home .hp-banner-nav .w-slider-dot.w-active {
  width: 16px !important;
  height: 16px !important;
  background-color: transparent !important;
}

.hp-home .hp-banner-nav .w-slider-dot.w-active::before {
  content: "" !important;
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    #fff 0deg,
    #fff calc(var(--hp-dot-progress, 0) * 3.6deg),
    rgba(255, 255, 255, 0.28) calc(var(--hp-dot-progress, 0) * 3.6deg)
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  pointer-events: none;
}

.hp-home .hp-banner-nav .w-slider-dot.w-active::after {
  content: "" !important;
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
}

/* —— Business regions globe (ESG shell) —— */
:is(.hp-home, .hp-about) .section-div.v-home-regions {
  overflow: visible;
}

:is(.hp-home, .hp-about) .hp-regions-globe-col {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

:is(.hp-home, .hp-about) .hp-regions-globe {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

:is(.hp-home, .hp-about) .hp-regions-globe canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

:is(.hp-home, .hp-about) .hp-regions-globe-fallback {
  margin: 24px 0 0;
  color: #5a6b5e;
  font-size: 14px;
  text-align: center;
}

:is(.hp-home, .hp-about) .hp-regions-tab-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

:is(.hp-home, .hp-about) .hp-regions-tabs .esg-tab-link {
  min-width: 0;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(6, 130, 31, 0.22);
  background: #fff;
  color: var(--hp-brand, #06821f);
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

:is(.hp-home, .hp-about) .hp-regions-tabs .esg-tab-link.w--current,
:is(.hp-home, .hp-about) .hp-regions-tabs .esg-tab-link:hover {
  background: var(--hp-brand, #06821f);
  border-color: var(--hp-brand, #06821f);
  color: #fff;
  box-shadow: 0 8px 20px rgba(6, 130, 31, 0.18);
}

:is(.hp-home, .hp-about) .hp-regions-tabs .esg-tab-link-line {
  display: none;
}

:is(.hp-home, .hp-about) .hp-regions-tab-content,
:is(.hp-home, .hp-about) .hp-regions-pane {
  min-height: 0;
}

@media (max-width: 991px) {
  :is(.hp-home, .hp-about) .hp-regions-main {
    flex-direction: column;
  }

  :is(.hp-home, .hp-about) .hp-regions-globe-col,
  :is(.hp-home, .hp-about) .esg-main-col.v-content {
    width: 100%;
    max-width: none;
    position: relative;
    top: auto;
  }

  :is(.hp-home, .hp-about) .hp-regions-globe {
    width: min(100%, 340px);
  }

  :is(.hp-home, .hp-about) .hp-regions-tab-menu {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(.hp-home, .hp-about) .hp-regions-tabs .esg-tab-link {
    transition: none;
  }

  .hp-home .home-who-icon-b {
    transition: none;
  }

  .hp-home .home-who-item:hover .home-who-icon-b {
    transform: none;
  }

  body.hp-page .btn-top {
    transition: none;
    transform: none;
  }
}

/* 我们是谁 — 图标副色调 + hover 缩放 */
.hp-home .home-who-icon-b {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hp-accent);
  transform-origin: center center;
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.hp-home .home-who-item:hover .home-who-icon-b {
  transform: scale(1.1);
}

.hp-home .home-who-icon-b .hp-who-icon-svg {
  width: 54%;
  height: auto;
}

.hp-home .home-who-item {
  line-height: 1.35;
  word-break: break-word;
}

/* 蓝色 PNG 图标 → 副色调金 */
.hp-home .home-who-icon-b img:not(.hp-who-icon-svg) {
  filter: brightness(0) saturate(100%) invert(72%) sepia(47%) saturate(522%) hue-rotate(10deg) brightness(95%) contrast(89%);
}

/* 返回顶部 — 固定在视口右下，滚动后显示 */
body.hp-page .btn-top {
  position: fixed !important;
  right: max(24px, env(safe-area-inset-right, 0px)) !important;
  bottom: max(100px, env(safe-area-inset-bottom, 0px)) !important;
  left: auto !important;
  margin: 0 !important;
  z-index: 3000 !important;
  display: block !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  color: var(--hp-accent);
  text-decoration: none;
}

body.hp-page .btn-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

body.hp-page .btn-top .btn-top-circle {
  background-color: var(--hp-accent);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.hp-page .btn-top .btn-top-circle .img-full {
  width: 26px;
  height: auto;
}

body.hp-page .btn-top:hover .btn-top-circle {
  background-color: var(--hp-accent-deep);
}

body.hp-page .btn-top .btn-top-txt {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--hp-accent);
  text-align: center;
}


/* Regions list — no leading icons; CN pairs share a row */
:is(.hp-home, .hp-about) .hp-regions-list .esg-point-item {
  display: block;
}

:is(.hp-home, .hp-about) .hp-regions-list .esg-point-icon-b {
  display: none !important;
}

:is(.hp-home, .hp-about) .hp-regions-list .esg-point-txt {
  font-size: 18px;
  line-height: 1.55;
  font-weight: 600;
  color: #1a1a1a;
}

:is(.hp-home, .hp-about) .hp-regions-list > .esg-point-item + .esg-point-item {
  margin-top: 14px;
}

:is(.hp-home, .hp-about) .hp-regions-list .hp-regions-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  align-items: baseline;
}

:is(.hp-home, .hp-about) .hp-regions-list .hp-regions-row + .hp-regions-row {
  margin-top: 14px;
}

:is(.hp-home, .hp-about) .hp-regions-list .hp-regions-row .esg-point-item {
  margin-top: 0;
}

/* Credentials section — pill toggle + slider arrows (keep APC layout) */
.hp-home .hp-cred-heading .section-heading-wrap {
  align-items: flex-start;
}

.hp-home .hp-cred-title-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px 14px;
  flex: 1;
  min-width: 0;
  margin-top: 35px;
  margin-left: 10px;
}

.hp-home .hp-cred-title-row .section-heading-txt {
  flex: 0 1 auto;
  min-width: 0;
  margin-top: 0;
  margin-left: 0;
  white-space: nowrap;
}

.hp-home .hp-cred-toggle.lang-b {
  margin-left: 0;
  align-self: center;
  flex: none;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1;
}

@media (max-width: 767px) {
  .hp-home .hp-cred-title-row {
    margin-top: 20px;
    gap: 8px 10px;
  }

  html[lang="en"] .hp-home .hp-cred-title-row .section-heading-txt {
    font-size: clamp(22px, 6.5vw, 30px);
  }

  .hp-home .hp-cred-toggle.lang-b {
    font-size: 13px;
  }

  .hp-home .hp-cred-toggle .lang-link {
    padding: 6px 10px;
  }
}

.hp-home .hp-cred-toggle .lang-link {
  border: 0;
  background-color: rgba(6, 130, 31, 0.08);
  color: rgba(6, 130, 31, 0.42);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  padding: 8px 14px;
}

.hp-home .hp-cred-toggle .lang-link.lang-1 {
  padding-right: 10px;
}

.hp-home .hp-cred-toggle .lang-link.lang-2 {
  padding-left: 10px;
}

.hp-home .hp-cred-toggle .lang-link.current {
  background-color: rgba(6, 130, 31, 0.16);
  color: var(--hp-brand);
}

.hp-home .hp-cred-panel[hidden] {
  display: none !important;
}

.hp-home .hp-cred-card .latest-item-top-b,
.hp-home .hp-cred-card .latest-item-des {
  display: none !important;
}

.hp-home .hp-cred-card .latest-item-img {
  background-repeat: no-repeat;
  background-position: center;
}

.hp-home .hp-cred-panel .home-latest-slider-mask .w-slide {
  transition: transform 1000ms ease;
  will-change: transform;
}

.hp-home .hp-cred-card .latest-item-txt-b {
  text-align: center;
}

.hp-home .hp-cred-card .latest-item-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

/* Credentials arrows — half inside / half outside card edges */
.hp-home .v-home-credentials > .container,
.hp-home .hp-cred-stage {
  position: relative;
  overflow: visible;
}

.hp-home .hp-cred-side-arrows.slider-arrow-gp {
  position: absolute;
  inset: 0;
  z-index: 4;
  margin: 0;
  display: block;
  pointer-events: none;
}

.hp-home .hp-cred-side-arrows .slider-arrow-item {
  position: absolute;
  top: var(--hp-cred-arrow-top, 37%);
  transform: translate(-50%, -50%);
  padding: 0;
  pointer-events: auto;
}

.hp-home .hp-cred-side-arrows .slider-arrow-item:first-child {
  left: 0;
}

.hp-home .hp-cred-side-arrows .slider-arrow-item:last-child {
  left: auto;
  right: 0;
  transform: translate(50%, -50%);
}

.hp-home .hp-cred-side-arrows .btn-slider-arrow {
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 10px rgba(6, 130, 31, 0.12);
}

@media (max-width: 767px) {
  .hp-home .hp-cred-side-arrows .slider-arrow-item {
    top: var(--hp-cred-arrow-top, 34%);
  }
}

/* Footer: 3 equal columns (company | products | about) */
.section-footer .footer-wrap {
  flex-direction: column;
  align-items: stretch;
}

.section-footer .footer-right {
  width: 100%;
  order: 0;
}

.section-footer .footer-left {
  order: 1;
  width: 100%;
  margin-right: 0;
  margin-top: 28px;
}

/* Copyright + privacy on one row; privacy sits under 关于我们 column */
.section-footer .hp-footer-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  width: 100%;
  column-gap: 0;
  box-sizing: border-box;
}

.section-footer .hp-footer-bottom .footer-copyright {
  grid-column: 1;
  margin-bottom: 0;
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
}

.section-footer .hp-footer-privacy {
  grid-column: 3;
  justify-self: start;
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
  color: var(--dark-slate-blue-2, #06821f);
  font-size: 15px;
  line-height: 120%;
  text-decoration: none;
  transition: color 0.35s ease;
}

.section-footer .hp-footer-privacy:hover {
  color: var(--hp-accent, #c9a227);
}

@media screen and (max-width: 767px) {
  .section-footer .hp-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px 16px;
  }

  .section-footer .hp-footer-bottom .footer-copyright,
  .section-footer .hp-footer-privacy {
    grid-column: auto;
    padding-left: 0;
    padding-right: 0;
  }
}

.section-footer {
  overflow: visible;
  max-width: 100%;
  box-sizing: border-box;
  padding-bottom: 72px;
}

.section-footer .footer-sitemap-b:not(.v-mobile) {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.section-footer .footer-sitemap-b:not(.v-mobile) > .footer-sitemap-gp {
  width: 33.333%;
  flex: 1 1 0;
  max-width: 33.333%;
  min-width: 0;
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
}

@media screen and (min-width: 992px) {
  .section-footer .footer-sitemap-b:not(.v-mobile) > .footer-sitemap-gp {
    width: 33.333% !important;
    flex: 1 1 0 !important;
    max-width: 33.333% !important;
  }
}

.section-footer .hp-footer-company {
  color: var(--hp-brand);
}

.section-footer .hp-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.section-footer .hp-footer-brand:hover {
  color: var(--hp-brand);
}

.section-footer .hp-footer-brand-mark {
  display: block;
  width: 56px;
  height: 42px;
  color: var(--hp-brand);
}

.section-footer .hp-footer-brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.section-footer .hp-footer-brand-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.section-footer .footer-sitemap-gp-title,
.section-footer .footer-sitemap-item,
.section-footer .hp-footer-contact li {
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

.section-footer .footer-sitemap-link {
  align-items: center;
}

.section-footer .footer-sitemap-arrow {
  margin-top: 0;
  display: flex;
  align-items: center;
  line-height: 0;
}

.section-footer .footer-sitemap-arrow .img-full {
  display: block;
}

.section-footer .hp-footer-contact {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.section-footer .hp-footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--hp-brand);
  font-size: 14px;
  line-height: 1.4;
}

.section-footer .hp-footer-contact a {
  color: inherit;
  text-decoration: none;
}

.section-footer .hp-footer-contact a:hover {
  text-decoration: underline;
}

.section-footer .hp-footer-contact li.hp-footer-address {
  align-items: flex-start;
}

.section-footer .hp-footer-contact li.hp-footer-address .hp-footer-contact-icon {
  margin-top: 2px;
}

.section-footer .hp-footer-contact-icon {
  display: inline-flex;
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--hp-brand);
  opacity: 0.9;
}

.section-footer .hp-footer-contact-icon svg {
  display: block;
}

@media screen and (max-width: 991px) {
  .section-footer .footer-sitemap-b:not(.v-mobile) {
    display: none;
  }

  .section-footer .footer-sitemap-b.v-mobile .hp-footer-company {
    margin-bottom: 24px;
    padding-bottom: 8px;
  }
}

/* Mobile footer: only one Contact link, no ethics/terms leftovers */
.section-footer .footer-sitemap-b:not(.v-mobile) .hp-footer-contact-only {
  display: none;
}

@media screen and (max-width: 991px) {
  .section-footer .footer-sitemap-b.v-mobile .hp-footer-contact-only {
    display: block;
    border-bottom: 1px solid var(--hp-brand-soft, rgba(6, 130, 31, 0.15));
    margin-bottom: 10px;
    padding: 12px 0 14px;
  }

  .section-footer .footer-sitemap-b.v-mobile .hp-footer-contact-only .footer-sitemap-gp-title {
    display: block;
  }
}

/* Mobile footer accordion: CSS +/- (missing expand PNGs) */
@media screen and (max-width: 991px) {
  .section-footer .footer-ec-icon {
    position: relative;
    background-color: var(--hp-brand) !important;
    background-image: none !important;
  }

  .section-footer .footer-ec-icon::before,
  .section-footer .footer-ec-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background-color: #fff;
    border-radius: 1px;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }

  .section-footer .footer-ec-icon::before {
    width: 12px;
    height: 2px;
  }

  .section-footer .footer-ec-icon::after {
    width: 2px;
    height: 12px;
  }

  /* Collapse state uses .v-collapse → show minus only */
  .section-footer .footer-ec-icon.v-collapse::after {
    opacity: 0;
    transform: translate(-50%, -50%) scaleY(0);
  }
}


/* About page — business regions (same as home) */
.hp-about .section-div.v-home-regions {
  position: relative;
  background: #fff;
}
.hp-about .esg-main-bg {
  pointer-events: none;
}
.hp-about .v-home-regions .section-heading-txt {
  color: var(--hp-brand, #06821f);
}
.hp-about .v-home-regions .container {
  width: min(1120px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
}
