/* 朗兰达照明集团 - 现代化静态网站样式 */
:root {
  --primary: #0a6cda;
  --primary-dark: #0048a0;
  --primary-darker: #002855;
  --primary-light: #e8f3ff;
  --accent: #f0a830;
  --accent-light: #ffb84d;
  --accent-hover: #d89020;
  --text: #1a2233;
  --text-light: #5a6578;
  --text-lighter: #99a3b3;
  --bg: #fff;
  --bg-light: #f5f7fa;
  --bg-warm: #faf9f6;
  --border: #e8ecf2;
  --shadow: 0 4px 20px rgba(0, 40, 85, 0.06);
  --shadow-hover: 0 12px 40px rgba(0, 40, 85, 0.14);
  --shadow-soft: 0 2px 12px rgba(0, 40, 85, 0.05);
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --max-width: 1240px;
  --header-height: 110px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* 顶部联系条 */
.top-bar {
  background: linear-gradient(90deg, var(--primary-darker), var(--primary-dark));
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 9px 0;
  letter-spacing: 0.3px;
}

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

.top-bar a {
  color: rgba(255, 255, 255, 0.85);
  margin-left: 18px;
}

.top-bar a:hover {
  color: var(--accent-light);
}

/* 头部 */
.header {
  background: #fff;
  box-shadow: 0 1px 20px rgba(0, 40, 85, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo img {
  height: 56px;
  width: auto;
}

.logo-text h1 {
  font-size: 20px;
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.logo-text p {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 2px;
  letter-spacing: 1px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 36px;
}

.phone {
  text-align: right;
}

.phone span {
  display: block;
  font-size: 12px;
  color: var(--text-lighter);
}

.phone strong {
  display: block;
  font-size: 22px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* 导航 */
.nav ul {
  display: flex;
  list-style: none;
  gap: 6px;
}

.nav a {
  display: block;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 1px;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 60%;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary);
  cursor: pointer;
}

/* 横幅区 */
.hero {
  position: relative;
  height: 560px;
  background: linear-gradient(135deg, rgba(0, 24, 55, 0.88) 0%, rgba(0, 72, 160, 0.78) 50%, rgba(10, 108, 218, 0.65) 100%),
              url('../img/banner.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 50%, var(--accent) 100%);
}

.hero-content {
  max-width: 640px;
}

.hero h2 {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 18px;
  opacity: 0.92;
  margin-bottom: 34px;
  line-height: 1.7;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  box-shadow: 0 4px 16px rgba(240, 168, 48, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(240, 168, 48, 0.45);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  margin-left: 12px;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

/* 通用区块 */
.section {
  padding: 80px 0;
}

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

.section-header h2 {
  font-size: 34px;
  color: var(--text);
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.section-header h2 span {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-light);
  font-size: 15px;
  letter-spacing: 0.5px;
}

.section-header .line {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  margin: 18px auto 0;
  border-radius: 2px;
  position: relative;
}

.section-header .line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.3;
}

/* 首页关于 */
.about-section {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 40, 85, 0.14);
  position: relative;
}

.about-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  pointer-events: none;
}

.about-img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.about-content h3 {
  font-size: 26px;
  color: var(--primary-dark);
  margin-bottom: 18px;
  font-weight: 700;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  text-align: justify;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 30px 0;
}

.stat-item {
  text-align: center;
  padding: 22px 14px;
  background: linear-gradient(145deg, var(--bg-light), var(--bg-warm));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.stat-item strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item span {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
  display: block;
}

/* 优势 */
.features {
  background: linear-gradient(180deg, var(--bg-light) 0%, #fff 100%);
}

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

.feature-card {
  background: #fff;
  padding: 38px 26px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

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

.feature-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-light), #d0e7ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 28px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  transform: scale(1.08);
}

.feature-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 600;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
}

/* 样册 */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.catalog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.catalog-img {
  height: 280px;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: var(--transition);
}

.catalog-card:hover .catalog-img img {
  opacity: 0.9;
}

.catalog-info {
  padding: 22px;
}

.catalog-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.catalog-info p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.catalog-actions {
  display: flex;
  gap: 10px;
}

.catalog-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 10px 16px;
  font-size: 14px;
}

.btn-select {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}

.btn-select:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker));
}

.btn-select.selected {
  background: linear-gradient(135deg, #2d9e4e, #28a745);
}

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

.btn-view:hover {
  background: var(--primary-light);
  border-color: var(--primary-dark);
}

/* 已选样浮层 */
.selection-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 16px 0;
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.selection-bar.active {
  transform: translateY(0);
}

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

.selection-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.selection-count {
  background: var(--primary);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.selection-bar .btn {
  padding: 10px 22px;
  font-size: 14px;
}

/* 弹窗 */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 18px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-light);
  cursor: pointer;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
}

.selection-list {
  list-style: none;
}

.selection-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.selection-list li:last-child {
  border-bottom: none;
}

.remove-item {
  background: none;
  border: none;
  color: #dc3545;
  cursor: pointer;
  font-size: 13px;
}

.empty-tip {
  text-align: center;
  color: var(--text-light);
  padding: 30px 0;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* 案例 */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.case-img {
  height: 220px;
  overflow: hidden;
}

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

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

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

.case-info h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.case-info p {
  font-size: 13px;
  color: var(--text-light);
}

.case-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.cta h2 {
  font-size: 30px;
  margin-bottom: 14px;
  letter-spacing: 1px;
}

.cta p {
  opacity: 0.9;
  margin-bottom: 26px;
  font-size: 16px;
}

/* 页脚 */
.footer {
  background: linear-gradient(180deg, #141e30 0%, #0f1722 100%);
  color: rgba(255, 255, 255, 0.72);
  padding: 50px 0 20px;
}

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

.footer-brand img {
  height: 50px;
  margin-bottom: 16px;
}

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

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

.footer ul {
  list-style: none;
}

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

.footer a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

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

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

/* 面包屑 */
.breadcrumb {
  background: var(--bg-light);
  padding: 16px 0;
  font-size: 14px;
  color: var(--text-light);
}

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

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

/* 页面标题 */
.page-header {
  background: linear-gradient(135deg, rgba(0, 24, 55, 0.92) 0%, rgba(0, 72, 160, 0.85) 50%, rgba(10, 108, 218, 0.72) 100%),
              url('../img/banner.jpg') center/cover no-repeat;
  color: #fff;
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.page-header h2 {
  font-size: 36px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.page-header p {
  opacity: 0.9;
  letter-spacing: 1px;
}

/* 内页内容 */
.page-content {
  padding: 50px 0 70px;
}

.about-page-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.9;
}

.about-page-text p {
  margin-bottom: 20px;
  text-align: justify;
}

.about-page-text h3 {
  color: var(--primary-dark);
  margin: 30px 0 16px;
  font-size: 22px;
  font-weight: 700;
  position: relative;
  padding-left: 14px;
}

.about-page-text h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.about-value-card {
  background: linear-gradient(145deg, var(--bg-light), var(--bg-warm));
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.about-value-card h4 {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
}

.about-value-card p {
  font-size: 14px;
  margin-bottom: 0;
}

/* 关于我们图片画廊 */
.about-gallery-section {
  padding: 40px 0;
}

.about-gallery-section .section-header {
  margin-bottom: 24px;
}

.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.about-gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  transition: var(--transition);
}

.about-gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.about-gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.about-gallery-item:hover img {
  transform: scale(1.05);
}

.about-img-caption {
  display: block;
  text-align: center;
  padding: 14px 12px;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* 资质荣誉 */
.about-certs-section {
  padding: 40px 0;
  background: var(--bg-light);
}

.about-certs-section .section-header {
  margin-bottom: 24px;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.certificate-item {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.certificate-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.certificate-item img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #fff;
  padding: 10px;
}

.certificate-item.certificate-license img {
  height: 200px;
}

.certificate-item h4 {
  padding: 14px 12px 18px;
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
  background: #fff;
}

/* 样册分类筛选栏 */
.catalog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 30px;
  font-size: 14px;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 72, 160, 0.3);
}

.filter-btn .filter-count {
  display: inline-block;
  margin-left: 4px;
  font-size: 12px;
  opacity: 0.7;
}

/* 样册空状态 */
.catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-lighter);
}

.catalog-empty p {
  margin-top: 10px;
  font-size: 14px;
}

/* 样册分类信息条 */
.catalog-category-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--primary-light), #f0f7ff);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.catalog-category-bar h3 {
  font-size: 18px;
  color: var(--primary);
}

.catalog-category-bar .cat-link {
  font-size: 14px;
  color: var(--primary);
  text-decoration: underline;
}

/* 样册更新提示 */
.catalog-update-info {
  text-align: center;
  font-size: 13px;
  color: var(--text-lighter);
  margin-top: 30px;
  padding: 12px;
  background: var(--bg-light);
  border-radius: var(--radius);
}

/* 图片灯箱 */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 30px;
  cursor: zoom-out;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  padding: 12px 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.2s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-caption {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 15px;
  max-width: 60%;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 14px;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next {
    font-size: 28px;
    padding: 8px 12px;
  }
  .lightbox-prev {
    left: 6px;
  }
  .lightbox-next {
    right: 6px;
  }
}

/* 响应式 */
@media (max-width: 992px) {
  .features-grid,
  .catalog-grid,
  .cases-grid,
  .about-gallery-grid,
  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .certificate-item img,
  .certificate-item.certificate-license img {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .header .container {
    height: 80px;
  }

  .logo img {
    height: 42px;
  }

  .logo-text h1 {
    font-size: 16px;
  }

  .header-right {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav.active {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    padding: 10px 20px;
  }

  .hero {
    height: 360px;
  }

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

  .hero p {
    font-size: 15px;
  }

  .features-grid,
  .catalog-grid,
  .cases-grid,
  .stats,
  .about-values,
  .about-gallery-grid,
  .certificates-grid {
    grid-template-columns: 1fr;
  }

  .about-gallery-item img,
  .certificate-item img,
  .certificate-item.certificate-license img {
    height: auto;
  }

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

  .selection-bar .container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
