/* 基础重置*/
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: '微软雅黑', sans-serif;
}
:root {
  /* 基本色系 */
  --brand-primary: #a8001f;         /* 格力品牌主色 */
 --brand-secondary: #0066b3;       /* 格力品牌次色 */
 --text-primary: #333;
 --text-secondary: #666;
 --border-color: #eaeaea;
 --background-light: #f8f9fa;
  
  /* 新增卡片相关变量 */
  --card-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
 --card-shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.15);
 --card-radius: 12px;
 --transition-smooth: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
  /* 新增按钮相关变量 */
  --btn-primary: linear-gradient(135deg, #e1251b 0%, #c11a11 100%);
 --btn-secondary: linear-gradient(135deg, #0066b3 0%, #004a99 100%);
 --btn-hover: linear-gradient(135deg, #c11a11 0%, #a0150e 100%);
}
html {
	scroll-behavior: smooth;
}
body {
	color: var(--text-primary);
	line-height: 1.6;
	background-color: #fff;
}
a {
	text-decoration: none;
	color: inherit;
	transition: color 0.3s;
}
a:hover {
	color: var(--brand-primary);
}
/* ========== 导航栏优 ========== */
.navbar {
	max-width: 1920px;
	margin: 0 auto;
	padding: 1rem 6rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.navbar-outer {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	background: #fff;
}
.logo {
	width: clamp(150px, 12vw, 200px);
	height: auto;
	transition: width 0.3s ease;
	object-fit: contain;
	display: block;
}
#nav-links {
	display: flex;
	gap: 1rem;
	font-size: clamp(0.9rem, 1.1vw + 2px, 1.5rem);
}
#nav-links a {
	text-decoration: none;
	color: var(--text-primary);
	font-weight: 500;
	transition: color 0.3s;
	border-radius: 4px;
	position: relative;
	display: inline-flex;
}
#nav-links a:hover {
	color: var(--brand-primary);
	background-color: var(--background-light);
}
#nav-links a::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--brand-primary);
	transition: width 0.3s ease;
}
#nav-links a:hover::after {
	width: 100%;
}
.hamburger {
	background: none;
	display: none;
	cursor: pointer;
	border: none;
	padding: 0;
	font-size: 1.5rem;
	color: var(--brand-primary);
}
.phone {
	color: #0066b3;
	font-weight: 500;
	height: 100%;
	padding-left: 1rem;
	text-align: center;
	border-left: 1px solid #918f8f;
}
.dropdown-menu ,.online-menu {
	position: absolute;
	top: 70%;
	left: 0;
	background-color: white;
	border: 1px solid #eee;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	align-items: center;
	display: none;
	gap: 3rem;
	justify-content: center;
	width: 100%;
	padding: 0.8rem 5rem;
	z-index: 100;
}
.dropdown-menu.active ,.online-menu.active{
	display: flex;
}

@media (min-width: 769px) {
.dropdown:hover .dropdown-menu  , .dropdown:hover .online-menu{
	display: flex;
}
}

@media (max-width: 768px) {
.dropdown {
	position: relative;
}
.phone {
	display: none;
}
.dropdown-menu , .online-menu{
	position: static;
	align-items: center;
	display: none;
	gap: 1rem;
	flex-direction: column;
	justify-content: center;
	padding: 1rem 1rem 0rem 1rem;
	align-items: flex-start;
	border: none;
	box-shadow: none;
}
}
/* ========== 横幅区域优化 ========== */
.navbar-outer + .banner-container {
 margin-top: calc(1rem * 2 + 36px);
}

@media (max-width: 1200px) {
.navbar-outer + .banner-container {
 margin-top: calc(1rem * 2 + clamp(150px, 12vw, 200px) * 0.2);
}
}

@media (max-width: 768px) {
.navbar-outer + .banner-container {
 margin-top: calc(0.5rem * 2 + clamp(100px, 25vw, 150px) * 0.3);
}
}
.banner-container {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16/5;
}
.banner {
	display: none;
	transition: opacity 0.5s ease;
	width: 100%;
	opacity: 0;
}
.banner.active {
	display: block;
	opacity: 1;
}
.banner-dots {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
}
.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: background 0.3s ease;
}
.dot.active {
	background: #fff;
}
/* ========== 面包屑导航优 ========== */
.bread {
	padding: 0.5rem 6rem;
	background-color: var(--background-light);
}
.bread p.dqwz {
	font-size: 0.9rem;
	line-height: 1.5rem;
	color: var(--text-secondary);
	padding-left: 20px;
	background: url(/images/home.png) no-repeat left center;
}
.bread p.dqwz a {
	color: var(--text-primary);
	transition: color 0.3s;
}
.bread p.dqwz a:hover {
	color: var(--brand-primary);
}
/* ========== 主内容区优化 ========== */
main {
	padding: 1rem 6rem 1rem 6rem;
	overflow: hidden;
	height: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 2%;
}
main section.index {
	width: 100%;
	background-color: #fff;
	padding: 1.8rem;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	margin-bottom: 2rem;
}
/* 主标题优*/
h1.jingdong {
    width: 100%;
	text-align: center;
	font-size: clamp(1.8rem, 2.2vw, 2.5rem);
	color: var(--brand-secondary);
	margin: 1rem 0 0rem;
	padding: 0.5rem 0.5rem;
	position: relative;
	background: linear-gradient(135deg, rgba(168, 0, 31, 0.05) 0%, rgba(0, 102, 179, 0.05) 100%);
	border-radius: 10px;
	border-bottom: 3px solid var(--brand-primary);
}
/* 分类标题优化 */
.fenlei {
	position: relative;
	padding: 1rem 1rem 1rem 4.5rem;
	margin: 2.5rem 0 1.5rem;
	font-size: clamp(1.3rem, 1.6vw, 2rem);
	color: var(--brand-secondary);
	background: linear-gradient(135deg, rgba(0, 102, 179, 0.05) 0%, rgba(0, 102, 179, 0.02) 100%);
	border-left: 4px solid var(--brand-primary);
	border-radius: 8px 0 0 8px;
	display: flex;
	align-items: center;
	gap: 1rem;
}
.fenlei::before {
	content: "";
	position: absolute;
	left: 1.2rem;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	background-color: var(--brand-primary);
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
	mask-repeat: no-repeat;
	mask-position: center;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
}
.fenlei::after {
	content: "";
	flex-grow: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(0, 102, 179, 0.2) 20%, rgba(0, 102, 179, 0.2) 80%, transparent);
}
/* 分类介绍区域优化 */
.category-intro {
	background: #f8f9fa;
	border-radius: 10px;
	padding: 1.5rem;
	margin: 1.5rem 0 2.5rem;
	border-left: 4px solid var(--brand-primary);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.category-intro h3 {
	color: var(--brand-primary);
	margin: 1.2rem 0 0.8rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px dashed rgba(168, 0, 31, 0.2);
	font-size: clamp(1.2rem, 1.3vw, 1.5rem);
}
.category-intro h3:first-child {
	margin-top: 0;
}
.category-intro p {
	font-size: clamp(0.95rem, 1.05vw, 1.1rem);
	line-height: 1.6;
	margin: 0.5rem 0 0.5rem 1.5rem;
	color: #444;
	position: relative;
}
/* 卡片容器优化 */
.outcards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
	margin: 0 auto;
	max-width: 1920px;
	padding: 0 15px;
	width: 100%;
	box-sizing: border-box;
}

@media (min-width: 1200px) {
.outcards {
	grid-template-columns: repeat(4, 1fr);
}
}

@media (max-width: 1199px) and (min-width: 768px) {
.outcards {
	grid-template-columns: repeat(3, 1fr);
}
}

@media (max-width: 767px) and (min-width: 480px) {
.outcards {
	grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 479px) {
.outcards {
	grid-template-columns: 1fr;
}
}
/* 单个卡片优化 */
.card {
	position: relative;
	background: #fff;
	border-radius: var(--card-radius);
	overflow: hidden;
	box-shadow: var(--card-shadow);
	transition: var(--transition-smooth);
	border: 1px solid #f0f0f0;
	display: flex;
	flex-direction: column;
	height: 100%;
	transform: translateY(0);
}
.card:hover {
	transform: translateY(-8px);
	box-shadow: var(--card-shadow-hover);
	border-color: rgba(0, 102, 179, 0.2);
}
.card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
	z-index: 2;
}
.card img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	transition: transform 0.5s ease;
	padding: 1rem 1rem 0rem 1rem;
}
.card:hover img {
	transform: scale(1.05);
}
.card .airname {
	position: absolute;
	top: 1rem;
	left: 1rem;
	background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
	color: white;
	margin: 0;
	padding: 0.4rem 1rem;
	border-radius: 20px;
	font-size: clamp(0.9rem, 1vw, 1.1rem);
	font-weight: 600;
	z-index: 2;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.card-content {
	padding: 0rem 1.2rem 1.2rem 1.2rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	gap: 0.8rem;
}
.card .name {
	font-size: clamp(0.7rem, 0.95vw, 1.1rem);
	line-height: 1.5;
	margin: 0;
	color: #444;
	flex-grow: 1;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}
.card .name strong {
	color: var(--brand-secondary);
	font-weight: 600;
}
/* 推荐理由标签优化 */
.self-operate {
	display: inline-flex;
	align-items: center;
	background: var(--btn-primary);
	color: white;
	font-size: clamp(0.7rem, 1vw, 1.1rem);
	font-weight: 600;
	padding: 0.4rem 0.4rem;
	border-radius: 6px;
	position: relative;
	line-height: 1.2;
	white-space: nowrap;
	box-shadow: 0 3px 6px rgba(225, 37, 27, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.2);
	transition: var(--transition-smooth);
}
.self-operate:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 12px rgba(225, 37, 27, 0.3);
}
.self-operate::before {
	content: "🔍";
	margin-right: 0.3rem;
	font-size: 0.9em;
}
/* 按钮组优 */
.card .but {
	display: flex;
	gap: 0.6rem;
	border-top: 1px solid #f0f0f0;
}
.cta-button {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--btn-primary);
	color: #fff;
	padding: 0.6rem 0.8rem;
	border-radius: 6px;
	font-weight: 600;
	font-size: clamp(0.8rem, 0.9vw, 1rem);
	text-decoration: none;
	transition: var(--transition-smooth);
	border: none;
	cursor: pointer;
	text-align: center;
	position: relative;
	overflow: hidden;
	min-height: 38px;
	margin-top: 8px;
}
.cta-button:hover {
	background: var(--btn-hover);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(225, 37, 27, 0.3);
}
.cta-button:last-child {
	background: var(--btn-secondary);
}
.cta-button:last-child:hover {
	background: linear-gradient(135deg, #004a99 0%, #003a7a 100%);
}
.cta-button::after {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.6s ease;
}
.cta-button:hover::after {
	left: 100%;
}
/* 免责声明优化 */
.disclaimer {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border-radius: 10px;
	border: 1px dashed #f0ad4e;
	margin: 1rem 0 1rem;
	padding: 1.5rem;
	text-align: center;
	position: relative;
    width: 100%;
}
.disclaimer p {
	font-size: clamp(0.8rem, 0.95vw, 1rem);
	line-height: 1.5;
	color: #666;
	margin: 0;
}
/* ========== 页脚优化 ========== */
footer {
	background-color: var(--brand-primary);
	padding: 2rem 6rem;
	overflow: hidden;
	clear: both;
	color: white;
}
.foot_con {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}
.footlogo {
	align-items: center;
	display: flex;
	flex-direction: column;
}
.footlogo img.logo {
	filter: brightness(0) invert(1);
}
.footlogo img.code {
	width: 100px;
}
.foot_nav .big a {
	font-weight: bold;
	display: block;
	margin-bottom: 0.5rem;
	font-size: clamp(1rem, 1.25vw + 2px, 1.125rem);
}
.foot_nav .hui {
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.8;
	font-size: clamp(0.9rem, 1.1vw + 2px, 1rem);
	display: block;
	transition: color 0.3s;
}
.foot_nav .hui a:hover {
	color: white;
}
.foot_contact .tel {
	font-size: 1.8rem;
	line-height: 1.2;
	margin: 0.5rem 0;
	font-weight: bold;
}
.foot_contact p {
	font-weight: bold;
	font-size: clamp(1rem, 1.25vw + 2px, 1.125rem);
	display: block;
	margin-bottom: 0.5rem;
}
.foot_contact .zxbtn {
	display: inline-block;
	width: auto;
	height: auto;
	line-height: 1.5;
	text-align: center;
	color: white;
	font-weight: bold;
	font-size: 1.5rem;
	background: var(--brand-secondary);
	margin-top: 1rem;
	padding: 0.8rem 3rem;
	border-radius: 10px;
	transition: all 0.3s ease;
}
.foot_contact .zxbtn:hover {
	background: #0056b3;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.banquan {
	font-size: clamp(0.9rem, 1.1vw + 2px, 1.1rem);
	text-align: center;
	padding: 1rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.banquan a {
	color: white;
	font-weight: 500;
}
/* ========== 底部按钮栏优 ========== */
.footerBtn {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	padding-bottom: env(safe-area-inset-bottom);
	background: #fff;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
	border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 769px) {
.footerBtn {
	display: none !important;
}
}
.footerBtn ul {
	display: flex;
	padding: 0;
	margin: 0;
	list-style: none;
	width: 100%;
}
.footerBtn li {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 8px 0;
	position: relative;
}
.footer-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	padding: 8px 0;
	text-decoration: none;
	color: #666;
	transition: all 0.3s ease;
}
.btn-icon {
	width: 24px;
	height: 24px;
	margin-bottom: 4px;
	transition: all 0.3s ease;
}
.btn-text {
	text-align: center;
	line-height: 1.3;
}
.btn-text strong {
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 2px;
	transition: all 0.3s ease;
}
.btn-text span {
	display: block;
	font-size: 10px;
	line-height: 1.3;
	opacity: 0.8;
	margin: 0 auto;
	transition: all 0.3s ease;
}
.footer-btn:active {
	transform: scale(0.95);
}
/* 各按钮颜色样�?*/
.btn-emergency .btn-icon, .btn-emergency .btn-text strong {
	color: #261cdf;
}
.btn-emergency:active, .btn-emergency.active {
	background-color: rgba(38, 28, 223, 0.05);
}
.btn-emergency:active .btn-icon, .btn-emergency:active .btn-text strong, .btn-emergency.active .btn-icon, .btn-emergency.active .btn-text strong {
	color: #1a14b3;
}
.btn-case .btn-icon, .btn-case .btn-text strong {
	color: #2f8911;
}
.btn-case:active, .btn-case.active {
	background-color: rgba(47, 137, 17, 0.05);
}
.btn-case:active .btn-icon, .btn-case:active .btn-text strong, .btn-case.active .btn-icon, .btn-case.active .btn-text strong {
	color: #24720d;
}
.btn-consult .btn-icon, .btn-consult .btn-text strong {
	color: #b625ef;
}
.btn-consult:active, .btn-consult.active {
	background-color: rgba(182, 37, 239, 0.05);
}
.btn-consult:active .btn-icon, .btn-consult:active .btn-text strong, .btn-consult.active .btn-icon, .btn-consult.active .btn-text strong {
	color: #9a1dca;
}

/* 适配iPhone X及以后的全面屏设 */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
 .footerBtn {
 padding-bottom: calc(8px + env(safe-area-inset-bottom));
}
}
/* ========== 响应式设计优 ========== */
.dqwz, main, .foot_con, .banquan {
	max-width: 1920px;
	margin: 0 auto;
}

@media (min-width: 1921px) {
main {
	padding: 1rem 0rem;
}
.navbar {
	padding: 1rem 0rem;
}
}

@media (max-width: 1200px) {
.navbar, .bread, main, footer {
	padding-left: 2rem;
	padding-right: 2rem;
}
}

@media (max-width: 1000px) {
main {
	padding: 1rem 0.5rem 1rem 0.5rem;
}
footer .foot_con .footlogo {
	display: none;
}
}

@media (max-width: 768px) {
.banner-container {
	aspect-ratio: 16/7;
}
main section.index {
	padding: 0;
}
.navbar {
	padding: 0.8rem 1rem;
}
#nav-links {
	display: none;
	width: 100%;
	flex-direction: column;
	position: absolute;
	top: 100%;
	left: 0;
	background: white;
	padding: 1rem;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#nav-links.active {
	display: flex;
}
.hamburger {
	display: block;
}
.bread {
	padding-left: 1rem;
	padding-right: 1rem;
}
.weizhi {
	display: none;
}
footer {
	padding: 1rem;
}
.foot_con .footlogo, .foot_con .foot_contact {
	display: none;
}
.banquan {
	padding-bottom: 6rem;
	padding-top: 1rem;
}
/* 平板端优�?*/ 
  
.card-content {
	padding: 1rem;
}
.cta-button {
	min-height: 36px;
}
/* 分类标题优化 */
.fenlei {
	padding: 0.8rem 0.8rem 0.8rem 3.5rem;
	margin: 2rem 0 1rem;
}
.fenlei::before {
	left: 1rem;
	width: 24px;
	height: 24px;
}
.category-intro {
	padding: 1rem;
}
.outcards {
	padding: 0 5px;
}
.card .airname {
	font-size: 0.9rem;
	padding: 0.3rem 0.8rem;
}
.card .name {
	-webkit-line-clamp: 3;
}
}

/* 小手机端优化 */
@media (max-width: 480px) {
h1.jingdong {
	font-size: 1.5rem;
	margin: 1rem 0 1.5rem;
	padding: 0 0.5rem 1rem;
}
.card img {
	padding: 0.5rem;
}
.self-operate {
	font-size: 0.9rem;
	padding: 0.3rem 0.6rem;
}
.disclaimer {
	margin: 1.5rem 0 1rem;
	padding: 1rem;
}
.btn-text strong {
	font-size: 12px;
}
.btn-text span {
	font-size: 9px;
}
}
