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

body {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Top Bar ===== */
.top-bar {
  background: #1a1a2e;
  color: #aaa;
  font-size: 13px;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: #aaa;
  margin-left: 20px;
}

.top-bar a:hover {
  color: #fff;
}

/* ===== Header / Nav ===== */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
}
.logo > * + * {
  margin-left: 18px;
}

.logo svg {
  display: block;
  flex-shrink: 0;
}

.logo img {
  height: 40px;
}

.logo .brand-name {
  margin-left: 18px;
}

.logo .brand-name {
  color: #c9a96e;
}

.nav {
  display: flex;
}
.nav > * + * {
  margin-left: 5px;
}

.nav > li {
  position: relative;
}

.nav > li > a {
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  color: #333;
  transition: color 0.3s;
}

.nav > li > a:hover,
.nav > li > a.active {
  color: #c9a96e;
}

.nav > li > a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #c9a96e;
  transition: width 0.3s;
  margin-top: 2px;
}

.nav > li > a:hover::after,
.nav > li > a.active::after {
  width: 100%;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 160px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 100;
}

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

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s;
}

.dropdown-menu li a:hover {
  background: #c9a96e;
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}
.hamburger > * + * {
  margin-top: 5px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #333;
  transition: all 0.3s;
}

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

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

.hero-slide {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-slide .slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide .slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 46, 0.35);
  z-index: 1;
}

.hero-slide .slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 20px;
}

.hero-slide .slide-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  animation: fadeUp 0.8s 0.2s both;
}

.hero-slide .slide-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
  animation: fadeUp 0.8s 0.4s both;
}

.hero-slide .slide-content .btn {
  animation: fadeUp 0.8s 0.6s both;
}

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

.btn {
  display: inline-block;
  padding: 12px 36px;
  background: #c9a96e;
  color: #fff;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  border-radius: 4px;
  letter-spacing: 1px;
}

.btn:hover {
  background: #b8963e;
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background: #c9a96e;
  border-color: #c9a96e;
}

/* Hero indicators */
.hero-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  z-index: 3;
}
.hero-indicators > * + * {
  margin-left: 10px;
}

.hero-indicators span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.hero-indicators span.active {
  background: #c9a96e;
}

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

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

.section-title h2 {
  font-size: 32px;
  color: #1a1a2e;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  letter-spacing: 3px;
  font-weight: 300;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #c9a96e;
  margin: 14px auto 0;
}

.section-title p {
  color: #888;
  font-size: 15px;
  margin-top: 10px;
}

.section-bg {
  background: #f8f5f0;
}

/* ===== Features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 20px rgba(26, 26, 46, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 35px rgba(26, 26, 46, 0.1);
}

.feature-card .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border: 1.5px solid #c9a96e;
  color: #c9a96e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #1a1a2e;
}

.feature-card p {
  font-size: 14px;
  color: #888;
  line-height: 1.7;
}

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

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

.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.product-card .img {
  height: 220px;
  background-size: cover;
  background-position: center;
}

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

.product-card .info h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #1a1a2e;
}

.product-card .info p {
  font-size: 13px;
  color: #888;
  margin-bottom: 10px;
}

.product-card .info .price {
  color: #c9a96e;
  font-size: 18px;
  font-weight: 700;
}

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

.case-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.case-card .img {
  height: 250px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.case-card .img .badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #c9a96e;
  color: #fff;
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 3px;
}

.case-card .info {
  padding: 20px;
}

.case-card .info h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #1a1a2e;
}

.case-card .info .meta {
  font-size: 13px;
  color: #aaa;
}

/* ===== Pagination ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}
.pagination > * + * {
  margin-left: 6px;
}

.pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  background: #fff;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.pagination .page-link:hover {
  border-color: #c9a96e;
  color: #c9a96e;
}

.pagination .page-link.active {
  background: #c9a96e;
  color: #fff;
  border-color: #c9a96e;
}

.pagination .page-link.disabled {
  color: #ccc;
  cursor: default;
  pointer-events: none;
}

/* ===== Tags ===== */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.tag {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  color: #c9a96e;
  background: #f8f5f0;
  border-radius: 4px;
  border: 1px solid #e8dcc8;
}

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

.news-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.news-card .img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.news-card .info {
  padding: 20px;
}

.news-card .info .date {
  font-size: 12px;
  color: #c9a96e;
  margin-bottom: 8px;
}

.news-card .info h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: #1a1a2e;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .info p {
  font-size: 13px;
  color: #888;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== About Preview ===== */
.about-preview {
  display: flex;
  align-items: center;
}

.about-preview .image {
  flex: 1;
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  margin-right: 60px;
}

.about-preview .text {
  flex: 1;
}

.about-preview .text h3 {
  font-size: 28px;
  color: #1a1a2e;
  margin-bottom: 20px;
}

.about-preview .text p {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
  white-space: pre-line;
}

.about-preview .text .btn {
  margin-top: 10px;
}

/* ===== Contact Section ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 22px;
  color: #1a1a2e;
  margin-bottom: 20px;
}

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

.contact-info .item .icon {
  width: 40px;
  height: 40px;
  border: 1.5px solid #c9a96e;
  color: #c9a96e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 30px;
}

.contact-info .item .text h4 {
  font-size: 14px;
  color: #888;
  font-weight: 400;
}

.contact-info .item .text p {
  font-size: 15px;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 15px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #c9a96e;
}

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

/* ===== Footer ===== */
.footer {
  background: #1a1a2e;
  color: #aaa;
  padding: 50px 0 0;
}

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

.footer-col h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.8;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 14px;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #c9a96e;
}

.footer-links {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 15px 0;
  margin-top: 30px;
  font-size: 13px;
}
.footer-links .container {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.footer-links-label {
  color: #888;
  white-space: nowrap;
}
.footer-links a {
  color: #888;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: #c9a96e;
}
.footer-links .sep {
  color: #555;
  margin: 0 2px;
}
.footer-links-empty {
  color: #555;
  font-size: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 20px 0;
  margin-top: 0;
  font-size: 13px;
}

/* ===== Page Banner (sub pages) ===== */
.page-banner {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-color: #2d2d44;
  position: relative;
  color: #fff;
  text-align: center;
}

.page-banner::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  background: rgba(26, 26, 46, 0.5);
}

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

.page-banner .content h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

.page-banner .content p {
  font-size: 16px;
  opacity: 0.85;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  padding: 15px 0;
  font-size: 13px;
  color: #888;
}

.breadcrumb a {
  color: #c9a96e;
}

.breadcrumb span {
  color: #333;
}

/* ===== About Page ===== */
.about-content {
  display: flex;
  align-items: flex-start;
}

.about-content .image {
  flex: 1;
  height: 450px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  margin-right: 60px;
}

.about-content .text {
  flex: 1;
}

.about-content .text h3 {
  font-size: 24px;
  color: #1a1a2e;
  margin-bottom: 15px;
}

.about-content .text p {
  font-size: 15px;
  color: #666;
  line-height: 1.9;
  margin-bottom: 15px;
  white-space: pre-line;
}

/* ===== Contact Page ===== */
.contact-page-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
}

.contact-page-info .item {
  display: flex;
  margin-bottom: 25px;
}

.contact-page-info .item .icon {
  width: 44px;
  height: 44px;
  border: 1.5px solid #c9a96e;
  color: #c9a96e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 30px;
}

.contact-page-info .item .text h4 {
  font-size: 15px;
  margin-bottom: 4px;
  color: #1a1a2e;
}

.contact-page-info .item .text p {
  font-size: 14px;
  color: #888;
}

/* ===== News Detail Page ===== */
.news-detail {
  max-width: 800px;
  margin: 0 auto;
}

.news-detail h1 {
  font-size: 28px;
  color: #1a1a2e;
  margin-bottom: 15px;
}

.news-detail .meta {
  color: #aaa;
  font-size: 14px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.news-detail .content {
  font-size: 16px;
  color: #444;
  line-height: 2;
}

.news-detail .content p,
.news-detail .content div:not([class]) {
  margin-bottom: 20px;
  line-height: 2;
}

.news-detail .content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 24px 0;
}

.news-detail .content a {
  color: #42a5f5;
  text-decoration: underline;
}

.news-detail .content a:hover {
  color: #1a73e8;
}

/* ===== Text Center ===== */
.text-center {
  text-align: center;
}

.mt-30 {
  margin-top: 30px;
}

.mb-30 {
  margin-bottom: 30px;
}

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

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

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

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

  .about-preview {
    flex-direction: column;
  }

  .about-preview .image {
    width: 100%;
    margin-right: 0;
    margin-bottom: 40px;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .about-content {
    flex-direction: column;
  }

  .about-content .image {
    width: 100%;
    margin-right: 0;
    margin-bottom: 40px;
  }

  .contact-page-wrap {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .top-bar .container {
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    text-align: center;
  }
  .top-bar .container > div {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .top-bar a {
    margin-left: 0;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
  }

  .nav.open {
    display: flex;
  }

  .nav > li > a {
    padding: 12px 20px;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding-left: 20px;
  }

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

  .hero {
    height: 400px;
  }

  .hero-slide .slide-content h1 {
    font-size: 24px;
  }

  .hero-slide .slide-content p {
    font-size: 14px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    margin-bottom: 30px;
  }

  .section-title h2 {
    font-size: 22px;
  }

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

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

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

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

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

  .page-banner {
    height: 200px;
  }

  .page-banner .content h1 {
    font-size: 24px;
  }

  .page-banner .content p {
    font-size: 14px;
  }

  #storesGrid {
    grid-template-columns: 1fr !important;
  }

  .news-detail h1 {
    font-size: 22px;
  }

  .news-detail .content {
    font-size: 15px;
  }

  .about-content .text {
    padding: 0;
  }

  .contact-page-info .item {
    flex-direction: column;
    text-align: center;
  }

  .contact-form {
    padding: 20px;
  }

  .pagination {
    flex-wrap: wrap;
    justify-content: center;
  }

  .breadcrumb {
    font-size: 12px;
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .top-bar {
    font-size: 12px;
    padding: 6px 0;
  }
  .top-bar .container > div {
    flex-direction: column;
    gap: 3px;
  }
  .top-bar a {
    font-size: 11px;
  }

  .header .container {
    height: 56px;
  }
  .logo {
    font-size: 18px;
  }
  .logo svg {
    width: 32px;
    height: 32px;
  }
  .logo > * + * {
    margin-left: 10px;
  }
  .nav {
    top: 56px;
  }

  .hero {
    height: 300px;
  }
  .hero-slide .slide-content h1 {
    font-size: 20px;
  }
  .hero-slide .slide-content p {
    font-size: 13px;
  }

  .page-banner {
    height: 160px;
  }
  .page-banner .content h1 {
    font-size: 20px;
  }
  .page-banner .content p {
    font-size: 13px;
  }

  .section {
    padding: 30px 0;
  }
  .section-title h2 {
    font-size: 20px;
  }
  .section-title p {
    font-size: 13px;
  }

  .news-detail h1 {
    font-size: 18px;
  }
  .news-detail .content {
    font-size: 14px;
  }

  .footer .footer-col {
    text-align: center;
  }
  .footer-links .container {
    flex-direction: column;
    text-align: center;
  }

  .back-to-top {
    width: 38px;
    height: 38px;
    font-size: 18px;
    bottom: 20px;
    right: 20px;
  }
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: #c9a96e;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: #b8963e;
  transform: translateY(-2px);
}
