/* ========== 基础 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #4a4239;
  line-height: 1.7;
  background: #fdfaf5;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { color: #33302b; font-weight: 600; line-height: 1.35; }

/* ========== 头部导航 ========== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 250, 245, .96);
  border-bottom: 1px solid #efe5d8;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: #33302b; }
.logo svg, .logo img { width: auto; height: 42px; display: block; }
.logo small { display: block; font-size: 10px; font-weight: 400; color: #a39685; letter-spacing: .4px; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  display: block; padding: 8px 16px; font-size: 15px; color: #4a4239; border-radius: 20px;
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: #2b8fd4; background: #eef6fd; }
.main-nav a.active { color: #2b8fd4; font-weight: 600; background: #eef6fd; }
.main-nav a.lang-link {
  border: 1px solid #e5d7c4; border-radius: 16px;
  font-size: 13px; padding: 5px 14px; margin-left: 8px; color: #8b5e3c;
  align-self: center;
}
.main-nav a.lang-link:hover { border-color: #2b8fd4; color: #2b8fd4; background: #eef6fd; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #33302b; margin: 5px 0; }

/* ========== 首页 Hero ========== */
.hero {
  background: #faf1e3;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.hero-tag {
  display: inline-block; padding: 5px 16px; margin-bottom: 20px;
  background: #fff; color: #8b5e3c; font-size: 13px; border-radius: 20px;
  letter-spacing: 2px; border: 1px solid #ecd9c3;
}
.hero h1 { font-size: 46px; font-weight: 700; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: #2b8fd4; }
.hero p { font-size: 17px; color: #6b6156; max-width: 560px; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art svg { display: block; width: 100%; height: auto; }

/* ========== 按钮 ========== */
.btn {
  display: inline-block; padding: 12px 30px; border-radius: 24px;
  font-size: 15px; font-weight: 500; transition: all .2s; border: 1px solid transparent;
}
.btn-primary { background: #2b8fd4; color: #fff; }
.btn-primary:hover { background: #1a70ad; }
.btn-ghost { border-color: #c9a87f; color: #8b5e3c; background: #fff; }
.btn-ghost:hover { background: #faf1e3; }
.btn-outline { border-color: #2b8fd4; color: #2b8fd4; background: transparent; }
.btn-outline:hover { background: #eef6fd; }

/* ========== 数据条 ========== */
.stats { background: #33302b; padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; color: #fdfaf5; }
.stat-icon {
  width: 40px; height: 40px; margin: 0 auto 10px;
  color: #c9a87f;
}
.stat-item b { display: block; font-size: 38px; font-weight: 700; }
.stat-item b em { font-style: normal; font-size: 18px; margin-left: 2px; }
.stat-item span { font-size: 14px; color: #c9b8a3; }

/* ========== 通用区块 ========== */
.section { padding: 84px 0; }
.section-soft { background: #f6efe4; }
.about-factory-section { background: linear-gradient(180deg, #f5f7f3 0%, #e9f0e8 100%); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head .en { color: #c9a87f; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 8px; }
.section-head h2 { font-size: 32px; margin-bottom: 12px; }
.section-head p { color: #8d8272; font-size: 15px; }

/* ========== 首页业务卡片 ========== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-grid-center { grid-template-columns: repeat(2, minmax(280px, 360px)); justify-content: center; }
.products-section {
  background:
    linear-gradient(90deg, rgba(253,250,245,0.96) 0%, rgba(253,250,245,0.88) 50%, rgba(253,250,245,0.72) 100%),
    url('../img/core-bg.jpg') right center / cover no-repeat;
}
.products-section .section-head h2,
.products-section .section-head p { color: #33302b; }
.card {
  background: #fff; border: 1px solid #f0e7da; border-radius: 18px;
  padding: 36px 30px; transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(51, 48, 43, .10); }
.products-section .card {
  background: rgba(253, 250, 245, 0.82);
  border-color: rgba(240, 231, 218, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.products-section .card:hover { box-shadow: 0 14px 30px rgba(51, 48, 43, .08); }
.card-icon {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 20px;
  background: #eef6fd; display: flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 28px; height: 28px; stroke: #2b8fd4; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14px; color: #8d8272; margin-bottom: 18px; }
.card .more { color: #2b8fd4; font-size: 14px; font-weight: 500; }
.card .more:hover { color: #1a70ad; }

/* ========== 首页关于我们 ========== */
.about-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-teaser .about-visual {
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(51, 48, 43, .12);
  aspect-ratio: 3 / 2;
}
.about-teaser .about-visual svg,
.about-teaser .about-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-teaser .text h2 { font-size: 30px; margin-bottom: 16px; }
.about-teaser .text p { color: #8d8272; margin-bottom: 22px; font-size: 15px; }
.about-list li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 15px; }
.about-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #2b8fd4;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E") center/contain no-repeat, linear-gradient(#2b8fd4,#2b8fd4);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
}

/* ========== 首页新闻 ========== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  display: block; background: #fff; border: 1px solid #f0e7da; border-radius: 18px;
  overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(51, 48, 43, .10); }
.news-cover { height: 170px; overflow: hidden; }
.news-cover svg { width: 100%; height: 100%; display: block; }
.news-body { padding: 22px 24px 26px; }
.news-body .news-date { font-size: 13px; color: #a39685; margin-bottom: 8px; }
.news-body h3 { font-size: 17px; margin-bottom: 8px; }
.news-card:hover .news-body h3 { color: #2b8fd4; }
.news-body p { font-size: 14px; color: #8d8272; }

/* ========== CTA 条 ========== */
.cta-band { background: #faf1e3; padding: 72px 0; text-align: center; border-top: 1px solid #f0e2cd; }
.cta-band h2 { font-size: 28px; margin-bottom: 10px; }
.cta-band p { color: #6b6156; margin-bottom: 28px; }

/* ========== 页脚 ========== */
.site-footer { background: #33302b; color: #c9b8a3; padding: 60px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 40px; }
.footer-grid h4 { color: #fdfaf5; font-size: 16px; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 9px; }
.contact-values { display: flex; flex-direction: column; gap: 2px; }
.contact-pair { display: flex; gap: 6px; }
.contact-name { display: inline-block; min-width: 3em; text-align: justify; text-align-last: justify; flex-shrink: 0; }
.footer-grid .contact-line { display: flex; gap: 4px; line-height: 1.6; }
.footer-grid .contact-label { white-space: nowrap; flex-shrink: 0; }
.footer-grid a:hover { color: #fdfaf5; }
.footer-brand p { margin-top: 14px; max-width: 300px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 13px; color: #a39685;
}

/* ========== 内页横幅 ========== */
.page-banner {
  background: #faf1e3; padding: 64px 0; border-bottom: 1px solid #f0e2cd;
}
.page-banner h1 { font-size: 34px; margin-bottom: 8px; }
.page-banner .crumb { font-size: 14px; color: #a39685; }
.page-banner .crumb a:hover { color: #2b8fd4; }

/* ========== 关于我们页 ========== */
.about-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: 52px; align-items: center; }
.about-intro h2 { font-size: 36px; margin-bottom: 22px; }
.about-intro p { color: #6b6156; margin-bottom: 18px; font-size: 16px; line-height: 1.8; }
.history-timeline {
  background: linear-gradient(180deg, #f0f7fc 0%, #e8f1f8 100%);
  border-radius: 20px;
  padding: 30px 28px;
  box-shadow: 0 14px 36px rgba(30, 109, 179, .10);
  max-height: 640px;
  overflow-y: auto;
}
.history-timeline::-webkit-scrollbar { width: 6px; }
.history-timeline::-webkit-scrollbar-thumb { background: #c5dce8; border-radius: 4px; }
.history-title {
  text-align: center; font-size: 18px; font-weight: 600;
  color: #2b8fd4; margin-bottom: 22px;
}
.history-list { display: flex; flex-direction: column; gap: 12px; }
.history-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 4px 14px rgba(30, 109, 179, .07);
  transition: transform .2s, box-shadow .2s;
}
.history-item:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(30, 109, 179, .12); }
.history-year {
  flex-shrink: 0; width: 64px; text-align: right;
  font-size: 15px; font-weight: 700; color: #2b8fd4;
  line-height: 1.3; padding-top: 2px;
}
.history-icon {
  flex-shrink: 0; width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: #eef6fd; border-radius: 10px;
}
.history-icon svg { width: 26px; height: 26px; }
.history-text { flex: 1; min-width: 0; }
.history-text h4 { font-size: 15px; font-weight: 600; color: #33302b; margin-bottom: 4px; }
.history-text p { font-size: 13px; color: #6b6156; line-height: 1.6; }

.section-culture { background: #f0f7fc; }
.section-culture .section-head { margin-bottom: 36px; }
.culture-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.culture-item {
  background: #fff; border-radius: 18px; padding: 30px 18px;
  text-align: center; box-shadow: 0 10px 28px rgba(30, 109, 179, .10);
  transition: transform .25s, box-shadow .25s;
}
.culture-item:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(30, 109, 179, .14); }
.culture-item b { display: block; font-size: 18px; color: #33302b; margin-bottom: 8px; }
.culture-item span { font-size: 13px; color: #5a7a96; }

.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: #ecd9c3; }
.timeline-item { position: relative; padding-bottom: 38px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -32px; top: 5px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #2b8fd4; border: 3px solid #fdfaf5; box-shadow: 0 0 0 2px #ecd9c3;
}
.timeline-item b { color: #2b8fd4; font-size: 15px; }
.timeline-item h3 { font-size: 18px; margin: 4px 0 6px; }
.timeline-item p { font-size: 14px; color: #8d8272; }

.cert-banner {
  margin: 0 auto 32px; border: 1px solid #f0e7da; border-radius: 14px;
  overflow: hidden; background: #fff;
}
.cert-banner img { display: block; width: 100%; height: auto; }

.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.honor-item {
  background: #fff; border: 1px solid #f0e7da; border-radius: 14px;
  padding: 20px 24px; display: flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 500; color: #33302b;
}
.honor-item svg { width: 26px; height: 26px; flex-shrink: 0; }

/* ========== 产品页 ========== */
.filter-bar { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-btn {
  padding: 9px 24px; border-radius: 24px; border: 1px solid #e5d7c4;
  background: #fff; color: #4a4239; font-size: 14px; cursor: pointer; transition: all .2s;
}
.filter-btn:hover { border-color: #2b8fd4; color: #2b8fd4; }
.filter-btn.active { background: #2b8fd4; border-color: #2b8fd4; color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: #fff; border: 1px solid #f0e7da; border-radius: 18px; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(51, 48, 43, .10); }
.product-cover { height: 180px; overflow: hidden; }
.product-cover svg { width: 100%; height: 100%; display: block; }
.product-body { padding: 24px 26px 28px; }
.product-tag {
  display: inline-block; font-size: 12px; color: #2b8fd4; background: #eef6fd;
  padding: 3px 12px; border-radius: 14px; margin-bottom: 12px;
}
.product-body h3 { font-size: 18px; margin-bottom: 8px; }
.product-body > p { font-size: 14px; color: #8d8272; margin-bottom: 14px; }
.product-body ul li { position: relative; padding-left: 18px; font-size: 13px; color: #6b6156; margin-bottom: 6px; }
.product-body ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: #c9a87f; }

/* ========== 新闻列表页 ========== */
.news-list { max-width: 860px; margin: 0 auto; }
.news-row {
  display: flex; gap: 28px; padding: 28px 0; border-bottom: 1px solid #f0e7da;
  transition: padding-left .2s;
}
.news-row:hover { padding-left: 8px; }
.news-row:hover h3 { color: #2b8fd4; }
.news-row .date-box {
  flex-shrink: 0; width: 86px; text-align: center;
  background: #faf1e3; border-radius: 14px; padding: 14px 0;
}
.news-row .date-box b { display: block; font-size: 26px; color: #8b5e3c; }
.news-row .date-box span { font-size: 12px; color: #a39685; }
.news-row h3 { font-size: 19px; margin-bottom: 8px; }
.news-row p { font-size: 14px; color: #8d8272; }
.news-row .more { font-size: 13px; color: #2b8fd4; font-weight: 500; }

/* ========== 联系页 ========== */
.section-contact { background: linear-gradient(180deg, #fdfaf5 0%, #f7f4ef 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 40px; align-items: stretch; }
.contact-info { width: 100%; }
.contact-info h2 { font-size: 28px; margin-bottom: 26px; }
.contact-item {
  display: flex; gap: 18px; margin-bottom: 16px;
  background: #fff; border: 1px solid #f0e7da; border-radius: 16px;
  padding: 20px 22px; box-shadow: 0 8px 24px rgba(51, 48, 43, .05);
}
.contact-item:last-child { margin-bottom: 0; }
.contact-item svg { width: 26px; height: 26px; flex-shrink: 0; margin-top: 2px; }
.contact-item b { display: block; color: #33302b; font-size: 16px; margin-bottom: 5px; }
.contact-item span { font-size: 15px; color: #6b6156; }
.map-wrap {
  min-height: 420px; border-radius: 18px; overflow: hidden;
  border: 1px solid #f0e7da; background: #fff;
  box-shadow: 0 12px 32px rgba(51, 48, 43, .07);
  display: flex; flex-direction: column;
}
.map-wrap #map { flex: 1; min-height: 420px; }
.contact-form {
  background: #fff; border: 1px solid #f0e7da; border-radius: 18px; padding: 38px 36px;
  box-shadow: 0 12px 32px rgba(51, 48, 43, .07);
}
.contact-form h3 { font-size: 20px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; color: #4a4239; margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 11px 14px; border: 1px solid #e9dfd1; border-radius: 12px;
  font-size: 14px; font-family: inherit; color: #33302b; transition: border .2s; background: #fdfaf5;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: #2b8fd4; }
.form-group textarea { height: 110px; resize: vertical; }
.form-submit { width: 100%; border: none; cursor: pointer; font-size: 16px; padding: 13px 0; }
.form-tip { text-align: center; font-size: 13px; color: #a39685; margin-top: 14px; }
.map-placeholder { margin-top: 56px; border-radius: 18px; overflow: hidden; border: 1px solid #f0e7da; }
.map-placeholder svg { display: block; width: 100%; height: auto; }

/* ========== 产品实拍图墙 ========== */
.section-gallery { background: #e8eef5; }
.section-gallery .section-head h2,
.section-gallery .section-head .en { color: #2b4a66; }
.section-gallery .section-head p { color: #5a6b7a; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-card {
  background: #f7fafc; border: 1px solid #dbe4ed; border-radius: 14px; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(30, 80, 120, .10); }
.gallery-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; cursor: zoom-in; }
.gallery-name {
  margin: 12px 14px 16px; padding: 9px 12px;
  border: 1px dashed #c4d0dc; border-radius: 10px; background: #fff;
  font-size: 13px; color: #6a7b8a; text-align: center;
}

/* ========== 合作客户 Logo 墙 ========== */
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.logo-cell {
  background: #fff;
  border: 1px solid #efe8dd;
  border-radius: 16px;
  height: 130px;
  display: flex; align-items: center; justify-content: center;
  padding: 20px 24px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.logo-cell img { max-width: 100%; max-height: 88px; object-fit: contain; filter: saturate(.92); }
.logo-cell:hover {
  transform: translateY(-4px);
  border-color: #d9ecfa;
  box-shadow: 0 12px 28px rgba(43, 143, 212, .12);
}
.logo-cell:hover img { filter: saturate(1.05); }
.clients-note { margin-top: 34px; text-align: center; color: #8a7f70; font-size: 14px; }

/* ========== 响应式 ========== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; }
  .hero h1 { font-size: 34px; }
  .hero { padding: 70px 0; }
  .card-grid, .news-grid, .product-grid, .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .about-teaser, .about-intro, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-info h2 { text-align: center; }
  .map-wrap, .map-wrap #map { min-height: 340px; }
  .culture-list { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fdfaf5; border-bottom: 1px solid #efe5d8; padding: 10px 24px 18px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
}
@media (max-width: 640px) {
  .card-grid, .news-grid, .product-grid, .honor-grid, .value-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .logo-cell { height: 104px; padding: 14px 16px; border-radius: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .news-row { flex-direction: column; gap: 14px; }
  .news-row .date-box { width: 100%; padding: 10px 0; }
  .contact-item { padding: 16px 18px; }
  .map-wrap, .map-wrap #map { min-height: 280px; }
  .culture-list { grid-template-columns: 1fr; }
  .culture-item { padding: 22px 18px; }
  .history-timeline { padding: 22px 18px; max-height: none; }
  .history-item { flex-direction: column; gap: 10px; }
  .history-year { width: auto; text-align: left; }
  .history-icon { width: 36px; height: 36px; }
  .history-icon svg { width: 22px; height: 22px; }
}

/* ========== 产品图灯箱 ========== */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(20, 24, 28, 0.92);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90%; max-height: 90%;
  object-fit: contain; border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255, 255, 255, 0.12);
  color: #fff; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%;
  font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox-counter {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 14px; background: rgba(0, 0, 0, 0.45);
  padding: 6px 16px; border-radius: 20px;
}
@media (max-width: 640px) {
  .lightbox { padding: 16px; }
  .lightbox-prev, .lightbox-next { width: 36px; height: 36px; font-size: 16px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
