/* =========================
   全站公共样式（所有页面共用）
   页面私有样式请放到：
   - css/index.css
   - css/about.css
   - css/features.css
   - css/news.css
   ========================= */

@font-face {
    font-family: Inter-VariableFont_opsz, wght;
    src: url(../static/fonts/Inter-VariableFont_opsz\,wght.ttf);
}

@font-face {
    font-family: OPPOSans-B;
    src: url(../static/fonts/OPPOSans-B.ttf);
}

@font-face {
    font-family: OPPOSans-H;
    src: url(../static/fonts/OPPOSans-H.ttf);
}

@font-face {
    font-family: OPPOSans-L;
    src: url(../static/fonts/OPPOSans-L.ttf);
}

@font-face {
    font-family: OPPOSans-M;
    src: url(../static/fonts/OPPOSans-M.ttf);
}

@font-face {
    font-family: OPPOSans-R;
    src: url(../static/fonts/OPPOSans-R.ttf);
}

/* 默认字体 */

@font-face {
    font-family: Inter;
    src: url(../static/fonts/Inter-VariableFont_opsz,wght.ttf);
}

@font-face {
    font-family: OPPOSans;
    src: url(../static/fonts/OPPOSans-R.ttf);
}

/* 基础重置 */
* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
}

#app {
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
}

img {
    /* max-width: 100%; */
    height: auto;
    display: block;
}

/* 头部 */
.header {
    background-color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    width: 100%;
    float: none;
    clear: both;
}

.logo img {
    height: 30px;
    width: auto;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    margin-right: 10px;
    width: 170px;
    height: 48px;
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text-name {
    font-size: 25px;
    line-height: 25px;
}

.logo-text-slogan {
    font-size: 13px;
    line-height: 13px;
}

.logo-text-name,
.logo-text-slogan {
    text-decoration: none;
    color: #B42429;
    /* font-weight: bold; */
}

.red-text {
    color: #912929;
}

/* .nav a {
    margin-left: 15px;
    color: #333;
    text-decoration: none;
} */

.header-right-item {
    margin-right: 136px;
    text-decoration: none;
}

.header-right-front {
    /* width: 85px; */
    height: 22px;
    font-family: OPPOSans-R;
    font-weight: normal;
    font-size: 22px;
    color: #000000;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.header-right-bebind {
    /* width: 68px; */
    height: 13px;
    font-family: Inter, Inter;
    font-weight: 300;
    font-size: 16px;
    color: #000000;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

/* 组件占位符 */
#header-placeholder,
#footer-placeholder {
    display: block;
    width: 100%;
}

/* Banner（swiper 与普通 banner 复用） */
.swiper-container.banner,
.banner {
    position: relative;
    text-align: center;
    color: #fff;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0;
    padding: 0;
    display: block;
    z-index: 1;
    clear: both;
    float: none;
}

.swiper-container.banner img,
.banner img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

/* banner 文字（仅 index 的 swiper 使用） */
.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
}

/* 通用容器 */
.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 0;
    text-align: left;
    width: 100%;
}

.content-section-title {
    /* width: 522px; */
    height: 36px;
    line-height: 36px;
    font-family: OPPOSans-B, B;
    font-weight: normal;
    font-size: 36px;
    /* color: #912929; */
    text-align: center;
    font-style: normal;
    text-transform: none;
    /* margin-top: 108px; */
}

.content-section-slogan {
    /* width: 665px; */
    height: 16px;
    font-family: Inter, Light;
    font-weight: 300;
    font-size: 18px;
    /* color: #000000; */
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-top: 20px;
    margin-bottom: 72px;
}

/* 顶部图 */
.top-img {
    width: 100vw;
    height: 700px;
    display: block;
    margin: 0 calc(-50vw + 50%);
    padding: 0;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}

.top-img img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
}

.full-width-with-gray {
    background-color: #F2F2F2;
    width: 100%;
}

.full-width {
    width: 100%;
}

/* 通用页面标题（about.html / news.html 等） */
.app-title {
    /* padding: 40px 0; */
    text-align: left;
}

.app-title .app-title-container {
    position: relative;
    display: inline-flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 10px;
}

.app-title .app-title-container::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #950D08;
}

.app-title-front {
    /* width: 138px; */
    height: 35px;
    font-family: OPPOSans-R, R;
    font-weight: normal;
    font-size: 36px;
    color: #000000;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.app-title-bebind {
    /* width: 91px; */
    height: 15px;
    font-family: Inter, Light;
    font-weight: 300;
    font-size: 18px;
    color: #000000;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

/* DSO 五大赋能模块（index.html & features.html 共用） */
.dso-features {
    background-color: #fff;
    color: #333;
    padding: 50px 20px;
    margin: 50px auto;
    max-width: 1200px;
}

.dso-features h3 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.dso-features-slogan {
    height: 18px;
    font-family: Inter, Inter;
    font-weight: 300;
    font-size: 18px;
    color: #000000;
    text-align: center;
    font-style: normal;
    text-transform: none;
}

/* .dso-features p:first-of-type {
    color: #999;
    font-size: 1rem;
    margin-bottom: 4rem;
    text-align: center;
} */

.dso-modules {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    margin-top: 50px;
}

.dso-module {
    border: 1px solid #950D08;
    padding: 30px 20px;
    text-align: center;
    background-color: #fff;
    position: relative;
}

.dso-module::before,
.dso-module::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid #c00;
}

.dso-module::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.dso-module::after {
    top: -1px;
    right: -1px;
    border-left: none;
    border-bottom: none;
}

.dso-module .corner-tl,
.dso-module .corner-tr,
.dso-module .corner-bl,
.dso-module .corner-br {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid #c00;
}

.dso-module .corner-tl {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.dso-module .corner-tr {
    top: -1px;
    right: -1px;
    border-left: none;
    border-bottom: none;
}

.dso-module .corner-bl {
    bottom: -1px;
    left: -1px;
    border-right: none;
    border-top: none;
}

.dso-module .corner-br {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

/* 上面2个大块各占3列，下面3个小块各占2列，保持两行宽度一致 */
.dso-module:nth-child(1),
.dso-module:nth-child(2) {
    grid-column: span 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: left;
    width: 572px;
    height: 211px;
}

.dso-module:nth-child(1) .dso-icon,
.dso-module:nth-child(2) .dso-icon {
    margin-bottom: 0;
    flex-shrink: 0;
    height: 118px;
}

.dso-module:nth-child(1) .icon-circle,
.dso-module:nth-child(2) .icon-circle {
    margin-bottom: 0;
}

.dso-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 118px;
}

.dso-module:nth-child(3),
.dso-module:nth-child(4),
.dso-module:nth-child(5) {
    grid-column: span 2;
    width: 370px;
    height: 319px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dso-icon {
    margin-bottom: 20px;
}

/* 仅用于 DSO 模块里的圆形图标容器 */
.dso-module .icon-circle {
    /* width: 100px;
    height: 100px; */
    /* background-color: #950D08; */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
}

.dso-module .icon-circle img {
    width: 118px;
    height: 118px;
    object-fit: contain;
}

.dso-module h5 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: bold;
}

/* DSO 模块标题 */
.dso-text-title {
    /* width: 151px; */
    height: 26px;
    font-family: OPPOSans-R, R;
    font-weight: normal;
    font-size: 26px;
    color: #000000;
    /* text-align: left; */
    font-style: normal;
    text-transform: none;
}

.dso-text-desc {
    /* width: 230px; */
    height: 14px;
    font-family: OPPOSans-L, L;
    font-weight: normal;
    font-size: 12px;
    color: #000000;
    line-height: 19px;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-top: 12px;
}

/* 响应式调整（DSO模块） */
@media (max-width: 992px) {
    .dso-modules {
        grid-template-columns: repeat(2, 1fr);
    }

    .dso-module:nth-child(1),
    .dso-module:nth-child(2),
    .dso-module:nth-child(3),
    .dso-module:nth-child(4),
    .dso-module:nth-child(5) {
        grid-column: span 1;
    }
}

/* Footer（全站共用） */
footer {
    background: linear-gradient(to right, #B84948, #530202);
    color: #fff;
    padding: 30px 20px;
    font-family: Arial, sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    width: 1200px;
    padding-bottom: 15px;
}

.contact-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: normal;
    /* width: 101px; */
    height: 25px;
    font-family: OPPOSans-R, R;
    font-weight: normal;
    font-size: 26px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.contact-title-slogan {
    font-family: OPPOSans-R, R;
    font-weight: normal;
    font-size: 16px;
    color: #FFFFFF;
    font-style: normal;
    text-transform: none;
    margin-left: 10px;
    display: inline-block;
}

.contact-list {
    display: flex;
    flex-direction: column;
    /* gap: 15px; */
}

.contact-row {
    display: grid;
    grid-template-columns: 200px 46px 431px 46px 477px;
    padding: 15px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
    width: 1200px;
    min-height: 50px;
    align-items: center;
}

.contact-row:last-child {
    border-bottom: none;
}

.contact-name {
    font-family: OPPOSans-R, R;
    font-weight: normal;
    font-size: 26px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
    display: flex;
    align-items: center;
    grid-column: 1;
}

.contact-info {
    display: none;
}

.contact-info-1 {
    grid-column: 3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info-2 {
    grid-column: 5;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: -166px;
}

.contact-info-1 img,
.contact-info-2 img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: inline-block;
}

.contact-phone,
.contact-address {
    font-family: OPPOSans-R, R;
    font-weight: normal;
    font-size: 16px;
    color: #FFFFFF;
    text-align: left;
    font-style: normal;
    text-transform: none;
    line-height: 1.2;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-logo-img {
    flex-shrink: 0;
    width:70px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.footer-logo-text-name {
    font-family: OPPOSans-B, OPPOSans;
    font-weight: bold;
    font-size: 14px;
    line-height: 14px;
    color: #FFFFFF;
    /* line-height: normal; */
    letter-spacing: 0;
    text-decoration: none;
    margin-bottom: 5px;
}

.footer-logo-text-slogan {
    font-family: OPPOSans, OPPOSans;
    font-weight: normal;
    font-size: 7px;
    line-height: 7px;
    color: #FFFFFF;
    line-height: 7px;
    font-style: normal;
    text-transform: none;
    text-decoration: none;
}

/* 确保没有其他样式影响底栏 */
#footer .contact-row,
#footer .contact-info,
#footer .contact-name {
    background-color: transparent !important;
}