/* ========================================
   河北越彦电力金具有限公司 - 电力配件企业官网
   风格：温暖简约（Modern Professional Warm）
   配色：米白背景 + 淡蓝主色 + 暖金点缀
   ======================================== */

/* === CSS Variables === */
:root {
  /* 主色调 - 淡蓝 */
  --primary: #4A90C4;
  --primary-dark: #3A7AAF;
  --primary-light: #6AA4D8;

  /* 辅助色 */
  --accent: #D4A574;
  --accent-dark: #B8895A;

  /* 文字色 */
  --text-heading: #1A1A1A;
  --text-body: #4A4A4A;
  --text-muted: #8A8A8A;

  /* 背景色 */
  --bg-page: #F8F9FB;
  --bg-card: #FFFFFF;
  --bg-alt: #EEF1F5;

  /* 边框 */
  --border: #E0E4E8;
  --border-light: #F0F2F5;

  /* 阴影 */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.09);

  /* 圆角 */
  --radius: 4px;
  --radius-lg: 8px;

  /* 布局 */
  --max-width: 1200px;
  --nav-height: 68px;
  --transition: all 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text-body);
  background: var(--bg-page);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--primary-dark);
}

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

ul {
  list-style: none;
}

/* === Container === */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* === Navigation === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.3px;
}

.navbar-brand .logo-placeholder {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.navbar-brand:hover {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-menu a {
  display: block;
  padding: 0.45rem 0.9rem;
  color: var(--text-body);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: rgba(74, 144, 196, 0.06);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border);
}

.lang-switcher button {
  padding: 0.35rem 0.7rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius);
  transition: var(--transition);
}

.lang-switcher button:hover {
  background: rgba(74, 144, 196, 0.06);
  color: var(--primary);
}

.lang-switcher button.active {
  background: var(--primary);
  color: #fff;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-body);
  border-radius: 1px;
  transition: var(--transition);
}

/* === Hero Section (Animated Background) === */
.hero-animated {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a3a5c 0%, #2d5a8a 30%, #4A90C4 60%, #6aa4d8 100%);
  z-index: 1;
}

/* 电力线条动画背景 */
.hero-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.15;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 100px,
      rgba(255, 255, 255, 0.3) 100px,
      rgba(255, 255, 255, 0.3) 101px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 100px,
      rgba(255, 255, 255, 0.3) 100px,
      rgba(255, 255, 255, 0.3) 101px
    );
  animation: heroLinesMove 20s linear infinite;
}

@keyframes heroLinesMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(100px, 100px); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--text-heading);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* === Section Styles === */
.section {
  padding: 5rem 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: rgba(74, 144, 196, 0.08);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.section-divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 1.25rem auto 0;
}

/* === Stats Bar === */
.stats-bar {
  background: var(--text-heading);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* === Product Cards === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card-image {
  height: 200px;
  background: linear-gradient(135deg, #e8f0f8 0%, #d0e2f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

.product-card-image img {
  transition: transform 0.3s ease;
}

.product-card-link:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-image .placeholder-icon {
  font-size: 3.5rem;
  opacity: 0.25;
  color: var(--primary);
}

.product-card-image .category-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card-body {
  padding: 1.25rem;
}

.product-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.product-card-body p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}

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

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card-footer a {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.product-card-footer a:hover {
  color: var(--accent);
  gap: 0.5rem;
}

/* === Category Tabs === */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.category-tab {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
}

.category-tab:hover,
.category-tab.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

/* === Honor Cards === */
.honors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.honor-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.honor-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.honor-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: rgba(74, 144, 196, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.honor-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
}

.honor-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* === News Cards === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.news-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.news-card-image {
  height: 180px;
  background: linear-gradient(135deg, #e8f0f8, #d0e2f0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary);
}

.news-card-body {
  padding: 1.25rem;
}

.news-card-date {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-footer {
  padding: 0 1.25rem 1.25rem;
}

.news-card-footer a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

/* === About Section === */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-image-placeholder {
  height: 360px;
  background: linear-gradient(135deg, #e8f0f8 0%, #d0e2f0 50%, #b8d4e8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  opacity: 0.3;
  color: var(--primary);
}

.about-accent-box {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--accent);
  color: #fff;
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-accent-box h4 {
  font-size: 1.75rem;
  font-weight: 800;
}

.about-accent-box p {
  font-size: 0.8rem;
  opacity: 0.9;
}

.about-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.about-content > p {
  color: var(--text-body);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.about-feature-item .icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: rgba(74, 144, 196, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.9rem;
}

.about-feature-item h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.1rem;
}

.about-feature-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* === Contact Section === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  margin-bottom: 0.85rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

.contact-info-card h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.2rem;
}

.contact-info-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-form {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-heading);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg-page);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(74, 144, 196, 0.1);
}

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

/* === Map === */
.map-section {
  height: 300px;
  background: linear-gradient(135deg, #e8f0f8, #d0e2f0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

/* === Footer === */
.footer {
  background: var(--text-heading);
  color: rgba(255, 255, 255, 0.6);
  padding: 3.5rem 0 0;
}

.footer > .container {
  padding: 0 1rem;
}

.footer-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid > div {
  flex: 1 1 0;
  min-width: 0;
}

.footer h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 0.6rem;
  word-break: break-word;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer ul li a:hover {
  color: var(--accent);
  padding-left: 3px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.875rem;
}

.footer-contact-item .icon {
  color: var(--accent);
  min-width: 18px;
  margin-top: 2px;
}

.footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* === Breadcrumb === */
.breadcrumb-section {
  padding: 7.5rem 0 3.5rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* 装饰线 - 顶部彩色条 */
.breadcrumb-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.breadcrumb-section h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: var(--text-muted);
}

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

.breadcrumb .separator {
  color: var(--border);
}

.breadcrumb .current {
  color: var(--primary);
  font-weight: 600;
}

/* === Product Detail === */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.product-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
}

.product-main-image {
  height: 360px;
  background: linear-gradient(135deg, #e8ede8, #d5ddd5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-thumbs {
  display: flex;
  gap: 0.6rem;
  padding: 0.85rem;
  background: var(--bg-page);
}

.product-thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0.25;
  color: var(--primary);
}

.product-thumb:hover,
.product-thumb.active {
  border-color: var(--primary);
}

.product-info h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.product-info .subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.product-specs {
  margin: 1.25rem 0;
}

.product-specs table {
  width: 100%;
  border-collapse: collapse;
}

.product-specs th,
.product-specs td {
  padding: 0.65rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.875rem;
}

.product-specs th {
  background: var(--bg-page);
  color: var(--text-heading);
  font-weight: 600;
  width: 110px;
}

.product-specs td {
  color: var(--text-body);
}

.product-description {
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 1.25rem 0;
}

/* === Timeline === */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  background: var(--bg-card);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--bg-page);
  z-index: 1;
}

.timeline-year {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.timeline-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
}

.timeline-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* === WhatsApp Float Button === */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: #fff;
  font-size: 1.6rem;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  color: #fff;
}

.whatsapp-float .tooltip {
  position: absolute;
  right: 68px;
  background: var(--text-heading);
  color: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.whatsapp-float:hover .tooltip {
  opacity: 1;
}

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .about-section,
  .product-detail-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 56px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
    gap: 0;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid var(--border-light);
  }

  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--border-light);
    justify-content: center;
    padding: 0.65rem 0;
  }

  .hero-animated {
    min-height: 480px;
    max-height: 700px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .breadcrumb-section h1 {
    font-size: 1.6rem;
  }

  .product-info h1 {
    font-size: 1.4rem;
  }

  .timeline::before {
    left: 18px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-left: 45px;
  }

  .timeline-content {
    width: 100%;
  }

  .timeline-dot {
    left: 18px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

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

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

  .hero-content h1 {
    font-size: 1.5rem;
  }
}

/* ========================================
   ADMIN PANEL STYLES
   ======================================== */

/* === Admin Layout === */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 240px;
  background: #1a2332;
  color: rgba(255, 255, 255, 0.7);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 100;
}

.admin-sidebar-header {
  padding: 1.25rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.admin-sidebar-header .logo-placeholder {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.admin-sidebar-header span {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.admin-sidebar-nav {
  padding: 1rem 0;
}

.admin-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.admin-sidebar-nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
}

.admin-sidebar-nav a.active {
  background: rgba(74, 144, 196, 0.15);
  color: var(--primary-light);
  border-left-color: var(--primary-light);
}

.admin-sidebar-nav .nav-icon {
  width: 20px;
  text-align: center;
  font-size: 1rem;
}

.admin-sidebar-nav .nav-divider {
  padding: 0.5rem 1.25rem 0.25rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 600;
}

.admin-main {
  margin-left: 240px;
  flex: 1;
  background: var(--bg-page);
  min-height: 100vh;
}

.admin-topbar {
  height: 56px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 50;
}

.admin-topbar-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
}

.admin-topbar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-topbar-user .avatar {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.admin-topbar-user a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.admin-topbar-user a:hover {
  color: var(--primary);
}

.admin-content {
  padding: 2rem;
}

/* === Admin Cards === */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.admin-stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.admin-stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.admin-stat-card .stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-heading);
}

.admin-stat-card .stat-change {
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.admin-stat-card .stat-change.up {
  color: #22c55e;
}

.admin-stat-card .stat-change.down {
  color: #ef4444;
}

/* === Admin Table === */
.admin-table-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.admin-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.admin-table-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: var(--bg-page);
  padding: 0.85rem 1.25rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
}

.admin-table td {
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: rgba(74, 144, 196, 0.03);
}

.admin-table .actions {
  display: flex;
  gap: 0.5rem;
}

.admin-table .actions a {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.admin-table .actions .edit-btn {
  color: var(--primary);
}

.admin-table .actions .edit-btn:hover {
  background: rgba(74, 144, 196, 0.08);
}

.admin-table .actions .delete-btn {
  color: #ef4444;
}

.admin-table .actions .delete-btn:hover {
  background: rgba(239, 68, 68, 0.08);
}

/* === Admin Table Image Thumbnail === */
.table-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0.4;
  color: var(--primary);
}

/* === Admin Badge === */
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.badge-warning {
  background: rgba(234, 179, 8, 0.1);
  color: #eab308;
}

.badge-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.badge-info {
  background: rgba(74, 144, 196, 0.1);
  color: var(--primary);
}

/* === Admin Form === */
.admin-form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  padding: 2rem;
}

.admin-form-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.admin-form-group {
  margin-bottom: 1.25rem;
}

.admin-form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
}

.admin-form-group label .required {
  color: #ef4444;
}

.admin-form-group input[type="text"],
.admin-form-group input[type="email"],
.admin-form-group input[type="password"],
.admin-form-group input[type="tel"],
.admin-form-group input[type="number"],
.admin-form-group select,
.admin-form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg-page);
}

.admin-form-group input:focus,
.admin-form-group select:focus,
.admin-form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(74, 144, 196, 0.1);
}

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

.admin-form-group .hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.admin-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.admin-form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* === Admin Login Page === */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a2e4a 0%, #2d4a6a 50%, #1a3a5c 100%);
  padding: 2rem;
}

.login-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-card .login-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.login-card .login-logo .logo-placeholder {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}

.login-card .login-logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading);
}

.login-card .login-logo p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.login-card .form-group {
  margin-bottom: 1.25rem;
}

.login-card .form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
}

.login-card .form-group input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: var(--transition);
}

.login-card .form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74, 144, 196, 0.1);
}

.login-card .form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.login-card .form-options label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  cursor: pointer;
}

.login-card .form-options a {
  color: var(--primary);
  font-size: 0.85rem;
}

.login-card .btn-login {
  width: 100%;
  padding: 0.85rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.login-card .btn-login:hover {
  background: var(--primary-dark);
}

.login-card .login-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* === Admin Dashboard Recent Activity === */
.admin-activity-list {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
}

.admin-activity-list h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1rem;
}

.admin-activity-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}

.admin-activity-item:last-child {
  border-bottom: none;
}

.admin-activity-item .activity-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: rgba(74, 144, 196, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--primary);
}

.admin-activity-item .activity-text {
  font-size: 0.875rem;
  color: var(--text-body);
}

.admin-activity-item .activity-time {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* === Pagination Admin === */
.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.admin-pagination .page-btns {
  display: flex;
  gap: 0.35rem;
}

.admin-pagination .page-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.admin-pagination .page-btn:hover,
.admin-pagination .page-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

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

@media (max-width: 768px) {
  .admin-sidebar {
    display: none;
  }

  .admin-main {
    margin-left: 0;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-form-row {
    grid-template-columns: 1fr;
  }

  .admin-content {
    padding: 1rem;
  }

  .admin-table {
    font-size: 0.85rem;
  }

  .admin-table th,
  .admin-table td {
    padding: 0.75rem 0.75rem;
  }
}

/* === Admin Category Management === */
.admin-category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}

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

.admin-category-item .cat-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-category-item .cat-sort {
  width: 28px;
  height: 28px;
  background: var(--bg-page);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.admin-category-item .cat-name {
  font-weight: 500;
  color: var(--text-heading);
  font-size: 0.9rem;
}

.admin-category-item .cat-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.admin-category-item .cat-actions {
  display: flex;
  gap: 0.5rem;
}

.admin-category-item .cat-actions a {
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

