/* ==========================================================================
   HomyClean — Laundry Capsules Manufacturer
   Brand: HomyClean · CleanHome Hub Daily Chemical Co., Ltd.
   ========================================================================== */

:root {
  --primary: #4e9e46;
  --primary-dark: #3d8137;
  --primary-light: #9ccc6c;
  --brand-blue: #3c9ccc;
  --brand-cream: #fcfce4;
  --navy: #16321f;
  --navy-2: #1d4529;
  --accent: #ff8a00;
  --ink: #0f1b33;
  --ink-soft: #4c5a4e;
  --bg: #ffffff;
  --bg-alt: #f4f9ef;
  --border: #e3eaf6;
  --shadow-sm: 0 2px 10px rgba(15, 27, 51, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 27, 51, 0.1);
  --shadow-lg: 0 24px 60px rgba(78, 158, 70, 0.16);
  --radius: 16px;
  --radius-lg: 24px;
  --font-head: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:
    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei',
    sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-top: 111px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}
.container--narrow {
  width: min(860px, 92%);
}

/* ---------- Topbar (announce + header) ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
}

/* ---------- Announcement bar ---------- */
.announce {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #d8ecd0;
  font-size: 0.8rem;
  font-weight: 500;
  max-height: 40px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
body.is-scrolled .announce {
  max-height: 0;
}
.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 8px 0;
  white-space: nowrap;
  overflow: hidden;
}
.announce__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary-light);
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--primary), #6dbb5e);
  color: #fff;
  box-shadow: 0 8px 24px rgba(78, 158, 70, 0.4);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(78, 158, 70, 0.5);
}
.btn--ghost {
  border-color: rgba(78, 158, 70, 0.45);
  color: var(--primary);
  background: rgba(255, 255, 255, 0.75);
}
.btn--ghost:hover {
  background: rgba(78, 158, 70, 0.07);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.btn--white {
  background: #fff;
  color: var(--primary);
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--lg {
  padding: 15px 34px;
  font-size: 1rem;
}

/* ---------- Header ---------- */
.header {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
}
.logo__img {
  height: 66px;
  width: auto;
  display: block;
}
.logo__text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--primary);
}
.logo__text span {
  color: inherit;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav__link:hover,
.nav__link.is-active {
  color: var(--primary);
}
.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}
.nav__cta {
  color: #fff;
  padding: 10px 22px;
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.header__burger span {
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
.header__burger.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.header__burger.is-open span:nth-child(2) {
  opacity: 0;
}
.header__burger.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 40px 0 0;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(56, 189, 248, 0.2), transparent 60%),
    radial-gradient(700px 500px at -10% 60%, rgba(61, 163, 60, 0.12), transparent 60%),
    linear-gradient(180deg, #ecf6e4 0%, #f8fbf4 55%, #ffffff 100%);
  color: var(--ink);
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
}
.blob--1 {
  width: 480px;
  height: 480px;
  background: rgba(180, 228, 132, 0.4);
  top: -140px;
  right: -120px;
}
.blob--2 {
  width: 360px;
  height: 360px;
  background: rgba(61, 163, 60, 0.18);
  bottom: 40px;
  left: -160px;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 72px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero__badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  color: var(--ink);
}
.grad-text {
  background: linear-gradient(92deg, #9ccc6c, #4e9e46 45%, #3c9ccc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 54ch;
  margin-bottom: 32px;
}
.hero__subtitle strong {
  color: var(--ink);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.hero__points li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__points li::before {
  content: '✓';
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.14);
  color: #16a34a;
  font-size: 0.7rem;
  font-weight: 700;
}

.hero__visual {
  position: relative;
}
.hero__card {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(244, 248, 254, 0.9));
  animation: float 6s ease-in-out infinite;
}
.hero__card img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.hero__float {
  position: absolute;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 10px 16px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  animation: float 5s ease-in-out infinite;
}
.hero__float strong {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--primary);
}
.hero__float--1 {
  top: 6%;
  left: -34px;
  animation-delay: 0.4s;
}
.hero__float--2 {
  top: 42%;
  right: -26px;
}
.hero__float--3 {
  bottom: -8px;
  left: 8%;
  animation-delay: 0.9s;
}

/* Trust marquee */
.trust-bar {
  position: relative;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.trust-bar__track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.trust-bar:hover .trust-bar__track {
  animation-play-state: paused;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 18px 24px;
  flex-shrink: 0;
}
.trust-bar__item {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.trust-bar__item::before {
  content: '◆';
  color: var(--primary);
  font-size: 0.6rem;
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0;
}
.section--tight {
  padding: 56px 0;
}
.section--alt {
  background: var(--bg-alt);
}

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section__tag {
  display: inline-block;
  color: var(--primary);
  background: rgba(78, 158, 70, 0.08);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section__title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 14px;
}
.section__sub {
  color: var(--ink-soft);
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding: 72px 0 8px;
  background:
    radial-gradient(700px 400px at 85% -20%, rgba(180, 228, 132, 0.25), transparent 60%),
    linear-gradient(180deg, #ecf6e4 0%, #ffffff 100%);
  text-align: center;
}
.page-hero__title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.page-hero__sub {
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 auto 16px;
}

/* ---------- Stats ---------- */
.stats {
  background:
    radial-gradient(600px 300px at 50% -40%, rgba(180, 228, 132, 0.18), transparent 70%),
    linear-gradient(180deg, var(--navy), var(--navy-2));
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat__num {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1.1;
}
.stat__label {
  color: rgba(199, 214, 245, 0.85);
  font-size: 0.92rem;
  font-weight: 500;
}

/* ---------- Products ---------- */
.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.product {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #c8e4ca;
}

.product__media {
  position: relative;
  background: linear-gradient(160deg, #f0f7ea, #e2f0d9);
  padding: 18px;
  display: grid;
  place-items: center;
}
.product__media img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 14px 22px rgba(78, 158, 70, 0.14));
  transition: transform 0.3s ease;
}
.product:hover .product__media img {
  transform: scale(1.05);
}

.product__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.product__tag--green {
  background: #16a34a;
}
.product__tag--dark {
  background: var(--ink);
}

.product__body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product__body h3 {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}
.product__body p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.product__specs {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: auto;
}
.product__specs li {
  position: relative;
  padding-left: 22px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.product__specs li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.product--oem {
  border: 2px dashed #badead;
  background: linear-gradient(180deg, #f6f9ff, #fff);
}
.product__link {
  display: inline-block;
  margin-top: 14px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}
.product__link:hover {
  text-decoration: underline;
}

/* ---------- Efficacy strip ---------- */
.efficacy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 12px;
  margin: 0 auto 48px;
  max-width: 880px;
}
.efficacy__lead {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin-right: 8px;
}
.efficacy__chip {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.84rem;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* ---------- Product filter ---------- */
.filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.filter__btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.filter__btn:hover {
  color: var(--primary);
  border-color: #bddfb0;
  transform: translateY(-1px);
}
.filter__btn.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #6dbb5e);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(78, 158, 70, 0.32);
}
.product.is-hidden {
  display: none;
}

/* ---------- Features ---------- */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature:first-child {
  grid-column: span 2;
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(78, 158, 70, 0.08), transparent 70%), #fff;
}
.feature:last-child {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 22px;
  background:
    radial-gradient(500px 200px at 0% 100%, rgba(255, 138, 0, 0.08), transparent 70%), #fff;
}
.feature:last-child .feature__icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.feature__icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  background: rgba(78, 158, 70, 0.1);
  border-radius: 18px;
  margin-bottom: 18px;
}
.feature h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.feature p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ---------- OEM showcase ---------- */
.oem-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.oem-shot {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.oem-shot:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.oem-shot img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.oem-shot figcaption {
  padding: 12px 14px;
  font-weight: 600;
  font-size: 0.88rem;
  text-align: center;
  color: var(--ink-soft);
}

/* ---------- Customization capabilities ---------- */
.subhead {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 22px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}
.subhead--gap {
  margin-top: 56px;
}

.caps__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.cap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.cap:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.cap__img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, #f0f7ea, #e2f0d9);
  padding: 14px;
  margin-bottom: 16px;
}
.cap__img--white {
  background: #fff;
}
.cap h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.cap p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 16px;
}
.cap__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cap__pills span {
  background: var(--bg-alt);
  border: 1px solid #def0d4;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 999px;
}

/* ---------- OEM Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 49px;
  left: 11%;
  right: 11%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary), #3c9ccc);
  opacity: 0.35;
  border-radius: 2px;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
  box-shadow: 0 8px 18px rgba(78, 158, 70, 0.28);
}
.step h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  margin-bottom: 8px;
}
.step p {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

/* ---------- Certifications ---------- */
.certs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cert {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.cert:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.cert__badge {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), #2c5236);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.cert h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  margin-bottom: 6px;
}
.cert p {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

/* ---------- Factory ---------- */
.factory__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.factory-shot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, #f0f7ea, #e2f0d9);
  margin: 0;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.factory-shot:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.factory-shot--wide {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
}
.factory-shot img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  display: block;
}
.factory-shot--wide img {
  height: 420px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}
.factory-shot figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(22, 50, 31, 0.82);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* ---------- How to use ---------- */
.usage__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}
.usage {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.usage:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.usage__num {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 16px;
  box-shadow: 0 8px 18px rgba(78, 158, 70, 0.28);
}
.usage h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.usage p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.usage__note {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.usage__tip {
  border-radius: var(--radius);
  padding: 24px 26px;
  background: #fffbeb;
  border: 1px solid #fde68a;
}
.usage__tip strong {
  font-family: var(--font-head);
  display: block;
  margin-bottom: 10px;
  color: #92400e;
}
.usage__tip p {
  color: #a16207;
  font-size: 0.92rem;
}

/* ---------- FAQ ---------- */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.faq__item.is-open {
  box-shadow: var(--shadow-md);
  border-color: #c8e4ca;
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--primary);
  transform: translateY(-50%);
  transition: transform 0.25s ease;
}
.faq__icon::after {
  transform: translateY(-50%) rotate(90deg);
}
.faq__q[aria-expanded='true'] .faq__icon::after {
  transform: translateY(-50%) rotate(0deg);
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq__a p {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.faq-cta {
  margin-top: 28px;
  text-align: center;
  background: linear-gradient(120deg, rgba(78, 158, 70, 0.08), rgba(60, 156, 204, 0.08));
  border: 1px solid #d8ead1;
  border-radius: var(--radius);
  padding: 26px;
}
.faq-cta p {
  color: var(--ink-soft);
  margin-bottom: 14px;
}

/* ---------- Inline section CTAs ---------- */
.section-cta {
  margin-top: 44px;
  background: linear-gradient(120deg, rgba(78, 158, 70, 0.08), rgba(60, 156, 204, 0.08));
  border: 1px solid #d8ead1;
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section-cta p {
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0;
}
.section-cta .btn {
  flex-shrink: 0;
}

/* ---------- CTA ---------- */
.cta {
  padding: 0 0 96px;
}
.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  background: linear-gradient(120deg, var(--primary) 0%, #79b96b 55%, #3c9ccc 100%);
  border-radius: var(--radius-lg);
  padding: 52px 56px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta__inner h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.cta__inner p {
  opacity: 0.9;
  max-width: 52ch;
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contact__card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact__row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1.2rem;
}
.contact__row h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  margin-bottom: 3px;
}
.contact__row a {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
}
.contact__row a:hover {
  text-decoration: underline;
}
.contact__row p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.contact__note {
  margin-top: 22px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 22px 24px;
}
.contact__note h4 {
  font-family: var(--font-head);
  font-size: 0.92rem;
  color: #92400e;
  margin-bottom: 10px;
}
.contact__note li {
  position: relative;
  padding-left: 20px;
  color: #a16207;
  font-size: 0.88rem;
  margin-bottom: 5px;
}
.contact__note li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: #d97706;
  font-weight: 700;
}

/* Form */
.form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form__field--full {
  grid-column: 1 / -1;
}
.form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}
.form__field label {
  font-weight: 600;
  font-size: 0.86rem;
}
.form__field input,
.form__field select,
.form__field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: #f8faf7;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  width: 100%;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.form__field textarea {
  resize: vertical;
  min-height: 120px;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(78, 158, 70, 0.1);
  background: #fff;
}
.form__field input.is-invalid,
.form__field select.is-invalid,
.form__field textarea.is-invalid {
  border-color: #ef4444;
}
.form__submit {
  width: 100%;
  margin-top: 6px;
}
.form__status {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  min-height: 1.4em;
}
.form__status.is-ok {
  color: #16a34a;
}
.form__status.is-err {
  color: #ef4444;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: #c2d6bd;
  padding: 64px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.logo--footer {
  background: #fff;
  border-radius: 12px;
  padding: 10px 16px;
  display: inline-flex;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}
.logo--footer .logo__img {
  height: 78px;
}
.footer__cta {
  margin-top: 18px;
}
.footer__brand p {
  margin-top: 18px;
  font-size: 0.9rem;
  max-width: 34ch;
}
.footer__col h4 {
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.98rem;
  margin-bottom: 18px;
}
.footer__col a,
.footer__col p {
  display: block;
  color: #c2d6bd;
  font-size: 0.9rem;
  margin-bottom: 11px;
  transition: color 0.2s;
}
.footer__col a:hover {
  color: #fff;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 22px 0;
}
.footer__bottom p {
  text-align: center;
  font-size: 0.84rem;
  color: #92a890;
}

/* ---------- Floating buttons ---------- */
.float-btn {
  position: fixed;
  z-index: 90;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    visibility 0.2s;
}
.float-btn--wa {
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.42);
}
.float-btn--wa:hover {
  transform: scale(1.08);
}
.float-btn--quote {
  right: 94px;
  bottom: 33px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4e9e46, #6dbb5e);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 10px 26px rgba(78, 158, 70, 0.4);
}
.float-btn--quote:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(78, 158, 70, 0.5);
}
.float-btn--top {
  right: 24px;
  bottom: 92px;
  width: 46px;
  height: 46px;
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
}
.float-btn--top.is-visible {
  opacity: 1;
  visibility: visible;
}
.float-btn--top:hover {
  transform: translateY(-3px);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__card,
  .hero__float {
    animation: none;
  }
}

/* ---------- Mobile bottom action bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(15, 27, 51, 0.08);
}
.mobile-bar__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
}
.mobile-bar__btn--wa {
  background: #25d366;
  color: #fff;
}
.mobile-bar__btn--quote {
  background: linear-gradient(135deg, var(--primary), #6dbb5e);
  color: #fff;
  box-shadow: 0 6px 18px rgba(78, 158, 70, 0.35);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding-bottom: 56px;
  }
  .hero__visual {
    max-width: 560px;
    margin: 0 auto;
  }
  .hero__float--1 {
    left: -10px;
  }
  .hero__float--2 {
    right: -8px;
  }

  /* 平板及以下改用汉堡菜单 */
  .header__burger {
    display: flex;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 18px 5%;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.25s ease,
      opacity 0.25s ease,
      visibility 0.25s;
  }
  .nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav__link {
    padding: 12px 6px;
    font-size: 1rem;
  }
  .nav__link.is-active::after {
    display: none;
  }
  .nav__cta {
    margin-top: 10px;
  }

  .products__grid,
  .features__grid,
  .certs__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section {
    padding: 80px 0;
  }
  .usage__grid {
    gap: 18px;
  }
  .usage {
    padding: 24px 18px;
  }
  .oem-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 72px;
  }
  body {
    padding-top: 101px;
    padding-bottom: 72px;
  }
  .announce {
    font-size: 0.72rem;
  }
  .announce__item:nth-child(3),
  .announce__item:nth-child(4) {
    display: none;
  }
  .header__inner {
    height: 66px;
  }
  .logo__img {
    height: 48px;
  }

  .section {
    padding: 68px 0;
  }
  .section__head {
    margin-bottom: 40px;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 16px;
  }
  .stat__num {
    font-size: 2.1rem;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .steps::before {
    display: none;
  }
  .feature:first-child,
  .feature:last-child {
    grid-column: auto;
  }
  .feature:last-child {
    display: block;
  }
  .usage__grid {
    grid-template-columns: 1fr;
  }
  .usage__note {
    grid-template-columns: 1fr;
  }
  .caps__grid {
    grid-template-columns: 1fr;
  }
  .factory-shot--wide img {
    max-height: 320px;
  }
  .section-cta {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  .cta__inner {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }
  .form {
    padding: 26px 20px;
  }
  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .float-btn--wa {
    right: 16px;
    bottom: 16px;
  }
  .float-btn--top {
    right: 16px;
    bottom: 82px;
  }
}

@media (max-width: 768px) {
  .mobile-bar {
    display: flex;
  }
  .float-btn--wa,
  .float-btn--quote,
  .float-btn--top {
    display: none;
  }
}

@media (max-width: 560px) {
  .products__grid,
  .features__grid,
  .certs__grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .oem-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .factory__grid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero__points {
    flex-direction: column;
    align-items: flex-start;
  }
  .trust-bar__inner {
    gap: 10px 20px;
  }
  .hero__float {
    font-size: 0.72rem;
    padding: 8px 12px;
  }
  .hero__float strong {
    font-size: 0.95rem;
  }
  .hero__float--1 {
    left: 0;
  }
  .hero__float--2 {
    right: 0;
  }
  .hero__float--3 {
    bottom: 0;
  }
  .filter__btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  .cap__img {
    height: 160px;
  }
  .section-cta {
    flex-direction: column;
    text-align: center;
  }
  .form {
    padding: 22px 16px;
  }
  .contact__card {
    padding: 22px 18px;
  }
}
