/* ==========================================================================
   home.css —— 首页专属样式
   公共样式见 common.css
   ========================================================================== */

/* ---------- 1. Hero Banner ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, .4) 50%, rgba(255, 255, 255, .1) 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    /*max-width: 620px;*/
    padding-top: 60px;
}

.hero-content h1 {
    font-size: 46px;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 22px;
    text-shadow: 2px 3px 1px #383838;
}

.hero-content p {
    font-size: 16px;
    color: #fff;
    margin-bottom: 32px;
    /*max-width: 520px;*/
    text-shadow: 2px 1px 1px #888;
}

@media (max-width: 991.98px) {
    .hero {
        min-height: 80vh;
    }
    .hero-content h1 {
        font-size: 32px;
    }
}

@media (max-width: 767.98px) {
    .hero {
        min-height: 70vh;
        text-align: center;
    }
    .hero-content {
        margin: 0 auto;
        padding-top: 40px;
    }
    .hero-content h1 {
        font-size: 24px;
    }
    .hero-content p {
        font-size: 14px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ---------- 2. 数据统计 ---------- */
.stats {
    padding: 55px 0;
    background: #fff;
}

.stat-num {
    font-size: 42px;
    font-weight: 700;
    color: var(--bd-gold);
    font-family: var(--bd-font-serif);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-num sup {
    font-size: 20px;
    top: -12px;
    margin-left: 2px;
}

.stat-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--bd-dark);
    margin-bottom: 6px;
    font-family: var(--bd-font-serif);
}

.stat-desc {
    font-size: 13px;
    color: var(--bd-text-sub);
    line-height: 1.5;
}

@media (max-width: 767.98px) {
    .stats {
        padding: 35px 0;
    }
    .stat-num {
        font-size: 32px;
    }
    .stat-num sup {
        font-size: 16px;
    }
}

/* ---------- 3. Who We Are ---------- */
.wwa-le{
    padding-left: 30px;
}
.wwa-title {
    font-size: 38px;
    margin-bottom: 22px;
}

.wwa-text {
    font-size: 15px;
    color: var(--bd-text);
    line-height: 1.9;
    margin-bottom: 24px;
}

.wwa-more {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: var(--bd-gold);
    position: relative;
    padding-bottom: 4px;
}

.wwa-more::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--bd-gold);
}

.wwa-more:hover {
    color: var(--bd-primary);
}

.wwa-img img {
    border-radius: var(--bd-radius);
    width: 100%;
}

@media (max-width: 991.98px) {
    .wwa-box{
        margin: 0;
        padding: 0 20px;
    }
    .wwa-le{
        padding-left: 0px;
    }
}

@media (max-width: 767.98px) {
    .wwa-title {
        font-size: 28px;
    }
}

/* ---------- 4. Our Services 卡片 ---------- */
.service-card {
    background: #fff;
    border: 1px solid var(--bd-border);
    border-radius: var(--bd-radius);
    overflow: hidden;
    height: 100%;
    transition: all .3s ease;
}

.service-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    transform: translateY(-4px);
}

.service-card .img {
    position: relative;
    /*overflow: hidden;*/
}

.service-card .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.service-card:hover .img img {
    transform: scale(1.05);
}

.service-card .icon {
    position: absolute;
    left: 20px;
    bottom: -24px;
    width: 56px;
    height: 56px;
    background: #fff;
    /*border-radius: 10px;*/
    /*box-shadow: 0 4px 14px rgba(0, 0, 0, .1);*/
    display: flex;
    align-items: center;
    justify-content: center;
    padding:5px;
}

.service-card .icon svg {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    font-size: 26px;
    padding: 36px 22px 12px;
    line-height: 1.4;
}

.service-card p {
    font-size: 14px;
    color: var(--bd-text-sub);
    line-height: 1.8;
    padding: 0 22px 26px;
}

/* ---------- 5. Cooperative Case 横向 ---------- */
.coop-case {
    background: var(--bd-cream);
    overflow: hidden;
}

.coop-left {
    background: var(--bd-primary);
    color: #fff;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.coop-left .label {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: .85;
    margin-bottom: 12px;
}

.coop-left h2 {
    color: #fff;
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 18px;
}

.coop-left p {
    font-size: 14px;
    line-height: 1.9;
    opacity: .9;
}

.coop-img {
    position: relative;
    min-height: 380px;
}

.coop-img img {
    width: 100%;
    /*height: 100%;*/
    object-fit: cover;
    /*position: absolute;*/
    inset: 0;
}

.coop-right {
    position: absolute;
    z-index: 2;
    max-width: 360px;
    right: -180px;
    top: 50%;
    transform: translateY(-50%);
}

.case-card {
    background: #fff;
    border-radius: var(--bd-radius);
    padding: 40px 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    width: 100%;
    min-height: 257px;
}

.case-card h4 {
    font-size: 18px;
    margin-bottom: 14px;
    line-height: 1.4;
}

.case-card p {
    font-size: 13px;
    color: var(--bd-text-sub);
    line-height: 1.8;
    margin-bottom: 20px;
}

.case-arrows {
    display: flex;
    gap: 10px;
    position: absolute;
    right: 30px;
    bottom: 20px;
    z-index: 3;
}

.case-arrows button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--bd-primary);
    background: #fff;
    color: var(--bd-primary);
    cursor: pointer;
    font-size: 16px;
    transition: all .25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-arrows button:hover {
    background: var(--bd-primary);
    color: #fff;
}

@media (max-width: 991.98px) {
    .coop-left {
        padding: 40px 30px;
    }
    .coop-left h2 {
        font-size: 26px;
    }
    .coop-img {
        min-height: 300px;
    }
    .coop-right {
        right:20px;
    }
}

/* ---------- 6. Specialty Departments ---------- */
.dept-card {
    background: #fff;
    border: 1px solid var(--bd-border);
    border-radius: var(--bd-radius);
    padding: 30px 22px;
    height: 100%;
    transition: all .3s ease;
    position: relative;
}

.dept-card:hover {
    border-color: var(--bd-primary);
    box-shadow: 0 10px 26px rgba(44, 157, 157, .12);
    transform: translateY(-4px);
}

.dept-card .icon {
    width: 60px;
    height: 60px;
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dept-card .icon svg {
    width: 44px;
    height: 44px;
}

.dept-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.dept-card p {
    font-size: 13px;
    color: var(--bd-text-sub);
    line-height: 1.7;
    margin-bottom: 16px;
}

.dept-arrow {
    display: inline-flex;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--bd-border);
    align-items: center;
    justify-content: center;
    color: var(--bd-dark);
    font-size: 16px;
    transition: all .25s ease;
}

.dept-card:hover .dept-arrow {
    background: var(--bd-primary);
    border-color: var(--bd-primary);
    color: #fff;
}
.dept-link{
    position: absolute;
    right:15px;
    bottom:15px;
}
@media (max-width: 991.98px) {
    .departments-item>.col{
        margin-bottom: 10px;
    }
}

/* ---------- 7. Cooperative Agency Logo墙 ---------- */
.agency-logo {
    background: #fff;
    border-radius: var(--bd-radius);
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    transition: all .3s ease;
    filter: grayscale(40%);
}

.agency-logo:hover {
    filter: grayscale(0);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.agency-logo img {
    max-height: 54px;
    object-fit: contain;
}
