/* =========================================================
   HIPOIT 首页性能/无障碍覆盖样式
   加载顺序：在全部主题 CSS 之后（index.html 头部最后一行）
   ========================================================= */

/* ---------- 1. 首屏（替代 Revolution Slider） ---------- */
.hero{
  position:relative;
  overflow:hidden;
  height:clamp(360px,36.5vw,700px);
  background:#0b1a20;
  margin:0;
  padding:0;
  box-sizing:border-box;
}
.hero__bg{
  position:absolute;
  top:0;left:0;
  width:100%;height:100%;
  object-fit:cover;
  display:block;
  border:0;
  max-width:none;
}
.hero__scrim{
  position:absolute;
  top:0;left:0;right:0;bottom:0;
  background:linear-gradient(90deg,rgba(8,24,30,.86) 0%,rgba(8,24,30,.72) 38%,rgba(8,24,30,.38) 66%,rgba(8,24,30,.10) 100%);
}
.hero__inner{
  position:relative;
  z-index:2;
  max-width:1200px;
  height:100%;
  margin:0 auto;
  padding:0 24px;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
}
.hero__eyebrow{
  display:inline-block;
  margin:0 0 16px;
  padding:7px 16px;
  background:#0b7a7c;
  color:#fff;
  font-size:15px;
  line-height:1.5;
  font-weight:500;
  border-radius:3px;
}
.hero__title{
  margin:0 0 14px;
  color:#fff;
  font-size:clamp(24px,3vw,42px);
  line-height:1.35;
  font-weight:700;
}
.hero__title .accent{color:#8ff1f2;}
.hero__desc{
  margin:0 0 26px;
  color:#eaf4f5;
  font-size:clamp(15px,1.35vw,20px);
  line-height:1.6;
}
.hero__actions{display:flex;flex-wrap:wrap;gap:14px;}
.hero__btn{
  display:inline-block;
  padding:13px 34px;
  border-radius:5px;
  background:#0b7a7c;
  color:#fff !important;
  font-size:16px;
  line-height:1.4;
  text-decoration:none;
  transition:background-color .2s ease;
}
.hero__btn:hover,.hero__btn:focus{background:#07585a;color:#fff !important;}
.hero__btn--ghost{background:#22303a;}
.hero__btn--ghost:hover,.hero__btn--ghost:focus{background:#121b21;}

@media (max-width:991px){
  .hero{height:auto;min-height:420px;}
  .hero__inner{padding:70px 24px 60px;justify-content:flex-start;}
  .hero__scrim{background:linear-gradient(180deg,rgba(8,24,30,.86) 0%,rgba(8,24,30,.62) 60%,rgba(8,24,30,.80) 100%);}
}
@media (max-width:575px){
  .hero__inner{padding:56px 18px 48px;}
  .hero__actions{gap:10px;}
  .hero__btn{padding:11px 22px;font-size:15px;}
}

/* ---------- 2. 对比度：主色压深，白字 3.03:1 → 5.16:1 ---------- */
.ttm-bgcolor-skincolor,
.ttm-bgcolor-skincolor > .ttm-bg-layer,
.ttm-bgcolor-skincolor > .ttm-bg-layer > .ttm-col-wrapper-bg-layer-inner,
.ttm-btn.ttm-btn-style-fill.ttm-btn-color-skincolor,
.ttm-icon_element-fill.ttm-icon_element-color-skincolor{
  background-color:#0b7a7c !important;
}
.ttm-btn.ttm-btn-style-fill.ttm-btn-color-skincolor:hover,
.ttm-btn.ttm-btn-style-border.ttm-btn-color-skincolor:hover{
  background-color:#07585a !important;
  border-color:#07585a !important;
}
.ttm-textcolor-skincolor,
.section-title h1.title strong,
.section-title h2.title strong,
.ttm-bgcolor-darkgrey .ttm-textcolor-skincolor{
  color:#0b7a7c !important;
}
.ttm-btn.ttm-btn-style-border.ttm-btn-color-skincolor{
  border-color:#0b7a7c !important;
  color:#0b7a7c !important;
}

/* 深色/图片背景上的白色文字区块，整体加一层压暗保证对比 */
.connect-section,.testimonial-section_1{position:relative;}
.connect-section:before,.testimonial-section_1:before{
  content:"";
  position:absolute;top:0;left:0;right:0;bottom:0;
  background:rgba(6,20,26,.55);
  pointer-events:none;
  z-index:0;
}
.connect-section > .container,.testimonial-section_1 > .container{position:relative;z-index:1;}

/* 页脚链接对比度 */
.theme3 .footer-widget .title a,
.theme3 .copyright a,
.footer a{color:#dfeaec;}

/* ---------- 3. 图片尺寸防抖 ---------- */
img.img-fluid{height:auto;max-width:100%;}
.ttm_single_image-wrapper img.img-fluid{width:100%;height:auto;}
#logo-dark{height:auto;max-height:52px;width:auto;}

/* ---------- 4. 字体：避免 /fonts/Regular.ttf 404 ---------- */
@font-face{
  font-family:"TTM-Regular-Fix";
  src:local("Arial"),local("Helvetica");
  font-display:swap;
}

/* ---------- 5. 标题层级调整后的视觉补偿 ---------- */
.title-size-h3{font-size:30px;line-height:38px;}

/* ---------- 6. 返回顶部可聚焦按钮 ---------- */
#totop{display:inline-block;}
#totop:focus{outline:2px solid #0b7a7c;outline-offset:2px;}
/* ===== 标题层级修正（原 h4/h5/h6 改为 h2）后的视觉还原 ===== */
.title-header > h2:not(.title){
    font-size: 16px; line-height: 26px; font-weight: 400; margin-bottom: 20px; color: #5b6470;
}
.ttm-textcolor-white .title-header > h2:not(.title),
.row-title .title-header > h2:not(.title){ color: #ffffff; }
.featured-title > h2{
    font-size: 20px; line-height: 30px; font-weight: 500; margin: 0;
}
.featured-title > h2 > a{ color: inherit; text-decoration: none; }
.featured-title > h2 > a:hover{ color: #0b7a7c; }
.featured-icon-box .featured-title > h2 > a:hover{ color: #ffffff; }
.help-text h2{ font-size: 24px; line-height: 34px; }
.c-phone{ font-size: 18px; line-height: 28px; font-weight: 600; }
.modal-title{ font-size: 18px; line-height: 26px; }
/* 版权区链接：不依赖颜色区分，加下划线 */
.copyright-text a{ text-decoration: underline; }
/* ===== 首屏内容避开悬浮导航（原滑块自带顶部留白） ===== */
.hero__inner{ padding-top: 96px; }
@media (max-width: 991px){
    .hero__inner{ padding-top: 84px; }
}
@media (max-width: 575px){
    .hero__inner{ padding-top: 72px; }
    .hero__eyebrow{ font-size: 13px; }
}