﻿/* ============================================
   合肥市乐德家具有限公司 - 官方网站样式
   ============================================ */

/* CSS Variables */
:root {
  --gold: #c9a96e;
  --gold-light: #e0c898;
  --gold-dark: #a0824d;
  --dark: #0f0f0f;
  --dark-secondary: #1a1a1a;
  --dark-tertiary: #252525;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray: #888888;
  --gray-dark: #555555;
  --text-body: #333333;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
}

.section-title {
  font-size: 2.25rem;
  color: var(--dark);
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 0;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 3rem;
}

.section-title-white {
  color: var(--white);
}

.section-title-white::after {
  background: var(--gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 169, 110, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--dark);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 48px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 2px;
}

.logo-text span {
  color: var(--gold);
}

.logo-sub {
  font-size: 0.7rem;
  color: var(--gray);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav a {
  font-size: 0.9rem;
  color: var(--text-body);
  font-weight: 500;
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--gold);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--dark);
  font-weight: 600;
}

.phone svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(201,169,110,.1);
  border-radius: 20px;
  padding: 3px;
  flex-shrink: 0;
  margin-left: 16px;
}

.lang-switch-btn {
  background: transparent;
  border: none;
  color: var(--gray);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 16px;
  transition: var(--transition);
  line-height: 1.4;
  font-family: var(--font-body);
}

.lang-switch-btn.active {
  background: var(--gold);
  color: var(--dark);
}

.lang-switch-btn:hover:not(.active) {
  color: var(--gold);
}

.lang-switch-divider {
  color: #ccc;
  font-size: 0.7rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.85) 0%, rgba(15, 15, 15, 0.6) 100%);
  z-index: 1;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1566073771259-6a8506099945?w=1920&q=80') center/cover;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero-label {
  display: inline-block;
  padding: 8px 24px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: 4px;
}

.hero-title span {
  color: var(--gold);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  margin-bottom: 1.5rem;
  letter-spacing: 6px;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Stats Section */
.stats {
  background: var(--white);
  padding: 60px 0;
  position: relative;
  z-index: 10;
  margin-top: -60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.stat-item {
  padding: 40px 20px;
  text-align: center;
  border-right: 1px solid #eee;
  transition: var(--transition);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: var(--gray-light);
}

.stat-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 16px;
  stroke: var(--gold);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span {
  color: var(--gold);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Section Common */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-dark .stat-number {
  color: var(--white);
}

.section-dark .stat-label {
  color: rgba(255, 255, 255, 0.8);
}

.section-gray {
  background: var(--gray-light);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-label {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.about-title {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.about-text {
  color: var(--gray-dark);
  margin-bottom: 2rem;
  line-height: 1.9;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 2rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-feature-text {
  font-size: 0.9rem;
  color: var(--text-body);
  font-weight: 500;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 4px;
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-image::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  border-radius: 4px;
  z-index: -1;
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  height: 320px;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover img {
  transform: scale(1.1);
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 15, 15, 0.9) 0%, rgba(15, 15, 15, 0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: var(--transition);
}

.product-card:hover .product-card-overlay {
  background: linear-gradient(to top, rgba(15, 15, 15, 0.95) 0%, rgba(15, 15, 15, 0.4) 100%);
}

.product-card-title {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  transform: translateY(10px);
  transition: var(--transition);
}

.product-card:hover .product-card-title {
  transform: translateY(0);
}

.product-card-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  transform: translateY(10px);
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .product-card-desc {
  transform: translateY(0);
  opacity: 1;
}

.products-more {
  text-align: center;
  margin-top: 40px;
}

/* Cases Section */
.cases-slider {
  position: relative;
  overflow: hidden;
}

.cases-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}

.case-card {
  flex: 0 0 calc(33.333% - 16px);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  height: 380px;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.case-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  background-size: cover;
  background-position: center;
  transition: background 0.5s ease;
}

.case-card:hover img {
  transform: scale(1.08);
}

.case-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 15, 15, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.case-card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
  width: fit-content;
}

.case-card-title {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.case-card-location {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.cases-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.cases-nav button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--dark);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cases-nav button:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

/* Factory Section */
.factory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.factory-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.factory-image {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  height: 200px;
}

.factory-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.factory-image:hover img {
  transform: scale(1.1);
}

.factory-image-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(15, 15, 15, 0.8), transparent);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}

.factory-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.factory-content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  line-height: 1.9;
}

.factory-features {
  display: grid;
  gap: 20px;
}

.factory-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.factory-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.factory-feature-text h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.factory-feature-text p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

/* Certificates Section */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.certificate-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.certificate-card img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: #f8f8f8;
  padding: 12px;
}

.certificate-card-title {
  padding: 20px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-body);
  font-weight: 500;
}

/* News Section */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.news-card-image {
  height: 200px;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.08);
}

.news-card-body {
  padding: 24px;
}

.news-card-date {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.news-card-title {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-excerpt {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Process Section */
.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  gap: 12px;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 35px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--gold-dark), var(--gold), var(--gold-dark));
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
}

.process-step-number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--dark-secondary);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-display);
}

.process-step-title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-step-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  line-height: 1.7;
  max-width: 180px;
  margin: 0 auto;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.contact-info > p {
  color: var(--gray-dark);
  margin-bottom: 2rem;
  line-height: 1.9;
}

.contact-items {
  display: grid;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-item-text p {
  color: var(--gray);
  font-size: 0.9rem;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-body);
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .logo-text {
  color: var(--white);
  margin-bottom: 20px;
  display: block;
}
.footer-brand .logo-img {
  height: 40px;
  width: auto;
  display: block;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0;
}

.footer-qr img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  margin-bottom: 12px;
  background: var(--white);
  padding: 6px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-qr p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.4;
  margin: 0;
}

/* Footer Social Media */
.footer-social {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 0;
  margin-bottom: 0;
}

.footer-social-title {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.footer-social-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: default;
  transition: transform 0.3s ease;
}

.footer-social-item:hover {
  transform: translateY(-4px);
}

.footer-social-qr {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  background: var(--white);
  padding: 8px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.footer-social-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-social-qr-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.5rem;
}

.footer-social-name {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  text-align: center;
}

.footer-social-icon {
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* Floating Buttons */
.float-buttons {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.4);
  transition: var(--transition);
  position: relative;
}

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(201, 169, 110, 0.5);
}

.float-btn-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.float-btn:hover .float-btn-tooltip {
  opacity: 1;
  visibility: visible;
}

/* WeChat float button with QR code */
.float-btn-wechat .float-btn-tooltip {
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  width: 130px;
  height: 130px;
  padding: 8px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  white-space: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
}

.float-btn-wechat .float-btn-tooltip::after {
  content: "扫码微信咨询";
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 0.75rem;
  white-space: nowrap;
  background: var(--dark);
  padding: 3px 10px;
  border-radius: 3px;
}

.float-btn-wechat .float-btn-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Click-to-show QR on all devices */
.float-btn-wechat.qr-visible .float-btn-tooltip,
.float-btn-wechat:hover .float-btn-tooltip {
  opacity: 1;
  visibility: visible;
}

.float-btn-top {
  background: var(--dark-secondary);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.float-btn-consult {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: var(--white);
  animation: pulse-consult 2s infinite;
  box-shadow: 0 4px 20px rgba(231, 76, 60, 0.5);
}

.float-btn-consult:hover {
  animation: none;
  box-shadow: 0 6px 30px rgba(231, 76, 60, 0.6);
}

@keyframes pulse-consult {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 20px rgba(231, 76, 60, 0.5); }
  50% { transform: scale(1.08); box-shadow: 0 6px 30px rgba(231, 76, 60, 0.7); }
}

/* Consultation Modal */
.consult-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.consult-modal.active {
  opacity: 1;
  visibility: visible;
}

.consult-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.consult-modal-dialog {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  padding: 32px 28px;
  width: 90%;
  max-width: 460px;
  max-height: 92vh;
  overflow-y: auto;
  transform: translateY(30px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.consult-modal.active .consult-modal-dialog {
  transform: translateY(0);
}

.consult-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--gray-dark);
  transition: var(--transition);
  line-height: 1;
}

.consult-modal-close:hover {
  background: #e74c3c;
  color: var(--white);
}

.consult-modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.consult-modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--dark);
  margin-bottom: 6px;
}

.consult-modal-header p {
  font-size: 0.85rem;
  color: var(--gray);
}

.consult-modal-form .form-group {
  margin-bottom: 12px;
}

.consult-modal-form label {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-dark);
  margin-bottom: 4px;
  font-weight: 500;
}

.consult-modal-form input,
.consult-modal-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: border-color 0.3s;
  outline: none;
  background: #fafafa;
}

.consult-modal-form input:focus,
.consult-modal-form select:focus {
  border-color: var(--gold);
  background: var(--white);
}

.consult-modal-form button[type="submit"] {
  margin-top: 4px;
  padding: 12px;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Page Banner */
.page-banner {
  position: relative;
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  margin-top: 80px;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(15, 15, 15, 0.7) 100%);
}

.page-banner-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/about-cover.png') center/cover no-repeat;
  opacity: 0.3;
}

.page-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-banner-title {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.page-banner-breadcrumb {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.page-banner-breadcrumb span {
  color: var(--gold);
}

/* Breadcrumb */
.breadcrumb {
  background: var(--gray-light);
  padding: 16px 0;
}

.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--gray);
}

.breadcrumb-inner a:hover {
  color: var(--gold);
}

.breadcrumb-inner .current {
  color: var(--dark);
}

/* About Page */
.about-page-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.about-page-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-page-images img {
  border-radius: 4px;
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.about-page-images img:first-child {
  grid-column: 1 / -1;
  height: 280px;
}

/* ============ 老板说视频区域 - 首屏头图 ============ */
.video-hero {
  position: relative;
  background: #0f0f0f;
  padding: 104px 24px 40px;
}

.video-hero .video-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.video-hero-meta {
  text-align: center;
  padding: 20px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.video-hero-meta a {
  color: rgba(255, 255, 255, 0.5);
}

.video-hero-meta a:hover {
  color: var(--gold);
}

.video-hero-meta span {
  color: var(--gold);
}

.video-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url('../images/video-cover.png') center center / cover no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.video-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.video-cover-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.06;
  background-image: radial-gradient(circle at 20% 50%, rgba(201,169,110,0.8) 0%, transparent 50%),
                    radial-gradient(circle at 80% 30%, rgba(201,169,110,0.6) 0%, transparent 40%),
                    radial-gradient(circle at 50% 80%, rgba(201,169,110,0.5) 0%, transparent 30%);
}

.video-cover-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.video-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.6);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.6); }
  70% { box-shadow: 0 0 0 20px rgba(201, 169, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0); }
}

.video-play-btn svg {
  width: 32px;
  height: 32px;
  color: var(--dark);
  margin-left: 4px;
}

.video-container:hover .video-play-btn {
  transform: scale(1.1);
  background: var(--gold-light);
}

.video-cover-title {
  margin-top: 24px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.video-cover-subtitle {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Mobile */
@media (max-width: 768px) {
  .video-hero {
    padding: 94px 16px 28px;
  }
  .video-hero .video-container {
    border-radius: 0 0 4px 4px;
  }
  .video-play-btn {
    width: 60px;
    height: 60px;
  }
  .video-play-btn svg {
    width: 24px;
    height: 24px;
  }
  .video-cover-title {
    font-size: 1.2rem;
  }
}

.about-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.about-value {
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.about-value:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.about-value-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold);
  font-size: 1.5rem;
}

.about-value h4 {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.about-value p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Products Page */
.products-categories {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.category-btn {
  padding: 10px 28px;
  border: 1px solid #e0e0e0;
  background: var(--white);
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-body);
  transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.products-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-page-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.product-page-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.product-page-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.product-page-card-body {
  padding: 24px;
}

.product-page-card-title {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.product-page-card-desc {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* Cases Page */
.cases-filter {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.cases-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-page-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.case-page-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Case Card Image Carousel */
.case-carousel {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.case-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-carousel-slide {
  flex: 0 0 100%;
  height: 100%;
}

.case-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-carousel-img {
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-position: center !important;
}

.case-carousel-prev,
.case-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}

.case-carousel:hover .case-carousel-prev,
.case-carousel:hover .case-carousel-next {
  opacity: 1;
}

.case-carousel-prev { left: 8px; }
.case-carousel-next { right: 8px; }

.case-carousel-prev:hover,
.case-carousel-next:hover {
  background: var(--gold);
  color: var(--dark);
}

.case-carousel-prev:hover svg,
.case-carousel-next:hover svg {
  color: var(--dark);
}

.case-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.case-carousel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.case-carousel-dots span.active {
  background: var(--gold);
  width: 20px;
  border-radius: 4px;
}

.case-carousel-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.case-carousel-tag span {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(201, 169, 110, 0.2);
  border: 1px solid rgba(201, 169, 110, 0.5);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 2px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}

.case-page-card-body {
  padding: 24px 20px;
}

.case-page-card-body .case-page-card-title {
  color: var(--dark);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.case-page-card-body .case-page-card-desc {
  color: var(--gray);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-page-card-body .case-page-card-location {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
}

/* Text-only case card (no images) */
.case-page-card.case-text-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 28px;
  min-height: 200px;
}

.case-page-card.case-text-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #c9a86e);
}

.case-text-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 4px 12px;
  background: rgba(201, 169, 110, 0.12);
  border: 1px solid rgba(201, 169, 110, 0.35);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 2px;
}

.case-text-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.case-text-location {
  font-size: 0.82rem;
  color: var(--gray);
}

.case-page-card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
  width: fit-content;
}

/* Factory Page */
.factory-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.factory-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  height: 280px;
}

.factory-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.factory-gallery-item:hover img {
  transform: scale(1.08);
}

.factory-gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(15, 15, 15, 0.8), transparent);
  color: var(--white);
}

.factory-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.factory-info-card {
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.factory-info-card h4 {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.factory-info-card p {
  color: var(--gray);
  font-size: 0.9rem;
}

.cert-viewable {
  cursor: zoom-in;
}

.cert-viewable .cert-img {
  cursor: zoom-in;
}

/* Certificate Viewer Modal */
.cert-viewer-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.cert-viewer-modal.active {
  display: flex;
}

.cert-viewer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.cert-viewer-dialog {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cert-viewer-img {
  max-width: 85vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.cert-viewer-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.cert-viewer-close:hover {
  background: var(--gold);
  color: var(--dark);
}

.cert-viewer-lang {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.cert-lang-btn {
  padding: 6px 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 2px;
  transition: var(--transition);
}

.cert-lang-btn:hover,
.cert-lang-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 169, 110, 0.1);
}

.cert-viewer-title {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-align: center;
}

/* Certificates Page */
.certificates-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.certificate-page-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  cursor: pointer;
}

.certificate-page-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.certificate-page-card img,
.certificate-page-card .cert-img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #f8f8f8;
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.certificate-page-card-body {
  padding: 20px;
  text-align: center;
}

.certificate-page-card-title {
  font-size: 1rem;
  color: var(--dark);
  font-weight: 600;
  margin-bottom: 4px;
}

.certificate-page-card-desc {
  color: var(--gray);
  font-size: 0.85rem;
}

/* News Page */
.news-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Contact Page */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-map {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  opacity: 0;
}

.animate.visible {
  animation: fadeInUp 0.8s ease forwards;
}

/* Certificate Placeholder */
.cert-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #f8f5f0 0%, #e8e0d5 50%, #f0ebe3 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(201, 169, 110, 0.2);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.cert-placeholder::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px dashed rgba(201, 169, 110, 0.3);
  border-radius: 2px;
}

.cert-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  opacity: 0.8;
}

.cert-name {
  font-size: 1rem;
  color: #8b7355;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 2px;
}

.cert-iso {
  background: linear-gradient(135deg, #1a3a5c 0%, #0d2137 100%);
  border-color: rgba(201, 169, 110, 0.5);
}

.cert-iso::before {
  border-color: rgba(201, 169, 110, 0.4);
}

.cert-iso-badge {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-display);
  letter-spacing: 4px;
  margin-bottom: 8px;
}

.cert-iso-icon {
  font-size: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .nav {
    gap: 24px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid #eee;
  }

  .stat-item:nth-child(2n) {
    border-right: none;
  }

  .products-grid,
  .products-page-grid,
  .cases-page-grid,
  .news-grid,
  .news-page-grid,
  .certificates-grid,
  .certificates-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-card {
    flex: 0 0 calc(50% - 12px);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .factory-grid,
  .contact-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .about-page-intro {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }

  .factory-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    flex-wrap: wrap;
    gap: 30px;
  }

  .process-steps::before {
    display: none;
  }

  .process-step {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 70px;
  }

  .logo-img {
    height: 34px;
    max-width: 130px;
  }

  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
  }

  .header-contact {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Push lang switcher next to hamburger */
  .lang-switcher {
    margin-left: auto;
    margin-right: 16px;
  }

  .hero {
    min-height: 600px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .stats {
    margin-top: 0;
    padding: 40px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .stat-item {
    padding: 30px 15px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .products-grid,
  .products-page-grid,
  .cases-page-grid,
  .news-grid,
  .news-page-grid,
  .certificates-grid,
  .certificates-page-grid,
  .factory-gallery {
    grid-template-columns: 1fr;
  }

  .case-card {
    flex: 0 0 100%;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .factory-images {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .float-buttons {
    right: 15px;
    bottom: 80px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  .page-banner {
    height: 400px;
  }

  .page-banner-title {
    font-size: 2rem;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .factory-info-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    flex: 0 0 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    letter-spacing: 3px;
  }
}
