/* 台拓 — 綠能與儲能 ｜ 太陽能發電
   命名前綴：sol-（solar）
   依賴：about-history.css 提供 .ah-inner-header 與 _Breadcrumb 樣式
   本檔負責：頁面抬頭（價值）、系統組成元件、系統設備優勢、太陽能發電的優勢、
            適用場域（6 圖卡）、作業流程（六角節點）、響應式。
   來源：交辦稿 太陽能發電.css，token 由 styles.css 改為本檔自帶 sol- 變數。
*/

:root {
  --sol-red: #E0121A;
  --sol-red-dark: #B30E14;
  --sol-red-soft: #FEE2E4;
  --sol-coral: #F2685C;
  --sol-ink: #0E0F11;
  --sol-paper: #F1F1F4;
  --sol-paper-2: #FAFAFB;
  --sol-white: #FFFFFF;
  --sol-muted: #6B7280;
  --sol-border: #E5E7EB;
  --sol-yellow: #FACC15;
  --sol-radius: 14px;
  --sol-radius-lg: 18px;
  --sol-shadow-card: 0 1px 2px rgba(15,17,21,.04), 0 12px 28px rgba(15,17,21,.06);
  --sol-shadow-card-hover: 0 6px 12px rgba(15,17,21,.06), 0 24px 48px rgba(15,17,21,.10);
}

/* ============ 共用容器 ============ */
.sol-container {
  width: min(1280px, calc(100% - 80px));
  margin-inline: auto;
}

/* ============ 共用：眉標（eyebrow）+ 黃色閃電 ============ */
.sol-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--sol-red);
  letter-spacing: .04em;
  font-family: 'Noto Sans TC', sans-serif;
}
.sol-bolt {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: none;
  background: var(--sol-yellow);
  clip-path: polygon(40% 0, 100% 0, 60% 45%, 100% 45%, 0 100%, 40% 55%, 0 55%);
}

/* ============ 區段抬頭（置中／窄版） ============ */
.sol-head-c {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.sol-head-c .sol-eyebrow { justify-content: center; margin-bottom: 14px; }
.sol-head-c h2 {
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.16;
  letter-spacing: -.01em;
  margin: 0 0 16px;
  color: var(--sol-ink);
}
.sol-head-c h2 em { color: var(--sol-red); font-style: normal; }
.sol-head-c p {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--sol-muted);
  margin: 0;
  text-wrap: pretty;
}

/* ============ 頁面抬頭 ・ 建置太陽能光電的價值 ============ */
.sol-hero {
  position: relative;
  background:
    radial-gradient(ellipse 760px 480px at 12% 28%, #F4EFEC 0%, transparent 62%),
    linear-gradient(180deg, #F7F5F2 0%, #FBFAF8 100%);
  border-bottom: 1px solid var(--sol-border);
  overflow: hidden;
  padding: 70px 0 78px;
}
.sol-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.sol-hero .sol-eyebrow { margin-bottom: 18px; }
.sol-hero h1 {
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 22px;
  color: var(--sol-ink);
}
.sol-hero h1 .accent { color: var(--sol-red); }
.sol-hero p.sol-lead {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 17px;
  line-height: 1.9;
  color: #3F4350;
  max-width: 560px;
  margin: 0;
  text-wrap: pretty;
}
.sol-hero-art img {
  display: block;
  width: 100%;
  height: 380px;
  max-height: none;            /* 覆寫 Voltz main.css 對所有 img 的 max-height:100% 限制 */
  object-fit: cover;
  border-radius: var(--sol-radius-lg);
  box-shadow: var(--sol-shadow-card);
}

/* ============ 區段外框 ============ */
.sol-section { padding: 76px 0; }
.sol-section.alt {
  background: var(--sol-paper-2);
  border-block: 1px solid var(--sol-border);
}

/* ============ 系統組成元件 ============ */
.sol-comp-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.sol-comp-card {
  position: relative;
  background: var(--sol-white);
  border: 1px solid var(--sol-border);
  border-radius: var(--sol-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sol-shadow-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s;
}
.sol-comp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sol-shadow-card-hover);
  border-color: transparent;
}
/* 元件圖片（已置入實際照片） */
.sol-comp-card img {
  display: block;
  width: 100%;
  height: 188px;
  max-height: none;            /* 覆寫 Voltz main.css 對所有 img 的 max-height:100% 限制 */
  object-fit: cover;
}
.sol-comp-meta {
  padding: 18px 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--sol-border);
}
.sol-comp-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--sol-red);
  letter-spacing: .06em;
  flex: none;
}
.sol-comp-name {
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--sol-ink);
  line-height: 1.35;
}

/* ============ 系統設備優勢（特色列） ============ */
.sol-feat-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.sol-feat-item {
  background: var(--sol-white);
  border: 1px solid var(--sol-border);
  border-radius: var(--sol-radius);
  padding: 26px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s;
}
.sol-feat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--sol-shadow-card-hover);
  border-color: transparent;
}
.sol-feat-ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--sol-red-soft);
  display: grid; place-items: center;
}
.sol-feat-ico .sol-bolt {
  width: 18px; height: 18px;
  background: var(--sol-red);
}
.sol-feat-item p {
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--sol-ink);
  margin: 0;
}

/* ============ 太陽能發電的優勢（階層鋪排） ============ */
.sol-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.sol-benefit-card {
  background: var(--sol-white);
  border: 1px solid var(--sol-border);
  border-radius: var(--sol-radius-lg);
  padding: 32px 32px 30px;
  box-shadow: var(--sol-shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sol-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sol-shadow-card-hover);
}
.sol-benefit-card.span2 { grid-column: span 2; }
.sol-benefit-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--sol-border);
}
.sol-benefit-idx {
  width: 48px; height: 48px;
  flex: none;
  background: var(--sol-ink);
  color: #fff;
  border-radius: 12px;
  display: grid; place-items: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.02em;
}
.sol-benefit-card.featured .sol-benefit-idx { background: var(--sol-red); }
.sol-benefit-title {
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.005em;
  color: var(--sol-ink);
  margin: 0;
  line-height: 1.3;
}
.sol-benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.sol-benefit-list li {
  position: relative;
  padding-left: 26px;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #3F4350;
}
.sol-benefit-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 9px; height: 9px;
  background: var(--sol-red);
  clip-path: polygon(40% 0, 100% 0, 60% 45%, 100% 45%, 0 100%, 40% 55%, 0 55%);
}
.sol-benefit-list li strong { color: var(--sol-ink); font-weight: 700; }
.sol-benefit-list li .hl {
  color: var(--sol-red);
  font-weight: 800;
  font-family: 'Manrope', 'Noto Sans TC', sans-serif;
}
.sol-benefit-card.span2 .sol-benefit-list {
  grid-template-columns: 1fr 1fr;
  gap: 14px 36px;
}

/* ============ 哪些地方適用（6 圖框） ============ */
.sol-place-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sol-place-card {
  position: relative;
  border-radius: var(--sol-radius-lg);
  overflow: hidden;
  border: 1px solid var(--sol-border);
  background: var(--sol-white);
  box-shadow: var(--sol-shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sol-place-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sol-shadow-card-hover);
}
.sol-place-card img {
  display: block;
  width: 100%;
  height: 240px;
  max-height: none;            /* 覆寫 Voltz main.css 對所有 img 的 max-height:100% 限制 */
  object-fit: cover;
}
.sol-place-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px 22px;
}
.sol-place-tag .num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--sol-red);
  letter-spacing: .08em;
  flex: none;
}
.sol-place-tag .name {
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--sol-ink);
  line-height: 1.4;
}

/* ============ 作業流程 ============ */
.sol-flow {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.sol-flow::before {
  content: "";
  position: absolute;
  left: 43px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, var(--sol-red) 0%, var(--sol-coral) 100%);
  opacity: .55;
}
.sol-flow-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 30px;
  align-items: start;
  margin-bottom: 22px;
  position: relative;
}
.sol-flow-item:last-child { margin-bottom: 0; }
.sol-flow-node {
  width: 88px;
  height: 88px;
  flex: none;
  position: relative;
  display: grid;
  place-items: center;
  background: var(--sol-red);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  z-index: 1;
}
.sol-flow-node .n {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
}
.sol-flow-item.start .sol-flow-node {
  background: var(--sol-ink);
}
.sol-flow-item.start .sol-flow-node .n {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 22px;
  font-weight: 800;
}
.sol-flow-item.start .sol-flow-node .sol-bolt {
  position: absolute;
  top: 16px;
  width: 14px; height: 14px;
}
.sol-flow-card {
  background: var(--sol-white);
  border: 1px solid var(--sol-border);
  border-radius: var(--sol-radius-lg);
  padding: 24px 28px 26px;
  box-shadow: var(--sol-shadow-card);
  margin-top: 4px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s;
}
.sol-flow-card:hover {
  transform: translateX(4px);
  box-shadow: var(--sol-shadow-card-hover);
  border-color: var(--sol-coral);
}
.sol-flow-stage {
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 800;
  font-size: 19px;
  color: var(--sol-ink);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sol-flow-stage .badge {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--sol-red);
  background: var(--sol-red-soft);
  padding: 5px 10px;
  border-radius: 999px;
}
.sol-flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.sol-flow-steps li {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 14.5px;
  line-height: 1.5;
  color: #3F4350;
  background: var(--sol-paper);
  border-radius: 8px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sol-flow-steps li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sol-red);
  flex: none;
}
.sol-flow-steps li strong { color: var(--sol-ink); font-weight: 700; }
.sol-flow-steps.col {
  flex-direction: column;
  align-items: stretch;
}
.sol-flow-steps.col li { width: 100%; }

/* ============ 響應式 ============ */
@media (max-width: 1180px) {
  .sol-comp-grid { grid-template-columns: repeat(3, 1fr); }
  .sol-feat-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .sol-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .sol-benefit-grid { grid-template-columns: 1fr; }
  .sol-benefit-card.span2 { grid-column: span 1; }
  .sol-benefit-card.span2 .sol-benefit-list { grid-template-columns: 1fr; }
  .sol-place-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .sol-comp-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-feat-row { grid-template-columns: 1fr; }
  .sol-flow::before { left: 31px; }
  .sol-flow-item { grid-template-columns: 64px 1fr; gap: 18px; }
  .sol-flow-node { width: 64px; height: 64px; }
  .sol-flow-node .n { font-size: 22px; }
  .sol-flow-item.start .sol-flow-node .n { font-size: 16px; }
}
@media (max-width: 620px) {
  .sol-place-grid { grid-template-columns: 1fr; }
}
