/* 基础配置 - 手机端 */
:root {
  --color-primary: #e3741a;
  --color-secondary: #4b392b;
  --color-neutral: #f5f5f5;
  --color-dark: #333333;
  --color-light: #ffffff;
}

/* 自定义工具类 */
.content-auto {
  content-visibility: auto;
}

.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.transition-custom {
  transition: all 0.3s ease-in-out;
}

.circle-icon-container {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* 手机端特有样式 */
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--color-dark);
  background-color: var(--color-light);
}

/* 导航栏优化 */
#navbar {
  padding: 0.75rem 0;
}

.container {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  margin-left: auto;
  margin-right: auto;
}

/* 英雄区域优化 */
#home h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 0.8rem;
}
#home.h-screen {
  height: 80vh !important;
}

#home p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  max-width: 90%;
}

#home .flex {
  flex-direction: column;
  gap: 1rem;
  padding: 0 1rem;
}

#home a {
  width: 100%;
  padding: 0.8rem 0;
  text-align: center;
}

/* 内容区块优化 */
section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
/* 手机端：活动隔断分类一行显示2个 */
.grid-2 {
  /* 覆盖默认网格列数，手机端强制显示2列 */
  grid-template-columns: repeat(2, 1fr) !important;
  /* 可选：调整手机端的间距（根据需要修改） */
  gap: 1rem !important;
}
h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.3;
}
.mb-6{
	text-align: center !important;
}


/* 产品卡片优化 */
#products .grid,
#gallery .grid,
#process .grid,
#contact .grid {
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* 服务流程优化 */
#process .flex {
  flex-direction: column;
}

#process .flex > div {
  width: 100%;
  text-align: center;
  padding: 0 0.5rem;
}

#process .w-16 {
  margin: 1rem auto;
}

/* 联系表单优化 */
#contact form input,
#contact form textarea {
  padding: 0.75rem;
  font-size: 1rem;
}

#contact button {
  width: 100%;
  padding: 0.8rem 0;
}

/* 页脚优化 */
footer .grid {
  grid-template-columns: 1fr;
  gap: 2rem;
}

footer p,
footer li {
  font-size: 0.9rem;
}

/* 新增屏蔽类：用于控制底部内边距或特定屏蔽效果 */


/* 如需用于屏蔽元素显示（隐藏元素），可添加以下定义 */
.pb-hidden {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
