@charset "UTF-8";
/* =============================================================================
 * home.css — 新疆信达宏义技术服务有限公司 · 官网首页
 * -----------------------------------------------------------------------------
 * 基准：信达宏义首页效果图（内容栅格 1200 居中）
 * 区块顺序：① 轮播 + 核心数据 ② 公司简介 ③ 业务范围 ④ 大图通栏
 *           ⑤ 公司资质 ⑥ 项目公示 · 通知公告 ⑦ 服务行业 · 合作伙伴
 * 全部由后台真实数据驱动，取数来源见 index.blade.php 各区块注释
 * 说明：全站配色变量 --xd-* 定义在 site.css（随页头页脚一起加载）
 * ========================================================================== */

/* ── 通用区块头（眉标 + 主标题 + 色条 + 描述） ── */
.xd-section {
    padding: 70px 0;
}

.xd-sec-head {
    text-align: center;
    margin-bottom: 42px;
}

.xd-sec-head .en {
    display: block;
    font-size: 13px;
    letter-spacing: 4px;
    color: var(--xd-green);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
}

.xd-sec-head h2 {
    margin: 0;
    font-size: 29px;
    line-height: 1.35;
    color: var(--xd-navy);
    font-weight: 700;
}

.xd-sec-head h2::after {
    content: "";
    display: block;
    width: 46px;
    height: 3px;
    background: linear-gradient(90deg, var(--xd-blue), var(--xd-green));
    margin: 13px auto 0;
    border-radius: 2px;
}

.xd-sec-head p {
    margin: 13px 0 0;
    font-size: 15px;
    color: var(--xd-gray);
}

/* =============================================================================
 * ① Hero —— 三图轮播 + 图上文案 + 底部核心数据条
 * ========================================================================== */
.xd-hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background: var(--xd-navy);
}

.xd-hero__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}

.xd-hero__slide.is-on {
    opacity: 1;
    pointer-events: auto;
}

/* 图片容器：桌面端铺满整块 Hero，图片由 cover 裁切填充 */
.xd-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* 用 <img> 而非 background-image：移动端才能按原始比例完整显示（见响应式段） */
.xd-hero__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 后台填了「手机端广告图」时 <img> 外面会包一层 <picture>：
   只是块级化并撑满，盒模型与不包时完全一致（否则 img 的百分比高度会失去参照） */
.xd-hero__pic {
    display: block;
    width: 100%;
    height: 100%;
}

.xd-hero__mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(7, 30, 62, .88) 0%, rgba(10, 46, 92, .72) 45%, rgba(10, 46, 92, .28) 100%);
}

.xd-hero__slide .xd-wrap {
    position: relative;
    z-index: 2;
    padding-top: 60px;
    padding-bottom: 118px;
}

.xd-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    margin-bottom: 22px;
    font-size: 13.5px;
    letter-spacing: 2px;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .08);
    border-radius: 999px;
}

.xd-hero__tag i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--xd-green);
    box-shadow: 0 0 8px var(--xd-green);
}

.xd-hero__title {
    margin: 0 0 18px;
    font-size: 46px;
    font-weight: 800;
    line-height: 1.28;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}

.xd-hero__title em {
    font-style: normal;
    color: #7FE0B6;
}

.xd-hero__sub {
    max-width: 660px;
    margin: 0 0 34px;
    font-size: 17px;
    line-height: 1.75;
    color: #D6E3F4;
}

.xd-hero__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.xd-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    font-size: 15.5px;
    font-weight: 600;
    border-radius: 6px;
    transition: .25s;
}

.xd-btn--primary {
    color: #fff;
    background: var(--xd-green);
    box-shadow: 0 6px 18px rgba(23, 166, 115, .4);
}

.xd-btn--primary:hover {
    background: var(--xd-green-d);
    transform: translateY(-2px);
}

.xd-btn--ghost {
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .55);
}

.xd-btn--ghost:hover {
    background: rgba(255, 255, 255, .12);
}

.xd-hero__dots {
    position: absolute;
    right: 48px;
    bottom: 148px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.xd-hero__dots button {
    width: 36px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: .3s;
}

.xd-hero__dots button.is-on {
    background: var(--xd-green);
}

/* 核心数据条（压在 Hero 底部） */
.xd-stats {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    background: linear-gradient(90deg, rgba(9, 36, 74, .92), rgba(14, 77, 164, .85));
    border-top: 1px solid rgba(255, 255, 255, .14);
}

/* 核心数据条：条目数由后台「核心数据管理」决定（可增删），所以不写死列数 ——
   用 flex「有几个就均分几个」，一行放不下时最后一行靠 justify-content: center 居中。
   （2026-09-21：原来写死 repeat(4, 1fr)，实际只有 3 项时右侧空一格，整条看起来偏左） */
.xd-stats__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 22px;
    padding-bottom: 22px;
}

.xd-stat {
    flex: 1 1 0;
    min-width: 150px;
    text-align: center;
    padding: 0 12px;
}

.xd-stat + .xd-stat {
    border-left: 1px solid rgba(255, 255, 255, .15);
}

.xd-stat b {
    display: block;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    color: #7FE0B6;
}

.xd-stat b small {
    font-size: 16px;
    font-weight: 600;
}

.xd-stat span {
    font-size: 13.5px;
    color: #C9D6E8;
}

/* =============================================================================
 * ② 公司简介
 * ========================================================================== */
.xd-about__row {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 52px;
    align-items: center;
}

.xd-about__pic {
    position: relative;
}

.xd-about__pic img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 20px 44px rgba(10, 46, 92, .18);
}

.xd-about__pic::after {
    content: "";
    position: absolute;
    right: -16px;
    bottom: -16px;
    width: 130px;
    height: 130px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--xd-green), var(--xd-blue));
    opacity: .14;
    z-index: -1;
}

.xd-about__txt .xd-sec-head {
    text-align: left;
    margin-bottom: 22px;
}

.xd-about__txt .xd-sec-head h2::after {
    margin: 13px 0 0;
}

.xd-about__txt p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.9;
    color: var(--xd-gray);
    text-align: justify;
}

.xd-about__points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 22px 0 26px;
    padding: 0;
    list-style: none;
}

.xd-about__points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    color: var(--xd-ink);
}

.xd-about__points li::before {
    content: "✓";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--xd-green-d);
    background: #E4F6EE;
    border-radius: 50%;
}

.xd-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 24px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--xd-blue);
    border: 1px solid #C6DAF3;
    border-radius: 6px;
    transition: .25s;
}

.xd-more-link:hover {
    color: #fff;
    background: var(--xd-blue);
    border-color: var(--xd-blue);
}

/* =============================================================================
 * ③ 业务范围 —— 左图 + 右（标题 · 文字），3 列 × 2 行
 * ========================================================================== */
.xd-biz {
    background: var(--xd-bg);
}

.xd-biz__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.xd-biz__item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 22px;
    background: #fff;
    border: 1px solid var(--xd-line);
    border-radius: 12px;
    overflow: hidden;
    transition: .3s;
}

.xd-biz__item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--xd-blue), var(--xd-green));
    transform: scaleX(0);
    transform-origin: left;
    transition: .35s;
}

.xd-biz__item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(10, 46, 92, .12);
}

.xd-biz__item:hover::before {
    transform: scaleX(1);
}

.xd-biz__pic {
    flex: 0 0 96px;
    width: 96px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--xd-bg);
}

.xd-biz__pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xd-biz__txt {
    flex: 1 1 auto;
    min-width: 0;
}

.xd-biz__txt b {
    display: block;
    margin-bottom: 8px;
    font-size: 16.5px;
    line-height: 1.45;
    color: var(--xd-navy);
}

.xd-biz__txt p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--xd-gray);
}

.xd-biz__more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    font-size: 13px;
    color: var(--xd-blue);
}

.xd-biz__more:hover {
    color: var(--xd-green-d);
}

/* =============================================================================
 * ④ 大图通栏 —— 深入生产一线的专业检测评价
 * ========================================================================== */
.xd-band {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background: var(--xd-navy);
}

.xd-band__bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.xd-band__mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 30, 62, .9) 0%, rgba(7, 30, 62, .55) 55%, rgba(7, 30, 62, .2) 100%);
}

.xd-band .xd-wrap {
    position: relative;
    z-index: 2;
}

.xd-band h2 {
    margin: 0 0 14px;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.35;
}

.xd-band h2 em {
    font-style: normal;
    color: #7FE0B6;
}

.xd-band p {
    max-width: 580px;
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.8;
    color: #D6E3F4;
}

.xd-band__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.xd-band__tags li {
    padding: 8px 20px;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .1);
    border-radius: 999px;
}

/* =============================================================================
 * ⑤ 公司资质
 * ========================================================================== */
/* 公司资质：左缩略图（单页 image 字段）+ 右标题描述，
   卡数由「机构资质」分类内容决定（当前 3 项），auto-fit 自动铺满整行 */
.xd-qual__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 22px;
}

.xd-qual__card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--xd-line);
    border-radius: 12px;
    overflow: hidden;
    transition: .3s;
}

.xd-qual__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--xd-blue), var(--xd-green));
}

.xd-qual__card:hover {
    transform: translateY(-5px);
    border-color: #C9DDF6;
    box-shadow: 0 12px 28px rgba(10, 46, 92, .12);
}

.xd-qual__thumb {
    flex: 0 0 132px;
    width: 132px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F7FAFD;
    border: 1px solid var(--xd-line);
    border-radius: 8px;
    overflow: hidden;
    transition: .3s;
}

.xd-qual__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.xd-qual__card:hover .xd-qual__thumb {
    border-color: #BCD6F2;
}

.xd-qual__card:hover .xd-qual__thumb img {
    transform: scale(1.05);
}

.xd-qual__thumb svg {
    width: 26px;
    height: 26px;
    stroke: var(--xd-blue);
    fill: none;
    stroke-width: 1.7;
}

.xd-qual__body {
    flex: 1;
    min-width: 0;
}

.xd-qual__body b {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: var(--xd-navy);
}

.xd-qual__body p {
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
    color: var(--xd-gray);
}

.xd-qual__more {
    display: inline-block;
    margin-top: 10px;
    font-size: 12.5px;
    font-style: normal;
    color: var(--xd-blue);
    transition: .25s;
}

.xd-qual__card:hover .xd-qual__more {
    letter-spacing: .4px;
}


/* =============================================================================
 * ⑥ 项目公示 · 通知公告
 * ========================================================================== */
.xd-pub {
    padding-top: 0;
}

.xd-pub__wrap {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 30px;
}

.xd-panel {
    background: #fff;
    border: 1px solid var(--xd-line);
    border-radius: 14px;
    overflow: hidden;
}

.xd-panel__hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 24px;
    background: #FAFCFE;
    border-bottom: 1px solid var(--xd-line);
}

.xd-panel__hd h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 18px;
    color: var(--xd-navy);
}

.xd-panel__hd h3::before {
    content: "";
    width: 4px;
    height: 18px;
    background: var(--xd-green);
    border-radius: 2px;
}

.xd-panel__hd a {
    flex-shrink: 0;
    font-size: 13.5px;
    color: var(--xd-gray);
    transition: .2s;
}

.xd-panel__hd a:hover {
    color: var(--xd-blue);
}

/* 主列表：日期块 + 标题 + 附件 */
.xd-pub__list {
    margin: 0;
    padding: 8px 0;
    list-style: none;
}

.xd-pub__list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    border-bottom: 1px dashed var(--xd-line);
    transition: .2s;
}

.xd-pub__list li:last-child {
    border-bottom: 0;
}

.xd-pub__list li:hover {
    background: #F6FAFE;
}

.xd-pub__date {
    flex-shrink: 0;
    min-width: 56px;
    padding: 6px 10px;
    text-align: center;
    background: var(--xd-bg);
    border-radius: 8px;
}

.xd-pub__date b {
    display: block;
    font-size: 18px;
    line-height: 1.1;
    color: var(--xd-blue);
}

.xd-pub__date span {
    font-size: 11px;
    color: var(--xd-gray);
}

.xd-pub__txt {
    flex: 1 1 auto;
    min-width: 0;
}

.xd-pub__txt a {
    display: block;
    font-size: 14.5px;
    color: var(--xd-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: .2s;
}

.xd-pub__txt a:hover {
    color: var(--xd-blue);
}

.xd-pub__txt em {
    display: inline-block;
    margin-top: 5px;
    padding: 1px 8px;
    font-size: 12px;
    font-style: normal;
    color: var(--xd-green);
    background: #E4F6EE;
    border-radius: 3px;
}

.xd-pub__file {
    flex-shrink: 0;
    padding: 3px 10px;
    font-size: 12.5px;
    color: var(--xd-gray);
    border: 1px solid var(--xd-line);
    border-radius: 4px;
    transition: .2s;
}

.xd-pub__file:hover {
    color: var(--xd-blue);
    border-color: var(--xd-blue);
}

/* 通知公告：整行标题 + 日期 */
.xd-notice__list {
    margin: 0;
    padding: 8px 0;
    list-style: none;
}

.xd-notice__list li {
    border-bottom: 1px dashed var(--xd-line);
}

.xd-notice__list li:last-child {
    border-bottom: 0;
}

.xd-notice__list a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 24px;
    font-size: 14.5px;
    color: var(--xd-ink);
    transition: .2s;
}

.xd-notice__list a:hover {
    color: var(--xd-blue);
    background: #F6FAFE;
}

.xd-notice__list a span {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.xd-notice__list a time {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--xd-gray);
}

.xd-panel__empty {
    padding: 26px 24px;
    font-size: 14px;
    color: var(--xd-gray);
}

/* =============================================================================
 * ⑦ 服务行业 · 合作伙伴
 * ========================================================================== */
.xd-ind {
    background: var(--xd-bg);
}

.xd-ind__grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 56px;
}

.xd-ind__item {
    padding: 20px 8px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--xd-line);
    border-radius: 10px;
    transition: .3s;
}

.xd-ind__item:hover {
    border-color: var(--xd-green);
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(23, 166, 115, .12);
}

.xd-ind__ico {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #EDF4FD;
    transition: .3s;
}

.xd-ind__item:hover .xd-ind__ico {
    background: var(--xd-green);
}

.xd-ind__ico svg {
    width: 22px;
    height: 22px;
    stroke: var(--xd-blue);
    fill: none;
    stroke-width: 1.6;
    transition: .3s;
}

.xd-ind__item:hover .xd-ind__ico svg {
    stroke: #fff;
}

.xd-ind__item b {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--xd-ink);
}

/* 友情链接：默认收成一行，左侧箭头点击展开全部 */
.xd-partners {
    padding: 20px 24px 24px;
    background: #fff;
    border: 1px solid var(--xd-line);
    border-radius: 14px;
}

/* 折叠开关：整行可点，箭头在最左 */
.xd-partners__hd {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0 0 16px;
    padding: 0 0 14px;
    font: inherit;
    color: inherit;
    text-align: left;
    background: none;
    border: 0;
    border-bottom: 1px dashed var(--xd-line);
    cursor: pointer;
}

.xd-partners__hd.is-static {
    cursor: default;
}

.xd-partners__arw {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EAF3FD;
    border: 1px solid #D3E4F8;
    border-radius: 8px;
    transition: .28s;
}

.xd-partners__arw svg {
    width: 15px;
    height: 15px;
    stroke: var(--xd-blue);
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: .28s;
}

.xd-partners__hd:hover .xd-partners__arw {
    background: var(--xd-blue);
    border-color: var(--xd-blue);
}

.xd-partners__hd:hover .xd-partners__arw svg {
    stroke: #fff;
}

/* 展开态：箭头翻转朝上 */
.xd-partners:not(.is-folded) .xd-partners__arw svg {
    transform: rotate(180deg);
}

/* 只有一行时不需要开关 */
.xd-partners__hd.is-static .xd-partners__arw {
    display: none;
}

.xd-partners__ttl {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--xd-navy);
}

.xd-partners__more {
    margin-left: auto;
    font-size: 12.5px;
    font-style: normal;
    color: var(--xd-blue);
}

.xd-partners__hd:hover .xd-partners__more {
    text-decoration: underline;
}

.xd-partners__hd.is-static .xd-partners__more {
    display: none;
}

/* 合作伙伴：logo 墙（2026-09-21 重设计）
   每张卡 = 原尺寸 logo + 名称；折叠时只露第一行（折叠逻辑见 xd-home.js，按首卡高度算一行）。
   栅格留 -6/+6 的内衬：网格要 overflow:hidden 才能做折叠动画，
   不留内衬的话卡片 hover 的位移与投影会被裁掉。 */
.xd-partners__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
    margin: -6px;
    padding: 6px;
    list-style: none;
    overflow: hidden;
    transition: max-height .38s cubic-bezier(.4, 0, .2, 1);
}

.xd-partners__grid > li > a,
.xd-partners__grid > li > span {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 116px;
    padding: 20px 14px 16px;
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
    color: var(--xd-ink);
    background: #F8FBFE;
    border: 1px solid transparent;
    border-radius: 12px;
    transition: .25s;
}

/* logo 容器：只负责居中，不设固定尺寸 —— 让图片用自己的原始像素尺寸 */
.xd-partners__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

/* 关键：不写 width/height，图片就按原图大小渲染；
   max-width:100% 只是「别顶破卡片」的兜底，正常情况下不会触发缩放。 */
.xd-partners__logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
}

/* 没有上传 logo 时的占位图标 */
.xd-partners__logo--ph {
    width: 42px;
    height: 42px;
    background: #E9F2FC;
    border-radius: 10px;
    transition: .25s;
}

.xd-partners__logo--ph svg {
    width: 18px;
    height: 18px;
    stroke: var(--xd-blue);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: .25s;
}

/* 名称：两行内收，作为 logo 的说明文字 */
.xd-partners__nm {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--xd-gray);
    transition: .25s;
}

/* 外链箭头：默认不占视线，hover 才出现 */
.xd-partners__ext {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 13px;
    height: 13px;
    opacity: 0;
    stroke: #A9BFD6;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: .25s;
}

.xd-partners__grid > li > a:hover {
    background: #fff;
    border-color: #C6DAF3;
    box-shadow: 0 12px 24px -12px rgba(10, 46, 92, .35);
    transform: translateY(-2px);
}

.xd-partners__grid > li > a:hover .xd-partners__nm {
    color: var(--xd-blue);
}

.xd-partners__grid > li > a:hover .xd-partners__logo--ph {
    background: var(--xd-blue);
}

.xd-partners__grid > li > a:hover .xd-partners__logo--ph svg {
    stroke: #fff;
}

.xd-partners__grid > li > a:hover .xd-partners__ext {
    opacity: 1;
    stroke: var(--xd-blue);
    transform: translate(1px, -1px);
}
/* =============================================================================
 * 响应式
 * ========================================================================== */
@media (max-width: 1080px) {
    .xd-hero__title {
        font-size: 38px;
    }

    .xd-biz__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .xd-qual__thumb {
        flex-basis: 104px;
        width: 104px;
        height: 118px;
    }

    .xd-ind__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .xd-partners__grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

}

@media (max-width: 900px) {
    /* Hero：横幅图按原始比例整幅显示（1920×520 → 手机 390 宽时约 106px 高），
       不裁切、不放大，也就不用再为「裁掉两侧」纠结；
       文案绝对定位压在图上、垂直居中，放不下的部分由 slide 的 overflow 裁掉。 */
    .xd-hero {
        display: grid;
        min-height: 0;
    }

    /* 三张 slide 叠在同一网格格里，行高完全由图片比例决定；换图时高度不跳 */
    .xd-hero__slide {
        grid-area: 1 / 1;
        position: relative;
        inset: auto;
        aspect-ratio: 1920 / 520;
        overflow: hidden;
    }

    .xd-hero__bg {
        position: absolute;
        inset: 0;
    }

    /* 容器与图片同比例，object-fit: cover 实际等价于「整幅完整显示」 */
    .xd-hero__img {
        height: 100%;
        object-fit: cover;
    }

    /* 文案压在图上并垂直居中；超出横幅高度的内容由 slide 的 overflow 裁掉 */
    .xd-hero__slide .xd-wrap {
        position: absolute;
        inset: 0;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: none;
        margin: 0;
        padding: 0 18px;
    }

    /* 压在图上，用左深右浅的渐变保证白字可读 */
    .xd-hero__mask {
        background: linear-gradient(100deg, rgba(7, 30, 62, .92) 0%, rgba(10, 46, 92, .76) 46%, rgba(10, 46, 92, .40) 100%);
    }

    /* 横幅高度只够三行字：标签与副标题让位，只留标题 + 两个按钮 */
    .xd-hero__tag,
    .xd-hero__sub {
        display: none;
    }

    .xd-hero__title {
        margin: 0 0 7px;
        font-size: 22px;
        line-height: 1.25;
    }

    .xd-hero__btns {
        gap: 10px;
    }

    .xd-hero__btns .xd-btn {
        padding: 7px 14px;
        font-size: 13px;
        border-radius: 5px;
    }

    /* 核心数据条改为跟在横幅下方独立成行（桌面端是压在 Hero 底部的浮层）。
       脱离绝对定位后，数据条不管几项都不会盖住按钮，也不用手工预留高度 */
    .xd-stats {
        position: static;
        grid-area: 2 / 1;
    }

    /* 指示条移到图片右上角，避开压在底部的核心数据条 */
    .xd-hero__dots {
        top: 7px;
        right: 8px;
        bottom: auto;
        padding: 4px 6px;
        background: rgba(7, 30, 62, .42);
        border-radius: 999px;
    }

    .xd-hero__dots button {
        width: 22px;
        height: 3px;
    }

    .xd-stats__inner {
        gap: 14px 0;
    }

    /* 小屏固定两列（flex 下 grid-template-columns 不生效了）：
       3 项时第 3 项落到第二行，由 justify-content: center 居中 */
    .xd-stat {
        flex: 0 0 50%;
    }

    /* 两列布局里第 1 / 3 / 5 … 项是行首，去掉它们的左分隔线 */
    .xd-stat:nth-child(odd) {
        border-left: 0;
    }

    .xd-about__row {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .xd-pub__wrap {
        grid-template-columns: 1fr;
    }

    .xd-band {
        min-height: 360px;
    }

    .xd-ind__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .xd-section {
        padding: 50px 0;
    }

    .xd-sec-head h2 {
        font-size: 23px;
    }

    /* 手机档：横幅更窄，字号同步收一档，标题两行 + 两个按钮仍落在图上 */
    .xd-hero__title {
        font-size: 19px;
    }

    .xd-hero__btns .xd-btn {
        padding: 5px 12px;
        font-size: 12px;
    }

    .xd-stat b {
        font-size: 24px;
    }

    .xd-biz__grid {
        grid-template-columns: 1fr;
    }

    .xd-qual__grid {
        grid-template-columns: 1fr;
    }

    .xd-qual__card {
        gap: 14px;
        padding: 16px;
    }

    .xd-qual__thumb {
        flex-basis: 118px;
        width: 118px;
        height: 134px;
    }

    .xd-ind__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 40px;
    }

    .xd-pub__file {
        display: none;
    }

    .xd-band {
        min-height: 320px;
    }

    .xd-band h2 {
        font-size: 25px;
    }

    .xd-about__points {
        grid-template-columns: 1fr;
    }

    .xd-partners {
        padding: 18px 18px 20px;
    }

    .xd-partners__hd {
        gap: 8px;
    }

    /* logo 墙在手机上排两列：一列会把每个 logo 拉得太宽、显得空 */
    .xd-partners__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .xd-partners__grid > li > a,
    .xd-partners__grid > li > span {
        min-height: 104px;
        padding: 16px 10px 13px;
        gap: 8px;
    }

    .xd-partners__nm {
        font-size: 12.5px;
    }

    /* 小屏上箭头常驻会给 logo 抢视线，保持「hover 才出现」（触屏不显示） */
    .xd-partners__ext {
        top: 8px;
        right: 8px;
    }

}
