/* ========================================
   大宅门 — 公共样式
   ======================================== */
/* 注意：responsive.css 须在各页面作为最后一个 CSS 引入，
   不能在此 @import，否则会被本文件及页面样式的固定宽度覆盖。 */

@font-face {
  font-family: "SourceHanSerifCN-Bold";
  src: url("../fonts/SourceHanSerifCN-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SourceHanSerifCN-Heavy";
  src: url("../fonts/SourceHanSerifCN-Heavy.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SourceHanSerifCN-SemiBold";
  src: url("../fonts/SourceHanSerifCN-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SourceHanSerifCN";
  src: url("../fonts/SourceHanSerifCN-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SourceHanSerifCN";
  src: url("../fonts/SourceHanSerifCN-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SourceHanSerifCN";
  src: url("../fonts/SourceHanSerifCN-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SourceHanSerifCN";
  src: url("../fonts/SourceHanSerifCN-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SourceHanSerifCN";
  src: url("../fonts/SourceHanSerifCN-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SourceHanSerifCN";
  src: url("../fonts/SourceHanSerifCN-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SourceHanSerifCN";
  src: url("../fonts/SourceHanSerifCN-Heavy.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SourceHanSerifCN";
  src: url("../fonts/SourceHanSerifCN-Heavy.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SourceHanSerifCN-Medium";
  src: url("../fonts/SourceHanSerifCN-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --red: #84070d;
  --red-dark: #6e050a;
  --red-light: #a21a20;
  --text: #1a1a1a;
  --text-secondary: #666666;
  --text-muted: #999999;
  --bg: #ffffff;
  --bg-light: #f5f5f5;
  --bg-warm: #f7f3f0;
  --bg-cream: #f8f6f2;
  --footer-bg: #2d2f2c;
  --border: #e5e5e5;
  --container: 1200px;
  --header-h: 94px;
  --nav-gap: 48px;
  --nav-pad-l: 80px;
  --nav-pad-r: 60px;
  --nav-pad-t: 47px;
  --serif: "SourceHanSerifCN-Bold", "Songti SC", "SimSun", "Noto Serif SC", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s, opacity 0.25s;
}

ul,
ol {
  list-style: none;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

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

/* ---------- 标题装饰线 ---------- */
.section-title {
  font-family: "SourceHanSerifCN", "SourceHanSerifCN-Bold", var(--serif);
  font-size: 36px;
  font-weight: bold;
  color: var(--text);
  text-align: center;
  line-height: 1.4;
}

.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--red);
  margin: 16px auto 0;
}

.section-title.left {
  text-align: left;
}

.section-title.left::after {
  margin-left: 0;
}

.section-title.white {
  color: #fff;
}

.section-title.white::after {
  background: var(--red);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 28px;
  font-size: 14px;
  border-radius: 2px;
  transition: background 0.25s, color 0.25s, border-color 0.25s, opacity 0.25s;
  white-space: nowrap;
}

.btn img {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: #84070d;
  color: #fff;
  font-family: "SourceHanSerifCN", "SourceHanSerifCN-Bold", var(--serif);
  font-weight: bold;
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-primary img {
  filter: brightness(0) invert(1);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  height: 50px;
  font-size: 16px;
  padding: 0 40px;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #fff;
  opacity: 0.95;
  letter-spacing: 2px;
}

.link-more:hover {
  opacity: 1;
}

.link-more::after {
  content: "";
  display: inline-block;
  width: 80px;
  height: 1px;
  background: currentColor;
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  pointer-events: none;
  overflow: visible;
}

.site-header a,
.site-header button {
  pointer-events: auto;
}

/* 移动端侧栏菜单：桌面端完全隐藏（responsive.css 内再启用） */
.mobile-nav {
  display: none;
}

.site-header.is-solid {
  position: relative;
  height: 112px;
  background: #fff;
  box-shadow: 0 1px 0 var(--border);
}

.site-header.is-solid .nav-link {
  color: var(--text);
}

.site-header.is-solid .nav-link:hover,
.site-header.is-solid .nav-link.active {
  color: var(--red);
  opacity: 1;
}

.site-header.is-solid .header-phone {
  color: var(--red);
}

.site-header.is-solid .header-phone .phone-icon {
  border-color: var(--red);
  color: var(--red);
  background: var(--red);
}

.site-header.is-solid .header-phone .phone-icon img {
  filter: brightness(0) invert(1);
}

.site-header.is-solid .header-logo {
  width: 95px;
}

.site-header.is-solid .header-logo img {
  width: 95px;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

.header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  /* 标注：上 47px / 左 80px / 右 60px */
  padding: var(--nav-pad-t) var(--nav-pad-r) 0 var(--nav-pad-l);
  box-sizing: border-box;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  /* 标注：菜单项间距 48px */
  gap: var(--nav-gap);
  flex: 1;
  min-width: 0;
}

.nav-left {
  justify-content: flex-start;
  padding-right: 110px;
}

.nav-right {
  justify-content: flex-end;
  padding-left: 110px;
}

.nav-link {
  font-family: "SourceHanSerifCN", "SourceHanSerifCN-Bold", var(--serif);
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 2px;
  position: relative;
  white-space: nowrap;
  line-height: 1;
  padding: 0;
}

.nav-link:hover {
  color: var(--red);
  opacity: 1;
}

.nav-link.active {
  color: var(--red);
  opacity: 1;
}

.header-logo {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 2;
  width: 95px;
  height: auto;
}

.header-logo img {
  width: 95px;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 0;
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

.header-phone .phone-icon {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-phone .phone-icon img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.header-phone strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: var(--sans);
}

/* ---------- Page Hero (内页横幅，按 1520×762 等比自适应) ---------- */
.page-hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1520 / 762;
  min-height: 360px;
  margin-left: auto;
  margin-right: auto;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  box-sizing: border-box;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.35); */
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 16px;
  opacity: 0.9;
  letter-spacing: 1px;
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  z-index: 1;
}

.scroll-hint::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scrollDot 1.5s infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 1;
    top: 8px;
  }
  100% {
    opacity: 0;
    top: 22px;
  }
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  background: #3a3a3a;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  padding: 14px 0;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb .sep {
  margin: 0 8px;
  opacity: 0.5;
}

.breadcrumb .current {
  color: #fff;
}

/* ---------- 报价表单条 ---------- */
.quote-bar {
  background: #2a2a2a;
  padding: 28px 0;
}

.quote-bar.light {
  background: var(--bg-light);
}

.quote-bar.light .quote-form .btn-primary {
  flex-shrink: 0;
  min-width: 140px;
}

.quote-bar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quote-bar-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 15px;
  white-space: nowrap;
  flex-shrink: 0;
}

.quote-bar.light .quote-bar-label {
  color: var(--text);
}

.quote-bar-label .icon {
  width: 36px;
  height: 36px;
  /* background: var(--red); */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.quote-bar-label .icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  mix-blend-mode: screen;
}

.quote-form {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.quote-form .form-field {
  flex: 1;
  height: 44px;
  background: #fff;
  border-radius: 2px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--text);
  border: 1px solid transparent;
}

.quote-bar.light .quote-form .form-field {
  border-color: var(--border);
}

.quote-form select.form-field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 32px;
  cursor: pointer;
}

.quote-form .form-field::placeholder {
  color: #bbb;
}

/* ---------- 通用表单 ---------- */
.form-grid {
  display: grid;
  gap: 16px;
}

.form-grid.cols-2 {
  grid-template-columns: 1fr 1fr;
}

.form-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  color: var(--text-secondary);
}

.form-control {
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  background: #fff;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--red);
}

.form-control::placeholder {
  color: #bbb;
}

textarea.form-control {
  height: auto;
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 32px;
  cursor: pointer;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: "SourceHanSerifCN", "SourceHanSerifCN-Medium", var(--serif);
  font-weight: 500;
  font-size: 13px;
  color: #999999;
  line-height: 1.5;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.form-check input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  accent-color: var(--red);
  flex-shrink: 0;
}

.form-check a {
  font-family: "SourceHanSerifCN", "SourceHanSerifCN-Medium", var(--serif);
  font-weight: 500;
  color: #84070d;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

/* ---------- 案例卡片 ---------- */
.case-card {
  background: #fff;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.case-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.case-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.case-card-body {
  padding: 18px 4px 8px;
}

.case-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 8px;
}

.case-card-addr {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.case-card-tags {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ---------- 筛选胶囊 ---------- */
.filter-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.filter-label {
  font-size: 14px;
  color: var(--text-secondary);
  width: 48px;
  flex-shrink: 0;
  line-height: 32px;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 16px;
  font-size: 13px;
  color: var(--text-secondary);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
}

.filter-tag:hover {
  color: var(--red);
}

.filter-tag.active {
  background: var(--red);
  color: #fff;
}

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-item {
  height: 34px;
  padding: 0 18px;
  font-size: 13px;
  color: var(--text-secondary);
  border-radius: 17px;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-item:hover {
  color: var(--red);
}

.tab-item.active {
  background: var(--red);
  color: #fff;
}

/* ---------- 轮播箭头 ---------- */
.slider-arrows {
  display: flex;
  gap: 12px;
}

.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8e8e8;
  color: #999;
  transition: all 0.25s;
  font-size: 16px;
}

.slider-arrow:hover,
.slider-arrow.active {
  background: var(--red);
  color: #fff;
}

/* ---------- 加载更多 ---------- */
.btn-load-more {
  display: block;
  margin: 48px auto 0;
  min-width: 160px;
  height: 44px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  border-radius: 2px;
  text-align: center;
  line-height: 44px;
  transition: background 0.25s;
}

.btn-load-more:hover {
  background: var(--red-dark);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #2e2e2e;
  color: rgba(255, 255, 255, 0.72);
  min-height: 360px;
  box-sizing: border-box;
  padding-top: 52px;
}

.site-footer .footer-inner {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 40px;
}

.footer-col {
  flex: 0 0 auto;
  min-width: 0;
}

.footer-col h4,
.footer-service h4 {
  font-family: "SourceHanSerifCN", "SourceHanSerifCN-Bold", var(--serif);
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
  line-height: 1.4;
}

.footer-col a {
  font-family: "SourceHanSerifCN", "SourceHanSerifCN-Medium", var(--serif);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-service {
  width: auto;
  flex-shrink: 0;
  min-width: 168px;
  padding-left: 8px;
}

.footer-service .hotline-label {
  font-family: "SourceHanSerifCN", "SourceHanSerifCN-Medium", var(--serif);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 8px;
}

.footer-service .hotline-num {
  font-family: "SourceHanSerifCN", "SourceHanSerifCN-Bold", var(--serif);
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.footer-service .hotline-time {
  font-family: "SourceHanSerifCN", "SourceHanSerifCN-Medium", var(--serif);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0;
}

.footer-qr {
  flex-shrink: 0;
  text-align: center;
  margin-left: 12px;
}

.footer-qr .qr-box {
  width: 108px;
  height: 108px;
  background: #fff;
  border-radius: 6px;
  padding: 8px;
  box-sizing: border-box;
  margin: 0 auto 12px;
}

.footer-qr .qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-qr .douyin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: "SourceHanSerifCN", "SourceHanSerifCN-Medium", var(--serif);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.footer-qr .douyin-icon {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 35px 0 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "SourceHanSerifCN", "SourceHanSerifCN-Medium", var(--serif);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
  font-family: "SourceHanSerifCN", "SourceHanSerifCN-Medium", var(--serif);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-bottom .links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom .links span {
  color: rgba(255, 255, 255, 0.3);
  margin: 0;
  opacity: 1;
}

/* ---------- 右侧悬浮栏 ---------- */
.float-sidebar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) translateX(24px);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.4s ease;
}

.float-sidebar.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.float-sidebar-bar {
  width: 68px;
  height: 348px;
  min-height: 348px;
  padding: 28px 4px 32px;
  box-sizing: border-box;
  background: url("../images/sidebar-bar.png") center center / 100% 100% no-repeat;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.float-sidebar-brand {
  display: flex;
  justify-content: center;
  padding: 0 0 10px;
}

.float-sidebar-brand img {
  width: 32px;
  height: auto;
  filter: none;
}

.float-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 9px 4px;
  color: #fff;
  font-size: 11px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: opacity 0.2s;
  line-height: 1.25;
}

.float-item:last-child {
  border-bottom: none;
}

.float-item:hover {
  opacity: 0.85;
  background: transparent;
}

.float-item img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.float-item .fi-icon {
  font-size: 20px;
  line-height: 1;
}

/* 微信客服：悬停 / 点击滑入二维码 */
.float-item--wechat {
  position: relative;
  border-bottom: none;
}

.float-wechat-pop {
  position: absolute;
  right: calc(100% + 6px);
  top: 50%;
  transform: translateY(-50%) translateX(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.28s ease;
  z-index: 5;
}

.float-wechat-pop::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: 2px -2px 4px rgba(0, 0, 0, 0.04);
}

.float-wechat-pop__inner {
  display: flex;
  gap: 12px;
  padding: 14px 14px 12px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.float-wechat-pop__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 100px;
}

.float-wechat-pop__item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: none;
  display: block;
  background: #fff;
}

.float-wechat-pop__item p {
  margin: 0;
  font-size: 12px;
  color: #333;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
  max-width: 110px;
}

.float-item--wechat:hover .float-wechat-pop,
.float-item--wechat:focus-within .float-wechat-pop,
.float-item--wechat.is-open .float-wechat-pop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

/* ---------- Modal 弹窗 ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: 480px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s;
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal-header {
  background: var(--red);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: #fff;
}

.modal-header .modal-logo {
  width: 28px;
  height: auto;
}

.modal-header h3 {
  font-family: "SourceHanSerifCN", "SourceHanSerifCN-Heavy", var(--serif);
  font-weight: 800;
  font-size: 19px;
  color: #f6f1e9;
  line-height: 29px;
  text-align: center;
  font-style: normal;
  text-transform: none;
  flex: 1;
}

.modal-close {
  color: #fff;
  font-size: 40px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

.modal-close:hover {
  opacity: 1;
}

.modal-body {
  padding: 28px 32px 32px;
}

.modal-body .form-grid {
  margin-bottom: 16px;
}

.modal-body .form-check {
  margin: 16px 0 20px;
  font-size: 12px;
}

/* ---------- CTA 申请区块 ---------- */
.cta-section {
  padding: 80px 0;
  background: var(--bg-cream);
  text-align: center;
}

.cta-section .section-title {
  margin-bottom: 40px;
}

.cta-form {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.cta-form .form-check {
  margin: 20px 0;
  justify-content: center;
}

.cta-form .btn {
  display: block;
  margin: 0 auto;
  min-width: 200px;
}

/* ---------- 工具 ---------- */
.text-red {
  color: var(--red);
}

.text-center {
  text-align: center;
}

.mt-40 {
  margin-top: 40px;
}

.mb-40 {
  margin-bottom: 40px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
