/* ===== 模具企业官网 前台样式（白金 · 液态玻璃 · 方正） ===== */
:root {
  --bg: #f6f4ee;
  --bg-2: #f0ede4;
  --bg-3: #e9e5d9;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.84);
  --glass-border: rgba(24, 22, 14, 0.11);
  --gold: #b8942f;
  --gold-2: #c9a227;
  --gold-deep: #8a6d1d;
  --gold-soft: rgba(185, 148, 47, 0.13);
  --gold-line: rgba(185, 148, 47, 0.55);
  --text: #201d15;
  --muted: #5b5648;
  --muted-2: #928b78;
  --dark: #171512;
  --danger: #c0392b;
  --radius: 4px;
  --blur: 12px;
  --shadow: 0 12px 30px rgba(60, 50, 20, 0.1);
  --shadow-soft: 0 6px 18px rgba(60, 50, 20, 0.07);
  --font: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); }

.container { width: min(1240px, 94vw); margin: 0 auto; }
.center { text-align: center; }

/* ===== 液态玻璃基底 ===== */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}
.glass-strong {
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}
/* 【性能关键】内容区一律不做实时毛玻璃：
   滚动时 backdrop-filter 会让浏览器每帧重新采样模糊背景，卡片一多整页都会掉帧。
   这里用「静态半透明 + 描边 + 高光」还原玻璃质感，模糊只留给顶栏/弹窗这类小面积元素。 */
main, main * {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* ===== 按钮（方正） ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius);
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-gold {
  background: linear-gradient(135deg, #e8cd6f 0%, var(--gold) 45%, var(--gold-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(185, 148, 47, 0.32);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(185, 148, 47, 0.44); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.45);
  color: var(--gold-deep);
  border: 1px solid var(--gold-line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--gold-soft); border-color: var(--gold); transform: translateY(-2px); }

/* PC 首页首屏主按钮：黑金配色 */
@media (min-width: 768px) {
  #hero .hero-actions .btn-gold {
    background: linear-gradient(180deg, #1e1c15 0%, #0d0d0d 100%);
    color: #efd886;
    border: 1px solid rgba(232, 205, 111, 0.72);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
  }
  #hero .hero-actions .btn-gold:hover {
    background: linear-gradient(135deg, #f1db92 0%, #c9a227 100%);
    color: #15130d;
    border-color: #e8cd6f;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
  }
}
.btn-block { width: 100%; }

/* ===== 顶栏：顶部透明（仅首页），滚动后液态玻璃 ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.header.is-solid {
  background: rgba(246, 244, 238, 0.95);
  border-bottom-color: var(--gold-line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; min-width: 0; }
.brand-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: auto;
  min-width: 48px;
  max-width: 196px;
  padding: 0;
  box-sizing: border-box;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  flex-shrink: 0;
}
/* 商标按原始比例缩放：方形是 1:1，长条横版自动变宽，不拉伸 */
.brand-logo { display: block; width: auto; height: 100%; max-width: 100%; object-fit: contain; padding: 0; transition: filter 0.3s ease; }
/* 透明导航时给文字商标一点投影，不再加白色底板 */
.header:not(.is-solid) .brand-logo { filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45)); }
.header.is-solid .brand-logo { filter: brightness(0) saturate(100%); }
.footer .brand-logo { filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35)); }
.brand.has-wide-logo .brand-text { display: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.brand-text strong {
  font-size: 16px;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  transition: color 0.3s ease, text-shadow 0.3s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.brand-text small { font-size: 10.5px; color: var(--gold-2); letter-spacing: 0.5px; }
.header.is-solid .brand-text strong { color: var(--text); text-shadow: none; }

/* 导航 + 液态高亮 */
.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav-highlight {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  border-radius: var(--radius);
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(185, 148, 47, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: left 0.38s cubic-bezier(0.32, 0.9, 0.32, 1.08), top 0.38s, width 0.38s, height 0.38s, opacity 0.25s ease;
}
.nav-link {
  position: relative;
  z-index: 1;
  padding: 8px 11px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.3px;
  border-radius: var(--radius);
  white-space: nowrap;
  flex-shrink: 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  transition: color 0.2s ease, text-shadow 0.3s ease;
}
.nav-link:hover { color: #f5e08a; }
.nav-link.is-active { color: #f5e08a; }
.header.is-solid .nav-link { color: var(--text); text-shadow: none; }
.header.is-solid .nav-link:hover, .header.is-solid .nav-link.is-active { color: var(--gold-deep); }

.header-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* 语言按钮（打开语言选择弹窗） */
.lang-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 13.5px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.25s ease;
}
.lang-trigger svg { width: 16px; height: 16px; stroke: currentColor; }
.lang-trigger:hover { border-color: var(--gold-2); color: #f5e08a; }
.header.is-solid .lang-trigger {
  border-color: var(--glass-border);
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
}
.header.is-solid .lang-trigger:hover { border-color: var(--gold); color: var(--gold-deep); }

/* 语言选择弹窗（图二同款） */
.lang-modal-card {
  position: relative;
  z-index: 1;
  width: min(400px, 92vw);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(24, 22, 14, 0.14);
  border-radius: 8px;
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 30px 80px rgba(40, 32, 8, 0.28);
  overflow: hidden;
  margin: 0;
}
.lang-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(24, 22, 14, 0.08);
}
.lang-modal-head strong { font-size: 16px; color: var(--text); letter-spacing: 2px; }
.lang-modal-head .modal-close { position: static; border: none; background: transparent; color: var(--muted); width: 34px; height: 34px; }
.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 22px;
  border: none;
  background: transparent;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background 0.18s ease;
}
.lang-option + .lang-option { border-top: 1px solid rgba(24, 22, 14, 0.06); }
.lang-option .lang-code { color: var(--muted-2); font-size: 13px; letter-spacing: 1px; }
.lang-option:hover { background: rgba(185, 148, 47, 0.08); }
.lang-option.is-active { background: var(--gold-soft); }
.lang-option.is-active span { color: var(--gold-deep); font-weight: 700; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 0 auto; transition: transform 0.3s ease, opacity 0.3s ease; }
.header.is-solid .nav-toggle { border-color: var(--glass-border); background: rgba(255, 255, 255, 0.6); }
.header.is-solid .nav-toggle span { background: var(--text); }
.nav-mask { display: none; }

/* ===== 首屏轮播 ===== */
.hero {
  position: relative;
  height: min(94vh, 900px);
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-track {
  position: absolute;
  inset: 0;
  display: flex;
  height: 100%;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hero-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
}
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: translate3d(0, 0, 0) scale(1);
  transition: transform 6s linear;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.hero-slide.is-active img { transform: translate3d(0, 0, 0) scale(1.06); will-change: transform; }
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 8, 4, 0.82) 0%, rgba(10, 8, 4, 0.48) 48%, rgba(10, 8, 4, 0.16) 100%),
    linear-gradient(to top, rgba(10, 8, 4, 0.8) 0%, rgba(10, 8, 4, 0) 30%);
}
.hero-content { position: relative; z-index: 2; padding: 138px 0 104px; }
.hero-title {
  font-size: clamp(26px, 3.2vw, 40px);
  color: #fff;
  line-height: 1.28;
  max-width: 720px;
  letter-spacing: 1.5px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.55);
}
.hero-sub {
  margin-top: 18px;
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
}
.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-arrows { display: none; }
.hero-dots {
  position: absolute;
  left: 0; right: 0; bottom: 34px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-dot {
  width: 26px; height: 4px;
  border: none;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.hero-dot.is-active { background: var(--gold-2); width: 44px; }

/* ===== 内页横幅 ===== */
.page-hero {
  position: relative;
  padding: 168px 0 78px;
  background:
    radial-gradient(900px 340px at 78% -60px, rgba(185, 148, 47, 0.2), transparent 60%),
    linear-gradient(170deg, #fbfaf6 0%, var(--bg-2) 100%);
  border-bottom: 1px solid rgba(185, 148, 47, 0.28);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(185, 148, 47, 0.035) 0 2px, transparent 2px 14px);
  pointer-events: none;
}
.page-hero h1 {
  position: relative;
  font-size: clamp(23px, 2.4vw, 32px);
  color: var(--text);
  letter-spacing: 2px;
  font-weight: 800;
}
.page-hero h1::after {
  content: "";
  display: block;
  width: 56px; height: 4px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.page-hero .page-sub {
  position: relative;
  margin-top: 16px;
  color: var(--muted);
  max-width: 680px;
  font-size: 14.5px;
}

/* ===== 通用区块 ===== */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid rgba(24, 22, 14, 0.06); border-bottom: 1px solid rgba(24, 22, 14, 0.06); }
.sec-title {
  font-size: clamp(19px, 1.95vw, 26px);
  color: var(--text);
  letter-spacing: 1.5px;
  line-height: 1.35;
  margin-bottom: 12px;
  font-weight: 800;
}
.sec-title::after {
  content: "";
  display: block;
  width: 46px; height: 4px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.sec-title.center { text-align: center; }
.sec-title.center::after { margin-left: auto; margin-right: auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.sec-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 40px; }
.sec-sub.center { text-align: center; }
.sub-title { font-size: 19px; color: var(--gold-deep); margin: 44px 0 20px; letter-spacing: 1.5px; }
.sub-title:first-of-type { margin-top: 6px; }

/* ===== 首页简介 ===== */
.home-intro .intro-body {
  max-width: 860px;
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 26px;
}
.home-intro .btn { margin-top: 4px; }

/* ===== 产品自动滑屏（走马灯） ===== */
.marquee { overflow: hidden; padding: 6px 0; }
.marquee-track {
  display: flex;
  width: max-content;
  transform: translate3d(0, 0, 0);
  animation: marqueeMove var(--marquee-dur, 56s) linear infinite;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  contain: paint;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeMove {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.m-card {
  display: flex;
  flex-direction: column;
  width: calc(100vw / var(--visible, 4));
  padding: 0 12px;
  flex-shrink: 0;
}
.m-card-inner {
  display: flex;
  flex-direction: column;
  /* 慢滑中的卡片不能用 backdrop-filter：每帧重新模糊会让滚动掉帧，改用实底半透明 */
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.m-card:hover .m-card-inner {
  transform: translateY(-6px);
  border-color: var(--gold-line);
  box-shadow: 0 20px 46px rgba(60, 50, 20, 0.2);
}
.m-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.m-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.m-card:hover .m-media img { transform: scale(1.07); }
.m-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.m-name { color: var(--gold-deep); font-size: 16.5px; letter-spacing: 0.5px; }
.m-desc {
  color: var(--muted);
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== 卡片网格（产品页/证书/新闻） ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}
.p-card {
  display: flex;
  flex-direction: column;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(150%);
  backdrop-filter: blur(var(--blur)) saturate(150%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.p-card:hover { transform: translateY(-6px); border-color: var(--gold-line); box-shadow: 0 20px 46px rgba(60, 50, 20, 0.2); }
.p-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.p-card:hover .p-media img { transform: scale(1.07); }
.p-body { padding: 18px 20px 22px; }
.p-body h3 { color: var(--gold-deep); font-size: 17px; margin-bottom: 8px; letter-spacing: 0.5px; }
.p-body p {
  color: var(--muted);
  font-size: 13.5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== 关于我们 ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 52px;
  align-items: center;
}
.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-body { color: var(--muted); }
.about-body p { margin-bottom: 14px; }
.about-points { margin-top: 24px; display: grid; gap: 12px; }
.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
  font-size: 15px;
}
.about-points li::before {
  content: "";
  flex-shrink: 0;
  width: 8px; height: 8px;
  margin-top: 9px;
  background: var(--gold);
  border-radius: 2px;
}

/* ===== 数据条 ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(185, 148, 47, 0.22);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  text-align: center;
  padding: 30px 12px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.stat strong {
  display: block;
  font-size: 34px;
  color: var(--gold-deep);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 1px;
}
.stat span { font-size: 13.5px; color: var(--muted); }

/* ===== 能力卡片 ===== */
.cap-card {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(150%);
  backdrop-filter: blur(var(--blur)) saturate(150%);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.cap-card:hover { transform: translateY(-5px); border-color: var(--gold-line); box-shadow: 0 18px 42px rgba(60, 50, 20, 0.18); }
.cap-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  color: var(--gold-deep);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 16px;
}
.cap-card h3 { font-size: 17px; color: var(--gold-deep); margin-bottom: 8px; letter-spacing: 1px; }
.cap-card p { font-size: 13.5px; color: var(--muted); }

/* ===== 设备表 ===== */
.table-wrap {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--glass);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(150%);
  backdrop-filter: blur(var(--blur)) saturate(150%);
}
.equip-table { width: 100%; border-collapse: collapse; }
.equip-table th {
  background: rgba(185, 148, 47, 0.14);
  color: var(--gold-deep);
  text-align: left;
  padding: 14px 22px;
  font-size: 14.5px;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--gold-line);
}
.equip-table td {
  padding: 13px 22px;
  font-size: 14px;
  border-top: 1px solid var(--glass-border);
  color: var(--text);
}
.equip-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.4); }
.equip-table td:last-child { color: var(--muted); }

/* ===== 证书 ===== */
.cert-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.cert-card { cursor: pointer; }
.cert-media {
  aspect-ratio: 3 / 4;
  background: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}
.cert-media img { max-height: 100%; object-fit: contain; transition: transform 0.4s ease; border-radius: 2px; }
.cert-card:hover .cert-media img { transform: scale(1.05); }
.cert-card h3 {
  padding: 13px 16px 17px;
  font-size: 14px;
  color: var(--gold-deep);
  text-align: center;
  letter-spacing: 0.5px;
}
.empty-hint {
  text-align: center;
  color: var(--muted);
  padding: 34px 0;
  font-size: 14px;
}

/* ===== 服务流程 ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.process-step {
  position: relative;
  text-align: center;
  padding: 30px 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(150%);
  backdrop-filter: blur(var(--blur)) saturate(150%);
  box-shadow: var(--shadow-soft);
}
.process-step + .process-step::before {
  content: "";
  position: absolute;
  left: -26px; top: 50%;
  width: 26px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
  opacity: 0.6;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e8cd6f, var(--gold-deep));
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 16px; color: var(--gold-deep); margin-bottom: 8px; letter-spacing: 1px; }
.process-step p { font-size: 13px; color: var(--muted); }

/* ===== 联系与询盘 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: start;
}
.contact-list { display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg { width: 19px; height: 19px; stroke: var(--gold-deep); }
.contact-item-text strong { display: block; font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 2px; }
.contact-item-text span, .contact-item-text a { font-size: 15px; color: var(--text); font-weight: 600; }
.contact-item-text a:hover { color: var(--gold-deep); }
.contact-form { padding: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13.5px; color: var(--gold-deep); margin-bottom: 7px; letter-spacing: 1px; }
.form-field input, .form-field textarea, .social-row select {
  width: 100%;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 14.5px;
  font-family: var(--font);
  color: var(--text);
  outline: none;
  background: rgba(255, 255, 255, 0.65);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus, .form-field textarea:focus, .social-row select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 148, 47, 0.15);
}
.form-field textarea { resize: vertical; }
.social-row { display: flex; gap: 8px; align-items: stretch; }
.social-row select { flex: 0 0 38%; width: 38%; padding-right: 30px; cursor: pointer; }
.social-row input { flex: 1 1 auto; min-width: 0; }
.hp-field { position: absolute !important; left: -9999px !important; top: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ===== 产品详情页 ===== */
.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-detail-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}
.product-detail-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-detail h1 {
  font-size: clamp(20px, 2.1vw, 27px);
  color: var(--text);
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.product-detail .pd-line { width: 46px; height: 4px; background: linear-gradient(90deg, var(--gold), transparent); margin-bottom: 22px; }
.product-detail .pd-desc { color: var(--muted); font-size: 15.5px; margin-bottom: 30px; }
.pd-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== 行业新闻 ===== */
.news-list { display: grid; gap: 22px; }
.news-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(150%);
  backdrop-filter: blur(var(--blur)) saturate(150%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.news-card:hover { transform: translateY(-4px); border-color: var(--gold-line); box-shadow: 0 18px 44px rgba(60, 50, 20, 0.18); }
.news-media { overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.news-card:hover .news-media img { transform: scale(1.06); }
.news-info { padding: 20px 24px 22px; display: flex; flex-direction: column; }
.news-date { font-size: 12.5px; color: var(--muted-2); letter-spacing: 1px; margin-bottom: 8px; }
.news-info h3 { font-size: 18px; color: var(--gold-deep); margin-bottom: 10px; letter-spacing: 0.5px; }
.news-info .news-summary { font-size: 14px; color: var(--muted); flex: 1; }
.news-more { margin-top: 14px; font-size: 13px; color: var(--gold-deep); font-weight: 600; letter-spacing: 0.5px; }
.news-article .news-hero {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}
.news-article .news-hero img { width: 100%; max-height: 420px; object-fit: cover; }
.news-article .news-meta { color: var(--muted-2); font-size: 13px; letter-spacing: 1px; margin-bottom: 14px; }
.news-article .news-body p { margin-bottom: 16px; color: var(--muted); font-size: 15.5px; }
.news-back { margin-bottom: 26px; }

/* ===== 页脚 ===== */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--gold-line);
  color: rgba(255, 255, 255, 0.8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 44px;
  padding: 56px 0 40px;
}
.footer-logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo-row strong { color: #fff; font-size: 17px; letter-spacing: 1px; }
.footer-brand p { font-size: 13.5px; max-width: 340px; color: rgba(255, 255, 255, 0.6); }
.footer-col h4 { color: var(--gold-2); font-size: 14.5px; margin-bottom: 16px; letter-spacing: 1.5px; }
.footer-col a, .footer-col p { display: block; font-size: 13.5px; margin-bottom: 10px; color: rgba(255, 255, 255, 0.72); }
.footer-col a:hover { color: var(--gold-2); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 18px 0; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-admin { margin-left: 10px; color: rgba(255, 255, 255, 0.5); }
.footer-admin:hover { color: var(--gold-2); }
.footer-lang {
  margin-left: auto;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.footer-lang:hover { color: var(--gold-2); border-color: rgba(232, 205, 111, 0.5); }

/* ===== 弹窗 ===== */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 4vw; }
.modal[hidden] { display: none; }
.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 6, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.modal-card {
  position: relative;
  z-index: 1;
  background: var(--glass-strong);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  max-width: 720px;
  width: 100%;
  max-height: 86vh;
  overflow: auto;
  margin: 0;
}
.modal-card img { width: 100%; max-height: 58vh; object-fit: contain; background: rgba(255, 255, 255, 0.6); }
.modal-card figcaption { padding: 20px 24px 24px; }
.modal-card h3 { color: var(--gold-deep); font-size: 19px; margin-bottom: 8px; }
.modal-card p { color: var(--muted); font-size: 14px; }
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.modal-close:hover { background: var(--gold); color: #fff; }

/* ===== 提示条 ===== */
.toast {
  position: fixed;
  left: 50%; bottom: 40px;
  transform: translateX(-50%);
  z-index: 300;
  background: var(--glass-strong);
  border: 1px solid var(--gold-line);
  color: var(--text);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.toast[hidden] { display: none; }

/* 设备带不动时的自动降级：关掉大幅动效与模糊，保证滑动优先流畅 */
.perf-low .hero-slide img,
.perf-low .hero-slide.is-active img { transition: none; transform: none; will-change: auto; }
.perf-low .m-card-inner { box-shadow: none; }
.perf-low .header.is-solid,
.perf-low .lang-modal-card,
.perf-low .m-card-inner { -webkit-backdrop-filter: none; backdrop-filter: none; }
.perf-low .marquee-track { will-change: auto; }

/* 系统开了「减少动态效果」时：停掉慢滑与自动轮播的动画，内容仍可正常浏览 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .hero-track { transition-duration: 0.35s; }
  .hero-slide img { transition: none; }
}

/* ===== 响应式 ===== */
/* PC 窄屏：先压缩导航，保证语言按钮永远在可视区内 */
@media (max-width: 1320px) {
  .header-inner { gap: 18px; }
  .nav-link { padding: 8px 9px; font-size: 13.5px; }
  .brand-text strong { font-size: 15px; }
  .brand-text small { display: none; }
  .lang-trigger { padding: 7px 11px; }
}
@media (max-width: 1120px) {
  .nav-link { padding: 7px 7px; font-size: 13px; letter-spacing: 0; }
  .lang-trigger { padding: 6px 8px; gap: 5px; font-size: 12px; }
  .lang-trigger svg { width: 14px; height: 14px; }
}
@media (max-width: 1180px) {
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .process-step + .process-step::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  /* 导航变成抽屉后不再占 flex 位置，右侧语言/菜单必须自己推到最右边 */
  .header-right { margin-left: auto; }
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(300px, 84vw);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--glass-strong);
    border-left: 1px solid var(--gold-line);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    backdrop-filter: blur(22px) saturate(160%);
    padding: 96px 20px 28px;
    transform: translateX(105%);
    transition: transform 0.34s cubic-bezier(0.32, 0.9, 0.32, 1);
    margin-left: 0;
    z-index: 98;
  }
  .nav .nav-link { color: var(--text); text-shadow: none; }
  body.nav-open .nav { transform: none; }
  .nav-link { padding: 13px 14px; font-size: 16px; border-bottom: 1px solid rgba(24, 22, 14, 0.08); }
  .nav-highlight { display: none; }
  .nav-mask {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 97;
    background: rgba(20, 16, 6, 0.4);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  body.nav-open .nav-mask { opacity: 1; pointer-events: auto; }
  .nav-toggle { position: relative; z-index: 99; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card { grid-template-columns: 1fr; }
  .news-media { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .stat strong { font-size: 26px; }
  .brand-logo-box { height: 42px; min-width: 42px; max-width: 180px; padding: 0; }
  .brand.has-wide-logo .brand-text { display: none; }
  .brand-text strong { font-size: 14px; max-width: 96px; }
  .brand-text small { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom-inner { flex-wrap: wrap; }
  .hero { min-height: 520px; }
  .hero-content { padding: 120px 0 96px; }
  .page-hero { padding: 150px 0 64px; }
  .process-grid { grid-template-columns: 1fr; }
}

/* ===== 阿拉伯语 RTL 微调 ===== */
[dir="rtl"] .brand-text { text-align: right; }
[dir="rtl"] .nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .sec-title::after { background: linear-gradient(270deg, var(--gold), transparent); }
[dir="rtl"] .sec-title.center::after { background: linear-gradient(90deg, transparent, var(--gold), transparent); }
[dir="rtl"] .page-hero h1::after { background: linear-gradient(270deg, var(--gold), transparent); }
[dir="rtl"] .product-detail .pd-line { background: linear-gradient(270deg, var(--gold), transparent); }
[dir="rtl"] .footer-lang { margin-left: 0; margin-right: auto; }
[dir="rtl"] .footer-admin { margin-left: 0; margin-right: 10px; }
[dir="rtl"] .news-card { direction: rtl; }
[dir="rtl"] .lang-option { direction: rtl; }

/* ===== 手机端再减负：关掉首屏缓慢推近，减少滚动时的重绘 ===== */
@media (max-width: 900px) {
  .hero-slide.is-active img {
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }
  .header.is-solid {
    background: #f6f4ee;
  }
}

/* ===== 首页「关于我们」：左文字 / 右图片 ===== */
.home-about-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 52px;
  align-items: center;
}
.home-about-text .sec-title { margin-bottom: 18px; }
.home-about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--gold-line);
  box-shadow: var(--shadow-soft);
  background: #fff;
}
@media (max-width: 900px) {
  .home-about-grid { grid-template-columns: 1fr; gap: 26px; }
}

/* ===== 产品详情页 ===== */
.pd-top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: start;
}
.pd-main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--gold-line);
  box-shadow: var(--shadow-soft);
  background: #fff;
}
.pd-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.pd-thumb {
  width: 88px;
  height: 68px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb.is-active { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-soft); }
.pd-info { padding-top: 4px; }
.pd-desc { font-size: 15.5px; line-height: 1.95; color: var(--muted); }
.pd-subtitle {
  margin: 26px 0 12px;
  font-size: 16px;
  color: var(--gold-deep);
  letter-spacing: 0.5px;
}
.pd-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pd-features li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.7;
}
.pd-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-deep);
  font-weight: 700;
}
.spec-table-wrap {
  max-width: 920px;
  margin: 34px auto 0;
  background: #fff;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td {
  padding: 15px 22px;
  border-bottom: 1px solid rgba(185, 148, 47, 0.14);
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.75;
  vertical-align: top;
}
.spec-table td.spec-name {
  width: 30%;
  background: var(--gold-soft);
  color: var(--gold-deep);
  font-weight: 600;
}
.spec-table tr:last-child td { border-bottom: none; }
.pd-detail-body {
  max-width: 880px;
  margin: 30px auto 0;
  font-size: 15.5px;
  line-height: 1.98;
  color: var(--muted);
}
.pd-detail-body p + p { margin-top: 14px; }
.pd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1040px;
  margin: 34px auto 0;
}
.pd-shot {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--gold-line);
  background: #fff;
}
.pd-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.pd-shot:hover img { transform: scale(1.03); }
@media (max-width: 900px) {
  .pd-top { grid-template-columns: 1fr; gap: 26px; }
  .pd-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-table td.spec-name { width: 38%; }
}

/* 带 hidden 属性的元素强制不显示，避免被 .section 的 display 覆盖 */
[hidden] { display: none !important; }

/* 联系 CTA：桌面隐藏，手机首页显示为整块可点击入口 */
.home-contact-cta { display: none; }

/* ===== 手机首页落地式布局（参考客户的单卡结构） ===== */
@media (max-width: 767px) {
  /* 手机端去掉顶部语言和菜单两个按钮，只保留商标；导航仍可从页脚进入 */
  .header-right { display: none; }
  .header-inner { height: 64px; gap: 12px; }
  .brand-logo-box { height: 42px; min-width: 42px; max-width: 180px; padding: 0; }

  .home-main { display: flex; flex-direction: column; }
  #hero { order: 1; }
  #homeProductsSection { order: 2; padding: 26px 0 10px; }
  #homeContactSection { order: 3; padding: 0 0 22px; background: transparent; }
  #homeIntroSection { order: 4; padding: 46px 0 44px; }
  #homeCertsSection { order: 5; }

  /* 首屏只占上三分之一左右，文字横向铺满，两角放左右箭头 */
  .hero {
    height: 34svh;
    min-height: 280px;
    max-height: 340px;
    align-items: flex-end;
  }
  .hero-veil {
    background:
      linear-gradient(180deg, rgba(8, 10, 16, 0.35) 0%, rgba(8, 10, 16, 0.12) 32%, rgba(8, 10, 16, 0.84) 100%);
  }
  .hero-content { width: 100%; padding: 82px 18px 54px; }
  .hero-title {
    max-width: 100%;
    font-size: clamp(22px, 6.6vw, 30px);
    line-height: 1.22;
    letter-spacing: 0.8px;
  }
  .hero-sub {
    max-width: 100%;
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-actions { display: none; }
  .hero-dots { bottom: 16px; gap: 8px; }
  .hero-dot { width: 7px; height: 7px; }
  .hero-arrows {
    position: absolute;
    left: 14px; right: 14px; bottom: 10px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
  }
  .hero-arrow {
    pointer-events: auto;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 50%;
    background: rgba(18, 22, 28, 0.28);
    color: #fff;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
  }
  .hero-arrow:active { transform: scale(0.94); background: rgba(185, 148, 47, 0.42); }
  .hero-arrow svg { width: 22px; height: 22px; }

  /* 中间只放一个主推产品，横向卡片，图片在左文字在右 */
  #homeProductsHead { display: none; }
  .marquee { padding: 0 16px; overflow: visible; }
  .marquee-track.is-mobile-single {
    display: block;
    width: 100%;
    animation: none;
    transform: none !important;
    contain: none;
  }
  .marquee-track.is-mobile-single .m-card { width: 100%; padding: 0; }
  .marquee-track.is-mobile-single .m-card-inner {
    flex-direction: row;
    align-items: stretch;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(60, 50, 20, 0.12);
  }
  .marquee-track.is-mobile-single .m-media {
    flex: 0 0 43%;
    width: 43%;
    aspect-ratio: auto;
    min-height: 176px;
  }
  .marquee-track.is-mobile-single .m-media img { height: 100%; }
  .marquee-track.is-mobile-single .m-body {
    flex: 1;
    padding: 20px 17px;
    justify-content: center;
    gap: 7px;
  }
  .marquee-track.is-mobile-single .m-name { font-size: 18px; }
  .marquee-track.is-mobile-single .m-desc {
    -webkit-line-clamp: 4;
    font-size: 13px;
    line-height: 1.65;
  }

  /* 产品下面直接是方正的“联系我们”入口，点蓝字进入联系页的询盘表单 */
  #homeContactBody { display: none; }
  .home-contact-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 16px;
    padding: 26px 22px;
    border-radius: 0;
    background: #fffdf8;
    border: 1px solid #d9d2c3;
    color: #1a56db;
    text-decoration: none;
    box-shadow: none;
    overflow: hidden;
  }
  .home-contact-cta .cta-link {
    display: inline-block;
    color: #1a56db;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.25;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 8px;
    text-decoration-color: currentColor;
  }
  .home-contact-cta:hover .cta-link { color: #0f3fa8; }
  .home-contact-cta:focus-visible {
    outline: 2px solid #1a56db;
    outline-offset: 2px;
  }
}
