/*
Theme Name: 名雅高瓷砖
Theme URI: https://mingyagao-ceramics.com
Author: 名雅高开发团队
Author URI: https://mingyagao-ceramics.com
Description: 名雅高瓷砖 - 高端无限连纹鎏金瓷砖厂家WordPress主题。专为瓷砖行业B2B企业设计，包含产品展示、工程案例、招商加盟、新闻资讯等完整功能。支持SEO优化、自适应布局、后台自主管理。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mingyagao
Tags: b2b, tiles, ceramics, seo, responsive, custom-post-type, custom-taxonomy, featured-images, custom-menu
*/

/* ============================================
   名雅高瓷砖 - Design System
   Premium B2B Tile Brand Website
   ============================================ */

/* ===== CSS Variables ===== */
:root {
  /* Colors */
  --color-primary: #1a1a1a;
  --color-secondary: #4a4a4a;
  --color-tertiary: #8a8a8a;
  --color-light: #b5b5b5;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f6f4;
  --color-bg-dark: #1a1a1a;
  --color-gold: #c0a062;
  --color-gold-light: #d4b876;
  --color-gold-dark: #a08442;
  --color-border: #e8e6e2;
  --color-border-dark: #2a2a2a;
  --color-overlay: rgba(0, 0, 0, 0.35);
  --color-overlay-dark: rgba(0, 0, 0, 0.6);

  /* Typography */
  --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', '微软雅黑', sans-serif;
  --font-serif: 'Noto Serif SC', 'Songti SC', serif;

  /* Spacing */
  --container-max: 1400px;
  --container-padding: 40px;
  --section-padding-y: 100px;
  --section-padding-y-sm: 60px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 8px 30px rgba(192, 160, 98, 0.25);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-secondary);
  background: var(--color-bg);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.3;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
  position: relative;
  padding-left: 40px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--color-gold);
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-tertiary);
  max-width: 600px;
  line-height: 1.8;
}

.section-header-center {
  text-align: center;
}

.section-header-center .section-label {
  padding-left: 0;
}

.section-header-center .section-label::before {
  display: none;
}

.section-header-center .section-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-gold);
  margin: 12px auto 0;
}

/* ===== Layout ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

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

.section {
  padding: var(--section-padding-y) 0;
}

.section-sm {
  padding: var(--section-padding-y-sm) 0;
}

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

.section-dark {
  background: var(--color-bg-dark);
  color: #ccc;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  border: 1px solid transparent;
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

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

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

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

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

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

.btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

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

.btn-outline-light:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn .arrow {
  transition: transform var(--transition-fast);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-base);
}

.site-header.transparent {
  background: transparent;
}

.site-header.transparent .header-inner {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header.transparent .logo-text,
.site-header.transparent .nav-menu > li > a,
.site-header.transparent .header-phone {
  color: #fff;
}

.site-header.transparent .logo-sub {
  color: rgba(255, 255, 255, 0.6);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.site-header.scrolled .header-inner {
  border-bottom: none;
}

.site-header.scrolled .logo-text,
.site-header.scrolled .nav-menu > li > a,
.site-header.scrolled .header-phone {
  color: var(--color-primary);
}

.site-header.scrolled .logo-sub {
  color: var(--color-tertiary);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gold);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -1px;
  position: relative;
}

.logo-mark::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 2px;
  line-height: 1;
  transition: color var(--transition-base);
}

.logo-sub {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--color-tertiary);
  text-transform: uppercase;
  transition: color var(--transition-base);
}

/* Navigation */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
}

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

.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition-fast);
}

.nav-menu > li > a:hover::after,
.nav-menu > li.active > a::after {
  width: 20px;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 200px;
  background: #fff;
  box-shadow: var(--shadow-md);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  border-top: 2px solid var(--color-gold);
}

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

.dropdown li a {
  display: block;
  padding: 10px 24px;
  font-size: 13px;
  color: var(--color-secondary);
  transition: all var(--transition-fast);
}

.dropdown li a:hover {
  color: var(--color-gold);
  padding-left: 28px;
}

/* Header CTA */
.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  transition: color var(--transition-base);
}

.header-phone .phone-icon {
  width: 36px;
  height: 36px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0.8;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: all var(--transition-base);
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 700px;
}

.hero-label {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 1s 0.3s forwards;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 2px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 1s 0.5s forwards;
}

.hero-title .gold-text {
  color: var(--color-gold-light);
}

.hero-desc {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 520px;
  opacity: 0;
  animation: fadeInUp 1s 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  opacity: 0;
  animation: fadeInUp 1s 0.9s forwards;
}

/* Hero indicators */
.hero-indicators {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 3;
  display: flex;
  gap: 12px;
}

.hero-indicator {
  width: 40px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.hero-indicator.active {
  background: var(--color-gold);
}

/* Hero scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  letter-spacing: 2px;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.3); opacity: 0.3; }
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 80px;
}

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

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.page-hero-title {
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.page-hero-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 2px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

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

.breadcrumb span {
  color: var(--color-gold);
}

/* ===== Product Categories ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  transition: all var(--transition-base);
}

.category-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.category-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: background var(--transition-base);
}

.category-card:hover .category-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.category-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.category-card-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
  transform: translateY(10px);
  opacity: 0;
  transition: all var(--transition-base);
}

.category-card:hover .category-card-desc {
  transform: translateY(0);
  opacity: 1;
}

.category-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-gold);
  letter-spacing: 1px;
  transform: translateY(10px);
  opacity: 0;
  transition: all var(--transition-base) 0.1s;
}

.category-card:hover .category-card-link {
  transform: translateY(0);
  opacity: 1;
}

/* ===== Product Grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: #fff;
  transition: all var(--transition-base);
}

.product-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--color-bg-alt);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 14px;
  font-size: 11px;
  letter-spacing: 1px;
  background: var(--color-gold);
  color: #fff;
  z-index: 2;
}

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

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.product-card:hover .product-card-overlay {
  opacity: 1;
}

.product-card-overlay .btn {
  transform: translateY(20px);
  transition: transform var(--transition-base);
}

.product-card:hover .product-card-overlay .btn {
  transform: translateY(0);
}

.product-card-info {
  padding: 20px 4px;
}

.product-card-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
  transition: color var(--transition-fast);
}

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

.product-card-spec {
  font-size: 13px;
  color: var(--color-tertiary);
  display: flex;
  gap: 12px;
}

.product-card-spec span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== Filter Bar ===== */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 30px;
  background: #fff;
  border: 1px solid var(--color-border);
  margin-bottom: 40px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  margin-right: 8px;
}

.filter-btn {
  padding: 6px 16px;
  font-size: 13px;
  color: var(--color-tertiary);
  border: 1px solid var(--color-border);
  background: #fff;
  transition: all var(--transition-fast);
}

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

.filter-count {
  font-size: 13px;
  color: var(--color-tertiary);
}

.filter-count strong {
  color: var(--color-primary);
}

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

.case-card {
  position: relative;
  overflow: hidden;
}

.case-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.case-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.case-card:hover .case-card-img img {
  transform: scale(1.06);
}

.case-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.case-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.case-card-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  gap: 16px;
}

.case-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== Feature/List Items ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.feature-item {
  text-align: center;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  font-size: 28px;
  color: var(--color-gold);
  transition: all var(--transition-base);
}

.feature-item:hover .feature-icon {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: #fff;
  transform: translateY(-4px);
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: var(--color-tertiary);
  line-height: 1.7;
}

/* ===== Stats ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: 52px;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .unit {
  font-size: 24px;
  color: var(--color-gold-light);
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
}

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

.about-img-wrap {
  position: relative;
}

.about-img-main {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-img-deco {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 50%;
  aspect-ratio: 1;
  border: 3px solid var(--color-gold);
  z-index: -1;
}

.about-text .section-title {
  margin-bottom: 24px;
}

.about-text p {
  margin-bottom: 16px;
  line-height: 1.9;
  color: var(--color-secondary);
}

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

.news-card {
  background: #fff;
  transition: all var(--transition-base);
}

.news-card-img {
  overflow: hidden;
  aspect-ratio: 16/10;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-card:hover .news-card-img img {
  transform: scale(1.06);
}

.news-card-body {
  padding: 24px;
}

.news-card-date {
  font-size: 13px;
  color: var(--color-gold);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.news-card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 10px;
  line-height: 1.5;
  transition: color var(--transition-fast);
}

.news-card:hover .news-card-title {
  color: var(--color-gold);
}

.news-card-excerpt {
  font-size: 14px;
  color: var(--color-tertiary);
  line-height: 1.7;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-link {
  font-size: 13px;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.news-card:hover .news-card-link {
  gap: 10px;
}

/* ===== News Page Layout ===== */
.news-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
}

.news-sidebar h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-primary);
}

.news-category-list li {
  margin-bottom: 2px;
}

.news-category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--color-secondary);
  transition: all var(--transition-fast);
  border-left: 2px solid transparent;
}

.news-category-list a:hover,
.news-category-list a.active {
  color: var(--color-gold);
  border-left-color: var(--color-gold);
  background: var(--color-bg-alt);
}

.news-category-list .count {
  font-size: 12px;
  color: var(--color-tertiary);
}

.news-list-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.news-list-item:hover {
  padding-left: 8px;
}

.news-list-img {
  width: 200px;
  height: 140px;
  flex-shrink: 0;
  overflow: hidden;
}

.news-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-list-item:hover .news-list-img img {
  transform: scale(1.06);
}

.news-list-body {
  flex: 1;
}

.news-list-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
  transition: color var(--transition-fast);
}

.news-list-item:hover .news-list-title {
  color: var(--color-gold);
}

/* ===== Franchise Page ===== */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.advantage-card {
  padding: 40px 30px;
  background: #fff;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.advantage-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.advantage-number {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-bg-alt);
  line-height: 1;
  margin-bottom: 16px;
  transition: color var(--transition-base);
}

.advantage-card:hover .advantage-number {
  color: var(--color-gold);
}

.advantage-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.advantage-desc {
  font-size: 14px;
  color: var(--color-tertiary);
  line-height: 1.8;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--color-border);
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.process-step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  font-size: 28px;
  color: var(--color-gold);
  transition: all var(--transition-base);
}

.process-step:hover .process-step-icon {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: #fff;
  transform: scale(1.05);
}

.process-step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.process-step-desc {
  font-size: 13px;
  color: var(--color-tertiary);
  padding: 0 10px;
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--color-border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px 50px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--color-gold);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--color-gold);
}

.timeline-item:nth-child(odd)::after {
  right: -6px;
}

.timeline-item:nth-child(even)::after {
  left: -6px;
}

.timeline-year {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--color-tertiary);
  line-height: 1.7;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  font-size: 20px;
  color: var(--color-gold);
  transition: all var(--transition-base);
}

.contact-info-item:hover .contact-info-icon {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: #fff;
}

.contact-info-label {
  font-size: 13px;
  color: var(--color-tertiary);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 16px;
  color: var(--color-primary);
  font-weight: 500;
}

/* Form */
.contact-form {
  padding: 40px;
  background: #fff;
  border: 1px solid var(--color-border);
}

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

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--color-primary);
  background: var(--color-bg-alt);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-gold);
  background: #fff;
}

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

/* ===== CTA Banner ===== */
.cta-banner {
  position: relative;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

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

.cta-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.cta-banner-content {
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  font-size: 36px;
  color: #fff;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-bg-dark);
  color: #999;
  padding: 70px 0 0;
}

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

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand .logo-text {
  color: #fff;
}

.footer-brand .logo-sub {
  color: #666;
}

.footer-desc {
  font-size: 14px;
  color: #888;
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #333;
  color: #888;
  font-size: 14px;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.footer-col h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: #888;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  color: #888;
}

.footer-contact-item .icon {
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #666;
}

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== Utilities ===== */
.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-40 { margin-bottom: 40px; }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .stat-item::after { display: none; }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .process-steps::before { display: none; }
}

@media (max-width: 968px) {
  :root {
    --container-padding: 24px;
    --section-padding-y: 70px;
  }

  .section-title { font-size: 28px; }
  .hero-title { font-size: 36px; }
  .page-hero-title { font-size: 32px; }

  /* Mobile nav */
  .menu-toggle { display: block; color: var(--color-primary); z-index: 1001; }
  .site-header.transparent .menu-toggle { color: #fff; }
  .site-header.scrolled .menu-toggle { color: var(--color-primary); }
  
  .nav-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 30px 30px;
    gap: 0;
    transition: right var(--transition-base);
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    overflow-y: auto;
  }

  .nav-wrapper.open { right: 0; }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
  }

  .nav-menu > li {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-menu > li > a {
    padding: 16px 0;
    width: 100%;
    color: var(--color-primary) !important;
  }

  .nav-menu > li > a::after { display: none; }

  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border-top: none;
    padding: 0 0 8px 20px;
    min-width: auto;
    display: none;
  }

  .nav-menu > li:hover .dropdown { display: block; }

  .header-phone { display: none; }

  /* Grid adjustments */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .case-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .news-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .advantage-grid { grid-template-columns: 1fr; }
  .news-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }

  /* Timeline */
  .timeline::before { left: 20px; }
  .timeline-item { width: 100%; left: 0 !important; text-align: left !important; padding-left: 50px; padding-right: 0; }
  .timeline-item::after { left: 14px !important; right: auto !important; }

  .process-steps { grid-template-columns: repeat(2, 1fr); }
  
  .hero-actions { flex-direction: column; }
  .hero-indicators { right: 20px; bottom: 20px; }
  .hero-scroll { display: none; }
}

@media (max-width: 600px) {
  :root {
    --container-padding: 20px;
    --section-padding-y: 50px;
  }

  .section-title { font-size: 24px; }
  .hero-title { font-size: 28px; }
  .page-hero-title { font-size: 26px; }
  .hero-desc { font-size: 15px; }

  .category-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .news-list-item { flex-direction: column; }
  .news-list-img { width: 100%; height: 200px; }
  .contact-form { padding: 24px; }
  .filter-bar { flex-direction: column; align-items: flex-start; }
  .filter-group { width: 100%; }
  .stat-number { font-size: 40px; }

  .cta-banner h2 { font-size: 24px; }
}
