/* ============================================
   CELL PACK ENERGY - Global Styles
   ============================================ */

/* CSS Variables */
:root {
  /* 新能源 / 锂电主题：青绿主色 + 鲜绿强调 */
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --secondary: #111111;
  --secondary-tint: #134e4a;
  --accent: #22c55e;
  --accent-hover: #16a34a;
  /* 顶栏 / 页脚：深绿底，与主题一致（替代纯黑灰） */
  --nav-footer-bg: #0a3d32;
  --nav-footer-bg-deep: #041f1a;
  --white: #FFFFFF;
  --light-gray: #F5F7FA;
  --medium-gray: #E0E4E8;
  --dark-gray: #111111;
  --text-gray: #111111;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', 'Arial', sans-serif;
  --container-width: 1200px;
  --nav-height: 80px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: var(--nav-footer-bg);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px 20px;
}

.logo {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 0.85vw + 0.75rem, 1.35rem);
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.15;
}

.navbar nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

.navbar.scrolled .logo {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(8px, 1vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu li {
  flex-shrink: 0;
}

.nav-menu a {
  font-family: var(--font-heading);
  font-size: clamp(0.75rem, 0.2vw + 0.7rem, 0.875rem);
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.045em;
  position: relative;
  padding: 8px 2px;
  white-space: nowrap;
  display: inline-block;
}

.navbar.scrolled .nav-menu a {
  color: rgba(255, 255, 255, 0.9);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  transition: var(--transition);
}

.navbar.scrolled .hamburger span {
  background: var(--white);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Tablet / narrow desktop: hamburger + full-screen menu (avoids cramped wrapping) */
@media (max-width: 1180px) {
  .hamburger {
    display: flex;
    flex-shrink: 0;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    max-width: 100vw;
    height: calc(100vh - var(--nav-height));
    background: var(--nav-footer-bg);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    padding: 48px 24px 40px;
    gap: 8px;
    transition: var(--transition);
    overflow-y: auto;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    width: 100%;
    max-width: 320px;
    text-align: center;
    flex-shrink: 0;
  }

  .nav-menu a {
    color: var(--white);
    font-size: 1rem;
    letter-spacing: 0.06em;
    padding: 14px 12px;
    width: 100%;
  }

  .nav-menu a::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .nav-menu a:hover::after,
  .nav-menu a.active::after {
    width: 40%;
    max-width: 120px;
  }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-tint) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%230d9488" opacity="0.1" width="50" height="50"/><rect fill="%230d9488" opacity="0.1" x="50" y="50" width="50" height="50"/></svg>');
  background-size: 100px 100px;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

.hero-content h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btn {
  display: inline-block;
  padding: 15px 40px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 5px;
  transition: var(--transition);
}

.hero-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.35);
}

/* ============================================
   Stats Bar
   ============================================ */
.stats-bar {
  background: var(--primary);
  padding: 40px 0;
}

.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-item .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-item .label {
  font-size: 0.95rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .stats-bar .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   Products Section
   ============================================ */
.products {
  padding: 100px 0;
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-card .card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
}

.product-card .card-content {
  padding: 25px;
}

.product-card h3 {
  margin-bottom: 10px;
}

.product-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.product-card .read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.product-card .read-more:hover {
  color: var(--accent);
}

@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Advantages Section
   ============================================ */
.advantages {
  padding: 100px 0;
  background: var(--light-gray);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 2fr);
  gap: 30px;
}

.advantage-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.advantage-card .icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--white);
  font-size: 1.8rem;
}

.advantage-card h3 {
  margin-bottom: 10px;
}

.advantage-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

@media (max-width: 992px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Why Choose Us Section
   ============================================ */
.why-us {
  padding: 100px 0;
  background: var(--white);
}

.why-us-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-us-text h2 {
  margin-bottom: 20px;
}

.why-us-text p {
  color: var(--text-gray);
  margin-bottom: 30px;
}

.why-us-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.why-us-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.why-us-item::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.why-us-image {
  height: 400px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-tint) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 5rem;
}

@media (max-width: 768px) {
  .why-us-content {
    grid-template-columns: 1fr;
  }

  .why-us-image {
    height: 250px;
  }
}

/* ============================================
   Applications Section
   ============================================ */
.applications {
  padding: 100px 0;
  background: var(--light-gray);
}

.applications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.application-card {
  background: var(--white);
  padding: 40px 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.application-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.application-card .icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--white);
  font-size: 2rem;
}

.application-card h3 {
  margin-bottom: 10px;
}

.application-card p {
  color: var(--text-gray);
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .applications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .applications-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Contact CTA Section
   ============================================ */
.contact-cta {
  padding: 72px 0 80px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-tint) 100%);
  text-align: center;
}

.contact-cta h2 {
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 600;
}

.contact-cta p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 28px;
  font-size: 1.05rem;
  max-width: 520px;
  line-height: 1.65;
}

.cta-btn {
  display: inline-block;
  padding: 15px 50px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 5px;
  transition: var(--transition);
}

.cta-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.35);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #FFFFFF;
  color: #333333;
  padding: 56px 0 28px;
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 40px 36px;
  margin-bottom: 36px;
  align-items: start;
}

.footer h4 {
  color: #0d9488;
  margin: 0 0 18px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 2px solid #22c55e;
  display: inline-block;
  min-width: 0;
  position: relative;
}

.footer-about h4 {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 800;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #0d9488, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-about p {
  color: #0d9488;
  font-size: 0.9375rem;
  line-height: 1.85;
  max-width: 34em;
}

.footer-links h4 {
  margin-bottom: 16px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}

.footer-nav a {
  color: #0d9488;
  font-size: 0.9375rem;
  line-height: 1.45;
  padding: 4px 0;
  position: relative;
  transition: all 0.25s ease;
  display: inline-block;
  width: fit-content;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #22c55e, #0d9488);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.footer-nav a:hover {
  color: #22c55e;
  transform: translateX(4px);
}

.footer-nav a:hover::after {
  width: 100%;
}

.footer-contact-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0d9488;
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.footer-contact-row:hover {
  background: linear-gradient(135deg, #f0fdf7, #ecfdf5);
  transform: translateX(4px);
}

.footer-contact-link {
  text-decoration: none;
  color: #0d9488;
  transition: all 0.25s ease;
  font-weight: 500;
}

.footer-contact-link:hover {
  color: #22c55e;
}

.footer-contact-link:hover .footer-contact-icon {
  transform: scale(1.15) rotate(-5deg);
}

.footer-contact-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: #0d9488;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.footer-contact-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.footer-bottom {
  border-top: 1px solid #e5f0ed;
  padding-top: 22px;
  text-align: center;
  color: #6b8a87;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
  }

  .footer-about p {
    max-width: none;
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================
   Page Header (for sub-pages)
   ============================================ */
.page-header {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-tint) 100%);
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

/* ============================================
   Full-width Banner Image
   ============================================ */
.banner-section {
  width: 100%;
  padding-top: var(--nav-height);
}

.banner-image {
  width: 100%;
  height: 400px; /* ~10cm */
  object-fit: cover;
  display: block;
}

.banner-title {
  width: 100%;
  height: 50px; /* ~1cm */
  object-fit: cover;
  display: block;
}

/* ============================================
   Image Gallery Grid
   ============================================ */
.image-gallery {
  padding: 60px 0;
  background: var(--white);
}

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

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 240px; /* ~6cm */
  object-fit: cover;
}

.gallery-item.medium img {
  height: 320px; /* ~8cm */
}

.gallery-item.large img {
  height: 400px; /* ~10cm */
}

/* ============================================
   Video Section
   ============================================ */
.video-section {
  width: 100%;
  padding-top: var(--nav-height);
}

.video-container {
  width: 100%;
  height: 400px; /* ~10cm */
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder {
  color: var(--white);
  font-size: 1.2rem;
  text-align: center;
  padding: 20px;
}

/* ============================================
   Product & Application (Category Filter Layout)
   ============================================ */
.product-app-section {
  padding: 80px 0;
  background: var(--white);
}

.product-app-wrapper {
  display: grid;
  grid-template-columns: minmax(260px, 300px) 1fr;
  gap: 40px;
  align-items: start;
}

.category-sidebar {
  background: var(--light-gray);
  border-radius: 10px;
  padding: 20px;
  height: fit-content;
}

.category-sidebar h3 {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--primary);
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.category-tree {
  gap: 0;
}

.category-branch {
  border-bottom: 1px solid var(--medium-gray);
}

.category-branch:last-child {
  border-bottom: none;
}

.category-parent {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 12px 14px 14px;
  margin: 0;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-gray);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.category-parent:hover {
  color: var(--primary);
}

.category-branch.is-open .category-parent {
  color: var(--primary);
}

.category-parent-label {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.category-chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
  transition: transform 0.25s ease, opacity 0.2s ease;
  margin-top: -4px;
}

.category-branch.is-open .category-chevron {
  transform: rotate(225deg);
  margin-top: 2px;
  opacity: 0.9;
}

.category-children {
  display: none;
  padding: 4px 0 10px 8px;
}

.category-branch.is-open .category-children {
  display: block;
}

.category-tree .category-item {
  margin-left: 6px;
  padding: 10px 14px 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
}

.category-tree .category-item.active {
  color: var(--primary);
  background: rgba(13, 148, 136, 0.12);
}

.category-tree .category-item:hover:not(.active) {
  background: rgba(13, 148, 136, 0.07);
  color: var(--primary);
}

.category-item {
  width: 100%;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  text-align: left;
  padding: 12px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  color: var(--dark-gray);
}

.category-item:hover,
.category-item.active {
  background: var(--primary);
  color: var(--white);
}

/* Nested category (e.g. 高尔夫球车电池 / 房车电池 expandable) */
.category-subbranch {
  border-radius: 5px;
}

.category-subparent {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 15px;
  margin: 0;
  border: none;
  border-radius: 5px;
  background: transparent;
  font-family: var(--font-body);
  font-size: inherit;
  font-weight: 500;
  color: var(--dark-gray);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.category-subparent:hover {
  color: var(--primary);
}

.category-subbranch.is-open .category-subparent {
  color: var(--primary);
}

.category-subparent-label {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.category-chevron--nested {
  width: 8px;
  height: 8px;
  margin-top: -3px;
  opacity: 0.5;
}

.category-subbranch.is-open .category-chevron--nested {
  transform: rotate(225deg);
  margin-top: 1px;
  opacity: 0.85;
}

.category-subchildren {
  display: none;
  padding: 4px 0 6px 12px;
}

.category-subbranch.is-open .category-subchildren {
  display: block;
}

.category-subchildren .category-item {
  padding: 10px 14px;
  font-size: 0.9rem;
}

.product-display {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}

.product-item {
  align-self: start;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  background: var(--white);
}

.product-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-item-info {
  padding: 20px;
}

.product-item-info h4 {
  margin-bottom: 10px;
}

.product-item-info p {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.cms-state {
  grid-column: 1 / -1;
  width: 100%;
  padding: 28px;
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  background: var(--light-gray);
  color: var(--text-gray);
  text-align: center;
}

.cms-state-error {
  border-color: #f4b4ac;
  background: #fef3f2;
  color: #b42318;
}

@media (max-width: 992px) {
  .product-app-wrapper {
    grid-template-columns: 1fr;
  }

  .category-sidebar {
    margin-bottom: 30px;
  }

  .category-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .category-list .category-subbranch {
    flex: 1 1 100%;
    width: 100%;
  }

  .category-list.category-tree {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .product-display {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .product-display {
    grid-template-columns: 1fr;
  }

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

/* ============================================
   Article Section (Battery Solution)
   ============================================ */
.article-section {
  padding: 60px 0;
  background: var(--white);
}

.article-card {
  background: var(--light-gray);
  border-radius: 10px;
  padding: 40px;
  margin-top: 30px;
}

.article-card h3 {
  margin-bottom: 20px;
}

.article-card p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 15px;
}

/* ============================================
   About / Pre-sales / After-sales / Battery Solution — dark nav
   ============================================ */
body.about-page .navbar,
body.presales-page .navbar,
body.aftersales-page .navbar,
body.battery-solution-page .navbar {
  background: var(--nav-footer-bg);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.28);
}

body.about-page .navbar.scrolled,
body.presales-page .navbar.scrolled,
body.aftersales-page .navbar.scrolled,
body.battery-solution-page .navbar.scrolled {
  background: var(--nav-footer-bg);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.38);
}

body.about-page .navbar .logo,
body.about-page .navbar.scrolled .logo,
body.presales-page .navbar .logo,
body.presales-page .navbar.scrolled .logo,
body.aftersales-page .navbar .logo,
body.aftersales-page .navbar.scrolled .logo,
body.battery-solution-page .navbar .logo,
body.battery-solution-page .navbar.scrolled .logo {
  color: var(--accent);
}

body.about-page .navbar .nav-menu a,
body.about-page .navbar.scrolled .nav-menu a,
body.presales-page .navbar .nav-menu a,
body.presales-page .navbar.scrolled .nav-menu a,
body.aftersales-page .navbar .nav-menu a,
body.aftersales-page .navbar.scrolled .nav-menu a,
body.battery-solution-page .navbar .nav-menu a,
body.battery-solution-page .navbar.scrolled .nav-menu a {
  color: rgba(255, 255, 255, 0.9);
}

body.about-page .nav-menu a:hover,
body.about-page .nav-menu a.active,
body.presales-page .nav-menu a:hover,
body.presales-page .nav-menu a.active,
body.aftersales-page .nav-menu a:hover,
body.aftersales-page .nav-menu a.active,
body.battery-solution-page .nav-menu a:hover,
body.battery-solution-page .nav-menu a.active {
  color: var(--accent);
}

body.about-page .navbar .hamburger span,
body.about-page .navbar.scrolled .hamburger span,
body.presales-page .navbar .hamburger span,
body.presales-page .navbar.scrolled .hamburger span,
body.aftersales-page .navbar .hamburger span,
body.aftersales-page .navbar.scrolled .hamburger span,
body.battery-solution-page .navbar .hamburger span,
body.battery-solution-page .navbar.scrolled .hamburger span {
  background: var(--white);
}

/* ============================================
   Battery Solution — 全宽横幅 + 文章卡片（客户示意）
   ============================================ */
.solution-hero {
  padding-top: var(--nav-height);
  background: #0a0a12;
}

.solution-hero-banner {
  width: 100%;
  height: clamp(320px, 36vh, 520px);
  object-fit: cover;
  object-position: center;
  display: block;
}

.solution-articles {
  padding: 48px 0 80px;
  background: var(--white);
}

.solution-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 36px;
}

.solution-filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--medium-gray);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-gray);
  cursor: pointer;
  transition: var(--transition);
}

.solution-filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.solution-filter-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}

.solution-grid[hidden],
.solution-detail[hidden] {
  display: none !important;
}

.solution-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.solution-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.solution-card[hidden] {
  display: none !important;
}

.solution-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--light-gray);
}

.solution-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.solution-card-body {
  padding: 18px 20px 22px;
}

.solution-card-date {
  display: block;
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 10px;
}

.solution-card-title {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-gray);
  line-height: 1.45;
}

.solution-card-summary {
  margin: 0 0 14px;
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.65;
}

.solution-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

.solution-card-link:hover {
  color: var(--accent-hover);
}

.solution-detail {
  max-width: 880px;
  margin: 0 auto;
}

.solution-detail-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.solution-detail-card h1 {
  margin: 0 28px 18px;
  color: var(--secondary);
  font-size: clamp(1.6rem, 2.2vw, 2.4rem);
}

.solution-detail-card .solution-card-date {
  margin: 24px 28px 12px;
}

.solution-detail-image {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
  background: var(--light-gray);
}

.solution-detail-content {
  padding: 0 28px 30px;
  color: var(--dark-gray);
  line-height: 1.85;
}

.solution-detail-content p {
  margin: 0 0 16px;
}

.solution-back-link {
  display: inline-flex;
  margin: 24px 28px 18px;
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 992px) {
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .solution-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Pre-sales page — banner + image/text rows (customer layout)
   ============================================ */
.presales-hero {
  padding-top: var(--nav-height);
  background: #0a0a12;
}

.presales-hero-banner {
  width: 100%;
  /* ~4/5 of viewport below fixed nav (same idea as About 页视频区) */
  height: max(300px, calc((100vh - var(--nav-height)) * 4 / 5));
  object-fit: cover;
  display: block;
}

.presales-section {
  padding: 56px 0 80px;
  background: var(--white);
}

.presales-rows {
  max-width: 1100px;
  margin: 0 auto;
}

.presales-row {
  display: flex;
  align-items: stretch;
  gap: 36px;
  margin-bottom: 40px;
  padding: 28px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.presales-row:last-child {
  margin-bottom: 0;
}

.presales-row-media {
  flex: 0 1 42%;
  max-width: 460px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--light-gray);
  align-self: flex-start;
}

.presales-row-media img {
  width: 100%;
  height: auto;
  min-height: clamp(200px, 22vh, 320px);
  max-height: 360px;
  object-fit: cover;
  display: block;
}

.presales-row-body {
  flex: 1;
  min-width: 0;
  padding: 4px 0;
}

.presales-row-body h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 8px;
  line-height: 1.35;
}

.presales-row-body .presales-subtitle {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-gray);
  margin-bottom: 14px;
  line-height: 1.4;
}

.presales-row-body > p {
  color: var(--text-gray);
  line-height: 1.75;
  margin: 0 0 16px;
  font-size: 0.95rem;
}

.presales-features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.presales-features li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--dark-gray);
  line-height: 1.55;
  font-size: 0.93rem;
}

.presales-features li:last-child {
  margin-bottom: 0;
}

.presales-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--primary);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 992px) {
  .presales-row {
    flex-direction: column;
    gap: 22px;
    padding: 22px;
  }

  .presales-row-media {
    flex: none;
    max-width: none;
    width: 100%;
  }

  .presales-row-media img {
    max-height: 280px;
  }
}

/* ============================================
   After-sales page — banner + 核心竞争力 + 配图条
   ============================================ */
.aftersales-title-bar {
  padding-top: var(--nav-height);
  background: var(--white);
  text-align: center;
  padding-bottom: 18px;
}

.aftersales-title-bar h1 {
  margin: 0;
  padding: 20px 16px 0;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.aftersales-hero {
  background: #0a0a12;
}

.aftersales-hero-banner {
  width: 100%;
  height: clamp(300px, 28vh, 420px);
  object-fit: cover;
  display: block;
}

.aftersales-competence-wrap {
  padding: 56px 0 48px;
  background: linear-gradient(180deg, #eef2f7 0%, #e4e9f0 50%, #eef2f7 100%);
  position: relative;
  overflow: hidden;
}

.aftersales-competence-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(13, 148, 136, 0.07), transparent 55%);
  pointer-events: none;
}

.aftersales-competence {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 28px 44px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
}

.aftersales-competence-head {
  text-align: center;
  margin-bottom: 40px;
}

.aftersales-competence-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--secondary);
}

.aftersales-competence-head .aftersales-competence-en {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-gray);
  letter-spacing: 0.06em;
}

.aftersales-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}

.aftersales-pillar {
  text-align: center;
  padding: 12px 10px;
}

.aftersales-pillar-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.28);
}

.aftersales-pillar-icon svg {
  width: 36px;
  height: 36px;
}

.aftersales-pillar h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.35;
}

.aftersales-pillar p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-gray);
  text-align: left;
}

.aftersales-media-section {
  padding: 40px 0 72px;
  background: var(--white);
}

.aftersales-media-stack {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.aftersales-media-card {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  background: var(--light-gray);
}

.aftersales-media-card img {
  width: 100%;
  height: auto;
  min-height: clamp(200px, 22vh, 300px);
  max-height: 340px;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .aftersales-pillars {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .aftersales-pillar p {
    text-align: center;
  }
}

.about-top {
  padding-top: var(--nav-height);
  background: #0a0a12;
}

.about-top .about-video-wrap {
  width: 100%;
  /* ~4/5 of viewport below fixed nav; min height for very short viewports */
  height: max(300px, calc((100vh - var(--nav-height)) * 4 / 5));
  background: #0f0f18;
  display: block;
}

.about-top .about-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-gallery-section {
  padding: 48px 0 72px;
  background: var(--light-gray);
}

.about-gallery-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-gallery-row {
  margin: 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  background: var(--secondary);
}

.about-gallery-row img {
  width: 100%;
  height: auto;
  min-height: clamp(260px, 32vh, 420px);
  max-height: 520px;
  object-fit: cover;
  display: block;
}

@media (max-width: 576px) {
  .about-gallery-stack {
    gap: 22px;
  }

  .about-gallery-row img {
    min-height: 220px;
    max-height: none;
  }
}

/* ============================================
   About Page Specific
   ============================================ */
.about-intro {
  padding: 100px 0;
  background: var(--white);
}

.about-intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro-text h2 {
  margin-bottom: 20px;
}

.about-intro-text p {
  color: var(--text-gray);
  margin-bottom: 15px;
}

.about-intro-image {
  height: 350px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.value-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--light-gray);
  border-radius: 10px;
}

.value-card h4 {
  margin: 15px 0 10px;
}

.value-card p {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.certifications {
  padding: 100px 0;
  background: var(--light-gray);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.cert-item {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.cert-item .icon {
  width: 60px;
  height: 60px;
  background: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
}

.cert-item h4 {
  font-size: 1rem;
}

.factory-section {
  padding: 100px 0;
  background: var(--white);
}

.factory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.factory-item {
  height: 250px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-tint) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
}

@media (max-width: 992px) {
  .values-grid,
  .certs-grid,
  .factory-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-intro-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .values-grid,
  .certs-grid,
  .factory-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Contact Page Specific
   ============================================ */
.contact-section {
  padding: 100px 0;
  background: var(--white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
}

.contact-form {
  background: var(--light-gray);
  padding: 40px;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-gray);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--medium-gray);
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background: var(--accent-hover);
}

.submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.contact-form-message {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #ecfdf5;
  color: #067647;
  font-weight: 600;
}

.contact-form-message.is-error {
  background: #fef3f2;
  color: #b42318;
}

.contact-info h3 {
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.info-item .icon {
  width: 45px;
  height: 45px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.info-item h4 {
  margin-bottom: 5px;
}

.info-item p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

/* Scroll animations - add .visible class via JS */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-40 { margin-top: 40px; }

/* ============================================
   Text reveal popover for image/text sections
   ============================================ */
.block-text.is-popover-source,
.ps-block-text.is-popover-source {
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(13, 148, 136, 0.08), rgba(255, 255, 255, 0));
  box-shadow: inset 3px 0 0 rgba(13, 148, 136, 0.55);
}

.text-popover {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1200;
  width: min(430px, calc(100vw - 40px));
  max-height: min(72vh, 720px);
  overflow: auto;
  padding: 28px 30px 30px;
  border: 1px solid rgba(13, 148, 136, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 32px 86px rgba(18, 49, 44, 0.2);
  color: var(--text-gray);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 16px, 0) scale(0.985);
  transform-origin: var(--text-popover-origin, center center);
  transition:
    opacity 0.2s ease,
    transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.text-popover::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 0;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, #22c55e, #0d9488);
}

.text-popover.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.text-popover h3,
.text-popover .packaging-title {
  margin: 0 0 16px;
  color: #0d9488;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.18;
}

.text-popover p,
.text-popover li,
.text-popover .packaging-summary {
  display: block !important;
  overflow: visible !important;
  -webkit-line-clamp: initial !important;
  -webkit-box-orient: initial !important;
}

.text-popover p {
  margin: 0 0 16px;
  color: #4b5563;
  font-size: 0.94rem;
  line-height: 1.8;
}

.text-popover p:last-child {
  margin-bottom: 0;
}

.text-popover .packaging-list,
.text-popover .ps-task-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.text-popover .packaging-list li:nth-child(n+5),
.text-popover .ps-task-list li:nth-child(n+5),
.text-popover .packaging-summary {
  display: block !important;
}

.text-popover .packaging-list li,
.text-popover .ps-task-list li {
  position: relative;
  padding: 9px 12px 9px 42px;
  border: 1px solid rgba(13, 148, 136, 0.12);
  border-radius: 8px;
  background: rgba(248, 251, 250, 0.88);
  color: #4b5563;
  font-size: 0.88rem;
  line-height: 1.65;
}

.text-popover .packaging-list li::before,
.text-popover .ps-task-list li::before {
  left: 12px;
  top: 11px;
}

.text-popover .packaging-summary {
  margin-top: 18px;
}

@media (max-width: 768px) {
  .text-popover {
    display: none !important;
  }

  .block-text.is-popover-source,
  .ps-block-text.is-popover-source {
    background: transparent;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .text-popover {
    transition: none;
  }
}

/* ============================================
   Customer revision 2 overrides
   ============================================ */
body {
  background: #FFFFFF;
  color: #111111;
}

body,
p,
li,
label,
input,
textarea,
button,
.cms-state,
.product-item-info p,
.solution-card-summary,
.solution-detail-content,
.presales-row-body > p,
.presales-features li {
  color: #111111;
}

body .navbar,
body .navbar.scrolled {
  background: #FFFFFF !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

body .navbar .nav-menu a,
body .navbar.scrolled .nav-menu a {
  color: #111111 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: clamp(0.82rem, 0.18vw + 0.76rem, 0.95rem) !important;
  font-weight: 600;
}

body .navbar .nav-menu a:hover,
body .navbar .nav-menu a.active,
body .navbar.scrolled .nav-menu a:hover,
body .navbar.scrolled .nav-menu a.active {
  color: #00B050 !important;
}

body .navbar .nav-menu a::after,
body .navbar.scrolled .nav-menu a::after {
  background: #00B050 !important;
}

body .hamburger span,
body .navbar.scrolled .hamburger span {
  background: #111111 !important;
}

.section-category-title,
.about-section-title,
.as-section-title,
.presales-section-title {
  color: #00B050 !important;
}

.section-category-title::after,
.about-section-title::after,
.as-section-title::after,
.presales-section-title::after {
  background: #00B050 !important;
}

.content-section,
.presales-section,
.about-section,
.as-section,
.product-app-section,
.contact-section,
.solution-articles {
  background: #FFFFFF !important;
}

.content-block .block-text p,
.content-block .block-text p:first-of-type,
.content-block .block-text p:nth-of-type(n+2),
.packaging-list li:nth-child(n+5),
.packaging-summary,
.ps-block-text p,
.ps-task-list li:nth-child(n+5) {
  display: block !important;
  overflow: visible !important;
  -webkit-line-clamp: initial !important;
  -webkit-box-orient: initial !important;
}

.content-block .block-text h3,
.packaging-title,
.ps-block-text h3 {
  display: none !important;
}

.content-block .block-text p,
.packaging-list li,
.ps-block-text p,
.ps-task-list li {
  color: #111111 !important;
}

.content-block,
.ps-block {
  border-top-color: rgba(0, 176, 80, 0.22);
}

.content-block .block-image img,
.ps-block-image img {
  object-fit: contain;
}

.ps-block-image {
  aspect-ratio: auto !important;
  height: auto !important;
  min-height: 0 !important;
  position: static !important;
}

.presales-section-title {
  text-align: center;
  margin: 52px 0 28px;
  padding-bottom: 12px;
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  position: relative;
}

.presales-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  margin: 10px auto 0;
}

.product-app-section,
.contact-section {
  padding-top: calc(var(--nav-height) + 70px) !important;
}

.category-sidebar {
  background: #FFFFFF;
  border: 1px solid #e5f0ed;
  border-radius: 8px;
}

.category-sidebar h3 {
  display: none;
}

.category-item:hover,
.category-item.active {
  background: #00B050;
  color: #FFFFFF !important;
}

.footer {
  background: #FFFFFF;
  color: #111111;
}

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

.footer h4,
.footer-links h4,
.footer-contact h4 {
  color: #111111;
  text-transform: none;
  letter-spacing: 0;
  border-bottom-color: #00B050;
}

.footer-nav a,
.footer-contact-row,
.footer-contact-link,
.footer-about p,
.footer-bottom {
  color: #111111;
}

.footer-contact-icon {
  color: #00B050;
}

.footer-nav a:hover,
.footer-contact-link:hover {
  color: #00B050;
}

.about-copy-card,
.as-text-card {
  max-width: 1100px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid #e5f0ed;
  border-radius: 8px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: none;
}

.about-copy-card p {
  margin: 0 0 18px;
  color: #111111;
  font-size: 1rem;
  line-height: 1.85;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.about-metric {
  min-height: 120px;
  padding: 18px 14px;
  border: 1px solid #d9eee7;
  border-radius: 8px;
  text-align: center;
  background: #FFFFFF;
}

.about-metric-icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 2px solid #00B050;
  color: #00B050;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.about-metric strong {
  display: block;
  color: #111111;
  font-size: 1.45rem;
  line-height: 1.2;
  margin-bottom: 6px;
}

.about-metric span {
  display: block;
  color: #111111;
  font-size: 0.88rem;
  line-height: 1.35;
}

.as-text-card {
  display: grid;
  gap: 18px;
}

.as-service-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.as-service-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid #d9eee7;
  border-radius: 8px;
  background: #FFFFFF;
  color: #111111;
  line-height: 1.75;
}

.as-service-list .as-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #00B050;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .footer-content,
  .about-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .footer-content,
  .about-metrics {
    grid-template-columns: 1fr;
  }

  .as-service-list li {
    grid-template-columns: 1fr;
  }
}
.section-category-title::after,
.about-section-title::after,
.as-section-title::after,
.presales-section-title::after {
  display: none !important;
  content: none !important;
}

.text-popover {
  display: none !important;
}
