/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #ff8c00;
  --text-color: ##191919;
  --bg-color: #f5f5f5;
  --max-width: 1440px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  min-width: 1440px;
}

/* 头部导航 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-phone {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-weight: 800;
  gap: 4px;
}

/* 主页横幅 */
.hero {
  margin-top: 87px;
	width: 100%;
}

/* 关于我们 */
.about-section {
  max-width: var(--max-width);
	position: relative;
}

.about-left {
  width: 600px;
	position: absolute;
	left: 20px;
	top: 40px;
  flex-direction: column;
  align-items: flex-start;
	padding-left: 100px;
}

.about-left-text {
  font-size: 20px;
  font-weight: bold;
}

.about-left-info {
  font-size: 14px;
	line-height: 28px;
}

/* 服务项目 */
.services-section {
  max-width: var(--max-width);
  background: var(--bg-color);
  display: flex;
}

.services-left {
  width: 360px;
  padding: 68px 0 0 20px;
  flex-direction: column;
  align-items: flex-start;
}

.services-left-text {
  padding-left: 100px;
  font-size: 20px;
  font-weight: bold;
}

.services-section h2 {
  font-size: 24px;
  color: var(--text-color);
  margin-bottom: 40px;
}

.services-grid {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background-color: var(--bg-color);
  padding: 0;
}

.service-item {
  background: #f4f5f7;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  border: 1px solid #e4e4e4;
  margin: -1px 0 0 -1px;
}

.service-item h3 {
  font-size: 14px;
  color: var(--text-color);
  font-weight: bold;
  position: relative;
  padding-left: 20px;
}

.service-item h3::before {
  position: absolute;
  left: 0;
  top: 45%;
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #ef9026;
  transform: rotateZ(45deg) translateY(-50%);
}

.service-item p {
  padding-left: 20px;
  font-size: 8px;
  color: #666666;
}

.service-item:hover {
  background-color: #fff4e5;
}

/* 经典案例 */
.cases-section {
  padding: 60px 120px;
  max-width: var(--max-width);
  margin: 0 auto;
  background-color: #fff;
  position: relative;
}

.cases-header {
  text-align: center;
  color: #191919;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.cases-header-title {
  text-align: left;
}

.cases-header-title h2 {
  font-size: 20px;
  font-weight: bold;
}

.cases-header-title span {
  font-size: 16px;
  color: #ef9026;
}

.cases-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 16px 32px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
  color: #595959;
  transition: all 0.3s;
  border: 1px solid #e4e4e4;
}

.tab-btn:not(:last-child) {
  border-right: none;
}

.tab-btn.active {
  background: #ef9026;
  border: 1px solid #ef9026;
  color: white;
}

.cases-swiper {
  position: relative;
  padding: 0 60px;
}

.case-item {
  width: 276px;
  height: 341px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.1);
}

.case-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-item h3 {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  padding: 0 20px;
  color: white;
  font-size: 18px;
  text-align: left;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	/* 文本两行溢出 */
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	text-overflow: ellipsis;
	overflow: hidden;
}

.case-link {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 16px;
  border: 1px solid white;
  border-radius: 4px;
  transition: all 0.3s;
}

.case-link:hover {
  background: white;
  color: #ef9026;
}

.prev-btn,
.next-btn {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(239, 144, 38, 0.8);
  border-radius: 50%;
  color: white;
  border: none;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

.prev-btn {
  left: 60px;
}

.next-btn {
  right: 60px;
  transform: translateY(-50%) rotateZ(180deg);
}
/* 合作伙伴 */
.partners-section {
  padding: 60px 0;
  background: var(--bg-color);
  text-align: center;
	width: var(--max-width);
	color: #191919;
}

.partners-section h2 {
  font-size: 20px;
  margin-bottom: 4px;
}

.partners-section h3{
  font-size: 14px;
  margin-bottom: 40px;
}

.partners-section h3 span{
  color: #ef9026;
}

.partners-grid {
  width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}

.partners-grid::before,
.partners-grid::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 200px;
  pointer-events: none;
}

.partners-grid::before {
  left: 0;
  background: linear-gradient(to right, #f5f5f5, transparent);
}

.partners-grid::after {
  right: 0;
  background: linear-gradient(to left, #f5f5f5, transparent);
}

.partners-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.partners-row img {
  height: 112px;
  width: auto;
  object-fit: contain;
}

/* 页脚 */
.footer {
  background: #ef9026;
  color: #fff;
  padding: 48px 0px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-content {
  width: var(--max-width);
  margin: 0 auto 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
	border-bottom: 1px solid #ffa847;
}

.footer-logo {
  height: 40px;
	margin-top: 20px;
  flex: 1;
}

.footer-right {
  margin-left: 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-info p {
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
}

.copyright {
  font-size: 12px;
  color: #fff;
  opacity: 0.8;
  margin: 0 auto;
}

.contact-info {
  margin-bottom: 2rem;
}
