@charset "utf-8";
/**
 * 曼吉克官网 · 全站响应式（2026-11-12）
 * ---------------------------------------------------------------
 * 设计铁律：PC 端（视口 ≥1200px）样式 100% 不变。
 *   本文件除 .nav-toggle 的默认隐藏外，所有规则都包裹在
 *   @media (max-width: …) 内，≥1200px 时一条规则都不会命中。
 * 断点：
 *   ≤1199  小笔记本 / 平板横屏 —— 固定宽转百分比
 *   ≤991   平板竖屏 —— 左右两栏堆叠、头部收缩
 *   ≤767   手机 —— 汉堡导航、首页版块单列、轮播降级
 *   ≤479   小屏手机 —— 单列收尾
 * 依赖：layouts/app.blade.php 中已引入本文件并带 viewport meta；
 *      占位条 .head-holder 与汉堡 .nav-toggle 由 layout 提供。
 */

/* 汉堡按钮：所有断点默认隐藏（这条不在媒体查询内，但 PC 端 display:none 无任何视觉影响） */
.nav-toggle { display: none; }

/* =========================================================
 * ≤1199：小笔记本 / 平板横屏 —— 容器弹性化
 * ========================================================= */
@media (max-width: 1199px) {
	.w1200 { width: 100%; max-width: 1200px; box-sizing: border-box; padding: 0 15px; }
	.cpzs { width: 100%; max-width: 1200px; box-sizing: border-box; padding: 0 15px; }
	.case_left { width: 100%; max-width: 1200px; box-sizing: border-box; }

	/* 通栏标题背景图（公司优势/产品展示/客户案例/新闻/联系我们）窄屏等比缩 */
	.ys_title, .cpzs_h1, .case_h1, .news_h1, .lianxi_h1 { background-size: contain; }

	/* ---- 首页：公司优势 4 卡（原 280×4 + 3 根内联间隔条） ---- */
	/* 卡片背景图 gsys1.png 固定 280 宽，窄屏卡片宽度改百分比后右侧露白 —— 随卡片拉伸铺满 */
	.ys li { width: 23.5% !important; background-size: 100% 100%; }
	.ys li:hover { background-size: 100% 100%; }
	.ys li[style*="background:none"], .ys li[style*="background: none"] { width: 1% !important; }
	.ys li .img { left: 50%; margin-left: -22px; }
	.ys li .h1 { width: 100%; }
	.ys li .p { width: 100%; padding: 0 15px; box-sizing: border-box; }
	.ys li .more { left: 50%; margin-left: -80px; }

	/* ---- 首页：优先采购 4 项（原固定 160/180/280/140 宽） ---- */
	.cpys li { width: 24% !important; padding-left: 88px; box-sizing: border-box; font-size: 17px; background-size: 72px auto; }

	/* ---- 首页：产品展示 tab ---- */
	.cpzs .hd { width: 20%; box-sizing: border-box; }
	.cpzs .hd li { padding-left: 30px; background-position: 12px center, right 12px center; font-size: 15px; }
	.cpzs .bd { width: 78%; }
	.cpzs .bd li { width: 31.5%; margin: 0 0 18px 2.7%; }
	.cpzs .bd li .pic { width: 100%; height: auto; }
	.cpzs .bd li .pic img { width: 100%; height: auto; }
	.cpzs .bd li .text { width: 100%; }

	/* ---- 首页：客户案例滚动（图片统一定高，防止大图撑爆容器） ---- */
	.case_left .bd { padding: 0 15px; }
	.case_left .bd ul li { margin: 0 2.6% 0 0 !important; }
	.case_left .bd ul li .pic { width: 100%; height: 200px; }
	.case_left .bd ul li .pic img { width: 100%; height: 200px; object-fit: cover; }

	/* ---- 首页：新闻两列 ---- */
	.news_bg ul { width: 47.5%; }
	.news_bg .line { width: 2%; }
	.news_bg ul li .title { width: 76%; }
	.news_bg ul li .cont { width: 76%; }

	/* ---- 首页：联系 + 留言表单 ---- */
	.about_bg { height: auto; padding-bottom: 40px; }
	.about { width: 54%; height: auto; min-height: 300px; }
	.liuyan { width: 44%; height: auto; }
	.liuyan .input1 { width: 30%; }
	.liuyan .input2 { width: 24%; }
	.liuyan .input3 { width: 100%; box-sizing: border-box; }
	.liuyan .ver { width: 64px; }
	.txtScroll-top { width: 44%; }

	/* ---- 内页：左右两栏转百分比 ---- */
	.left { width: 20%; }
	.right { width: 77.5%; box-sizing: border-box; }
	.left_nav ul { width: 100%; box-sizing: border-box; }
	.left_nav li { padding-left: 30px; background: url(../images/xtb1.png) no-repeat 12px center, url(../images/xtb2.png) #fff no-repeat right 12px center; font-size: 15px; }
	.left_nav li:hover, .left_nav li.on { background: url(../images/xtb3.png) no-repeat 12px center, url(../images/xtb4.png) #007ae7 no-repeat right 12px center; }
	.left_lx img { width: 100%; }
	.left_lx .text { width: 100%; box-sizing: border-box; }

	/* ---- 内页：产品/案例图列表 ---- */
	.list_pic li .pic { width: 100%; height: 220px; }
	.list_pic li img { width: 100%; height: 220px; object-fit: cover; }
	.list_pic li .title { width: 100%; }

	/* ---- 详情/正文 ---- */
	.boxcontent { padding: 20px 20px; }
	.boxcontent .content img { max-width: 100%; height: auto; }
	.boxcontent .content table { max-width: 100%; }
	.boxcontent .content iframe, .boxcontent .content embed, .boxcontent .content video { max-width: 100%; }
	.updown { padding: 0 0 30px 20px; }
}

/* =========================================================
 * ≤991：平板竖屏 —— 两栏堆叠、头部收缩
 * ========================================================= */
@media (max-width: 991px) {
	/* 头部：120px 顶带收缩为 80px */
	.head { height: 124px; }
	.head-holder { height: 124px !important; }
	.top_bg { height: 80px; }
	.logo { width: auto; height: 60px; margin: 10px 0 0 0; }
	.logo img { height: 60px; width: auto; }
	.tel { padding: 17px 0 17px 50px; width: 160px; height: 46px; font-size: 18px; line-height: 24px; background-size: 36px auto; }
	.wx_img { width: 56px; height: 56px; margin: 12px 0 0 0; }
	.wx_text { display: none; }

	/* 左右两栏 → 上下堆叠 */
	.left, .right { float: none; width: 100%; margin: 15px 0; }
	.left_nav ul { height: auto; overflow: visible; }
	.left_nav li { height: 46px; line-height: 46px; }

	/* 首页：联系区上下堆叠（.about 原 300px 定高 + float:left，移动端堆叠后必须去浮动，
	   否则 w1200 高度塌陷，.about 溢出压到页脚上，调多大 padding 都没用） */
	.about { width: 100%; height: auto; min-height: 0; float: none; }
	/* 堆叠后区块高度超过 492px 背景图原高，底部会露白 —— 背景图随区块缩放 */
	.about_bg { background-size: cover; }
	.about li { box-sizing: border-box; }
	.about li.lxwm5 { white-space: normal; }
	.liuyan { width: 60%; }
	.txtScroll-top { width: 38%; }

	/* 首页：新闻单列 */
	.news_bg ul { width: 100%; height: auto; float: none; }
	.news_bg .line { display: none; }
	.news_bg ul li .title { width: 76%; }
	.news_bg ul li .cont { width: 76%; }

	/* 首页：优势卡 2 列（间隔条隐藏） */
	.ys li { width: 49% !important; margin-bottom: 15px; }
	.ys li[style*="background:none"], .ys li[style*="background: none"] { display: none; }

	/* 首页：优先采购 2×2 */
	.cpys li { width: 50% !important; margin-bottom: 8px; }

	/* 首页：产品 tab 网格平铺，图定高防大图撑爆 */
	.cpzs .hd { display: none; }
	.cpzs .bd { width: 100%; float: none; }
	.cpzs .bd ul { overflow: hidden; zoom: 1; }
	.cpzs .bd li { width: 47%; }
	.cpzs .bd li .pic { height: 150px; }
	.cpzs .bd li .pic img { width: 100%; height: 150px; object-fit: cover; }
	.cpzs .bd li .text { height: 30px; line-height: 26px; }

	/* 客户案例：移动端不用 SuperSlide（模板已按宽度跳过初始化），改为横向滑动列表 */
	.case_left { overflow: hidden; }
	.case_left .bd { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0 15px; }
	.case_left .bd ul { width: max-content; display: block; }
	.case_left .bd ul li { width: 300px !important; margin: 0 12px 0 0 !important; float: none; display: inline-block; vertical-align: top; }
	.case_left .bd ul li .pic { width: 300px; height: 200px; }
	.case_left .bd ul li .pic img { width: 300px; height: 200px; object-fit: cover; }
	.case_left .hd { display: none; }
}

/* =========================================================
 * ≤767：手机 —— 汉堡导航、单列布局
 * ========================================================= */
@media (max-width: 767px) {
	/* 头部 */
	.head { height: 104px; }
	.head-holder { height: 104px !important; }
	.top_bg { height: 60px; }
	.logo { height: 44px; margin: 8px 0 0 0; }
	.logo img { height: 44px; width: auto; max-width: 68%; object-fit: contain; }
	.tel { float: right; width: auto; height: 44px; margin: 8px 0 0 0; padding: 0 0 0 36px; font-size: 14px; line-height: 44px; font-weight: bold; background-size: 30px auto; }
	.wx_img { display: none; }

	/* 导航：汉堡 */
	.nav { height: 44px; position: relative; }
	.nav ul { display: none; }
	.nav-toggle {
		display: block; position: absolute; right: 10px; top: 5px;
		width: 34px; height: 34px; padding: 7px 8px; box-sizing: border-box;
		cursor: pointer; z-index: 2;
	}
	.nav-toggle span { display: block; height: 3px; background: #fff; border-radius: 2px; margin: 0 0 5px 0; }
	.nav-toggle span:last-child { margin-bottom: 0; }
	.nav-open .nav ul {
		display: block; position: absolute; left: 0; right: 0; top: 44px;
		background: #0a76d8; z-index: 999; box-shadow: 0 6px 14px rgba(0, 0, 0, .28);
	}
	.nav-open .nav ul li { width: 100%; float: none; line-height: 44px; background: none; border-top: 1px solid rgba(255, 255, 255, .14); }
	.nav-open .nav ul li a { font-size: 15px; }
	.nav-open .nav ul li a:hover, .nav-open .nav ul li a.on { background: rgba(255, 255, 255, .12); }

	/* 首页轮播降高 */
	.slideBox { height: 240px; }
	.slideBox .bd li { height: 240px; background-size: cover !important; }
	.slideBox .prev, .slideBox .next { display: none; }

	/* 首页版块间距收敛 */
	.ys { padding: 30px 0; }
	.ys li { width: 100% !important; }
	/* 移动端禁用 scrollReveal 入场动画：该库（0.1.3, reset:true）在部分手机浏览器
	   上不触发 reveal，内容会一直 opacity:0 隐身 —— 强制可见，PC 不受影响 */
	[data-scroll-reveal] { opacity: 1 !important; transform: none !important; visibility: visible !important; }
	.cpys { padding: 30px 0; }
	.cpys li { width: 100% !important; }
	.cpzs_bg { height: auto; padding-bottom: 30px; }
	.cpzs_h1 { margin-bottom: 20px; }
	.cpzs .bd li { width: 47%; margin: 0 0 14px 2%; }
	.case { padding: 20px 0; }
	.case_h1 { padding: 15px 0; }
	.news_bg { padding: 20px 0; }
	/* 新闻条目：原 115px 定高在移动端改 auto 后，内部 .time/.title/.cont 仍是 float，
	   li 高度塌陷导致相邻条目叠压 —— 标题/摘要改为非浮动 + margin 让位于时间列 */
	.news_bg ul li { height: auto; padding-bottom: 14px; overflow: hidden; }
	.news_bg ul li .time { margin: 0; }
	.news_bg ul li .title { float: none; width: auto; height: auto; line-height: 26px; margin-left: 110px; }
	.news_bg ul li .cont { float: none; width: auto; height: auto; margin-left: 110px; padding-top: 2px; }
	.news_bg .more { margin: 20px 0; }

	/* 首页：联系区全宽堆叠 */
	.about_bg { padding: 0 0 60px; }
	.about { width: 100%; }
	.about li { width: 100%; height: 36px; line-height: 36px; box-sizing: border-box; }
	.about li.lxwm5 { white-space: normal; line-height: 22px; height: auto; }
	/* 移动端隐藏首页"在线留言"表单与"问答"滚动模块（仅 ≤767，PC 不受影响） */
	.liuyan, .txtScroll-top { display: none; }
	.liuyan { width: 100%; margin-top: 20px; }
	.liuyan .input1 { width: 32%; }
	.liuyan .input2 { width: 22%; }
	.liuyan .input3 { height: 64px; }
	.liuyan .tijiao { width: 90px; }
	.txtScroll-top { width: 100%; float: none; margin-top: 15px; }

	/* 内页两栏早已堆叠；侧栏联系块收窄 */
	.left_lx { display: none; }
	.left_nav ul { border-width: 1px 0; }
	.left_nav li { font-size: 14px; }

	/* 产品/案例列表：2 列 → 手机网格 */
	.list_pic { padding: 5px 5px 15px 5px; }
	.list_pic li { width: 50%; padding: 6px 0; }
	.list_pic li .pic { height: 140px; }
	.list_pic li img { height: 140px; }
	.list_pic li .title { height: 34px; line-height: 34px; font-size: 13px; }
	.list_pic li .title a { font-size: 13px; }

	/* 新闻列表 */
	.list_news { padding: 15px 15px; }
	.list_news li a { font-size: 14px; }
	.list_news li span { float: none; display: block; font-size: 12px; }

	/* 详情正文 */
	.boxcontent .h1 { font-size: 20px; height: auto; line-height: 1.5; }
	.boxcontent .info { height: auto; line-height: 1.8; }
	.updown .previous, .updown .next { font-size: 13px; }

	/* 面包屑：右侧对齐改上下排列 */
	.weizhi { height: auto; line-height: 1.6; padding: 8px 0; }
	.weizhi h1 { position: static; display: inline-block; height: auto; line-height: 30px; font-size: 17px; border-bottom: 2px solid #007ae7; padding: 0 6px; }
	.weizhi p { float: none; text-align: left; padding: 2px 0 0 0; }

	/* 页脚 */
	.foot { padding: 28px 0 18px; }
	.link, .bq { font-size: 12px; line-height: 1.8; padding: 0 10px 8px 10px; box-sizing: border-box; word-break: break-all; }
	/* 移动端隐藏页脚"友情链接"区块（仅 ≤767，PC 保留） */
	.foot .link { display: none; }
	.link a, .bq a, .bq .ga { font-size: 12px; }
	.bq .ga { background: none; padding-left: 0; }
}

/* =========================================================
 * ≤479：小屏手机
 * ========================================================= */
@media (max-width: 479px) {
	.logo img { max-width: 62%; }
	.tel { font-size: 13px; }
	.slideBox { height: 190px; }
	.slideBox .bd li { height: 190px; }
	.list_pic li { width: 100%; }
	.list_pic li .pic { height: 180px; }
	.list_pic li img { height: 180px; }
	.liuyan .input1 { width: 30%; }
	/* 留言板：验证码行 + 提交按钮纵排（320px 横排放不下） */
	.gb-actions { flex-direction: column; gap: 14px; }
	.gb-submit { margin-left: 0; width: 100%; }
	.ys li .p { padding: 0 10px; }
	.foot .link, .foot .bq { text-align: left; }
}

/* =========================================================
 * 专属版式页窄屏微调（about / culture / contact / guestbook）
 * 这四页本身是 flex/grid 弹性布局，只需处理深色标题带、
 * 装饰圆环、多列网格与内边距
 * ========================================================= */
@media (max-width: 991px) {
	/* 深色标题带：装饰环弱化右移，给标题让位 */
	.ab-head .ab-deco, .ct-head .ct-deco { right: -30px; opacity: .45; }
	.ct-head .ct-deco { width: 150px; height: 150px; margin-top: -75px; }
	.ct-head .ct-deco::before, .ct-head .ct-deco::after { display: none; }

	/* 联系页：六列瓦片 → 三列 */
	.ct-grid { grid-template-columns: repeat(3, 1fr); }

	/* 联系页：地图降高 */
	.ct-map-stage { height: 360px; }
}

@media (max-width: 767px) {
	/* 深色标题带统一收内边距、缩标题 */
	.ab-head, .ct-head, .cu-head, .gb-head { padding: 28px 20px 24px; }
	.ab-head h1 { font-size: 26px; letter-spacing: 3px; }
	.ab-head h1::before { height: 22px; margin-right: 12px; }
	.ab-head .ab-rule, .ab-head .ab-crumb { margin-left: 0; }
	.ct-head .ct-deco, .ab-head .ab-deco { display: none; }

	/* 公司简介页：头图降高、正文内边距收敛 */
	.ab-cover { height: 200px; }
	.ab-text { padding: 26px 20px 34px; }
	.ab-right.has-cover .ab-text::before { left: 20px; }
	.ab-content { font-size: 15px; line-height: 1.95; }
	.ab-content p { margin-bottom: 16px; }
	.ab-content p.is-lead { padding: 16px 14px 16px 16px; font-size: 15px; }
	.ab-content p.is-note { padding: 16px 14px; }

	/* 企业文化页：横幅/引言/双卡收敛 */
	.cu-vision-in { padding: 20px 18px; }
	.cu-vision-ico { width: 48px; height: 48px; }
	.cu-vision-ico svg { width: 26px; height: 26px; }
	.cu-vision-body h2 { font-size: 16px; }
	.cu-vision-body p { font-size: 14px; }
	.cu-quote { padding: 24px 20px; }
	.cu-quote-text { font-size: 15px; }
	.cu-card-head { padding: 20px 18px 12px; }
	.cu-sp { padding: 20px 18px; }
	.cu-duo-item { padding: 20px 18px; }

	/* 联系页：两列瓦片、地图 260px、CTA 纵排 */
	.ct-grid { grid-template-columns: repeat(2, 1fr); }
	.ct-map-stage { height: 260px; }
	.ct-cta { flex-direction: column; align-items: flex-start; gap: 12px; }
	/* 地址条：手机上放不下「地址+两按钮」一行，允许换行 */
	.ct-addr { flex-wrap: wrap; }
	.ct-addr-act { width: 100%; margin-top: 12px; justify-content: flex-start; }

	/* 留言板：表单字段纵排 */
	.gb-row { flex-direction: column; gap: 0; }
	.gb-row .gb-field { margin-top: 14px; }
	/* 留言板：电话/微信行纵排（375px 横排会挤出容器） */
	.gb-alt { flex-direction: column; align-items: flex-start; padding: 6px 16px; }
	.gb-alt-item { padding: 12px 0; }
	.gb-alt-item + .gb-alt-item { margin-left: 0; padding-left: 0; border-left: none; border-top: 1px solid #eef2f7; width: 100%; }
	.gb-alt-more { margin-left: 0; padding: 12px 0; }
}

@media (max-width: 479px) {
	.ct-grid { grid-template-columns: 1fr; }
	.ct-map-stage { height: 220px; }
	.ab-head h1 { font-size: 22px; letter-spacing: 2px; }
}
