/* ===== CSS Variables ===== */
:root {
  --primary: #4a7c3f;
  --primary-dark: #2d5a27;
  --primary-light: #6ba356;
  --primary-pale: #f0f5ee;
  --accent: #e8a817;
  --accent-light: #fdf3d6;
  --danger: #c62828;
  --danger-light: #ffebee;
  --text: #2c2c2c;
  --text-light: #666;
  --text-muted: #999;
  --bg: #fafafa;
  --bg-alt: #f5f8f3;
  --white: #fff;
  --border: #e8e8e8;
  --border-light: #f0f0f0;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --header-height: 72px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

/* ===== Section Common ===== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 32px;
  color: var(--text);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-light);
  margin-top: 16px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: var(--white);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 13px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  box-shadow: none;
  height: var(--header-height);
  transition: var(--transition);
}

.header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-top: 3px;
}

.logo-icon {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.header.scrolled .logo-img {
  filter: none;
}

/* Nav */
.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.95);
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::after {
  width: 60%;
}

.nav-link.active {
  color: var(--white);
}

.nav-link.active::after {
  width: 60%;
}

.header.scrolled .nav-link {
  color: var(--text);
}

.header.scrolled .nav-link::after {
  background: var(--primary);
}

.header.scrolled .nav-link:hover {
  color: var(--primary);
}

.header.scrolled .nav-link.active {
  color: var(--primary);
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown .nav-link i {
  font-size: 10px;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-link i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 12px 0;
  min-width: 170px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
  white-space: nowrap;
  text-align: left;
}

.dropdown-menu li a .dropdown-img {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.dropdown-menu li a:hover {
  background: var(--primary-pale);
  color: var(--primary);
}

.dropdown-menu li a.active {
  background: var(--primary-pale);
  color: var(--primary);
  font-weight: 500;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  transition: var(--transition);
}

.header.scrolled .header-phone {
  color: var(--primary);
}

.header-phone i {
  font-size: 14px;
  animation: phone-ring 1.5s infinite;
}

@keyframes phone-ring {
  0%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(-15deg); }
  20%, 40% { transform: rotate(15deg); }
  50% { transform: rotate(0); }
}

.search-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  transition: var(--transition);
  font-size: 16px;
}

.search-toggle:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.header.scrolled .search-toggle {
  color: var(--text-light);
}

.header.scrolled .search-toggle:hover {
  background: var(--primary-pale);
  color: var(--primary);
}

/* Cart Toggle */
.cart-toggle {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  transition: var(--transition);
  font-size: 16px;
}

.cart-toggle:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.header.scrolled .cart-toggle {
  color: var(--text-light);
}

.header.scrolled .cart-toggle:hover {
  background: var(--primary-pale);
  color: var(--primary);
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: var(--danger);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Member Badge */
.member-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.member-badge.member-silver {
  background: #e8e8e8;
  color: #666;
  border: 1px solid #ccc;
}

.member-badge.member-gold {
  background: #fff8e1;
  color: #f57f17;
  border: 1px solid #fdd835;
}

.member-badge.member-diamond {
  background: #e3f2fd;
  color: #1565c0;
  border: 1px solid #64b5f6;
}

.member-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  transition: var(--transition);
  padding: 4px 8px;
  border-radius: 4px;
}

.member-link:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.header.scrolled .member-link {
  color: var(--text-light);
}

.header.scrolled .member-link:hover {
  background: var(--primary-pale);
  color: var(--primary);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.header.scrolled .hamburger span {
  background: var(--text);
}

.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);
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 8px 16px;
  width: 90%;
  max-width: 600px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  padding: 8px;
  font-family: inherit;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-submit {
  padding: 8px 16px;
  background: var(--primary);
  color: var(--white);
  border-radius: 6px;
  font-size: 16px;
  transition: var(--transition);
}

.search-submit:hover {
  background: var(--primary-dark);
}

.search-close {
  position: absolute;
  top: -44px;
  right: 0;
  color: var(--white);
  font-size: 24px;
  padding: 8px;
}

/* ===== Splash Overlay ===== */
.splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  transition: opacity 0.8s ease;
}

.splash.fade-out {
  opacity: 0;
  pointer-events: none;
}

.splash-bg {
  position: absolute;
  inset: 0;
  background: url('../images/风景.jpg') center/cover no-repeat;
  animation: kenBurns 8s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.splash-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.25) 50%,
    rgba(0,0,0,0.5) 100%
  );
}

.splash-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding-bottom: 60px;
}

.splash-title {
  font-size: clamp(42px, 7vw, 90px);
  font-weight: 900;
  color: #fff;
  letter-spacing: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  animation: titleReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.splash-divider {
  width: 60px;
  height: 2px;
  background: #e8a817;
  margin: 20px 0;
  animation: titleReveal 1.2s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.splash-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 8px;
  font-weight: 300;
  animation: titleReveal 1.2s 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes titleReveal {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.splash-loader {
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: titleReveal 1.2s 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.loader-track {
  width: 340px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #e8a817, #f0c040);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(232,168,23,0.4);
}

.loader-text {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 4px;
}

/* ===== Hero Carousel ===== */
.hero {
  position: relative;
  height: 750px;
  overflow: hidden;
}

.hero-carousel {
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-slide.active .hero-bg {
  animation: heroBgReveal 600ms ease-out forwards;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 100%);
}

.hero-bg-1::after {
  background: linear-gradient(to right, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 100%);
}

.hero-bg-1 {
  background-image: url('../images/banner1.jpg');
  filter: brightness(1.2);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 20px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  animation: heroTitleIn 500ms 200ms ease-out both;
}

.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0;
  max-width: 500px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  animation: heroSubIn 400ms 400ms ease-out both;
}

@keyframes heroBgReveal {
  from {
    transform: scale(1.15);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes heroTitleIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroSubIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
  opacity: 0;
}

.hero:hover .hero-arrow {
  opacity: 1;
}

.hero-arrow:hover {
  background: rgba(255,255,255,0.4);
}

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

/* Hero Dots */
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--white);
  width: 28px;
  border-radius: 5px;
}

/* ===== Advantages ===== */
.advantages {
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.advantage-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.advantage-card:hover::before {
  transform: scaleX(1);
}

.advantage-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--primary-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  transition: var(--transition);
}

.advantage-card:hover .advantage-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.advantage-title {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text);
}

.advantage-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== Products ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-img {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--primary-pale);
}

.product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.product-card:hover .product-img::after {
  opacity: 1;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.08);
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--danger);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.product-tag-green {
  background: var(--primary);
}

.product-info {
  padding: 20px;
}

.product-name {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--text);
}

.product-name a {
  transition: var(--transition);
}

.product-name a:hover {
  color: var(--primary);
}

.product-spec {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.price-current {
  font-size: 22px;
  font-weight: 700;
  color: var(--danger);
}

.price-original {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* ===== Base ===== */
.base-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.base-gallery {
  display: flex;
  align-items: center;
}

.base-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
}

.base-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.base-info h3 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--text);
}

.base-info > p {
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.8;
}

.base-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.base-features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 8px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.base-features li:hover {
  background: var(--primary-pale);
  transform: translateX(4px);
}

.base-features li:hover i {
  background: var(--primary);
  color: var(--white);
}

.base-features li i {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--primary-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
  transition: var(--transition);
}

.base-features li div {
  display: flex;
  flex-direction: column;
}

.base-features li strong {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 2px;
}

.base-features li span {
  font-size: 13px;
  color: var(--text-light);
}

/* ===== Certifications ===== */
.certifications {
  padding: 60px 0;
}

.cert-panel {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  overflow: hidden;
}

.cert-panel-nav {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  border-right: 1px solid var(--border-light);
}

.cert-panel-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.cert-panel-item::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 20%;
  height: 60%;
  width: 3px;
  background: var(--primary);
  border-radius: 2px 0 0 2px;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.cert-panel-item:hover {
  background: var(--primary-pale);
}

.cert-panel-item.active {
  background: var(--primary-pale);
}

.cert-panel-item.active::after {
  transform: scaleY(1);
}

.cert-panel-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--primary-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  transition: all 0.3s ease;
}

.cert-panel-item.active .cert-panel-icon {
  background: var(--primary);
  color: var(--white);
}

.cert-panel-item span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.3s ease;
}

.cert-panel-item.active span {
  color: var(--primary);
  font-weight: 600;
}

.cert-panel-content {
  padding: 32px 36px;
  display: flex;
  align-items: center;
  min-height: 240px;
}

.cert-panel-detail {
  display: none;
  animation: certFadeIn 0.4s ease;
}

.cert-panel-detail.active {
  display: block;
}

.cert-panel-detail h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.cert-panel-detail p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
}

@keyframes certFadeIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Clients ===== */
.clients {
  padding: 60px 0;
}

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

.client-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 36px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1.2),
              box-shadow 0.5s cubic-bezier(0.25, 0.8, 0.25, 1.2);
  overflow: hidden;
  cursor: default;
}

.client-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, #4a7c3f, #e8a817, #6ba356, #4a7c3f);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.client-card:hover::before {
  opacity: 1;
  animation: borderShine 2s linear infinite;
}

@keyframes borderShine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.client-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.client-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.client-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(74, 124, 63, 0.15);
}

.client-card-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--primary-light);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1.2);
  position: relative;
  z-index: 1;
}

.client-card:hover .client-card-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(74, 124, 63, 0.3);
}

.client-card span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.4s ease;
  position: relative;
  z-index: 1;
}

.client-card:hover span {
  color: var(--primary);
}

/* ===== News ===== */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.news-featured {
  display: block;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.news-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-featured-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-featured:hover .news-featured-img img {
  transform: scale(1.05);
}

.news-featured-content {
  padding: 20px;
}

.news-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.news-featured-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.5;
}

.news-featured-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-item {
  display: block;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.news-item:hover {
  border-left-color: var(--primary);
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
}

.news-item .news-date {
  margin-bottom: 6px;
}

.news-item h4 {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item p {
  font-size: 13px;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-more {
  text-align: center;
}

.news-more .btn i {
  transition: transform 0.3s ease;
}

.news-more .btn:hover i {
  transform: translateX(4px);
}

/* ===== Footer ===== */
.footer {
  background: #1a1a1a;
  color: #b0b0b0;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.footer-logo i {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li {
  font-size: 14px;
}

.footer-col ul li a {
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact ul li i {
  width: 16px;
  color: var(--primary);
  font-size: 14px;
}

.footer-qrcode {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-qrcode img {
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.1);
  background: var(--white);
}

.footer-qrcode span {
  font-size: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.footer-bottom a {
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .base-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 26px;
  }

  /* Header Mobile */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 24px 24px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transition: right 0.35s ease;
    z-index: 1000;
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
  }

  .nav-link {
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 0;
  }

  .nav.active .nav-link {
    color: var(--text);
  }

  .nav.active .nav-link::after {
    background: var(--primary);
  }

  .nav.active .nav-link:hover,
  .nav.active .nav-link.active {
    color: var(--primary);
    background: none;
  }

  .dropdown-menu {
    position: static;
    background: var(--bg-alt);
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-dropdown.open .dropdown-menu {
    max-height: 200px;
  }

  .dropdown-menu li a {
    padding: 10px 16px 10px 32px;
    font-size: 14px;
  }

  .nav-dropdown .nav-link i {
    transition: transform 0.3s ease;
  }

  .nav-dropdown.open .nav-link i {
    transform: rotate(180deg);
  }

  .hamburger {
    display: flex;
  }

  .header-phone {
    font-size: 14px;
  }

  .header-phone span {
    display: none;
  }

  /* Hero */
  .hero {
    height: 420px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-desc {
    font-size: 14px;
  }

  .hero-arrow {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  /* Advantages */
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .advantage-card {
    padding: 28px 20px;
  }

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

  .product-info {
    padding: 14px;
  }

  .product-name {
    font-size: 14px;
  }

  /* Certs & Clients */
  .cert-panel {
    grid-template-columns: 1fr;
  }

  .cert-panel-nav {
    flex-direction: row;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 0;
  }

  .cert-panel-item {
    padding: 16px 18px;
  }

  .cert-panel-item::after {
    right: auto;
    top: auto;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 3px;
    border-radius: 2px 2px 0 0;
  }

  .cert-panel-content {
    padding: 24px;
  }

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

  /* News */
  .news-layout {
    grid-template-columns: 1fr;
  }

  .news-list {
    gap: 8px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 340px;
  }

  .hero-title {
    font-size: 22px;
  }

  .hero-desc {
    font-size: 13px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    grid-template-columns: 1fr;
  }

  .cert-panel-item {
    padding: 14px 14px;
  }

  .cert-panel-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 16px;
  }

  .cert-panel-item span {
    font-size: 13px;
  }

  .client-card {
    padding: 20px 16px;
  }
}

/* Mobile Nav Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}