/* ========== 地中海阳光风 - 米白/海洋蓝/赭石色 明亮清爽海岸感 ========== */
:root {
    --sand: #FDF6E9;
    --sand-deep: #F5EBD0;
    --sea: #2B6CB0;
    --sea-light: #4A90D9;
    --sea-deep: #1A4F8C;
    --sky: #E8F4FC;
    --terracotta: #D97742;
    --terracotta-light: #F0A070;
    --sun: #F5C842;
    --white: #FFFFFF;
    --text: #2D3748;
    --text-sec: #5A6878;
    --text-light: #8A96A6;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans SC', -apple-system, sans-serif;
    color: var(--text); line-height:1.7; background:var(--white); font-size:15px;
}
.container { max-width:1180px; margin:0 auto; padding:0 24px; }
img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color:inherit; transition:all 0.25s ease; }
ul { list-style:none; }

/* 按钮 */
.med-btn {
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    padding:14px 28px; border-radius:50px; font-size:14px; font-weight:600;
    cursor:pointer; transition:all 0.25s ease; font-family:inherit;
}
.med-btn-primary { background:var(--sea); color:var(--white); box-shadow:0 4px 14px rgba(43,108,176,0.3); }
.med-btn-primary:hover { background:var(--sea-deep); transform:translateY(-2px); box-shadow:0 8px 24px rgba(43,108,176,0.4); }
.med-btn-white { background:var(--white); color:var(--sea); border:2px solid var(--sea); }
.med-btn-white:hover { background:var(--sea); color:var(--white); }
.med-btn-arr { transition:transform 0.2s ease; }
.med-btn:hover .med-btn-arr { transform:translateX(4px); }

/* 导航 */
.med-header { background:var(--white); box-shadow:0 2px 12px rgba(43,108,176,0.08); position:sticky; top:0; z-index:100; }
.med-header-inner { display:flex; justify-content:space-between; align-items:center; padding:16px 0; }
.med-logo { display:flex; align-items:center; gap:10px; }
.med-logo-icon { font-size:24px; }
.med-logo-text { font-size:20px; font-weight:700; color:var(--sea-deep); letter-spacing:1px; }
.med-nav { display:flex; align-items:center; gap:24px; }
.med-nav a { font-size:14px; font-weight:500; color:var(--text-sec); }
.med-nav a:hover { color:var(--sea); }
.med-nav-cta { background:var(--terracotta); color:var(--white) !important; padding:8px 18px; border-radius:50px; font-size:13px !important; }
.med-nav-cta:hover { background:var(--terracotta-light) !important; }

.med-menu-btn { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:8px; }
.med-menu-btn span { width:22px; height:2px; background:var(--text); border-radius:2px; }

/* 移动端 */
.med-mob-nav {
    position:fixed; top:0; right:-100%; width:280px; height:100vh;
    background:var(--white); z-index:200; padding:36px 28px; transition:right 0.3s ease;
    box-shadow:-4px 0 20px rgba(0,0,0,0.1);
}
.med-mob-nav.active { right:0; }
.med-mob-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:32px; font-size:22px; color:var(--sea); }
.med-mob-close { background:none; border:none; font-size:30px; cursor:pointer; color:var(--text-light); }
.med-mob-links { display:flex; flex-direction:column; }
.med-mob-links a { padding:14px 0; border-bottom:1px solid var(--sand-deep); font-size:15px; }
.med-mob-tel { background:var(--terracotta) !important; color:var(--white) !important; text-align:center; margin-top:24px !important; padding:14px !important; border-radius:50px; border:none; font-weight:600; }
.med-mob-overlay {
    position:fixed; top:0; left:0; width:100%; height:100%;
    background:rgba(45,55,72,0.5); z-index:150; opacity:0; visibility:hidden; transition:all 0.3s ease;
}
.med-mob-overlay.active { opacity:1; visibility:visible; }

/* 区块标题 */
.med-section-head { margin-bottom:48px; display:flex; justify-content:space-between; align-items:flex-end; gap:20px; flex-wrap:wrap; }
.med-section-center { flex-direction:column; align-items:center; text-align:center; }
.med-section-en { display:block; font-size:11px; letter-spacing:4px; color:var(--terracotta); font-weight:700; margin-bottom:8px; }
.med-section-title-wrap h2 { font-size:28px; font-weight:700; color:var(--sea-deep); }
.med-section-head p { font-size:14px; color:var(--text-sec); }

/* Hero */
.med-hero {
    background: linear-gradient(135deg, var(--sky) 0%, var(--sand) 100%);
    padding:80px 0 120px; position:relative; overflow:hidden;
}
.med-waves { position:absolute; bottom:0; left:0; width:100%; line-height:0; }
.med-waves svg { width:100%; height:80px; }
.med-hero-inner { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; position:relative; z-index:1; }
.med-hero-badge {
    display:inline-block; padding:6px 16px; background:var(--white);
    color:var(--terracotta); border-radius:50px; font-size:12px; font-weight:600;
    box-shadow:0 2px 10px rgba(217,119,66,0.15); margin-bottom:24px;
}
.med-hero-content h1 { font-size:42px; font-weight:700; line-height:1.3; color:var(--sea-deep); margin-bottom:20px; }
.med-hero-sub { font-size:15px; color:var(--text-sec); line-height:1.9; margin-bottom:32px; }
.med-hero-actions { display:flex; gap:16px; margin-bottom:32px; flex-wrap:wrap; }
.med-hero-hotline { display:flex; flex-direction:column; gap:4px; }
.med-hotline-label { font-size:12px; color:var(--text-light); letter-spacing:2px; }
.med-hotline-num { font-size:26px; font-weight:700; color:var(--sea); letter-spacing:1px; }
.med-hotline-num:hover { color:var(--terracotta); }
.med-hero-media { position:relative; }
.med-hero-img-wrap { border-radius:24px; overflow:hidden; box-shadow:0 20px 60px rgba(43,108,176,0.2); }
.med-hero-img-wrap img { width:100%; height:420px; object-fit:cover; }
.med-hero-float {
    position:absolute; padding:12px 18px; background:var(--white);
    border-radius:50px; font-size:14px; font-weight:600; color:var(--sea);
    box-shadow:0 8px 24px rgba(0,0,0,0.1); display:flex; align-items:center; gap:8px;
}
.med-hero-float span { width:20px; height:20px; border-radius:50%; background:var(--sea); color:var(--white); display:flex; align-items:center; justify-content:center; font-size:12px; }
.med-float-1 { top:20px; left:-20px; animation: medFloat 3s ease-in-out infinite; }
.med-float-2 { bottom:60px; right:-10px; background:var(--terracotta); color:var(--white); animation: medFloat 3s ease-in-out infinite 1s; }
.med-float-2 span { background:var(--white); color:var(--terracotta); }
@keyframes medFloat {
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(-10px);}
}

/* 服务 */
.med-services { padding:100px 0; }
.med-svc-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.med-svc-card {
    padding:28px 24px; background:var(--white); border-radius:16px;
    border:2px solid var(--sand-deep); transition:all 0.3s ease;
}
.med-svc-card:hover { transform:translateY(-4px); border-color:var(--sea); box-shadow:0 12px 32px rgba(43,108,176,0.12); }
.med-svc-accent { border-color:var(--terracotta); background:linear-gradient(135deg, var(--white), #FFF5EC); }
.med-svc-accent:hover { border-color:var(--terracotta); box-shadow:0 12px 32px rgba(217,119,66,0.15); }
.med-svc-icon {
    width:52px; height:52px; border-radius:14px; background:var(--sky);
    color:var(--sea); font-size:24px; display:flex; align-items:center; justify-content:center;
    margin-bottom:16px; transition:all 0.3s ease;
}
.med-svc-accent .med-svc-icon { background:#FFF0E3; color:var(--terracotta); }
.med-svc-card:hover .med-svc-icon { transform:scale(1.1); }
.med-svc-card h3 { font-size:16px; font-weight:700; margin-bottom:8px; color:var(--sea-deep); }
.med-svc-card p { font-size:13px; color:var(--text-sec); line-height:1.7; }

/* IVF */
.med-ivf { padding:100px 0; background:linear-gradient(135deg, var(--sky) 0%, var(--white) 100%); }
.med-ivf-intro { max-width:800px; margin:0 auto 48px; text-align:center; }
.med-ivf-intro p { font-size:15px; color:var(--text-sec); line-height:2; }
.med-tech-tabs { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-bottom:32px; }
.med-tech-card {
    display:flex; gap:20px; padding:28px 24px;
    background:var(--white); border-radius:16px; border-top:4px solid var(--sky);
    transition:all 0.3s ease;
}
.med-tech-highlight { border-top-color:var(--terracotta); box-shadow:0 8px 32px rgba(217,119,66,0.1); }
.med-tech-card:hover { transform:translateY(-4px); box-shadow:0 12px 32px rgba(43,108,176,0.12); }
.med-tech-num {
    width:48px; height:48px; border-radius:12px; background:var(--sea); color:var(--white);
    display:flex; align-items:center; justify-content:center; font-size:20px; font-weight:700;
    font-family:serif; flex-shrink:0;
}
.med-tech-highlight .med-tech-num { background:var(--terracotta); }
.med-tech-body h3 { font-size:16px; font-weight:700; color:var(--sea-deep); margin-bottom:6px; }
.med-tech-tag { font-size:12px; color:var(--terracotta); font-weight:600; letter-spacing:1px; margin-bottom:10px; }
.med-tech-body p:last-child { font-size:13px; color:var(--text-sec); line-height:1.8; }
.med-ivf-notice {
    max-width:900px; margin:0 auto; padding:16px 20px;
    background:var(--white); border-left:4px solid var(--terracotta);
    border-radius:0 8px 8px 0; font-size:14px; color:var(--text-sec); line-height:1.8;
    box-shadow:0 4px 16px rgba(0,0,0,0.04);
}

/* 知识领域 */
.med-deps { padding:100px 0; }
.med-dep-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.med-dep-item {
    display:flex; align-items:center; gap:12px; padding:20px;
    background:var(--sand); border-radius:12px; font-size:15px; font-weight:500;
    transition:all 0.25s ease;
}
.med-dep-item:hover { background:var(--sea); color:var(--white); transform:translateX(4px); }
.med-dep-ico { font-size:22px; }

/* 流程 */
.med-process { padding:100px 0; background:var(--sand); }
.med-steps { display:flex; align-items:stretch; gap:0; margin-bottom:32px; flex-wrap:wrap; justify-content:center; }
.med-step {
    flex:1; min-width:150px; max-width:180px;
    padding:24px 16px; background:var(--white); border-radius:16px;
    text-align:center;
}
.med-step-head { margin-bottom:10px; }
.med-step-no {
    display:inline-block; width:36px; height:36px; border-radius:50%;
    background:var(--sea); color:var(--white); font-size:14px; font-weight:700;
    line-height:36px; margin-bottom:10px;
}
.med-step-head h3 { font-size:14px; font-weight:700; color:var(--sea-deep); }
.med-step p { font-size:12px; color:var(--text-sec); line-height:1.6; }
.med-step-connector { display:flex; align-items:center; justify-content:center; font-size:24px; color:var(--terracotta); font-weight:700; padding:0 8px; align-self:center; }
.med-process-note {
    max-width:800px; margin:0 auto; padding:14px 18px;
    background:var(--white); border-radius:8px; font-size:13px; color:var(--text-sec);
    border-left:3px solid var(--terracotta);
}

/* 健康指南 */
.med-guide { padding:100px 0; }
.med-guide-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.med-guide-card {
    padding:28px 22px; background:var(--white); border-radius:16px;
    box-shadow:0 4px 16px rgba(43,108,176,0.06); transition:all 0.3s ease;
    border-bottom:3px solid transparent;
}
.med-guide-card:hover { transform:translateY(-4px); border-bottom-color:var(--terracotta); box-shadow:0 12px 32px rgba(217,119,66,0.12); }
.med-g-emoji { font-size:28px; display:block; margin-bottom:12px; }
.med-guide-card h3 { font-size:15px; font-weight:700; color:var(--sea-deep); margin-bottom:8px; }
.med-guide-card p { font-size:13px; color:var(--text-sec); line-height:1.7; }

/* 团队 */
.med-experts { padding:100px 0; background:linear-gradient(135deg, var(--sand) 0%, var(--sky) 100%); }
.med-exp-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin-bottom:24px; }
.med-exp-card {
    padding:32px 24px; background:var(--white); border-radius:16px; text-align:center;
    transition:all 0.3s ease;
}
.med-exp-card:hover { transform:translateY(-4px); box-shadow:0 12px 32px rgba(0,0,0,0.08); }
.med-exp-avatar {
    width:68px; height:68px; border-radius:50%; margin:0 auto 16px;
    display:flex; align-items:center; justify-content:center; font-size:28px; color:var(--white);
}
.med-av-1 { background:linear-gradient(135deg, var(--sea), var(--sea-light)); }
.med-av-2 { background:linear-gradient(135deg, var(--terracotta), var(--terracotta-light)); }
.med-av-3 { background:linear-gradient(135deg, var(--sea-deep), var(--sea)); }
.med-av-4 { background:linear-gradient(135deg, var(--sun), var(--terracotta-light)); }
.med-exp-card h4 { font-size:15px; font-weight:700; color:var(--sea-deep); margin-bottom:4px; }
.med-exp-role { font-size:12px; color:var(--terracotta); font-weight:600; letter-spacing:1px; margin-bottom:12px; }
.med-exp-desc { font-size:13px; color:var(--text-sec); line-height:1.7; text-align:left; }
.med-exp-note { text-align:center; font-size:12px; color:var(--text-light); font-style:italic; max-width:700px; margin:0 auto; }

/* 资讯 - 必须保留 */
.med-news { padding:100px 0; }
ul.article-cards {
    display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:24px; list-style:none; margin:0; padding:0; width:100%; box-sizing:border-box;
}
ul.article-cards > li.article-card {
    min-width:0; width:auto; max-width:none; margin:0; float:none; box-sizing:border-box;
    background:var(--white); border-radius:16px; overflow:hidden;
    box-shadow:0 4px 16px rgba(43,108,176,0.06); transition:all 0.3s ease; padding-bottom:20px;
}
ul.article-cards > li.article-card:hover { transform:translateY(-4px); box-shadow:0 12px 32px rgba(43,108,176,0.12); }
.article-card .card-thumb { width:100%; overflow:hidden; }
.article-card .card-thumb img { display:block; width:100%; max-width:100%; height:180px; object-fit:cover; }
.article-card .card-title { overflow-wrap:anywhere; font-size:15px; font-weight:700; padding:16px 18px 8px; line-height:1.6; color:var(--sea-deep); }
.article-card .card-date { display:block; font-size:12px; color:var(--text-light); padding:0 18px 8px; }
.article-card .card-summary { overflow-wrap:anywhere; font-size:13px; color:var(--text-sec); padding:0 18px; line-height:1.7; }

/* FAQ */
.med-faq { padding:100px 0; background:var(--sand); }
.med-faq-list { max-width:760px; margin:0 auto; }
.med-faq-item {
    background:var(--white); border-radius:12px; margin-bottom:12px; overflow:hidden;
    transition:all 0.2s ease;
}
.med-faq-q {
    width:100%; padding:18px 24px; background:none; border:none;
    display:flex; justify-content:space-between; align-items:center;
    font-size:15px; font-weight:600; cursor:pointer; font-family:inherit; text-align:left;
    color:var(--sea-deep); gap:16px;
}
.med-faq-icon {
    width:28px; height:28px; border-radius:50%; background:var(--sky); color:var(--sea);
    font-size:18px; font-style:normal; display:flex; align-items:center; justify-content:center;
    flex-shrink:0; transition:all 0.3s ease;
}
.med-faq-item.active .med-faq-icon { background:var(--terracotta); color:var(--white); transform:rotate(45deg); }
.med-faq-a { max-height:0; overflow:hidden; transition:max-height 0.35s ease; }
.med-faq-item.active .med-faq-a { max-height:250px; }
.med-faq-a p { padding:0 24px 20px; font-size:14px; color:var(--text-sec); line-height:1.8; }

/* 关于 */
.med-about { padding:100px 0; }
.med-about-inner { display:grid; grid-template-columns:1.2fr 1fr; gap:60px; align-items:start; }
.med-about-main .med-section-en { display:block; margin-bottom:10px; }
.med-about-main h2 { font-size:28px; font-weight:700; color:var(--sea-deep); margin-bottom:20px; }
.med-about-main > p { font-size:15px; color:var(--text-sec); line-height:1.9; margin-bottom:24px; }
.med-about-list li { padding:8px 0; font-size:14px; color:var(--text-sec); }
.med-contact-card {
    padding:36px; background:linear-gradient(135deg, var(--sky), var(--sand));
    border-radius:20px; border-top:4px solid var(--terracotta);
}
.med-contact-card h3 { font-size:20px; font-weight:700; color:var(--sea-deep); margin-bottom:8px; }
.med-contact-sub { font-size:14px; color:var(--text-sec); margin-bottom:24px; }
.med-contact-phone { padding-bottom:20px; border-bottom:2px dashed var(--white); margin-bottom:20px; }
.med-phone-label { font-size:12px; color:var(--text-light); letter-spacing:2px; margin-bottom:4px; }
.med-contact-phone a { font-size:28px; font-weight:700; color:var(--sea); }
.med-contact-phone a:hover { color:var(--terracotta); }
.med-contact-hours p { font-size:12px; color:var(--text-sec); line-height:1.7; margin-bottom:6px; }
.med-disclaim { margin-top:20px; padding-top:20px; border-top:2px dashed var(--white); }
.med-disclaim h4 { font-size:14px; font-weight:700; color:var(--sea-deep); margin-bottom:8px; }
.med-disclaim p { font-size:12px; color:var(--text-light); line-height:1.8; }

/* 文章详情 */
.med-article-page { padding:50px 0 80px; background:var(--sky); min-height:60vh; }
.med-article { max-width:800px; margin:0 auto; background:var(--white); padding:48px 56px; border-radius:20px; box-shadow:0 8px 32px rgba(43,108,176,0.08); }
.med-article-crumb { font-size:13px; color:var(--text-light); margin-bottom:24px; padding-bottom:16px; border-bottom:1px solid var(--sand-deep); }
.med-article-crumb a:hover { color:var(--sea); }
.med-article-title { font-size:28px; font-weight:700; line-height:1.4; color:var(--sea-deep); margin-bottom:16px; }
.med-article-meta { font-size:13px; color:var(--text-light); margin-bottom:24px; }
.med-article-summary { font-size:16px; color:var(--text); line-height:1.9; padding:20px 24px; background:var(--sky); border-left:4px solid var(--sea); border-radius:0 8px 8px 0; margin-bottom:28px; }
.med-article-fig { margin-bottom:28px; border-radius:12px; overflow:hidden; }
.med-article-fig img { width:100%; }
.med-article-body { font-size:16px; line-height:2; color:var(--text); margin-bottom:40px; }
.med-article-body h2,.med-article-body h3,.med-article-body h4 { margin:32px 0 16px; font-weight:700; color:var(--sea-deep); }
.med-article-body h2 { font-size:22px; }
.med-article-body h3 { font-size:19px; }
.med-article-body p { margin-bottom:16px; }
.med-article-body img { max-width:100%; margin:20px 0; border-radius:8px; }
.med-article-body ul,.med-article-body ol { margin:16px 0; padding-left:24px; }
.med-article-body li { margin-bottom:8px; }
.med-article-related { padding:24px 0; border-top:2px dashed var(--sand-deep); border-bottom:2px dashed var(--sand-deep); margin-bottom:24px; }
.med-article-related h3 { font-size:16px; font-weight:700; margin-bottom:16px; color:var(--sea-deep); }
.med-related-tags { display:flex; flex-wrap:wrap; gap:8px; }
.med-related-tags a { padding:8px 16px; background:var(--sky); border-radius:50px; font-size:13px; color:var(--sea); font-weight:500; }
.med-related-tags a:hover { background:var(--sea); color:var(--white); }
.med-article-disclaim { padding:16px; background:#FFF5EC; border-radius:8px; margin-bottom:24px; border-left:3px solid var(--terracotta); }
.med-article-disclaim p { font-size:13px; color:var(--text-sec); }
.med-article-cta { text-align:center; padding:36px; background:linear-gradient(135deg, var(--sea), var(--sea-light)); color:var(--white); border-radius:16px; }
.med-article-cta p { margin-bottom:16px; font-size:15px; }
.med-article-cta .med-btn-primary { background:var(--terracotta); }
.med-article-cta .med-btn-primary:hover { background:var(--terracotta-light); }

/* 页脚 */
.med-footer { background:linear-gradient(135deg, var(--sea-deep), var(--sea)); color:var(--white); padding:70px 0 0; }
.med-footer-top { display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:50px; padding-bottom:50px; border-bottom:1px solid rgba(255,255,255,0.15); }
.med-foot-logo { font-size:20px; font-weight:700; margin-bottom:16px; display:flex; align-items:center; gap:8px; }
.med-foot-brand p { font-size:14px; opacity:0.8; line-height:1.8; margin-bottom:16px; }
.med-foot-phone { font-size:18px; font-weight:600; color:var(--sun); }
.med-foot-phone:hover { color:var(--terracotta-light); }
.med-foot-col h4 { font-size:14px; font-weight:700; margin-bottom:16px; }
.med-foot-col a { display:block; font-size:13px; opacity:0.7; margin-bottom:10px; }
.med-foot-col a:hover { opacity:1; color:var(--sun); }
.med-footer-bottom { padding:24px 0; display:flex; justify-content:space-between; align-items:center; font-size:12px; opacity:0.6; }
.med-foot-beian { display:flex; gap:12px; align-items:center; }
.med-foot-beian a:hover { color:var(--sun); }

/* 响应式 */
@media (max-width:1024px) {
    .med-svc-grid, .med-guide-grid, .med-exp-grid { grid-template-columns:repeat(2,1fr); }
    .med-tech-tabs { grid-template-columns:1fr; }
    .med-dep-grid { grid-template-columns:repeat(2,1fr); }
    .med-about-inner, .med-hero-inner { grid-template-columns:1fr; gap:40px; }
    .med-footer-top { grid-template-columns:repeat(2,1fr); gap:40px; }
    .med-hero-img-wrap img { height:320px; }
    .med-float-1 { left:0; }
}
@media (max-width:768px) {
    .med-nav { display:none; }
    .med-menu-btn { display:flex; }
    .med-hero { padding:50px 0 100px; }
    .med-hero-content h1 { font-size:28px; }
    .med-hero-actions { flex-direction:column; }
    .med-btn { width:100%; }
    .med-svc-grid, .med-guide-grid, .med-exp-grid, .med-dep-grid { grid-template-columns:1fr; }
    .med-steps { flex-direction:column; align-items:center; }
    .med-step { max-width:100%; width:100%; }
    .med-step-connector { transform:rotate(90deg); padding:12px 0; }
    .med-section-head { flex-direction:column; align-items:flex-start; }
    .med-section-center { align-items:center; }
    .med-article { padding:32px 20px; }
    .med-article-title { font-size:22px; }
    .med-footer-top { grid-template-columns:1fr; gap:32px; }
    .med-footer-bottom { flex-direction:column; gap:8px; text-align:center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration:0.01ms !important; transition-duration:0.01ms !important; }
    html { scroll-behavior:auto; }
}
