/* 页脚骨架样式。
   2026-09-03 按页头同样标准重做：HTML 换成 www.rapiddirect.com 真实
   Elementor / pp-icon-list / n-accordion class 名（见 footer.html 顶部说明）。

   🚩 2026-09-04 建了 app/public/wp-content/ref-derived/probe-maps/footer.json
   之后才发现：之前"没有独立样式表文件可抽，属性值是照视觉比例自己写的"这句话
   只说对了一半——真的没有外链 CSS 文件（www.rapiddirect.com 用了个
   "debloat" 性能插件，所有外链样式表都写成 data-href 不是 href，浏览器
   压根不会为它们建 CSSOM 条目，probe.py 的 cssFailed 守卫因此也测不出"加载
   失败"，因为根本没有東西可失败），但归档的 index.html 里其实有 20 多个
   真实 Elementor 内联 <style>（elementor-post-313-css 21KB，就是页脚自己的
   编译后 CSS），probe.py 在 ref 模式下直接测这份归档，读到的是这些内联样式
   算出来的真实 computed style——不是没法测，是之前没意识到要测。
   测出来最大的一个问题：**页脚本来是浅色主题**（背景透明，露出页面本身的
   #fbfbfb 浅灰；文字 #161616 近黑；橙红 #ea543f 做图标点缀），我们做的是
   深藏青底+白字，方向完全反了——这条之前没有任何实测支撑，是照页头顶部
   工具条的深色调子想当然续下来的，不是从这个参考站量出来的。
   2026-09-04 用户确认改成浅色跟参考站一致，下面全部换成实测值。 */

.jiesheng-site-footer {
	font-family: var(--font-sans);
	background: var(--surface-alt);
	/* #161616 是这个参考站自己实测的近黑色，比全局 --text-strong（纯黑，测自
	   jcrapid.com）略浅一点点——两个参考站本来就是两份独立实测数据，不用
	   为了"复用同一个变量"把这点差异抹平 */
	color: #161616;
}

.jiesheng-site-footer a { color: #161616; text-decoration: none; }
.jiesheng-site-footer a:hover { color: var(--brand); }

/* ── Elementor 核心容器原语，真实、公开、跟版本无关的行为（display:flex 等），
   不是"抄某个特定站点的规则"——css-coverage.py 会把裸类名标成"没定义"，
   即使更具体的复合选择器已经处理了同样的布局，这里补一份兜底，避免真的
   在某个断点下漏排版 ── */
.jiesheng-site-footer .e-flex { display: flex; flex-wrap: wrap; }
.jiesheng-site-footer .e-con,
.jiesheng-site-footer .e-con-full { position: relative; box-sizing: border-box; }
.jiesheng-site-footer .e-con-inner { width: 100%; }
.jiesheng-site-footer .elementor-column-gap-default { gap: 20px; }
.jiesheng-footer-mobile-contact.e-flex { flex-direction: column; }
.jiesheng-site-footer .elementor-align-start { justify-content: flex-start; }
.jiesheng-site-footer .elementor-column { box-sizing: border-box; }
.jiesheng-site-footer .elementor-element-populated { position: relative; }
.jiesheng-site-footer .elementor-grid { display: flex; flex-wrap: wrap; }
.jiesheng-site-footer .elementor-grid-item { display: inline-flex; }
.jiesheng-site-footer .elementor-divider-separator { display: block; }
.jiesheng-site-footer .e-n-accordion-item-title-header { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.jiesheng-site-footer .e-n-accordion-item-title-text { flex: 1; }

/* Elementor 真实的响应式隐藏机制：hidden-mobile 在手机断点隐藏，
   hidden-desktop/hidden-tablet 在桌面/平板断点隐藏——跟 jiesheng-footer-cols /
   jiesheng-footer-mobile 断点保持一致，两套类同时生效，互为保险 */
@media (max-width: 900px) {
	.jiesheng-site-footer .elementor-hidden-mobile { display: none !important; }
}
@media (min-width: 901px) {
	.jiesheng-site-footer .elementor-hidden-desktop,
	.jiesheng-site-footer .elementor-hidden-tablet { display: none !important; }
}

/* ── 图标 mask（跟页头 header.css 同一份 SVG，footer.css 单独加载所以重复定义一份） ── */
.jiesheng-icon {
	width: 14px;
	height: 14px;
	display: inline-block;
	background-color: currentColor;
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	flex-shrink: 0;
}

.jiesheng-icon--phone { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M493.4 24.6l-104-24c-11.3-2.6-22.9 3.3-27.5 13.9l-48 112c-4.2 9.8-1.4 21.3 6.9 28l60.6 49.6c-36 76.7-98.9 140.5-177.2 177.2l-49.6-60.6c-6.8-8.3-18.2-11.1-28-6.9l-112 48C3.9 366.5-2 378.1.6 389.4l24 104C27.1 504.2 36.7 512 48 512c256.1 0 464-207.5 464-464 0-11.2-7.7-20.9-18.6-23.4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M493.4 24.6l-104-24c-11.3-2.6-22.9 3.3-27.5 13.9l-48 112c-4.2 9.8-1.4 21.3 6.9 28l60.6 49.6c-36 76.7-98.9 140.5-177.2 177.2l-49.6-60.6c-6.8-8.3-18.2-11.1-28-6.9l-112 48C3.9 366.5-2 378.1.6 389.4l24 104C27.1 504.2 36.7 512 48 512c256.1 0 464-207.5 464-464 0-11.2-7.7-20.9-18.6-23.4z'/%3E%3C/svg%3E"); }
.jiesheng-icon--mail { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4 0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4 0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z'/%3E%3C/svg%3E"); }
.jiesheng-icon--pin { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M172.3 501.7C27 291 0 269.4 0 192 0 86 86 0 192 0S384 86 384 192c0 77.4-27 99-172.3 309.7-9.5 13.8-29.9 13.8-39.4 0zM192 256a64 64 0 1 0 0-128 64 64 0 1 0 0 128z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M172.3 501.7C27 291 0 269.4 0 192 0 86 86 0 192 0S384 86 384 192c0 77.4-27 99-172.3 309.7-9.5 13.8-29.9 13.8-39.4 0zM192 256a64 64 0 1 0 0-128 64 64 0 1 0 0 128z'/%3E%3C/svg%3E"); }
.jiesheng-icon--linkedin { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M100.28 448H7.4V148.9h92.88zm-46.44-340a53.79 53.79 0 1 1 53.79-53.79 53.8 53.8 0 0 1-53.79 53.79zM447.9 448h-92.68V302.4c0-34.7-.7-79.3-48.3-79.3-48.3 0-55.7 37.7-55.7 76.7V448h-92.8V148.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M100.28 448H7.4V148.9h92.88zm-46.44-340a53.79 53.79 0 1 1 53.79-53.79 53.8 53.8 0 0 1-53.79 53.79zM447.9 448h-92.68V302.4c0-34.7-.7-79.3-48.3-79.3-48.3 0-55.7 37.7-55.7 76.7V448h-92.8V148.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3z'/%3E%3C/svg%3E"); }
.jiesheng-icon--youtube { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M549.7 124.1c-6.3-23.7-24.8-42.3-48.3-48.6C458.8 64 288 64 288 64s-170.8 0-213.4 11.5c-23.5 6.3-42 24.9-48.3 48.6-11.4 42.9-11.4 132.3-11.4 132.3s0 89.4 11.4 132.3c6.3 23.7 24.8 41.5 48.3 47.8C117.2 448 288 448 288 448s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zm-317.5 213.5V175.2l142.7 81.2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M549.7 124.1c-6.3-23.7-24.8-42.3-48.3-48.6C458.8 64 288 64 288 64s-170.8 0-213.4 11.5c-23.5 6.3-42 24.9-48.3 48.6-11.4 42.9-11.4 132.3-11.4 132.3s0 89.4 11.4 132.3c6.3 23.7 24.8 41.5 48.3 47.8C117.2 448 288 448 288 448s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zm-317.5 213.5V175.2l142.7 81.2z'/%3E%3C/svg%3E"); }
.jiesheng-icon--facebook { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M279.1 288l14.2-92.7h-88.9v-60.1c0-25.4 12.4-50.1 52.2-50.1h40.4V6.3S260.4 0 225.4 0c-73.2 0-121.1 44.4-121.1 124.7v70.6H22.9V288h81.4v224h100.2V288z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M279.1 288l14.2-92.7h-88.9v-60.1c0-25.4 12.4-50.1 52.2-50.1h40.4V6.3S260.4 0 225.4 0c-73.2 0-121.1 44.4-121.1 124.7v70.6H22.9V288h81.4v224h100.2V288z'/%3E%3C/svg%3E"); }
.jiesheng-icon--twitter { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42z'/%3E%3C/svg%3E"); }
.jiesheng-icon--arrow-up { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 237.3V416c0 17.7-14.3 32-32 32s-32-14.3-32-32V237.3L86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 237.3V416c0 17.7-14.3 32-32 32s-32-14.3-32-32V237.3L86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z'/%3E%3C/svg%3E"); }

/* ── 桌面：三个 elementor-section 横排列 ── */
.jiesheng-site-footer .elementor-container {
	max-width: 1280px;   /* 参考站实测 1280px，之前写的 1200px 偏窄 */
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	padding: 0 24px;
}

/* 参考站实测：paddingTop 85px / paddingBottom 57px，之前 48/32 明显偏紧 */
.jiesheng-footer-cols .elementor-container { padding-top: 85px; padding-bottom: 57px; gap: 0; }
.jiesheng-footer-social-row .elementor-container { padding-top: 20px; padding-bottom: 20px; border-top: 1px solid rgba(22, 22, 22, 0.08); }
.jiesheng-footer-bottom .elementor-container {
	padding-top: 32px;   /* 参考站实测 32px */
	padding-bottom: 32px;
	border-top: 1px solid rgba(134, 134, 134, 0.6);   /* 参考站实测 #868686 */
	align-items: center;
}

/* 参考站列宽实测：第一列（logo+联系栏）约 45%，后三列各约 18/16/20%。
   用 flex-basis + max-width 实现，不依赖 elementor-col-25 的均等四分。
   elementor-col-25 只负责名义分类，真实宽度由下面的规则控制。 */
.jiesheng-footer-cols .elementor-col-25:nth-child(1)  { flex: 0 0 44.6%; max-width: 44.6%; padding-right: 32px; box-sizing: border-box; }
.jiesheng-footer-cols .elementor-col-25:nth-child(2)  { flex: 0 0 19.3%; max-width: 19.3%; padding-right: 16px; box-sizing: border-box; }
.jiesheng-footer-cols .elementor-col-25:nth-child(3)  { flex: 0 0 15.6%; max-width: 15.6%; padding-right: 16px; box-sizing: border-box; }
.jiesheng-footer-cols .elementor-col-25:nth-child(4)  { flex: 0 0 20.4%; max-width: 20.4%; padding-right: 0;  box-sizing: border-box; }

/* 其余区域（social-row / bottom-bar）保持均等或全宽 */
.jiesheng-site-footer .elementor-col-25 { width: 25%; padding-right: 24px; box-sizing: border-box; }
.jiesheng-site-footer .elementor-col-50 { width: 50%; padding-right: 24px; box-sizing: border-box; }
.jiesheng-site-footer .elementor-col-100 { width: 100%; }

/* 🚩 2026-09-04：这一段建 probe-map 之后基本全改了——不只是颜色反过来，
   字号/字重/字间距/间距都是之前没测过的手写值：栏目标题实测 16px/600/
   字间距 0.5px（之前 15px/700/0.04em），margin-bottom 实测 8px（之前 16px，
   多了一倍）。 */
.jiesheng-footer-cols .elementor-heading-title {
	color: #161616;
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0 0 8px;
}

.jiesheng-site-footer .elementor-icon-list-items,
.jiesheng-site-footer .pp-list-items {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* 链接文字实测 15px/500（之前 14px 没设字重），联系信息文字同样实测
   16px/500——公司名那一行之前写成加粗白字，实测只是常规 500 字重，
   跟普通行没有加粗区别，只是顺序排在最前 */
.jiesheng-site-footer .elementor-icon-list-item { margin-bottom: 10px; font-size: 15px; font-weight: 500; }
.jiesheng-site-footer .pp-icon-list-item {
	margin-bottom: 12px;
	font-size: 16px;
	font-weight: 500;
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.jiesheng-site-footer .pp-icon-list-item a { display: flex; align-items: flex-start; gap: 10px; }
.jiesheng-site-footer .pp-icon-wrapper { margin-top: 3px; color: var(--brand); }
.jiesheng-site-footer .pp-icon-list-item:first-child { margin-bottom: 14px; }

/* 2026-09-08：32px 是照抄参考站宽扁 logo 量出来的高度，客户真实 logo 接近
   1:1 方形，同样高度会被压扁得很小，改成 44px（width:auto 保持等比）。 */
.jiesheng-footer-cols .elementor-widget-image img { height: 44px; width: auto; margin-bottom: 16px; }

/* ── 社媒图标行 ──
   尺寸实测 42×42px（之前 32px，小了快 25%）。填充色参考站实测
   rgb(251,251,251) 跟页面底色几乎同色——浏览器里那圈可见边界大概率是一层
   box-shadow/边框撑出来的，归档页面没留下这条具体声明，量不出精确值，
   这里加一圈浅描边给出同样的视觉层次，不是测出来的数字，跟上面几条区分开。
   图标本身颜色实测 #ea543f，跟捷胜品牌橙 #e7823a 色相非常接近，直接复用
   var(--brand)，不再新增一个几乎重复的色板变量。 */
.jiesheng-site-footer .elementor-social-icons-wrapper {
	display: flex;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.jiesheng-site-footer .elementor-social-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--surface);
	/* 参考站实测 2.67px solid rgb(237,237,237) */
	border: 2.67px solid #ededed;
	/* 参考站实测 SVG fill #ea543f 红色，我们用 mask 方案靠 color 属性控制 */
	color: #ea543f;
}

.jiesheng-site-footer .elementor-social-icon:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.jiesheng-site-footer .elementor-social-icon:hover .jiesheng-icon { color: #fff; }
.jiesheng-site-footer .elementor-screen-only {
	border: 0; clip: rect(1px, 1px, 1px, 1px); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute; width: 1px;
}

/* ── 底部条：版权 / 法务链接 / 回到顶部 ──
   版权文字实测 16px/#161616，隐私链接实测 14px/#161616——都是深色正文字号，
   不是之前假设的"小字灰字"（之前整条 .elementor-container 写死
   font-size:13px;color:#8a94a6，会连带影响子元素，这次删掉，各自按实测值走）。 */
.jiesheng-footer-bottom .elementor-widget-text-editor p { font-size: 16px; color: #161616; margin: 0; }
.jiesheng-footer-bottom .elementor-icon-list-text { font-size: 14px; }

.jiesheng-footer-bottom .elementor-icon-list-items.elementor-inline-items {
	display: flex;
	gap: 20px;
}

/* 底部栏两列：版权占左约 2/3，Privacy Policy 链接靠右 */
.jiesheng-footer-bottom .elementor-col-50 { width: 66.6%; padding-right: 24px; box-sizing: border-box; }
.jiesheng-footer-bottom .elementor-col-25 { width: 33.3%; box-sizing: border-box; }

@media (max-width: 900px) {
	.jiesheng-site-footer .elementor-col-25 { width: 50%; margin-bottom: 24px; }
	.jiesheng-footer-bottom .elementor-container { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ── 移动端：手风琴（原生 details/summary，零 JS） ── */
.jiesheng-footer-mobile {
	display: none;
	flex-direction: column;
	padding: 32px 24px;
	gap: 24px;
}

/* 同上，方形 logo 按比例调大（原 28px 是照抄宽扁竞品 logo 的高度）。 */
.jiesheng-footer-mobile .elementor-widget-image img { height: 36px; width: auto; }

.jiesheng-footer-mobile .e-n-accordion-item {
	border-top: 1px solid rgba(22, 22, 22, 0.08);
}

.jiesheng-footer-mobile .e-n-accordion-item-title {
	list-style: none;
	cursor: pointer;
	padding: 14px 0;
	font-weight: 600;
	color: var(--text-strong);
	font-size: 15px;
	letter-spacing: 0.5px;
}

.jiesheng-footer-mobile .e-n-accordion-item-title::-webkit-details-marker { display: none; }

.jiesheng-footer-mobile .elementor-icon-list-items {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
}

.jiesheng-footer-mobile .elementor-icon-list-item { margin-bottom: 8px; font-size: 14px; }

.jiesheng-footer-mobile-contact .pp-icon-list-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 14px;
}

.jiesheng-footer-mobile-contact .elementor-divider-separator {
	display: block;
	border-top: 1px solid rgba(22, 22, 22, 0.08);
	margin: 16px 0;
}

.jiesheng-footer-mobile-copyright { font-size: 13px; color: var(--text); margin-top: 16px; }

@media (max-width: 900px) {
	.jiesheng-footer-cols,
	.jiesheng-footer-social-row,
	.jiesheng-footer-bottom {
		display: none;
	}
	.jiesheng-footer-mobile { display: flex; }
}
