@import url('inner-common.css');

/* 导航、Banner 高度 / 标题和页脚基础样式沿用公共内页文件。 */
.technology-page { --container: min(1320px, 68.75%); }
.technology-page .page-banner {
  background-image: url('../images/banner-technology.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.technology-content { padding: 36px 0 126px; }
.technology-intro { max-width: 1120px; margin-inline: auto; text-align: center; }
.technology-intro h2, .technology-heading {
  font-size: clamp(25px, 1.67vw, 32px);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
.technology-intro h2 { margin-bottom: 24px; }
.technology-intro p, .energy-intro, .engineering-copy p {
  color: #5e6264;
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

/* 工程中心：橙色错位底框保持固定，只有照片在裁切区域内放大。 */
.engineering-center {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 4.5vw, 86px);
  align-items: center;
  margin-top: 74px;
}
.engineering-frame { position: relative; isolation: isolate; margin: 0 24px 28px 0; }
.engineering-frame::before {
  content: '';
  position: absolute;
  inset: 28px -24px -28px 24px;
  z-index: -1;
  background: var(--brand);
}
.engineering-image { overflow: hidden; border: 1px solid #dedede; background: #fff; }
.engineering-image img {
  width: 100%;
  aspect-ratio: 591 / 451;
  object-fit: cover;
  transition: transform .55s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .engineering-image:hover img { transform: scale(1.05); }
}
.engineering-copy h2 { font-size: clamp(26px, 1.67vw, 32px); font-weight: 400; line-height: 1.5; margin-bottom: 24px; }
.engineering-copy h2::after { content: ''; display: block; width: 48px; height: 2px; background: var(--brand); margin-top: 20px; }
.engineering-copy p + p { margin-top: 24px; }
.engineering-copy strong { font-weight: 700; }

/* 节能项目大图：图片替换后保持宽高比，不拉伸。 */
.energy-project { margin-top: 100px; }
.energy-intro { max-width: 990px; margin: 24px auto 38px; text-align: center; }
.energy-image { overflow: hidden; background: #ddd;border-radius: 12px; }
.energy-image img { width: 100%; aspect-ratio: 1320 / 400; object-fit: cover; border-radius: 12px;}

/* 技术优势：文本在布局中保留空间，图片淡入时卡片尺寸不变。 */
.technology-advantages { margin-top: 90px; }
.technology-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 44px; }
.technology-cards > li { min-width: 0; }
.technology-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  min-height: 330px;
  padding: 32px 36px;
  overflow: hidden;
  border-radius: 12px;
  background: #f5f5f5;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.technology-card-copy { display: block; opacity: 1; transition: opacity .3s ease; }
.technology-card-title { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; color: var(--brand); font-size: 20px; font-weight: 400; line-height: 1.5; }
.technology-card-title strong { font-family: 'Montserrat-Bold', Arial, sans-serif; font-size: 23px; font-weight: 700; }
.technology-card-description { display: block; color: #777; font-size: 16px; font-weight: 400; line-height: 1.9; text-indent: 2em; overflow-wrap: anywhere; }
.technology-card-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.technology-card.is-revealed .technology-card-copy { opacity: 0; }
.technology-card.is-revealed .technology-card-image { opacity: 1; }
.technology-card:focus-visible { outline: 3px solid var(--brand); outline-offset: 5px; }

/* 工程中心联系信息 */
.technology-contact { margin-top: 64px; }
.technology-contact-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 60px; margin-top: 44px; padding: 34px 38px; border-radius: 12px; background: #f5f5f5; }
.technology-contact-image img { width: 100%; aspect-ratio: 610 / 260; object-fit: contain; }
.technology-contact-copy { min-width: 0; }
.technology-contact-copy h3 { margin: 0 0 30px; padding-left: 16px; border-left: 4px solid var(--brand); font-size: clamp(20px, 1.45vw, 28px); font-weight: 700; line-height: 1.5; }
.technology-contact-copy dl { display: grid; gap: 12px; font-size: 16px; }
.technology-contact-copy dl > div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 12px; }
.technology-contact-copy dt { color: #454545; font-weight: 700; }
.technology-contact-copy dd { color: #777; overflow-wrap: anywhere; }
.technology-contact-copy a:hover { color: var(--brand); }
.technology-contact-copy a:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }


@media (max-width: 1200px) {
  .technology-cards { gap: 22px; }
  .technology-card { padding: 26px 24px; }
  .technology-card-title { font-size: 18px; }
  .technology-card-description { font-size: 15px; }
  .technology-contact-panel { gap: 30px; padding: 30px; }
}
@media (max-width: 1050px) {
  .technology-page { --container: calc(100% - 64px); }
}
@media (max-width: 900px) {
  .engineering-center { grid-template-columns: minmax(0, 1fr); gap: 38px; margin-top: 52px; }
  .engineering-frame { width: min(560px, calc(100% - 24px)); margin: 0 auto 28px; }
  .engineering-copy h2 { text-align: center; }
  .engineering-copy h2::after { margin-inline: auto; }
  .energy-project { margin-top: 64px; }
  .technology-advantages { margin-top: 64px; }
  .technology-cards { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .technology-card { min-height: 270px; padding: 30px; }
  .technology-card-description { font-size: 16px; }
  .technology-contact-panel { grid-template-columns: minmax(0, 1fr); }
  .technology-contact-image { width: min(540px, 100%); margin-inline: auto; }
}
@media (max-width: 760px) {
  .technology-page { --container: calc(100% - 40px); }
  .technology-content { padding: 30px 0 64px; }
  .technology-intro h2, .technology-heading { font-size: 25px; }
  .technology-intro p, .energy-intro, .engineering-copy p { font-size: 14px; line-height: 2; }
  .engineering-center { gap: 30px; }
  .engineering-frame { width: calc(100% - 16px); margin: 0 16px 18px 0; }
  .engineering-frame::before { inset: 18px -16px -18px 16px; }
  .engineering-copy h2 { font-size: 26px; margin-bottom: 22px; }
  .engineering-copy h2::after { margin-top: 15px; }
  .engineering-copy p + p { margin-top: 18px; }
  .energy-intro { margin: 20px auto 26px; }
  .energy-image img { aspect-ratio: 2.5 / 1; }
  .technology-cards { margin-top: 28px; gap: 20px; }
  .technology-card { min-height: 290px; padding: 26px; }
  .technology-card-title { margin-bottom: 18px; font-size: 19px; }
  .technology-card-description { font-size: 14px; line-height: 2; }
  .technology-contact { margin-top: 54px; }
  .technology-contact-panel { margin-top: 28px; gap: 28px; padding: 24px 20px; }
  .technology-contact-copy h3 { margin-bottom: 22px; padding-left: 12px; font-size: 20px; }
  .technology-contact-copy dl { font-size: 14px; gap: 10px; }
  .technology-contact-copy dl > div { grid-template-columns: 5em minmax(0, 1fr); gap: 8px; }




}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .engineering-image img, .technology-card-copy, .technology-card-image { transition: 0.5s; }
}
