/* ==========================================================================
   common.css —— 全站公共样式
   医享汇 HEALTH CARE HUB
   说明：此文件只放所有页面共用的部分，各页面专属样式写在对应页面 css 中。
   ========================================================================== */

/* ---------- 1. CSS 变量（全站统一色调，改这里即可全局换肤） ---------- */
@import url('https://lf6-cdn-tos.bytecdntp.com/cdn/expire-100-M/font/Lora@5.1.0/lora.css');
:root {
    --bd-primary:    #3f93ab;   /* 主色 青绿色 */
    --bd-primary-d:  #31849b;   /* 主色-深 */
    --bd-primary-l:  #e8f4f4;   /* 主色-浅背景 */
    --bd-dark:       #153257;   /* 深色标题/文字 */
    --bd-gold:       #b8956a;   /* 金色点缀 */
    --bd-cream:      #f5f0e8;   /* 浅米色区块背景 */
    --bd-gray:       #f8f9fa;   /* 浅灰背景 */
    --bd-text:       #444;      /* 正文色 */
    --bd-text-sub:   #666;      /* 次级文字 */
    --bd-muted:      #999;      /* 弱化文字 */
    --bd-border:     #e6e8eb;   /* 边框色 */
    --bd-radius:     8px;       /* 圆角 */
    /*--bd-font-serif: "Playfair Display", "Times New Roman", Georgia, serif;*/
    /*--bd-font:       "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;*/
    --bd-font: Arial, Helvetica, sans-serif;
    --bd-font-serif: 'Lora', Georgia, serif;
}

/* ---------- 2. 基础重置 ---------- */
html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--bd-font);
    color: var(--bd-text);
    background: #fff;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: var(--bd-primary);
    text-decoration: none;
    transition: color .25s ease;
}

a:hover {
    color: var(--bd-primary-d);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border: 0;
}

ul, ol {
    padding: 0;
    margin: 0;
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
    color: var(--bd-dark);
    font-family: var(--bd-font-serif);
}

p {
    margin: 0;
}

input, select, textarea, button {
    font-family: inherit;
    outline: none;
}

/* ---------- 3. 通用容器与区块 ---------- */
.container {
    max-width: 1540px;
}
.who-we-are{
    padding-left: calc((100% - 1540px)/2);
}

.section {
    padding: 70px 0;
}

.section-cream {
    background: var(--bd-cream);
}

.section-gray {
    background: var(--bd-gray);
}

@media (max-width: 767.98px) {
    .section {
        padding: 45px 0;
    }
}

/* ---------- 4. 通用区块标题（设计稿样式：小字英文+两侧横线+衬线大标题） ---------- */
.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title .label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--bd-gold);
    margin-bottom: 10px;
}

.section-title .label::before,
.section-title .label::after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--bd-gold);
}

.section-title .cn {
    font-size: 34px;
    font-weight: 700;
    color: var(--bd-dark);
    font-family: var(--bd-font-serif);
}

.section-title .line {
    width: 45px;
    height: 3px;
    background: var(--bd-gold);
    border-radius: 2px;
    margin: 16px auto 0;
}

.section-title .sub {
    display: block;
    margin-top: 14px;
    font-size: 14px;
    color: var(--bd-text-sub);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767.98px) {
    .section-title .cn {
        font-size: 26px;
    }
    .section-title {
        margin-bottom: 30px;
    }
}

/* 左对齐版 */
.section-title.left {
    text-align: left;
}

.section-title.left .label {
    justify-content: flex-start;
}

.section-title.left .line {
    margin: 16px 0 0;
}

.section-title.left .sub {
    margin-left: 0;
}

/* ---------- 5. 通用按钮 ---------- */
.btn-primary-custom {
    display: inline-block;
    padding: 13px 36px;
    font-size: 15px;
    color: #fff;
    background: var(--bd-primary);
    border: 1px solid var(--bd-primary);
    border-radius: var(--bd-radius);
    text-align: center;
    cursor: pointer;
    transition: all .25s ease;
    font-weight: 500;
}

.btn-primary-custom:hover {
    color: #fff;
    background: var(--bd-primary-d);
    border-color: var(--bd-primary-d);
}

.btn-outline-custom {
    display: inline-block;
    padding: 13px 36px;
    font-size: 15px;
    color: var(--bd-primary);
    background: transparent;
    border: 1px solid var(--bd-primary);
    border-radius: var(--bd-radius);
    text-align: center;
    cursor: pointer;
    transition: all .25s ease;
    font-weight: 500;
}

.btn-outline-custom:hover {
    color: #fff;
    background: var(--bd-primary);
}

/* 浅色按钮（用于青绿色背景上） */
.btn-light-custom {
    display: inline-block;
    padding: 13px 36px;
    font-size: 17px;
    color: var(--bd-dark);
    background: #fff;
    border: 1px solid #fff;
    border-radius: var(--bd-radius);
    text-align: center;
    cursor: pointer;
    transition: all .25s ease;
    font-weight: 500;
}

.btn-light-custom:hover {
    background: var(--bd-cream);
    border-color: var(--bd-cream);
    color: var(--bd-dark);
}

/* ---------- 6. Header 导航（公共） ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all .3s ease;
    background: transparent;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    padding: 12px 0;
}

.site-header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-header .logo svg {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.site-header .logo .text .cn {
    font-size: 20px;
    font-weight: 700;
    color: var(--bd-dark);
    line-height: 1.1;
    font-family: var(--bd-font);
}

.site-header .logo .text .en {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--bd-text-sub);
    text-transform: uppercase;
    line-height: 1.1;
    margin-top: 2px;
}

.site-header .main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.site-header .main-nav a {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bd-dark);
    text-transform: uppercase;
    letter-spacing: .5px;
    position: relative;
    transition: color .25s ease;
}

.site-header .main-nav a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 3px;
    background: var(--bd-primary);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform .25s ease;
}

.site-header .main-nav a:hover,
.site-header .main-nav a.active {
    color: var(--bd-primary);
}

.site-header .main-nav a.active::after,
.site-header .main-nav a:hover::after {
    transform: scaleX(1);
}

/* 移动端菜单按钮 */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 0;
    cursor: pointer;
    position: absolute;
    right:20px;
    z-index: 2;
    top: -20px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--bd-dark);
    margin: 5px auto;
    transition: all .3s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 991.98px) {
    .nav-toggle {
        display: block;
    }

    .site-header .main-nav {
        position: fixed;
        top: 0;
        right: -280px;
        width: 260px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 50px 20px 20px;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, .1);
        transition: right .3s ease;
    }

    .site-header .main-nav.open {
        right: 0;
    }

    .site-header .main-nav a {
        padding: 14px 10px;
        border-bottom: 1px solid var(--bd-border);
    }

    .site-header .main-nav a::after {
        display: none;
    }
    .site-header .logo img{
        max-width: 60%;
    }
    .m-hide{
        display: none!important;
    }
}

/* ---------- 7. 内页页头 Banner（公共） ---------- */
.page-banner {
    position: relative;
    padding: 160px 0 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .1) 10%, rgba(255, 255, 255, 0) 100%);
}

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

.page-banner h1 {
    font-size: 40px;
    color: var(--bd-dark);
    margin-bottom: 12px;
}

.page-banner .sub {
    font-size: 17px;
    color: var(--bd-primary);
    font-weight: 500;
    max-width: 600px;
}

@media (max-width: 767.98px) {
    .site-header .logo img{
        width:42%;
    }
    .page-banner {
        padding: 130px 0 55px;
    }
    .page-banner h1 {
        font-size: 30px;
    }
    .page-banner .sub {
        font-size: 15px;
    }
}

/* ---------- 8. CTA 区块（公共：Your Health, Our Priority） ---------- */
.cta-section {
    background: var(--bd-primary);
    border-radius: 0 0 60px 60px;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.cta-section .cta-wrap {
    display: flex;
    align-items: center;
    gap: 30px;
}

.cta-section .cta-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-section .cta-icon svg {
    width: 44px;
    height: 44px;
    fill: #fff;
}

.cta-section .cta-text {
    flex: 1;
}

.cta-section .cta-text h3 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 6px;
}

.cta-section .cta-text p {
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    max-width: 500px;
}

.cta-section .cta-btn {
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .cta-section {
        border-radius: 0 0 30px 30px;
        padding: 35px 0;
    }
    .cta-section .cta-wrap {
        flex-direction: column;
        text-align: center;
    }
    .cta-section .cta-text p {
        margin: 0 auto;
    }
    .cta-section .cta-text h3 {
        font-size: 22px;
    }
}

/* ---------- 9. Footer（公共） ---------- */
.site-footer {
    background: var(--bd-cream);
    padding: 60px 0 0;
}

.site-footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.site-footer .footer-logo svg {
    width: 44px;
    height: 44px;
}

.site-footer .footer-logo .text .cn {
    font-size: 20px;
    font-weight: 700;
    color: var(--bd-dark);
    line-height: 1.1;
}

.site-footer .footer-logo .text .en {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--bd-text-sub);
    text-transform: uppercase;
    line-height: 1.1;
    margin-top: 2px;
}

.site-footer .footer-desc {
    font-size: 13px;
    color: var(--bd-text-sub);
    line-height: 1.8;
    margin-bottom: 18px;
}

.site-footer .footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--bd-dark);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--bd-font);
}

.site-footer .footer-col ul li {
    margin-bottom: 10px;
}

.site-footer .footer-col ul li a {
    font-size: 14px;
    color: var(--bd-text-sub);
    transition: color .25s ease, padding-left .25s ease;
}

.site-footer .footer-col ul li a:hover {
    color: var(--bd-primary);
    padding-left: 4px;
}

.site-footer .contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--bd-text-sub);
    margin-bottom: 14px;
}

.site-footer .contact-list li i {
    width: 16px;
    height: 16px;
    color: var(--bd-primary);
    flex-shrink: 0;
    margin-top: 4px;
}

.site-footer .social {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.site-footer .social a {
   
    /*background: var(--bd-primary);*/
    color: var(--bd-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s ease;
    font-size: 20px;
}
.site-footer .social a span{
    color:var(--bd-primary);
    text-transform: capitalize;
    font-size: 20px;
    font-weight: 600;
    margin-right: 5px;
}
.site-footer .social a i{
    font-weight: 600;
}
.site-footer .social a:hover {
    color: var(--bd-primary-d);
}

.site-footer .footer-bottom {
    background: var(--bd-primary);
    margin-top: 40px;
    padding: 16px 0;
}

.site-footer .footer-bottom p {
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    margin: 0;
}

.site-footer .footer-bottom .links {
    text-align: right;
    color: #fff;
}

.site-footer .footer-bottom .links a {
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    margin:0 6px;
    
}

.site-footer .footer-bottom .links a:hover {
    color: var(--bd-primary-d);
}

@media (max-width: 767.98px) {
    .site-footer {
        padding: 40px 0 0;
    }
    .site-footer .footer-col {
        margin-bottom: 30px;
    }
    .site-footer .footer-bottom p,
    .site-footer .footer-bottom .links {
        text-align: center;
    }
    .site-footer .footer-bottom .links {
        margin-top: 8px;
    }
}

/* ---------- 10. 通用动画 ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}

.fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- 11. 响应式辅助 ---------- */
.d-pc { display: block; }
.d-mobile { display: none; }

@media (max-width: 767.98px) {
    .d-pc { display: none; }
    .d-mobile { display: block; }
}

/* 回到顶部 */
.back-top {
    position: fixed;
    right: 24px;
    bottom: 120px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bd-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    z-index: 999;
    border: 0;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
}

.back-top:hover {
    background: var(--bd-primary-d);
}

.back-top svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}
.bot-nav{
    width:0;
    overflow: hidden;
    margin: 0;
}
@media (max-width: 991.98px) {
    body{
        padding-bottom:50px;
    }
    .bot-nav{
        position: fixed;
        width:100%;
        left: 0;
        bottom: 0;
        font-size: 20px;
        line-height: 2;
        padding-top:10px;
        background: var(--bd-primary);
        color:#fff;
    }
}