/* ============================================
   Jialaibao - Corporate Website Styles
   ============================================ */

/* CSS Variables */
:root {
  --color-primary: #2C1810;
  --color-primary-light: #3D261C;
  --color-accent: #C8956C;
  --color-accent-light: #D4A87D;
  --color-accent-dark: #B07D58;
  --color-bg: #F5F0EB;
  --color-bg-white: #FFFFFF;
  --color-bg-dark: #1A0E08;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #999999;
  --color-border: #E8E0D8;
  --font-heading: 'Georgia', 'Noto Serif SC', serif;
  --font-body: 'Segoe UI', 'Noto Sans SC', sans-serif;
  --max-width: 1200px;
  --nav-height: 80px;
  --transition: 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(44, 24, 16, 0.08);
  --shadow-md: 0 4px 20px rgba(44, 24, 16, 0.12);
  --shadow-lg: 0 8px 40px rgba(44, 24, 16, 0.16);
  --radius: 4px;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  border-radius: 2px;
}

.section-header p {
  margin-top: 24px;
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  box-shadow: 0 4px 15px rgba(200, 149, 108, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(200, 149, 108, 0.45);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(200, 149, 108, 0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-accent);
}

.btn-outline-dark:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================
   Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.header.transparent {
  background: rgba(26, 14, 8, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header.fixed {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  height: 70px;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.logo img {
  height: 42px;
  width: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  transition: color var(--transition);
  line-height: 1.35;
  max-width: 300px;
  text-align: left;
  letter-spacing: 0.3px;
  white-space: normal;
  word-break: break-word;
}

.header.fixed .logo-text {
  color: var(--color-primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  padding: 8px 20px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  transition: all var(--transition);
  position: relative;
  border-radius: var(--radius);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 60%;
}

.nav-menu a:hover {
  color: #fff;
}

.header.fixed .nav-menu a {
  color: var(--color-text);
}

.header.fixed .nav-menu a:hover {
  color: var(--color-accent);
}

.header.fixed .nav-menu a::after {
  background: var(--color-accent);
}

/* Nav Dropdown */
.nav-item {
  position: relative;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-arrow {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: var(--color-bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 100;
  margin-top: 4px;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  margin-top: 0;
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 0.88rem;
  color: var(--color-text);
  white-space: nowrap;
}

.nav-dropdown a::after {
  display: none;
}

.dropdown-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-left: 8px;
}

.nav-dropdown a:hover {
  background: var(--color-bg);
  color: var(--color-accent);
}

/* Nav Subdropdown (3rd level) */
.nav-dropdown-item {
  position: relative;
}

.nav-subdropdown {
  position: absolute;
  top: -8px;
  left: 100%;
  min-width: 160px;
  background: var(--color-bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 101;
  margin-left: 4px;
}

.nav-dropdown-item:hover > .nav-subdropdown {
  opacity: 1;
  visibility: visible;
  margin-left: 0;
}

.nav-subdropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--color-text);
  white-space: nowrap;
}

.nav-subdropdown a::after {
  display: none;
}

.nav-subdropdown a:hover {
  background: var(--color-bg);
  color: var(--color-accent);
}

.nav-item.active > a::after {
  width: 60%;
}

/* Nav Search */
.nav-search {
  display: flex;
  align-items: center;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  transition: border-color var(--transition);
}

.header.fixed .nav-search {
  border-left-color: var(--color-border);
}

.nav-search-form {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  border-radius: var(--radius);
  transition: all var(--transition);
  flex-shrink: 0;
}

.nav-search-btn svg {
  width: 18px;
  height: 18px;
}

.nav-search-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.header.fixed .nav-search-btn {
  color: var(--color-text);
}

.header.fixed .nav-search-btn:hover {
  color: var(--color-accent);
  background: rgba(200, 149, 108, 0.08);
}

.nav-search-input {
  width: 0;
  padding: 0;
  border: none;
  outline: none;
  font-size: 0.88rem;
  font-family: var(--font-body);
  color: #fff;
  background: transparent;
  transition: all 0.35s ease;
  opacity: 0;
}

.nav-search.active .nav-search-input {
  width: 180px;
  padding: 8px 12px;
  margin-left: 4px;
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.header.fixed .nav-search.active .nav-search-input {
  background: var(--color-bg);
  border-color: var(--color-border);
  color: var(--color-text);
}

.nav-search.active .nav-search-btn {
  color: var(--color-accent);
}

.nav-search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.header.fixed .nav-search-input::placeholder {
  color: var(--color-text-muted);
}

.nav-search-input:focus {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: var(--color-accent) !important;
}

.header.fixed .nav-search-input:focus {
  background: var(--color-bg-white) !important;
  box-shadow: 0 0 0 3px rgba(200, 149, 108, 0.1);
  color: var(--color-text);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all var(--transition);
  border-radius: 2px;
}

.header.fixed .hamburger span {
  background: var(--color-primary);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================
   Hero / Banner
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #8B7D6F;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

/* Hero Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.1);
}

.hero-arrow svg {
  width: 20px;
  height: 20px;
}

.hero-arrow-prev {
  left: 20px;
}

.hero-arrow-next {
  right: 20px;
}

/* Hero Indicators */
.hero-indicators {
  position: absolute;
  bottom: 55px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-indicators span {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.hero-indicators span:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.3);
}

.hero-indicators span.active {
  width: 30px;
  border-radius: 5px;
  background: var(--color-accent);
}

/* Scroll Down Arrow */
.scroll-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  cursor: pointer;
  animation: scrollBounce 2s ease infinite;
}

.scroll-arrow svg {
  width: 28px;
  height: 28px;
  stroke: rgba(255, 255, 255, 0.7);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: stroke 0.3s ease;
}

.scroll-arrow:hover svg {
  stroke: rgba(255, 255, 255, 1);
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-12px); }
  60% { transform: translateX(-50%) translateY(-6px); }
}

/* ============================================
   Advantages Section
   ============================================ */
.advantages {
  background: var(--color-bg-white);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.advantage-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: 8px;
  background: var(--color-bg);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border);
  background: var(--color-bg-white);
}

.advantage-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200, 149, 108, 0.1), rgba(200, 149, 108, 0.05));
  transition: all var(--transition);
}

.advantage-card:hover .advantage-icon {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
}

.advantage-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-accent);
  transition: stroke var(--transition);
}

.advantage-card:hover .advantage-icon svg {
  stroke: #fff;
}

.advantage-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.advantage-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ============================================
   Products Section
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-bg-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.08);
}

.product-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 24, 16, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:hover .product-card-overlay {
  opacity: 1;
}

.product-card-overlay .btn {
  transform: translateY(10px);
  transition: all var(--transition);
}

.product-card:hover .product-card-overlay .btn {
  transform: translateY(0);
}

.product-card-info {
  padding: 20px;
}

.product-card-info h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  transition: color var(--transition);
}

.product-card:hover .product-card-info h3 {
  color: var(--color-accent);
}

.product-card-info p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ============================================
   Company Introduction Section
   ============================================ */
.company-intro {
  background: var(--color-bg-light);
  padding: 100px 0;
}

.company-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.company-intro-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.company-intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.company-intro-img:hover img {
  transform: scale(1.05);
}

.company-intro-content {
  padding: 20px 0;
}

.company-intro-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

/* ============================================
   Stats / Counter Section
   ============================================ */
.stats-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-bg-dark) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-number span {
  font-size: 1.5rem;
  margin-left: 4px;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
}

/* ============================================
   News Section
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.news-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--color-bg-white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.news-card-img {
  flex-shrink: 0;
  width: 200px;
  border-radius: 6px;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card:hover .news-card-img img {
  transform: scale(1.05);
}

.news-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.news-card-content h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  transition: color var(--transition);
  line-height: 1.5;
}

.news-card:hover .news-card-content h3 {
  color: var(--color-accent);
}

.news-card-content p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   Partners Section
   ============================================ */
.partners {
  background: var(--color-bg-white);
  padding: 80px 0;
}

.partners-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 32px;
  max-width: 900px;
  margin: 0 auto;
}

.partner-name {
  color: var(--color-text);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}

.partner-name::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.partner-name:hover {
  color: var(--color-accent);
}

.partner-name:hover::after {
  width: 100%;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta-section h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.cta-section .btn {
  background: #fff;
  color: var(--color-accent-dark);
  font-weight: 600;
}

.cta-section .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Page Banner (Inner Pages)
   ============================================ */
.page-banner {
  position: relative;
  height: 400px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-banner .banner-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    rgba(0, 0, 0, 0.65),
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: 1;
}

.page-banner h1 {
  color: #fff;
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.8),
    0 2px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 8px;
}

.page-banner .banner-subtitle {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.7);
  margin-bottom: 0;
}

.page-banner .breadcrumb {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.page-banner .breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}

.page-banner .breadcrumb a:hover {
  color: var(--color-accent);
}

.page-banner .breadcrumb span {
  color: var(--color-accent);
}

/* ============================================
   Product List Page - Two-Level Navigation
   ============================================ */

.product-list-section {
  padding-top: 40px;
}

/* First Row: Top-Level Category Tabs */
.product-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 0;
}

.product-tab {
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  position: relative;
  transition: all var(--transition);
  margin-bottom: -2px;
  border-bottom: 2px solid transparent;
}

.product-tab:hover {
  color: var(--color-accent);
}

.product-tab.active {
  color: var(--color-accent);
  font-weight: 600;
  border-bottom-color: var(--color-accent);
}

/* Second Row: Sub-Category Tags */
.product-subtabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  padding: 12px 0;
}

.product-subtab {
  padding: 6px 20px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  text-decoration: none;
  transition: all var(--transition);
}

.product-subtab:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.product-subtab.active {
  color: #fff;
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* ============================================
   Product Detail Page
   ============================================ */
.product-detail {
  background: var(--color-bg-white);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 100px;
}

.product-main-img-wrap {
  position: relative;
}

.product-main-img {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 4/3;
  cursor: crosshair;
  position: relative;
}

.product-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-zoom-result {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border, #e0e0e0);
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  z-index: 1000;
}

.product-zoom-result.active {
  opacity: 1;
  visibility: visible;
}

.product-zoom-result img {
  position: absolute;
  width: auto;
  height: auto;
  max-width: none;
  pointer-events: none;
}

.product-zoom-lens {
  position: absolute;
  border: 2px solid #fff;
  background: rgba(255, 255, 255, 0.2);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
  z-index: 5;
}

.product-zoom-lens.active {
  opacity: 1;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.product-thumb {
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
  aspect-ratio: 1;
}

.product-thumb.active,
.product-thumb:hover {
  border-color: var(--color-accent);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info h1 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

.product-meta-item {
  display: flex;
  gap: 12px;
}

.product-meta-item label {
  flex-shrink: 0;
  width: 80px;
  font-weight: 500;
  color: var(--color-text);
}

.product-meta-item span {
  color: var(--color-text-light);
}

.product-description {
  margin-bottom: 32px;
}

.product-description h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.product-description p {
  line-height: 1.9;
}

.product-params {
  margin-bottom: 32px;
}

.product-params h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.params-table {
  width: 100%;
  border-collapse: collapse;
}

.params-table tr:nth-child(even) {
  background: var(--color-bg);
}

.params-table td {
  padding: 12px 16px;
  font-size: 0.9rem;
  border: 1px solid var(--color-border);
}

.params-table td:first-child {
  font-weight: 500;
  width: 30%;
  color: var(--color-primary);
  background: rgba(200, 149, 108, 0.05);
}

/* ============================================
   News List Page
   ============================================ */
.news-list-grid {
  display: grid;
  gap: 24px;
}

.news-list-item {
  display: flex;
  gap: 24px;
  padding: 24px;
  background: var(--color-bg-white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.news-list-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.news-list-img {
  flex-shrink: 0;
  width: 280px;
  border-radius: 6px;
  overflow: hidden;
}

.news-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-list-item:hover .news-list-img img {
  transform: scale(1.05);
}

.news-list-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-list-content .news-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.news-list-content h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  transition: color var(--transition);
}

.news-list-item:hover .news-list-content h3 {
  color: var(--color-accent);
}

.news-list-content .excerpt {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}

/* Pagination */
.pagination,
.page-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 60px;
  padding: 20px 0;
  flex-wrap: wrap;
}

.pagination a,
.pagination span,
.page-bar a,
.page-bar span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-bg-white);
  transition: all 0.3s ease;
  text-decoration: none;
}

.pagination a:hover,
.page-bar a:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 150, 100, 0.3);
}

.pagination .page-num-current,
.page-bar .page-num-current,
.pagination .active,
.page-bar .active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  font-weight: 600;
}

.pagination .page-status,
.page-bar .page-status {
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  padding: 0 10px;
}

.pagination .page-index,
.pagination .page-pre,
.pagination .page-next,
.pagination .page-last,
.page-bar .page-index,
.page-bar .page-pre,
.page-bar .page-next,
.page-bar .page-last {
  font-weight: 500;
}

.pagination .page-index:hover,
.pagination .page-pre:hover,
.pagination .page-next:hover,
.pagination .page-last:hover,
.page-bar .page-index:hover,
.page-bar .page-pre:hover,
.page-bar .page-next:hover,
.page-bar .page-last:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* ============================================
   News Detail Page
   ============================================ */
.news-detail {
  background: var(--color-bg-white);
}

.article-container {
  max-width: 800px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

.article-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

.article-header h1 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.4;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-body {
  font-size: 1rem !important;
  line-height: 2 !important;
  color: var(--color-text) !important;
  max-width: 100% !important;
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.article-body > * {
  max-width: 100% !important;
  box-sizing: border-box !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
  width: 100% !important;
}

.article-body p {
  margin-bottom: 1.5rem !important;
  color: var(--color-text) !important;
  max-width: 100% !important;
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
  width: 100% !important;
}

.article-body img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px;
  margin: 24px 0;
}

.article-body table {
  max-width: 100% !important;
  width: 100% !important;
  table-layout: auto;
}

.article-body iframe,
.article-body video,
.article-body embed,
.article-body object {
  max-width: 100% !important;
  height: auto !important;
}

.article-body h2,
.article-body h3 {
  margin: 32px 0 16px;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  gap: 20px;
}

.article-nav a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: all var(--transition);
  max-width: 45%;
}

.article-nav a:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.article-nav a span:first-child {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.article-nav a span:last-child {
  font-size: 0.95rem;
  color: var(--color-text);
  transition: color var(--transition);
}

.article-nav a:hover span:last-child {
  color: var(--color-accent);
}

.article-nav-disabled {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  max-width: 45%;
}

/* ============================================
   About Page
   ============================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro-img {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.about-intro-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-intro-img::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 3px solid var(--color-accent);
  border-radius: 8px;
  z-index: -1;
}

.about-intro-text h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.about-intro-text p {
  line-height: 2;
  margin-bottom: 1.2rem;
}

.about-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
}

.about-subtitle-en {
  font-size: 0.85rem;
  color: #999;
  font-weight: 400;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0;
  padding: 25px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.about-stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-accent);
  font-family: var(--font-serif);
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: #666;
  margin-top: 4px;
}

.about-philosophy {
  margin-top: 25px;
  padding: 20px 25px;
  background: var(--color-bg);
  border-radius: 8px;
  border-left: 4px solid var(--color-accent);
}

.about-philosophy h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.about-philosophy p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.philosophy-en {
  font-size: 0.8rem !important;
  color: #999;
  font-style: italic;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 50px 60px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 3px var(--color-accent);
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.timeline-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Honor / Certifications Carousel */
.honor-carousel {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 20px 0;
}

.honor-thumbs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
  height: 384px; /* 5 items * 64px + 4 * 16px gap */
  overflow: hidden;
  position: relative;
}

.honor-thumbs-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.4s ease;
}

.honor-thumb {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all var(--transition);
  opacity: 0.5;
}

.honor-thumb.active {
  border-color: var(--color-accent);
  opacity: 1;
  box-shadow: 0 0 0 3px rgba(200, 149, 108, 0.2);
}

.honor-thumb:hover {
  opacity: 0.8;
}

.honor-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.honor-main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 380px;
}

.honor-main-img {
  position: relative;
  width: 380px;
  height: 380px;
}

.honor-main-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
  background: #fff;
}

.honor-main-slide.active {
  opacity: 1;
}

.honor-main-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.honor-info {
  flex-shrink: 0;
  width: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
}

.honor-info-inner {
  position: relative;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.honor-info-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.honor-info-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.honor-info-label {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-align: center;
  width: 100%;
}

.honor-info-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.5;
  margin-bottom: 16px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  text-align: center;
}

.honor-info-more {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--color-accent);
  font-weight: 500;
  transition: color var(--transition);
  text-align: center;
  width: 100%;
}

.honor-info-more:hover {
  color: var(--color-accent-dark);
}

.honor-nav {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.honor-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: var(--color-bg-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--color-text);
}

.honor-nav-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-bg-white);
}

.honor-nav-btn svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200, 149, 108, 0.1), rgba(200, 149, 108, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-accent);
}

.contact-info-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-weight: 600;
}

.contact-info-text p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Contact Form */
.contact-form {
  background: var(--color-bg-white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(200, 149, 108, 0.1);
  background: var(--color-bg-white);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.captcha-row {
  grid-template-columns: 1fr 140px;
}

.captcha-input {
  margin-bottom: 0;
}

.captcha-img-wrap {
  margin-bottom: 24px;
}

.captcha-img-wrap label {
  visibility: hidden;
  height: 24px;
}

.captcha-img {
  height: 44px;
  width: 120px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity var(--transition);
}

.captcha-img:hover {
  opacity: 0.8;
}

/* Map placeholder */
.map-section {
  background: var(--color-bg);
  padding: 80px 0;
}

.map-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: var(--color-bg-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(44, 24, 16, 0.08);
}

.map-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  background: linear-gradient(135deg, #2C1810 0%, #1A0F0A 100%);
  color: #fff;
}

.map-header svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-accent);
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(200, 149, 108, 0.3));
}

.map-header-text {
  flex: 1;
}

.map-address {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.3px;
}

.map-company {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 4px 0 0 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.map-embed {
  width: 100%;
  height: 380px;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 600;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-col .footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #fff;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-accent);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   Scroll Animations
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animate-left {
  transform: translateX(-40px);
}

.animate-on-scroll.animate-right {
  transform: translateX(40px);
}

.animate-on-scroll.animate-scale {
  transform: scale(0.9);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger delays for grid items */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
  border: none;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-accent-dark);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   Floating Sidebar
   ============================================ */
.float-sidebar {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 998;
  pointer-events: none;
}

.float-sidebar.visible {
  pointer-events: auto;
}

.float-sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-item {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Hide: bottom-to-top (item 4 first, item 1 last) */
.float-item:nth-child(1) { transition-delay: 0.24s; }
.float-item:nth-child(2) { transition-delay: 0.16s; }
.float-item:nth-child(3) { transition-delay: 0.08s; }
.float-item:nth-child(4) { transition-delay: 0s; }

/* Show: top-to-bottom (item 1 first, item 4 last) */
.float-sidebar.visible .float-item {
  opacity: 1;
  transform: translateY(0);
}
.float-sidebar.visible .float-item:nth-child(1) { transition-delay: 0s; }
.float-sidebar.visible .float-item:nth-child(2) { transition-delay: 0.08s; }
.float-sidebar.visible .float-item:nth-child(3) { transition-delay: 0.16s; }
.float-sidebar.visible .float-item:nth-child(4) { transition-delay: 0.24s; }

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  position: relative;
}

.float-btn:hover {
  background: var(--color-accent-dark);
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.float-btn svg {
  width: 20px;
  height: 20px;
}

/* Float Popup */
.float-popup {
  position: absolute;
  right: calc(100% + 12px);
  top: 0;
  transform: translateX(10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
  z-index: 999;
}

.float-item:hover .float-popup {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.float-popup-inner {
  background: var(--color-bg-white);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 16px;
  text-align: center;
  border: 1px solid var(--color-border);
}

.float-popup-title {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  font-weight: 500;
}

.float-popup-qr {
  max-width: 200px;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}

.float-popup-text {
  font-size: 0.9rem;
  color: var(--color-accent);
  font-weight: 600;
  transition: color var(--transition);
}

.float-popup-text:hover {
  color: var(--color-accent-dark);
}

/* Float Back to Top - hide original back-to-top when sidebar is visible */
.float-sidebar.visible ~ .back-to-top,
body:has(.float-sidebar.visible) .back-to-top {
  display: none;
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   Application Solutions
   ============================================ */
.application-solutions {
  background: var(--color-bg);
}

.solution-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.solution-row:last-child {
  margin-bottom: 0;
}

.solution-row-reverse {
  flex-direction: row-reverse;
}

.solution-text {
  flex: 1;
}

.solution-text h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.solution-list p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.solution-list p:last-child {
  margin-bottom: 0;
}

.solution-img {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.solution-img:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.solution-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.solution-img:hover img {
  transform: scale(1.05);
}

/* ============================================
   Search Results Page
   ============================================ */
.search-info {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.search-info p {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

.search-info strong {
  color: var(--color-accent);
  font-weight: 600;
}

.search-results-grid {
  display: grid;
  gap: 24px;
}

.search-result-item {
  display: flex;
  gap: 24px;
  padding: 24px;
  background: var(--color-bg-white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}

.search-result-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.search-result-img {
  flex-shrink: 0;
  width: 240px;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.search-result-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.search-result-item:hover .search-result-img img {
  transform: scale(1.05);
}

.search-result-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.search-result-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.search-result-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--color-accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-result-date {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.search-result-content h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  transition: color var(--transition);
  line-height: 1.5;
}

.search-result-item:hover .search-result-content h3 {
  color: var(--color-accent);
}

.search-result-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.7;
}

/* Search keyword highlight */
.search-result-content h3 mark,
.search-result-desc mark {
  background: transparent;
  color: var(--color-accent);
  font-weight: 600;
  padding: 0 2px;
}

.search-no-result {
  text-align: center;
  padding: 80px 20px;
}

.search-no-result svg {
  width: 64px;
  height: 64px;
  stroke: var(--color-text-muted);
  margin-bottom: 20px;
}

.search-no-result h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--color-text);
}

.search-no-result p {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 30px;
  }
}

@media (max-width: 992px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  
  .section { padding: 70px 0; }
  .section-header { margin-bottom: 40px; }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .solution-row {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
  }

  .solution-row-reverse {
    flex-direction: column;
  }

  .solution-img img {
    height: 300px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-intro-img::after {
    display: none;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-gallery {
    position: static;
  }

  .product-main-img {
    aspect-ratio: 4/3;
    cursor: default;
  }

  .product-zoom-result {
    display: none;
  }

  .product-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .product-info h1 {
    font-size: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .honor-carousel {
    gap: 24px;
  }

  .honor-thumbs {
    height: 320px; /* 5 items * 52px + 4 * 16px gap */
  }

  .honor-main-img {
    width: 300px;
    height: 300px;
  }

  .honor-thumb {
    width: 52px;
    height: 52px;
  }

  .timeline-item {
    padding: 0 30px 40px;
  }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  
  :root { --nav-height: 65px; }

  .logo {
    gap: 8px;
  }

  .logo img {
    height: 32px;
    width: 32px;
    border-radius: 50%;
    object-fit: cover;
  }

  .logo-text {
    font-size: 0.85rem;
    line-height: 1.3;
    max-width: 180px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--color-primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 30px;
    gap: 4px;
    transition: right var(--transition);
    z-index: 1000;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.05rem;
    padding: 12px 16px;
    width: 100%;
    border-radius: 6px;
  }

  .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-item {
    width: 100%;
  }

  .nav-item > a {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    margin-top: 4px;
    padding: 4px 0;
    display: none;
  }

  .nav-item:hover .nav-dropdown,
  .nav-item.active .nav-dropdown {
    display: block;
  }

  .nav-dropdown a {
    padding: 10px 16px 10px 32px;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem;
  }

  .nav-dropdown a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
  }

  .dropdown-arrow {
    transform: rotate(90deg);
  }

  .nav-dropdown-item {
    width: 100%;
  }

  .nav-subdropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    margin-left: 0;
    margin-top: 0;
    padding: 0;
    display: none;
  }

  .nav-dropdown-item:hover > .nav-subdropdown,
  .nav-dropdown-item.active > .nav-subdropdown {
    display: block;
  }

  .nav-subdropdown a {
    padding: 8px 16px 8px 48px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6) !important;
  }

  .nav-subdropdown a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
  }

  .nav-search {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    width: 100%;
    margin-top: 8px;
  }

  .nav-search.active .nav-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
  }

  .nav-search.active .nav-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
  }

  .mobile-overlay {
    display: block;
  }

  .hero {
    min-height: 380px;
    height: 50vh;
  }

  .hero-arrow {
    width: 36px;
    height: 36px;
  }

  .hero-arrow svg {
    width: 16px;
    height: 16px;
  }

  .hero-indicators {
    bottom: 20px;
  }

  .scroll-arrow {
    bottom: 25px;
  }

  .advantages-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .advantage-card {
    padding: 24px 16px;
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .news-card {
    flex-direction: column;
  }

  .news-card-img {
    width: 100%;
    height: 180px;
  }

  .news-list-item {
    flex-direction: column;
  }

  .news-list-img {
    width: 100%;
    height: 200px;
  }

  .page-banner {
    height: 300px;
  }

  .page-banner h1 {
    font-size: 1.8rem;
  }

  .page-banner .banner-subtitle {
    font-size: 0.92rem;
    letter-spacing: 1.5px;
  }

  .pagination,
  .page-bar {
    gap: 6px;
    margin-top: 40px;
  }

  .pagination a,
  .pagination span,
  .page-bar a,
  .page-bar span {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 0.85rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding: 0 0 40px 50px;
  }

  .timeline-item .timeline-dot {
    left: 12px !important;
    right: auto !important;
  }

  .honor-carousel {
    flex-direction: column;
    gap: 24px;
  }

  .honor-thumbs {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .honor-main {
    min-height: 280px;
  }

  .honor-main-img {
    width: 260px;
    height: 260px;
  }

  .honor-info {
    width: 100%;
    text-align: center;
    min-height: auto;
  }

  .honor-info-inner {
    min-height: 120px;
  }

  .honor-nav {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .captcha-row {
    grid-template-columns: 1fr 140px;
  }

  .article-nav {
    flex-direction: column;
  }

  .article-nav a {
    max-width: 100%;
  }

  .product-tab {
    padding: 10px 20px;
    font-size: 0.88rem;
  }

  .product-subtab {
    padding: 5px 16px;
    font-size: 0.8rem;
  }

  .solution-row {
    gap: 24px;
    margin-bottom: 50px;
  }

  .solution-img img {
    height: 250px;
  }

  .search-result-item {
    flex-direction: column;
  }

  .search-result-img {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 480px) {
  html { font-size: 14px; }

  .container {
    padding: 0 16px;
  }

  .captcha-row {
    grid-template-columns: 1fr;
  }

  .captcha-img-wrap {
    margin-bottom: 0;
  }

  .section {
    padding: 50px 0;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .hero {
    min-height: 320px;
    height: 50vh;
  }

  .hero-arrow {
    width: 32px;
    height: 32px;
  }

  .hero-arrow svg {
    width: 14px;
    height: 14px;
  }

  .hero-arrow-prev {
    left: 12px;
  }

  .hero-arrow-next {
    right: 12px;
  }

  .hero-indicators {
    bottom: 15px;
    padding: 6px 14px;
  }

  .scroll-arrow {
    bottom: 20px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .partners-list {
    gap: 10px 20px;
  }

  .partner-name {
    font-size: 0.85rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .honor-thumbs {
    display: none;
  }

  .honor-main-img {
    width: 220px;
    height: 220px;
  }

  .contact-form {
    padding: 24px;
  }

  .product-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .product-main-img {
    aspect-ratio: 3/2;
  }

  .product-info h1 {
    font-size: 1.4rem;
  }

  .product-meta {
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 24px;
  }

  .product-meta-item label {
    width: 70px;
    font-size: 0.85rem;
  }

  .product-meta-item span {
    font-size: 0.85rem;
  }

  .product-description {
    margin-bottom: 24px;
  }

  .product-params {
    margin-bottom: 24px;
  }

  .params-table td {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }

  .animate-on-scroll.animate-left,
  .animate-on-scroll.animate-right,
  .animate-on-scroll.animate-scale {
    transform: none;
  }

  .solution-text h3 {
    font-size: 1.2rem;
  }

  .solution-list p {
    font-size: 0.88rem;
  }

  .solution-img img {
    height: 200px;
  }

  .float-sidebar {
    right: 12px;
    bottom: 20px;
  }

  .float-btn {
    width: 42px;
    height: 42px;
  }

  .float-btn svg {
    width: 18px;
    height: 18px;
  }

  .float-sidebar-inner {
    gap: 8px;
  }

  .float-popup-qr {
    max-width: 160px;
    max-height: 160px;
    width: auto;
    height: auto;
  }

  .map-section {
    padding: 60px 0;
  }

  .map-header {
    padding: 20px 24px;
  }

  .map-embed {
    height: 280px;
  }
}
