/* 宝梅智能首页与关于页样式 */

.page-template-template-home .home-container,
.page-template-template-about .home-container {
	max-width: 100%;
	padding: 0;
}

.page-template-template-home #content,
.page-template-template-about #content {
	padding: 0;
}

/* ── 通用区块 ── */
.baomei-section {
	padding: 80px 0;
}

.baomei-section-head {
	margin-bottom: 52px;
}

.baomei-section-tag {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 3px;
	color: var(--primary-color, #ff5e3a);
	margin-bottom: 10px;
}

.baomei-section-head h3 {
	font-size: 32px;
	color: #1a2340;
	font-weight: 700;
	margin-bottom: 0;
	position: relative;
	display: inline-block;
}

.baomei-section-head h3::after {
	content: '';
	display: block;
	width: 48px;
	height: 3px;
	background: var(--primary-color, #ff5e3a);
	margin: 12px auto 0;
	border-radius: 2px;
}

.baomei-section-subtitle {
	margin-top: 14px;
	color: #778;
	font-size: 15px;
	line-height: 1.7;
}

/* ── 按钮 ── */
.baomei-btn {
	display: inline-block;
	padding: 12px 32px;
	background: var(--primary-color, #ff5e3a);
	color: #fff !important;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	border-radius: 4px;
	transition: background 0.3s, transform 0.2s;
	letter-spacing: 0.5px;
}

.baomei-btn:hover {
	background: #1a2340;
	color: #fff !important;
	transform: translateY(-2px);
}

.baomei-btn-lg {
	padding: 14px 36px;
	font-size: 15px;
}

.baomei-btn-lg i {
	margin-right: 8px;
}

.baomei-btn-outline {
	background: transparent !important;
	border: 2px solid var(--primary-color, #ff5e3a);
	color: var(--primary-color, #ff5e3a) !important;
}

.baomei-btn-outline:hover {
	background: var(--primary-color, #ff5e3a) !important;
	color: #fff !important;
}

.baomei-btn-block {
	display: block;
	width: 100%;
	text-align: center;
}

/* ── 信息列表 ── */
.baomei-info-list {
	list-style: none;
	padding: 0;
	margin: 20px 0 0;
}

.baomei-info-list li {
	padding: 7px 0;
	color: #445;
	font-size: 14px;
}

.baomei-info-list i {
	color: var(--primary-color, #ff5e3a);
	width: 20px;
	margin-right: 8px;
}

.baomei-info-list a {
	color: var(--primary-color, #ff5e3a);
	text-decoration: none;
}

.baomei-info-list a:hover {
	text-decoration: underline;
}

/* ── 关于我们 ── */
.baomei-about {
	background: linear-gradient(180deg, #f4f6fa 0%, #fff 100%);
}

.baomei-about-visual {
	position: relative;
	padding-right: 20px;
}

.baomei-about-main-img {
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(26, 35, 64, 0.14);
}

.baomei-about-main-img img {
	width: 100%;
	height: 380px;
	object-fit: cover;
	display: block;
}

.baomei-about-sub-img {
	position: absolute;
	bottom: -24px;
	right: 0;
	width: 52%;
	border-radius: 8px;
	overflow: hidden;
	border: 4px solid #fff;
	box-shadow: 0 8px 24px rgba(26, 35, 64, 0.18);
}

.baomei-about-sub-img img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
}

.baomei-about-badge {
	position: absolute;
	top: 24px;
	left: -16px;
	background: var(--primary-color, #ff5e3a);
	color: #fff;
	padding: 14px 18px;
	border-radius: 6px;
	text-align: center;
	box-shadow: 0 6px 20px rgba(255, 94, 58, 0.35);
	line-height: 1.2;
}

.baomei-about-badge strong {
	display: block;
	font-size: 28px;
	font-weight: 800;
}

.baomei-about-badge span {
	font-size: 12px;
	opacity: 0.9;
}

.baomei-about-content h4 {
	color: #1a2340;
	font-size: 22px;
	margin-bottom: 18px;
	font-weight: 700;
	line-height: 1.4;
}

.baomei-about-content p {
	color: #556;
	line-height: 1.85;
	margin-bottom: 14px;
	font-size: 15px;
}

.baomei-about-promise {
	padding: 16px 20px;
	background: #fff;
	border-left: 4px solid var(--primary-color, #ff5e3a);
	border-radius: 0 8px 8px 0;
	box-shadow: 0 2px 12px rgba(26, 35, 64, 0.06);
}

/* ── 产品展示 ── */
.baomei-products {
	position: relative;
	background: #121a2e;
	padding: 90px 0;
	overflow: hidden;
}

.baomei-products-bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 60% at 20% 0%, rgba(255, 94, 58, 0.12) 0%, transparent 60%),
		radial-gradient(ellipse 60% 50% at 90% 100%, rgba(44, 54, 93, 0.5) 0%, transparent 55%);
	pointer-events: none;
}

.baomei-products .container {
	position: relative;
	z-index: 1;
}

.baomei-section-head--light .baomei-section-tag {
	color: var(--primary-color, #ff5e3a);
}

.baomei-section-head--light h3 {
	color: #fff;
}

.baomei-section-head--light h3::after {
	background: var(--primary-color, #ff5e3a);
}

.baomei-section-head--light .baomei-section-subtitle {
	color: rgba(255, 255, 255, 0.65);
}

.baomei-product-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.baomei-product-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	height: 100%;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}

.baomei-product-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.baomei-product-link {
	display: block;
	text-decoration: none !important;
	color: inherit;
	height: 100%;
}

.baomei-product-image {
	position: relative;
	overflow: hidden;
	height: 220px;
	background: linear-gradient(135deg, #eef1f6, #dde3ec);
}

.baomei-product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.baomei-product-card:hover .baomei-product-image img {
	transform: scale(1.08);
}

.baomei-product-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(18, 26, 46, 0.75) 0%, transparent 55%);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding-bottom: 20px;
	opacity: 0;
	transition: opacity 0.35s;
}

.baomei-product-card:hover .baomei-product-overlay {
	opacity: 1;
}

.baomei-product-view {
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.5px;
	padding: 8px 20px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 30px;
	backdrop-filter: blur(4px);
}

.baomei-product-view i {
	margin-right: 6px;
	transition: transform 0.3s;
}

.baomei-product-card:hover .baomei-product-view i {
	transform: translateX(4px);
}

.baomei-product-body {
	padding: 22px 20px 26px;
	border-top: 3px solid transparent;
	transition: border-color 0.3s;
}

.baomei-product-card:hover .baomei-product-body {
	border-top-color: var(--primary-color, #ff5e3a);
}

.baomei-product-tag {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--primary-color, #ff5e3a);
	background: rgba(255, 94, 58, 0.08);
	padding: 3px 10px;
	border-radius: 3px;
	margin-bottom: 10px;
}

.baomei-product-body h4 {
	color: #1a2340;
	font-size: 16px;
	margin-bottom: 8px;
	font-weight: 700;
	line-height: 1.4;
	transition: color 0.2s;
}

.baomei-product-card:hover .baomei-product-body h4 {
	color: var(--primary-color, #ff5e3a);
}

.baomei-product-body p {
	color: #778;
	font-size: 13px;
	line-height: 1.65;
	margin: 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.baomei-products-footer {
	margin-top: 48px;
}

.baomei-btn-outline-light {
	background: transparent !important;
	border: 2px solid rgba(255, 255, 255, 0.45) !important;
	color: #fff !important;
	padding: 14px 40px;
	font-size: 15px;
	border-radius: 4px;
	transition: background 0.3s, border-color 0.3s, transform 0.2s;
}

.baomei-btn-outline-light:hover {
	background: var(--primary-color, #ff5e3a) !important;
	border-color: var(--primary-color, #ff5e3a) !important;
	color: #fff !important;
	transform: translateY(-2px);
}

.baomei-btn-outline-light i {
	margin-left: 8px;
	font-size: 12px;
	transition: transform 0.3s;
}

.baomei-btn-outline-light:hover i {
	transform: translateX(4px);
}

.baomei-product-empty {
	padding: 60px 20px;
	color: rgba(255, 255, 255, 0.6);
}

.baomei-product-empty i {
	font-size: 48px;
	color: rgba(255, 255, 255, 0.25);
	margin-bottom: 16px;
	display: block;
}

.baomei-product-empty p {
	font-size: 15px;
	margin: 0;
}

/* ── 应用领域 ── */
.baomei-applications {
	background: #f4f6fa;
}

.baomei-app-card {
	background: #fff;
	padding: 36px 24px;
	border-radius: 10px;
	text-align: center;
	height: 100%;
	box-shadow: 0 2px 12px rgba(26, 35, 64, 0.05);
	transition: transform 0.3s, box-shadow 0.3s;
}

.baomei-app-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 32px rgba(26, 35, 64, 0.1);
}

.baomei-app-icon {
	width: 60px;
	height: 60px;
	line-height: 60px;
	margin: 0 auto 18px;
	background: linear-gradient(135deg, var(--primary-color, #ff5e3a), #ff8060);
	border-radius: 14px;
	color: #fff;
	font-size: 24px;
	box-shadow: 0 6px 16px rgba(255, 94, 58, 0.3);
}

.baomei-app-card h4 {
	color: #1a2340;
	font-size: 17px;
	margin-bottom: 10px;
	font-weight: 700;
}

.baomei-app-card p {
	color: #778;
	font-size: 13px;
	line-height: 1.65;
	margin: 0;
}

.baomei-app-card-link {
	text-decoration: none !important;
	display: block;
	height: 100%;
}

.baomei-app-card--linked {
	padding: 0;
	overflow: hidden;
	text-align: left;
	display: flex;
	flex-direction: column;
}

.baomei-app-card-thumb {
	position: relative;
	height: 180px;
	overflow: hidden;
}

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

.baomei-app-card--linked:hover .baomei-app-card-thumb img {
	transform: scale(1.08);
}

.baomei-app-card-overlay {
	position: absolute;
	inset: 0;
	background: rgba(26, 35, 64, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.35s;
}

.baomei-app-card-overlay span {
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	padding: 8px 20px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 30px;
}

.baomei-app-card-overlay span i {
	margin-left: 6px;
	transition: transform 0.3s;
}

.baomei-app-card--linked:hover .baomei-app-card-overlay {
	opacity: 1;
}

.baomei-app-card--linked:hover .baomei-app-card-overlay span i {
	transform: translateX(4px);
}

.baomei-app-card-body {
	padding: 24px 22px 28px;
	flex: 1;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.baomei-app-card-body .baomei-app-icon {
	width: 48px;
	height: 48px;
	line-height: 1;
	margin: 0 0 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	flex-shrink: 0;
}

.baomei-app-card-body h4 {
	color: #1a2340;
	transition: color 0.2s;
	width: 100%;
}

.baomei-app-card--linked:hover .baomei-app-card-body h4 {
	color: var(--primary-color, #ff5e3a);
}

/* ── 核心优势 ── */
.baomei-advantages {
	background: #fff;
}

.baomei-adv-card {
	text-align: center;
	padding: 40px 24px;
	border-radius: 10px;
	height: 100%;
	background: #f8f9fc;
	border: 1px solid transparent;
	transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.baomei-adv-card:hover {
	background: #fff;
	border-color: rgba(255, 94, 58, 0.25);
	transform: translateY(-4px);
	box-shadow: 0 8px 28px rgba(26, 35, 64, 0.08);
}

.baomei-adv-icon {
	width: 72px;
	height: 72px;
	line-height: 72px;
	margin: 0 auto 20px;
	background: #fff;
	border-radius: 50%;
	font-size: 30px;
	color: var(--primary-color, #ff5e3a);
	box-shadow: 0 4px 16px rgba(255, 94, 58, 0.15);
}

.baomei-adv-card h4 {
	color: #1a2340;
	font-size: 16px;
	margin-bottom: 10px;
	font-weight: 700;
}

.baomei-adv-card p {
	color: #778;
	font-size: 13px;
	line-height: 1.65;
	margin: 0;
}

/* ── 战略合作 ── */
.baomei-partner {
	background: linear-gradient(135deg, #1a2340 0%, #2c365d 60%, #1e2d50 100%);
	padding: 80px 0;
}

.baomei-partner-wrap {
	background: rgba(255, 255, 255, 0.04);
	border-radius: 16px;
	padding: 48px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.baomei-partner-image {
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.baomei-partner-image img {
	width: 100%;
	height: 400px;
	object-fit: cover;
	display: block;
}

.baomei-partner-badge {
	display: inline-block;
	padding: 5px 16px;
	background: var(--primary-color, #ff5e3a);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 16px;
	border-radius: 3px;
	letter-spacing: 1px;
}

.baomei-partner-content h3 {
	color: #fff;
	font-size: 26px;
	margin-bottom: 18px;
	font-weight: 700;
	line-height: 1.45;
}

.baomei-partner-content p {
	color: rgba(255, 255, 255, 0.78);
	line-height: 1.85;
	margin-bottom: 14px;
	font-size: 15px;
}

.baomei-partner-list {
	list-style: none;
	padding: 0;
	margin: 20px 0 24px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 16px;
}

.baomei-partner-list li {
	color: rgba(255, 255, 255, 0.88);
	font-size: 14px;
}

.baomei-partner-list i {
	color: var(--primary-color, #ff5e3a);
	margin-right: 8px;
}

/* ── 智造实力 ── */
.baomei-strength {
	background: #f4f6fa;
}

.baomei-stats-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 36px;
}

.baomei-stat-item {
	text-align: center;
	padding: 32px 16px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 12px rgba(26, 35, 64, 0.06);
	position: relative;
	overflow: hidden;
}

.baomei-stat-item::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--primary-color, #ff5e3a);
}

.baomei-stat-num {
	font-size: 38px;
	font-weight: 800;
	color: #1a2340;
	line-height: 1.1;
}

.baomei-stat-num span {
	font-size: 15px;
	font-weight: 500;
	color: var(--primary-color, #ff5e3a);
	margin-left: 2px;
}

.baomei-stat-item p {
	margin: 10px 0 0;
	color: #778;
	font-size: 13px;
}

.baomei-strength-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.baomei-strength-photo {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(26, 35, 64, 0.1);
}

.baomei-strength-photo img {
	width: 100%;
	height: 260px;
	object-fit: cover;
	display: block;
	transition: transform 0.5s;
}

.baomei-strength-photo:hover img {
	transform: scale(1.05);
}

.baomei-strength-label {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 12px 16px;
	background: linear-gradient(transparent, rgba(26, 35, 64, 0.75));
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}

.baomei-strength-desc {
	margin-top: 36px;
}

.baomei-strength-desc p {
	max-width: 760px;
	margin: 0 auto;
	color: #667;
	line-height: 1.85;
	font-size: 15px;
}

/* ── 新闻动态 ── */
.baomei-news {
	background: #fff;
}

.baomei-news-card {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	height: 100%;
	box-shadow: 0 2px 16px rgba(26, 35, 64, 0.07);
	transition: box-shadow 0.3s, transform 0.3s;
}

.baomei-news-card:hover {
	box-shadow: 0 12px 36px rgba(26, 35, 64, 0.12);
	transform: translateY(-4px);
}

.baomei-news-thumb {
	display: block;
	overflow: hidden;
	height: 210px;
	background: #f0f2f6;
}

.baomei-news-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.baomei-news-card:hover .baomei-news-thumb img {
	transform: scale(1.06);
}

.baomei-news-body {
	padding: 22px 20px 26px;
}

.baomei-news-date {
	font-size: 12px;
	color: var(--primary-color, #ff5e3a);
	font-weight: 600;
	letter-spacing: 0.5px;
}

.baomei-news-body h4 {
	margin: 10px 0 10px;
	font-size: 16px;
	line-height: 1.45;
	font-weight: 700;
}

.baomei-news-body h4 a {
	color: #1a2340;
	text-decoration: none;
	transition: color 0.2s;
}

.baomei-news-body h4 a:hover {
	color: var(--primary-color, #ff5e3a);
}

.baomei-news-body p {
	color: #778;
	font-size: 13px;
	line-height: 1.65;
	margin: 0;
}

.baomei-news-more {
	margin-top: 40px;
}

/* ── 联系我们 ── */
.baomei-contact {
	background: linear-gradient(180deg, #f4f6fa 0%, #e8ecf2 100%);
	padding-bottom: 90px !important;
}

.baomei-contact-box {
	background: #fff;
	padding: 52px 48px;
	border-radius: 14px;
	box-shadow: 0 12px 48px rgba(26, 35, 64, 0.1);
	position: relative;
	overflow: hidden;
}

.baomei-contact-box::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 5px;
	background: var(--primary-color, #ff5e3a);
}

.baomei-contact-box h3 {
	color: #1a2340;
	font-size: 26px;
	margin-bottom: 12px;
	font-weight: 700;
}

.baomei-contact-box > .row > .col-lg-7 > p {
	color: #667;
	line-height: 1.75;
	margin-bottom: 18px;
	font-size: 15px;
}

.baomei-contact-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.baomei-contact-list li {
	padding: 6px 0;
	color: #445;
	font-size: 14px;
}

.baomei-contact-list i {
	color: var(--primary-color, #ff5e3a);
	width: 20px;
	margin-right: 8px;
}

/* ── Banner 微调 ── */
.baomei-banner .banner_box h5 {
	background: var(--primary-color, #ff5e3a);
	display: inline-block;
	padding: 4px 14px;
	border-radius: 3px;
	font-size: 13px;
	letter-spacing: 0.5px;
}

.baomei-banner .banner_box h3 {
	font-weight: 700;
	line-height: 1.35;
}

/* ── 关于我们页面 ── */
.baomei-about-hero {
	position: relative;
	min-height: 340px;
	background: #1a2340;
}

.baomei-about-hero img {
	width: 100%;
	height: 340px;
	object-fit: cover;
	opacity: 0.45;
	display: block;
}

.baomei-about-hero-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: #fff;
	width: 90%;
}

.baomei-about-hero-text h1 {
	font-size: 44px;
	font-weight: 700;
	margin-bottom: 10px;
}

.baomei-about-hero-text p {
	font-size: 17px;
	opacity: 0.88;
}

.baomei-about-page-content {
	padding: 70px 0;
}

.baomei-about-page-content .lead {
	font-size: 17px;
	color: #445;
	line-height: 1.9;
	margin-bottom: 24px;
}

.baomei-highlight-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 44px 0;
}

.baomei-highlight-item {
	text-align: center;
	padding: 36px 24px;
	background: #f4f6fa;
	border-radius: 10px;
	transition: transform 0.3s;
}

.baomei-highlight-item:hover {
	transform: translateY(-4px);
}

.baomei-highlight-item i {
	font-size: 36px;
	color: var(--primary-color, #ff5e3a);
	margin-bottom: 16px;
}

.baomei-highlight-item h5 {
	color: #1a2340;
	font-size: 17px;
	margin-bottom: 8px;
	font-weight: 700;
}

.baomei-highlight-item p {
	color: #778;
	font-size: 13px;
	margin: 0;
	line-height: 1.65;
}

.baomei-gallery {
	padding: 60px 0 80px;
	background: #f4f6fa;
}

.baomei-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.baomei-gallery-grid img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	border-radius: 10px;
	box-shadow: 0 4px 16px rgba(26, 35, 64, 0.08);
}

/* ── 响应式 ── */
@media (max-width: 991px) {
	.baomei-section {
		padding: 56px 0;
	}

	.baomei-about-visual {
		padding-right: 0;
		margin-bottom: 32px;
	}

	.baomei-about-main-img img {
		height: 280px;
	}

	.baomei-about-sub-img {
		position: relative;
		bottom: auto;
		right: auto;
		width: 100%;
		margin-top: 16px;
	}

	.baomei-about-badge {
		left: 16px;
		top: 16px;
	}

	.baomei-partner-wrap {
		padding: 28px 20px;
	}

	.baomei-partner-image img {
		height: 260px;
		margin-bottom: 24px;
	}

	.baomei-partner-list {
		grid-template-columns: 1fr;
	}

	.baomei-stats-row {
		grid-template-columns: repeat(2, 1fr);
	}

	.baomei-product-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.baomei-strength-gallery,
	.baomei-highlight-grid,
	.baomei-gallery-grid {
		grid-template-columns: 1fr;
	}

	.baomei-contact-box {
		padding: 36px 28px;
	}

	.baomei-about-hero-text h1 {
		font-size: 30px;
	}
}

@media (max-width: 575px) {
	.baomei-product-grid {
		grid-template-columns: 1fr;
	}

	.baomei-products {
		padding: 60px 0;
	}
}
