/* 全局 */
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #2c3e50;
  background: #fff;
  line-height: 1.7;
  font-weight: 400;
}
:root {
  --primary: #e63946;
  --dark: #1d3557;
  --light: #f1faee;
  --gray: #a8dadc;
  --text: #2c3e50;
  --muted: #6c757d;
  --bg: #fff;
  --bg-alt: #f8f9fa;
  --border: #e9ecef;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* 导航 */
.navbar {
  position: fixed; top: 36px; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: 72px;
}
.fact-strip {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  background: linear-gradient(90deg, #1d3557 0%, #e63946 100%);
  color: #fff;
  padding: 8px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
body { padding-top: 110px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo h1 { font-size: 20px; font-weight: 700; color: var(--primary); }
.nav-container { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; list-style: none; gap: 28px; }
.nav-link {
  font-weight: 500;
  position: relative;
  padding: 8px 4px;
  transition: color .2s;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  width: 0; height: 2px; background: var(--primary);
  transition: all .2s;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; left: 0; }
.language-switch { display: flex; gap: 6px; border: 1px solid var(--border); border-radius: 999px; padding: 4px; }
.lang-btn { border: none; background: transparent; padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--muted); transition: all .2s; }
.lang-btn.active { background: var(--primary); color: #fff; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 26px; height: 3px; background: var(--text); border-radius: 2px; }

/* Hero 轮播 */
.hero { margin-top: 0; position: relative; }
.hero-slider { position: relative; height: 75vh; min-height: 600px; max-height: 900px; overflow: hidden; background: #000; }
.slider-wrapper { display: flex; height: 100%; transition: transform .8s ease; }
.slide { min-width: 100%; height: 100%; flex-shrink: 0; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.4); color: #fff; border: none;
  width: 50px; height: 50px; border-radius: 50%;
  font-size: 22px; font-weight: bold;
  transition: background .2s;
}
.slider-btn:hover { background: rgba(0,0,0,0.7); }
.prev-btn { left: 20px; }
.next-btn { right: 20px; }
.slider-dots {
  position: absolute; bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
}
.slider-dots button {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid #fff; background: transparent;
  transition: background .2s;
}
.slider-dots button.active { background: #fff; }

/* 章节通用 */
section { padding: 80px 0; }
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 50px;
  position: relative;
}
.section-title::after {
  content: ''; display: block; width: 60px; height: 4px;
  background: var(--primary); border-radius: 2px;
  margin: 16px auto 0;
}
.section-subtitle { font-size: 24px; font-weight: 700; color: var(--dark); margin: 40px 0 24px; }
.section-description { text-align: center; color: var(--muted); margin-top: -30px; margin-bottom: 40px; }

/* 优势 */
.advantages { background: var(--bg-alt); }
.advantages-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.advantage-card {
  background: #fff; border-radius: 12px; padding: 30px 24px;
  text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: transform .3s, box-shadow .3s;
}
.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(230,57,70,0.15);
}
.advantage-icon { margin-bottom: 16px; }
.advantage-card h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.advantage-card p { color: var(--muted); font-size: 14px; }

/* 工厂介绍 */
.factory-intro { background: #fff; }
.intro-content { max-width: 900px; margin: 0 auto; }
.intro-text { font-size: 16px; line-height: 2; }
.intro-text p { margin-bottom: 16px; }

/* 产品 */
.products { background: var(--bg-alt); }
.products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.product-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: transform .3s, box-shadow .3s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.product-image { width: 100%; height: 200px; overflow: hidden; background: #f0f0f0; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-image img { transform: scale(1.06); }
.product-info { padding: 20px; }
.product-title { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.product-description { font-size: 13px; color: var(--muted); margin-bottom: 14px; min-height: 60px; }
.product-link {
  display: inline-block; color: var(--primary);
  font-weight: 500; font-size: 14px;
}
.product-link:hover { text-decoration: underline; }

/* 关于公司 */
.about { background: #fff; }
.workshop-content {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px;
}
.workshop-item {
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  background: #fff;
}
.workshop-image { width: 100%; height: 220px; overflow: hidden; }
.workshop-image img { width: 100%; height: 100%; object-fit: cover; }
.workshop-info { padding: 24px; }
.workshop-info h4 { font-size: 19px; color: var(--dark); margin-bottom: 10px; }
.workshop-info p { color: var(--muted); font-size: 14px; }

.timeline { display: flex; flex-direction: column; gap: 24px; }
.timeline-item {
  display: flex; background: #fff;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.timeline-image { width: 280px; flex-shrink: 0; height: 200px; }
.timeline-image img { width: 100%; height: 100%; object-fit: cover; }
.timeline-info { padding: 24px; flex: 1; }
.timeline-info h4 { font-size: 19px; color: var(--dark); margin-bottom: 10px; }
.timeline-info p { color: var(--muted); font-size: 14px; }

/* 资质卡片网格(原 timeline 已被替换为 grid) */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.credential-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  cursor: zoom-in;
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.credential-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}
.credential-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f6f7f9;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.credential-img img {
  width: 100%; height: 100%;
  object-fit: contain;            /* 资质图等比完整显示,不裁剪 */
  padding: 8px;
}
.credential-title {
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  text-align: center;
  border-top: 1px solid var(--border);
  line-height: 1.4;
}

/* 品牌 */
.brands { background: var(--bg-alt); }
.brands-sphere-container {
  display: flex; justify-content: center;
  align-items: center;
  min-height: 360px;
  overflow: hidden;
}
.brands-sphere {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  width: 100%;
}
.brand-sphere-item {
  background: #fff; padding: 14px 14px 10px; border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 150px; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform .3s, box-shadow .3s;
  position: relative;
  cursor: pointer;
  margin: 0;
}
.brand-sphere-item:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.brand-sphere-logo {
  display: flex; align-items: center; justify-content: center;
  height: 64px; width: 100%;
}
.brand-sphere-logo img { max-width: 100%; max-height: 64px; object-fit: contain; }
.brand-sphere-name {
  margin-top: 8px; font-size: 12px; color: var(--muted);
  text-align: center; line-height: 1.3;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* SEO 友好:对爬虫/屏幕阅读器可见、对视觉用户不可见 */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
  border: 0;
}

/* brand 描述 hover tooltip */
.brand-tip {
  position: absolute; z-index: 999;
  transform: translate(-50%, -100%);
  background: #1d3557; color: #fff;
  padding: 8px 12px; border-radius: 8px;
  font-size: 13px; line-height: 1.5;
  max-width: 280px; min-width: 120px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  pointer-events: none;
  animation: brandTipIn .15s ease-out;
}
.brand-tip::after {
  content: ''; position: absolute;
  top: 100%; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1d3557;
}
@keyframes brandTipIn { from { opacity: 0; transform: translate(-50%, calc(-100% + 6px)); } to { opacity: 1; transform: translate(-50%, -100%); } }

/* 代加工 */
.oem-service { background: #fff; }
.oem-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.oem-item {
  background: var(--bg-alt);
  padding: 24px 20px;
  border-radius: 10px;
  border-top: 4px solid var(--primary);
}
.oem-item h3 {
  font-size: 18px; color: var(--dark);
  margin-bottom: 16px;
}
.oem-item ul { list-style: none; }
.oem-item ul li {
  padding: 6px 0; color: var(--text);
  font-size: 14px;
  position: relative; padding-left: 18px;
}
.oem-item ul li::before {
  content: '▸'; position: absolute; left: 0;
  color: var(--primary);
}

/* 新闻 */
.news-section { background: var(--bg-alt); }
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.news-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  cursor: pointer; transition: transform .3s, box-shadow .3s;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.news-card-image { width: 100%; height: 180px; overflow: hidden; background: linear-gradient(135deg, #e63946, #1d3557); }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 20px; }
.news-card-title { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; line-height: 1.4; }
.news-card-summary { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.news-card-date { font-size: 12px; color: var(--muted); }
.news-empty { text-align: center; color: var(--muted); padding: 40px; grid-column: 1/-1; }

/* 联系 */
.contact { background: #fff; }
.contact-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.contact-info h3, .contact-map h3 { font-size: 22px; color: var(--dark); margin-bottom: 16px; }
.contact-info p { margin-bottom: 10px; color: var(--text); }
.contact-buttons { margin-top: 20px; }
.btn {
  display: inline-block; padding: 12px 32px;
  background: var(--primary); color: #fff; border: none;
  border-radius: 999px; font-weight: 500;
  transition: all .2s;
}
.btn:hover { background: #c1121f; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(230,57,70,0.3); }
.map-placeholder { width: 100%; border-radius: 12px; overflow: hidden; }
.map-placeholder img { width: 100%; }

/* 页脚 */
.footer { background: var(--dark); color: #c5d2dc; padding: 60px 0 0; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 30px; }
.footer-logo h3 { color: #fff; font-size: 18px; margin-bottom: 12px; }
.footer-links h4, .footer-contact h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--primary); }
.footer-contact p { margin-bottom: 6px; font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0; text-align: center;
  font-size: 13px;
}
.footer-bottom a { color: #c5d2dc; }
.footer-bottom a:hover { color: #fff; }

/* 模态框 */
.modal {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.82);
  z-index: 1000;
  align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: modalFadeIn .25s ease-out;
}
.modal.show { display: flex; }
@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-content {
  background: #fff; max-width: 900px; width: 100%;
  border-radius: 12px; overflow: hidden;
  position: relative; max-height: 90vh; overflow-y: auto;
}
.modal-content .close {
  position: absolute; top: 16px; right: 20px;
  font-size: 28px; cursor: pointer; z-index: 2;
  color: #fff; background: rgba(0,0,0,0.5);
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.modal-body { padding: 40px; }
.product-detail-image { width: 100%; border-radius: 8px; margin-bottom: 24px; background: #f5f5f5; }
.product-detail-image img { width: 100%; height: auto; max-height: 70vh; object-fit: contain; display: block; }
.product-detail-info h2 { color: var(--dark); margin-bottom: 16px; font-size: 26px; }
.product-detail-info p { color: var(--muted); margin-bottom: 24px; line-height: 1.8; }
.wechat-qrcode { text-align: center; padding: 20px; }
.wechat-qrcode h2 { font-size: 24px; color: var(--dark); margin-bottom: 16px; }
.qrcode-image { display: flex; justify-content: center; }
.qrcode-image img { width: 240px; height: 240px; border: 1px solid var(--border); padding: 8px; }
.news-detail-body h2 { color: var(--dark); font-size: 28px; margin-bottom: 12px; }
.news-modal-date { color: var(--muted); margin-bottom: 24px; font-size: 14px; }
.news-modal-content { line-height: 1.9; color: var(--text); white-space: pre-wrap; }

/* 响应式 */
@media (max-width: 992px) {
  .advantages-grid, .products-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .oem-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .credentials-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-container {
    position: fixed; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column;
    padding: 20px; border-bottom: 1px solid var(--border);
    transform: translateY(-100%); transition: transform .3s;
    gap: 16px;
  }
  .nav-container.open { transform: translateY(0); }
  .nav-links { flex-direction: column; gap: 16px; width: 100%; }
  .advantages-grid, .products-grid { grid-template-columns: 1fr; }
  .workshop-content, .oem-grid { grid-template-columns: 1fr; }
  .timeline-item { flex-direction: column; }
  .timeline-image { width: 100%; height: 180px; }
  .credentials-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .credential-title { font-size: 13px; padding: 10px 12px; }
  .brands-sphere { grid-template-columns: repeat(2, 1fr); }
  .contact-content { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 26px; }
  section { padding: 50px 0; }
}

/* ============== Logo SVG 系统 ============== */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.logo-mark { width: 36px; height: 36px; flex-shrink: 0; }
.logo-mark-uploaded { object-fit: contain; border-radius: 6px; }
/* 当用户上传了 logo 时,给 wrap 一个稍大的尺寸,避免图片被压扁 */
.logo-mark-wrap:has(.logo-mark-uploaded) { width: auto; height: auto; display: inline-flex; }
.logo-mark-wrap:has(.logo-mark-uploaded) .logo-mark-fallback { display: none; }
.logo-wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: 18px; font-weight: 800; color: var(--dark); }
.logo-tagline { font-size: 11px; color: var(--muted); margin-top: 2px; letter-spacing: .5px; }

/* ============== Hero overlay(覆盖在轮播上) ============== */
.hero { position: relative; }
.hero-slider {
  position: relative;
  width: 100%;
  height: 88vh;
  min-height: 640px;
  max-height: 960px;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,.55) 0%, rgba(15,23,42,.25) 40%, rgba(15,23,42,.55) 100%);
  z-index: 2;
  pointer-events: none;
}
.hero-content {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: min(90%, 980px);
  text-align: center;
  color: #fff;
  padding: 24px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 2px;
  background: rgba(255,209,102,.92);
  color: #1d3557;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.hero-subtitle {
  font-size: clamp(15px, 1.6vw, 20px);
  margin-bottom: 28px;
  opacity: .95;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-hero-cta, .hero-cta-primary {
  background: var(--primary);
  color: #fff;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 6px 18px rgba(230,57,70,.4);
}
.hero-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(230,57,70,.5); }
.hero-cta-secondary, .btn-ghost-light {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
  padding: 12px 30px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background .2s;
}
.hero-cta-secondary:hover { background: rgba(255,255,255,.3); }
.btn-ghost {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
}
.btn-ghost:hover { background: var(--bg-alt); }

/* ============== Trust bar overlay ============== */
.trust-bar-overlay {
  position: absolute;
  left: 50%; bottom: 30px;
  transform: translateX(-50%);
  z-index: 4;
  width: min(95%, 1100px);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-numbers { display: flex; gap: 28px; flex-wrap: wrap; }
.trust-num {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}
.trust-num-value {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.trust-num-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 1px;
}
.trust-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.trust-pill {
  font-size: 12px;
  background: var(--bg-alt);
  color: var(--dark);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

/* ============== 微信二维码 Modal Tabs ============== */
.qrcode-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  justify-content: center;
}
.qrcode-tab {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.qrcode-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.qrcode-pane { display: none; }
.qrcode-pane.active { display: block; }

/* ============== Photo Modal(资质灯箱) ============== */
.photo-modal-content {
  background: linear-gradient(180deg, #0d1117 0%, #161b22 100%);
  max-width: 1080px;
  width: 95%;
  max-height: 92vh;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06);
}
.photo-modal-content .close {
  position: absolute;
  top: 14px; right: 16px;
  z-index: 5;
  background: rgba(255,255,255,.12);
  color: #fff;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .25s, border-color .2s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.photo-modal-content .close:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.35);
  transform: rotate(90deg);
}
.photo-modal-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 32px 32px 24px;
  background:
    radial-gradient(ellipse at center, rgba(255,255,255,.04) 0%, transparent 65%),
    linear-gradient(180deg, #0a0d12 0%, #11151c 100%);
}
.photo-modal-stage img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow:
    0 12px 40px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.08);
}
.photo-modal-caption {
  padding: 18px 28px 22px;
  color: #f0f3f8;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,.05) 100%);
  border-top: 1px solid rgba(255,255,255,.08);
  letter-spacing: .3px;
  position: relative;
}
.photo-modal-caption::before {
  content: '✓';
  display: inline-block;
  width: 22px; height: 22px;
  line-height: 22px;
  margin-right: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  vertical-align: middle;
  box-shadow: 0 2px 6px rgba(16,185,129,.4);
}
.photo-modal-prev, .photo-modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .2s, transform .2s;
}
.photo-modal-prev { left: 16px; }
.photo-modal-next { right: 16px; }
.photo-modal-prev:hover, .photo-modal-next:hover {
  background: rgba(255,255,255,.22);
  transform: translateY(-50%) scale(1.06);
}

@media (max-width: 768px) {
  .hero-title { font-size: 26px !important; }
  .hero-subtitle { font-size: 14px !important; }
  .hero-cta-primary, .hero-cta-secondary { padding: 10px 20px; font-size: 14px; }
  .trust-bar-overlay { bottom: 10px; padding: 12px 14px; }
  .trust-numbers { gap: 14px; }
  .trust-num-value { font-size: 22px; }
  .trust-num-label { font-size: 10px; }
  .photo-modal-prev, .photo-modal-next { width: 36px; height: 36px; font-size: 20px; }
}
