/* ============================================
   技术页样式
   ============================================ */

/* --- 区块标题 --- */
.section-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--base);
  margin-bottom: 20px;
  padding-left: 40px;
  position: relative;
}

.section-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background: var(--lime);
  border-radius: 5px;
}

.section-desc {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 800px;
}

/* ============================================
   1. 技术概览 — 左右各半
   ============================================ */
.tech-overview {
  padding: 40px 0 80px;
}

.tech-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin: 40px 0;
}

/* 左侧图片 */
.tech-img {
  border-radius: 10px;
  overflow: hidden;
}

.tech-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 右侧卡片网格 */
.tech-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tech-card {
  background: var(--gray-bg); 
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  position: relative;
  transition: all .3s;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background: var(--lime);
  border-radius: 0 0 6px 0;
}

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
}

.tech-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--base);
  margin-bottom: 10px;
}

.tech-card p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.8;
  margin: 0;
}

/* 右侧图文卡片 */
 

.tech-overview-card img {
  margin-bottom: 20px;
}

.tech-overview-card p {
  font-size: 16px; 
  line-height: 1.8;
}

/* ============================================
   2. 能源方案
   ============================================ */
.tech-energy {
  margin-bottom: 80px;
}

.tech-energy-img {
  border-radius: 10px;
  overflow: hidden;
}

.tech-energy-img img {
  width: 100%;
  display: block;
}

/* ============================================
   3. FlatCool 图片
   ============================================ */
.tech-flatcool-img {
  max-width: 800px;
  margin: 0 auto 40px;
  border-radius: 10px;
  overflow: hidden;
}

.tech-flatcool-img img {
  width: 100%;
  display: block;
}

/* ============================================
   4. 技术图标网格（4列，hover 遮罩）
   ============================================ */
.tech-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.tech-icons-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
}

.tech-icons-item>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}

.tech-icons-item:hover>img {
  transform: scale(1.06);
}

/* 信息遮罩 */
.tech-icons-info {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .90);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  opacity: 0;
  transition: opacity .3s;
}

.tech-icons-item:hover .tech-icons-info {
  opacity: 1;
}

.tech-icons-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--base);
  margin-bottom: 10px;
}

.tech-icons-info p {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   5. FAQ 问答
   ============================================ */
.tech-faqs {
  padding: 80px 0;
  background: var(--gray-bg);
}

.tech-faqs h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--base);
  margin-bottom: 40px;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  transition: all .3s;
}

/* Q 头部 */
.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  cursor: pointer;
  transition: background .2s;
}

.faq-header:hover {
  background: #f9f9f9;
}

.faq-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--base);
}

.faq-title::before {
  content: 'Q: ';
  color: var(--lime);
  font-weight: 900;
}

/* 展开图标 */
.faq-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all .25s;
  background: var(--lime);
}

.faq-item.open .faq-toggle {
  background: var(--base);
  color: var(--lime);
  border-color: var(--base);
  transform: rotate(45deg);
}

/* A 答案 */
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.4, 0, .2, 1);
}

.faq-item.open .faq-body {
  max-height: 5000px;
}

.faq-answer {
  padding: 30px 30px;
  font-size: 15px;
  color: var(--gray-text);
  line-height: 2;
}

.faq-answer::before {
  content: 'A: ';
  color: var(--base);
  font-weight: 900;
}