/*
Theme Name: 专业医疗支援主题
Author: 自定义开发
Description: 为日本专业医疗支援服务量身定制的轻量级、无冗余插件多语言响应式主题。
Version: 1.9.8
Text Domain: med-support
*/

/* ==========================================================================
   1. 基础全局与变量设置
   ========================================================================== */
   :root {
    --font-serif: 'Noto Serif JP', 'Shippori Mincho', "Songti SC", "Source Han Serif SC", serif;
    --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans JP', sans-serif;
    --primary-color: #1a56db;
    --secondary-color: #0b192c;
    --accent-color: #00d2ff;
    --text-color: #333;
    --bg-color: #f4f7f6;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { margin: 0; font-family: var(--font-sans); color: var(--text-color); background-color: var(--bg-color); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
a { text-decoration: none; }

/* ==========================================================================
   2. 排版系统重构 (Typography)
   ========================================================================== */
h1, h2, h3, h4, .hero-title, .section-title, .premium-section-title, .ceo-name, .hospital-logo-placeholder, .single-content h2 { font-family: var(--font-serif) !important; font-weight: 700; letter-spacing: 0.05em; }
.hero-title { font-weight: 900; line-height: 1.4; }
.hero-subtitle, .section-subtitle, .timeline-desc, p { font-family: var(--font-sans); letter-spacing: 0.02em; }

/* ==========================================================================
   3. 全局辅助与组件 (Helpers & Components)
   ========================================================================== */
.text-center { text-align: center; }
.text-white { color: #ffffff !important; }
.premium-section { padding: 80px 0; }
.section-subtitle { display: block; font-size: 13px; font-weight: 700; color: var(--primary-color); letter-spacing: 2px; margin-bottom: 10px;}
.section-header .section-title { font-size: 32px; font-weight: 700; color: var(--secondary-color); margin-top: 0; margin-bottom: 50px;}
.reveal { opacity: 0; transform: translateY(30px); transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1); will-change: transform, opacity; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeRight { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeLeft { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
.animate-fade-up { animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.animate-fade-right { animation: fadeRight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.animate-fade-left { animation: fadeLeft 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }

/* ==========================================================================
   4. 顶部导航栏 & 语言下拉 & Logo (Header)
   ========================================================================== */
.site-header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; position: relative; }
.site-logo-img { height: 55px; width: auto; display: block; }
.primary-navigation .nav-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 40px; }
.primary-navigation a { color: #333; font-weight: 600; font-size: 16px; transition: color 0.3s; }
.primary-navigation a:hover { color: var(--primary-color); }
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 5px; }
.hamburger-line { display: block; width: 24px; height: 3px; background: #333; margin: 5px 0; border-radius: 2px; transition: all 0.3s ease;}

/* 高级语言下拉菜单 */
.lang-dropdown-wrapper { position: relative; display: inline-block; cursor: pointer; }
.lang-btn { display: flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 20px; border: 1px solid #e0eafc; font-size: 13px; font-weight: bold; color: #122b5e; cursor: pointer; background: #fff; transition: all 0.3s; }
.lang-btn:hover { border-color: var(--primary-color); background: #f9fbfd; }
.lang-btn svg { width: 14px; height: 14px; }
.lang-list { position: absolute; top: calc(100% + 8px); right: 0; background: #fff; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); padding: 8px 0; list-style: none; min-width: 110px; display: none; z-index: 1000; border: 1px solid #f0f5ff; margin: 0; }
.lang-list::before { content: ''; position: absolute; top: -15px; left: 0; right: 0; height: 15px; background: transparent; }
.lang-dropdown-wrapper:hover .lang-list { display: block; animation: dropFadeIn 0.2s ease; }
@keyframes dropFadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.lang-list li { margin: 0; padding: 0; list-style: none; }
.lang-list a { display: block; padding: 10px 20px; color: #555; font-size: 13px; font-weight: 500; transition: all 0.2s; white-space: nowrap; text-align: center; text-decoration: none; cursor: pointer; }
.lang-list a:hover { color: var(--primary-color); background: #f0f5ff; }

/* ==========================================================================
   5. 首页：高级科技感重构 (Home Premium & Tech)
   ========================================================================== */
.tech-hero { position: relative; padding: 140px 0; min-height: 80vh; display: flex; align-items: center; background-color: var(--secondary-color); overflow: hidden; }
.tech-hero-video { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; z-index: 1 !important; pointer-events: none; }
.tech-hero-overlay, .tech-hero-bg { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; background: linear-gradient(to right, rgba(11, 25, 44, 0.85) 0%, rgba(11, 25, 44, 0.4) 100%); z-index: 2 !important; pointer-events: none; }
.tech-hero-container { position: relative !important; z-index: 3 !important; width: 100%; }
.hero-glass-card { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1); padding: 60px 50px; border-radius: 20px; max-width: 700px; width: 100%; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2); }
.tech-badge { display: inline-block; padding: 6px 16px; background: rgba(26, 86, 219, 0.2); color: #64d2ff; border: 1px solid rgba(100, 210, 255, 0.3); border-radius: 30px; font-size: 13px; font-weight: 600; margin-bottom: 25px; letter-spacing: 1px;}
.hero-glass-card .hero-title { font-size: 44px; font-weight: 800; color: #ffffff; line-height: 1.3; margin-top: 0; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero-glass-card .hero-subtitle { font-size: 18px; color: #d0d7e6; line-height: 1.8; margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; width: 100%; }
.btn-glow { background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%); color: #fff; padding: 15px 35px; border-radius: 8px; font-weight: bold; font-size: 16px; box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3); transition: all 0.3s ease; border: none; cursor: pointer; display: inline-block; text-align: center; }
.btn-glow:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(0, 210, 255, 0.5); color: #fff;}
.btn-outline { background: transparent; color: #fff; padding: 15px 35px; border-radius: 8px; font-weight: bold; border: 1px solid rgba(255,255,255,0.4); transition: all 0.3s ease; backdrop-filter: blur(5px); display: inline-block; text-align: center; }
.btn-outline:hover { background: #fff; color: var(--secondary-color); }
.relative-pull-up { position: relative; z-index: 10; margin-top: -60px; }
.tech-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); padding: 40px 20px; }
.stat-item { text-align: center; border-right: 1px solid #f0f5ff; }
.stat-item:last-child { border-right: none; }
.stat-num { display: block; font-size: 42px; font-weight: 900; color: var(--secondary-color); font-family: 'Arial', sans-serif; line-height: 1;}
.stat-num .accent { color: var(--primary-color); font-size: 24px; vertical-align: top; }
.stat-label { display: block; font-size: 14px; color: #666; margin-top: 10px; font-weight: 500;}
.tech-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tech-card { background: #fff; padding: 40px 30px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); border: 1px solid #f4f7f6; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important; }
.tech-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 30px 60px rgba(26, 86, 219, 0.12); border-color: #e0eafc;}
.card-icon { width: 60px; height: 60px; background: #f0f5ff; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; color: var(--primary-color); }
.card-icon svg { width: 30px; height: 30px; }
.tech-card h3 { font-size: 20px; color: var(--secondary-color); margin-bottom: 15px; }
.tech-card p { font-size: 15px; color: #555; line-height: 1.8; margin: 0;}
.hospital-wall-section { background-color: #f9fbfd; border-radius: 20px; padding: 60px 40px; margin-bottom: 40px; }
.hospital-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.hospital-card { background: #fff; padding: 30px 20px; border-radius: 12px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: transform 0.3s; border: 1px solid #f0f5ff; }
.hospital-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(26,86,219,0.08); border-color: #dbe4fa; }
.hospital-logo-placeholder { height: 60px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; color: var(--secondary-color); font-weight: 900; font-size: 18px; border-bottom: 1px dashed #eee; padding-bottom: 15px; font-family: var(--font-serif); }
.hospital-card p { margin: 0; font-size: 14px; color: #666; font-weight: bold;}
.process-section-tech { background-color: var(--secondary-color); padding: 100px 0; overflow: hidden;}
.tech-timeline { display: flex; justify-content: space-between; position: relative; margin-top: 60px;}
.tech-timeline::before { content: ''; position: absolute; top: 20px; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, rgba(26,86,219,0.2) 0%, rgba(0,210,255,0.8) 50%, rgba(26,86,219,0.2) 100%); z-index: 1; }
.timeline-item { flex: 1; text-align: center; position: relative; z-index: 2; padding: 0 15px;}
.timeline-dot { width: 40px; height: 40px; margin: 0 auto 20px; background: var(--secondary-color); border: 2px solid var(--accent-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent-color); font-weight: bold; font-size: 18px; box-shadow: 0 0 15px rgba(0, 210, 255, 0.4); }
.timeline-item h4 { font-size: 18px; margin-bottom: 15px; }
.timeline-desc { font-size: 14px; color: #8898aa; line-height: 1.7; }

/* ==========================================================================
   6. 内部页面通用及各页面 (Inner Pages)
   ========================================================================== */
.premium-hero { position: relative; height: 60vh; min-height: 450px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; }
.premium-hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; background-attachment: fixed; z-index: 1; }
.premium-hero::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(10,20,40,0.6) 0%, rgba(10,20,40,0.8) 100%); z-index: 2; }
.premium-hero-content { position: relative; z-index: 3; padding: 0 20px; width: 100%; }
.premium-hero-content .hero-title { font-size: 48px; font-weight: 700; margin: 0; letter-spacing: 2px;}
.premium-hero-content .hero-divider { width: 60px; height: 2px; background: #d4af37; margin: 25px auto; }
.premium-hero-content .hero-subtitle { font-size: 20px; font-weight: 300; letter-spacing: 1px; color: #f0f5ff; }

/* 关于我们 */
.ceo-name { font-size: 28px; border-bottom: 2px solid var(--primary-color); display: inline-block; padding-bottom: 5px; }
.premium-section-title { font-size: 32px; font-weight: 600; color: var(--secondary-color); margin-bottom: 50px; position: relative; padding-bottom: 15px; }
.premium-section-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background-color: var(--primary-color); }
.premium-section-title.text-center::after { left: 50%; transform: translateX(-50%); }
.premium-about-page { background-color: #fff; color: #333; }
.ceo-message-section { padding: 100px 0; }
.ceo-grid { display: flex; align-items: center; gap: 80px; }
.ceo-image-wrapper { flex: 1; position: relative; }
.ceo-img { width: 100%; display: block; border-radius: 4px; position: relative; z-index: 2; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.ceo-image-accent { position: absolute; bottom: -20px; left: -20px; width: 80%; height: 80%; background-color: var(--bg-color); z-index: 1; }
.ceo-text-wrapper { flex: 1; }
.ceo-quote p { font-size: 16px; line-height: 2; color: #555; margin-bottom: 20px; text-align: justify; }
.ceo-signature { margin-top: 40px; border-top: 1px solid #eee; padding-top: 20px; }
.ceo-title { display: block; font-size: 13px; color: #888; margin-bottom: 5px; }
.core-values-section { background-color: #f9fbfd; padding: 100px 0; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 0 20px;}
.value-card { background: #fff; padding: 50px 40px; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); border-top: 3px solid transparent; transition: all 0.3s ease;}
.value-card:hover { transform: translateY(-10px); border-top-color: var(--primary-color); }
.value-num { font-size: 40px; font-weight: 900; color: #edf2f9; margin-bottom: 20px; font-family: Arial, sans-serif;}
.value-card h3 { font-size: 20px; color: var(--secondary-color); margin-bottom: 15px; }
.value-card p { font-size: 15px; color: #666; line-height: 1.8; margin: 0; }
.company-profile-section { padding: 100px 0; }
.premium-profile-wrapper { max-width: 800px; margin: 0 auto; }
.premium-dl { width: 100%; border-top: 2px solid var(--secondary-color); margin: 0; padding: 0;}
.dl-row { display: flex; padding: 25px 0; border-bottom: 1px solid #eee; transition: background 0.3s; }
.dl-row:hover { background-color: #fcfcfc; }
.premium-dl dt { width: 30%; font-weight: 600; color: var(--secondary-color); font-size: 16px; margin: 0; }
.premium-dl dd { width: 70%; margin: 0; color: #555; line-height: 1.8; font-size: 15px; }
.highlight-text { color: var(--primary-color); font-weight: bold; }

/* 联系我们 */
.contact-page { background-color: var(--bg-color); padding-bottom: 100px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; margin-top: -60px; position: relative; z-index: 10;}
.contact-info-card, .contact-form-card { background: #fff; padding: 50px 40px; border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
.contact-info-item { margin-bottom: 30px; }
.contact-info-item h4 { color: var(--secondary-color); margin-top: 0; margin-bottom: 10px; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.contact-data { margin: 0; font-size: 16px; color: #444; font-weight: bold; line-height: 1.6;}
.contact-note { font-size: 13px; color: #888; display: block; margin-top: 5px; }
.qr-code-box { text-align: center; margin-top: 40px; padding-top: 30px; border-top: 1px solid #f0f5ff; }
.qr-code-box img { max-width: 160px; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); margin: 15px 0; transition: transform 0.3s; }
.qr-code-box img:hover { transform: scale(1.05); }
.secure-badge { display: inline-flex; align-items: center; gap: 8px; background: #e8f7f0; color: #27ae60; padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: bold; margin-bottom: 30px; }
.premium-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.premium-form-group { margin-bottom: 25px; }
.premium-form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--secondary-color); font-size: 14px; }
.wpcf7-form-control.premium-input { width: 100%; padding: 16px 20px; border: 1px solid #e0eafc; border-radius: 8px; background: #f9fbfd; font-family: inherit; font-size: 15px; color: #333; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); box-sizing: border-box; }
.wpcf7-form-control.premium-input:focus { border-color: var(--primary-color); background: #fff; outline: none; box-shadow: 0 0 0 4px rgba(26,86,219,0.1); }
select.wpcf7-form-control.premium-input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23122b5e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 15px center; background-size: 16px; cursor: pointer; }
.wpcf7-submit { width: 100%; border: none; cursor: pointer; margin-top: 10px; background: var(--primary-color); color: #fff; font-weight: bold; border-radius: 8px; padding: 16px 20px;}
.wpcf7-submit:hover { background: #122b5e; }
span.wpcf7-not-valid-tip { color: #e74c3c; font-size: 13px; font-weight: bold; margin-top: 5px; }
.wpcf7 form .wpcf7-response-output { border-radius: 8px !important; margin-top: 25px !important; font-size: 14px; line-height: 1.6; padding: 15px 20px !important; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #27ae60 !important; background-color: #e8f7f0; color: #27ae60; }

/* 服务项目 & 其他页面 */
.services-page, .faq-page, .archive-page { background-color: #f9fbfd; padding-bottom: 100px; }
.services-section { margin-top: -60px; position: relative; z-index: 10; }
.faq-section { padding-top: 20px; position: relative; z-index: 10; } 

.services-grid, .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card, .news-card { background: #fff; border-radius: 16px; box-shadow: 0 15px 35px rgba(0,0,0,0.04); overflow: hidden; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important; border: 1px solid #f0f5ff; display: flex; flex-direction: column; }
.service-card:hover, .news-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 30px 60px rgba(26, 86, 219, 0.12); border-color: #dbe4fa; }
.service-img-wrapper, .news-img-wrapper { height: 220px; overflow: hidden; position: relative; background: #eef2fa;}
.service-img-wrapper img, .news-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .service-img-wrapper img, .news-card:hover .news-img-wrapper img { transform: scale(1.08); }
.service-badge { position: absolute; top: 20px; left: 20px; background: rgba(255,255,255,0.95); color: var(--primary-color); padding: 6px 14px; border-radius: 30px; font-size: 13px; font-weight: 800; backdrop-filter: blur(4px); box-shadow: 0 4px 10px rgba(0,0,0,0.1);}
.service-content, .news-content { padding: 35px 30px; flex: 1; display: flex; flex-direction: column; }
.service-content h3 { font-size: 22px; color: var(--secondary-color); margin-top: 0; margin-bottom: 15px; }
.service-content p { color: #666; font-size: 15px; line-height: 1.7; margin-bottom: 25px; flex: 1; }
.service-features { list-style: none; padding: 0; margin: 0 0 30px 0; border-top: 1px dashed #eee; padding-top: 20px;}
.service-features li { position: relative; padding-left: 24px; font-size: 14px; color: #555; margin-bottom: 12px; }
.service-features li::before { content: '✓'; position: absolute; left: 0; top: -2px; color: #27ae60; font-weight: bold; font-size: 16px;}
.service-action { text-align: center; margin-top: auto; }
.btn-service { display: inline-block; width: 100%; padding: 14px 0; background: #f0f5ff; color: var(--primary-color); border-radius: 8px; font-weight: bold; font-size: 15px; transition: all 0.3s; text-align: center; box-sizing: border-box;}
.btn-service:hover { background: var(--primary-color); color: #fff; box-shadow: 0 8px 20px rgba(26,86,219,0.25); }

.faq-container { max-width: 800px; margin: 0 auto; }
.faq-category-title { font-size: 22px; color: var(--secondary-color); margin: 20px 0 20px; display: flex; align-items: center; gap: 10px; position: relative; z-index: 12; }
.faq-category-title::before { content: ''; display: block; width: 4px; height: 18px; background: var(--primary-color); border-radius: 2px; }
.faq-item { background: #fff; border: 1px solid #f0f5ff; border-radius: 12px; margin-bottom: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: all 0.3s ease; position: relative; z-index: 10; }
.faq-item:hover { border-color: #dbe4fa; box-shadow: 0 15px 40px rgba(26,86,219,0.08); }
.faq-item summary { padding: 20px 25px; font-size: 16px; font-weight: 600; color: var(--secondary-color); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 28px; color: var(--primary-color); font-weight: 300; transition: transform 0.3s ease; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); color: #e74c3c; }
.faq-item[open] summary { border-bottom: 1px dashed #f0f5ff; padding-bottom: 15px; }
.faq-content { padding: 15px 25px 25px; color: #555; font-size: 15px; line-height: 1.8; }

.news-grid { margin-top: -60px; position: relative; z-index: 10;}
.news-meta { font-size: 13px; color: #8898aa; margin-bottom: 12px; display: flex; gap: 15px; align-items: center; }
.news-meta a { color: #8898aa; transition: color 0.3s; }
.news-meta a:hover { color: var(--primary-color); }
.news-content h3 { font-size: 18px; color: var(--secondary-color); margin: 0 0 15px; line-height: 1.5; }
.news-content h3 a { color: inherit; transition: color 0.3s; }
.news-content h3 a:hover { color: var(--primary-color); }
.news-excerpt { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 25px; flex: 1;}
.read-more { font-size: 14px; font-weight: bold; color: var(--primary-color); display: inline-flex; align-items: center; transition: color 0.3s; }
.read-more:hover { color: var(--secondary-color); }
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 50px; }
.pagination .page-numbers { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 8px; background: #fff; color: #555; box-shadow: 0 4px 10px rgba(0,0,0,0.02); font-weight: bold; transition: all 0.3s; border: 1px solid #f0f5ff; }
.pagination .page-numbers:hover, .pagination .current { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

.single-page { background-color: #fff; }
.single-hero { padding: 160px 20px 100px; background-color: var(--secondary-color); color: #fff; text-align: center; position: relative; overflow: hidden; }
.single-hero-bg { position: absolute; top:0; left:0; width:100%; height:100%; object-fit: cover; opacity: 0.25; z-index: 1;}
.single-hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.single-hero-content h1 { font-size: 38px; line-height: 1.4; margin-bottom: 20px; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,0.5);}
.single-content { max-width: 800px; margin: 0 auto; padding: 60px 20px 100px; font-size: 16px; line-height: 1.9; color: #444; }
.single-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 30px 0; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.single-content h2 { color: var(--secondary-color); margin-top: 50px; margin-bottom: 25px; font-size: 24px; position: relative; padding-bottom: 10px; }
.single-content h2::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background-color: var(--primary-color); }
.post-navigation { margin-top: 60px; border-top: 1px solid #f0f5ff; padding-top: 30px; display: flex; justify-content: space-between; font-weight: bold; }
.post-navigation a { color: var(--primary-color); transition: color 0.3s; }
.post-navigation a:hover { color: var(--secondary-color); }

/* ==========================================================================
   7. 页脚 & 多渠道悬浮工具 (Footer & Global UX)
   ========================================================================== */
.site-footer { background-color: var(--secondary-color); color: #8898aa; padding: 80px 0 0 0; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-widget h4 { color: #fff; font-size: 18px; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-widget h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background-color: var(--primary-color); }
.footer-about { line-height: 1.8; margin-top: 0; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact li { margin-bottom: 15px; }
.footer-links a { color: #8898aa; transition: color 0.3s, padding-left 0.3s; display: inline-block; }
.footer-links a:hover { color: #64d2ff; padding-left: 5px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-qr { max-width: 120px; border-radius: 8px; margin-bottom: 10px; border: 2px solid rgba(255,255,255,0.1); }
.qr-text { font-size: 12px; margin: 0; }
.footer-bottom { background-color: #050d18; padding: 20px 0; text-align: center; color: #556b82; font-size: 13px; border-top: 1px solid rgba(255,255,255,0.05); }

/* 悬浮矩阵样式 */
.multi-channel-fab { position: fixed; bottom: 30px; right: 30px; z-index: 2147483647 !important; display: flex; flex-direction: column-reverse; align-items: center; gap: 15px; pointer-events: none; }
.fab-main-btn { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #1a56db 0%, #00d2ff 100%); color: white; border: none; box-shadow: 0 10px 25px rgba(0, 210, 255, 0.4); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); pointer-events: auto; }
.fab-main-btn:hover { transform: scale(1.1); }
.fab-main-btn svg { width: 26px; height: 26px; transition: all 0.3s; pointer-events: none; }
.fab-main-btn .icon-close { display: none; }
.multi-channel-fab.active .fab-main-btn .icon-default { display: none; }
.multi-channel-fab.active .fab-main-btn .icon-close { display: block; transform: rotate(90deg); }

.fab-menu { display: flex; flex-direction: column; gap: 15px; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); pointer-events: none; }
.multi-channel-fab.active .fab-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }

.fab-item { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(0,0,0,0.15); cursor: pointer; position: relative; text-decoration: none; transition: transform 0.3s; pointer-events: auto; }
.fab-phone { background: #34495e; }
.fab-line { background: #00B900; }
.fab-wechat { background: #07c160; }
.fab-whatsapp { background: #25D366; }
.fab-item:hover { transform: scale(1.1); }
.fab-item svg { width: 22px; height: 22px; fill: #fff; pointer-events: none; }
.fab-phone svg { fill: none; stroke: #fff; stroke-width: 2; }

.fab-label { position: absolute; right: 60px; background: #fff; color: #333; padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: bold; box-shadow: 0 5px 15px rgba(0,0,0,0.1); white-space: nowrap; opacity: 0; visibility: hidden; transform: translateX(10px); transition: all 0.3s; pointer-events: none; }
.fab-item:hover .fab-label { opacity: 1; visibility: visible; transform: translateX(0); }
.fab-label::after { content: ''; position: absolute; top: 50%; right: -5px; transform: translateY(-50%); border-width: 5px 0 5px 6px; border-style: solid; border-color: transparent transparent transparent #fff; }

.wechat-qr-popup { position: absolute; right: 60px; bottom: -20px; background: #fff; padding: 10px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); display: flex; flex-direction: column; align-items: center; width: 140px; opacity: 0; visibility: hidden; transform: translateX(20px) scale(0.9); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); transform-origin: right bottom; pointer-events: none; }
.fab-wechat:hover .wechat-qr-popup { opacity: 1; visibility: visible; transform: translateX(0) scale(1); pointer-events: auto; }
.wechat-qr-popup img { width: 100%; border-radius: 8px; margin-bottom: 8px; }
.wechat-qr-popup span { font-size: 12px; color: #555; font-weight: bold; white-space: nowrap; }
.wechat-qr-popup::after { content: ''; position: absolute; bottom: 30px; right: -6px; border-width: 6px 0 6px 6px; border-style: solid; border-color: transparent transparent transparent #fff; }

/* 智能返回顶部按钮 */
.fab-back-to-top { position: fixed; bottom: 100px; right: 35px; width: 46px; height: 46px; border-radius: 50%; background: #122b5e; color: #fff; border: none; box-shadow: 0 5px 15px rgba(0,0,0,0.15); cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); z-index: 2147483646 !important; pointer-events: auto; }
.fab-back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.fab-back-to-top:hover { background: #1a56db; transform: translateY(-5px); }
.fab-back-to-top svg { width: 22px; height: 22px; stroke: #fff; stroke-width: 2; fill: none; pointer-events: none; }

/* PC端默认隐藏吸底栏 */
.mobile-sticky-bar { display: none; }

/* ==========================================================================
   8. 响应式布局 (Media Queries 集群)
   ========================================================================== */

/* 移动端汉堡菜单专属下落动画 */
@keyframes menuFadeDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .tech-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 30px; }
    .stat-item { border-right: none; }
    .tech-features-grid { grid-template-columns: 1fr; }
    .hospital-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-timeline { flex-direction: column; align-items: flex-start; margin-top: 40px; gap: 30px;}
    .tech-timeline::before { top: 0; left: 35px; width: 2px; height: 100%; background: linear-gradient(180deg, rgba(0,210,255,0.8), rgba(26,86,219,0.2)); }
    .timeline-item { text-align: left; display: flex; gap: 20px; padding: 0; width: 100%;}
    .timeline-dot { margin: 0; flex-shrink: 0; }
    .timeline-item h4 { margin-top: 8px; margin-bottom: 5px; }
    .services-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .ceo-grid { flex-direction: column; gap: 50px; }
    .ceo-image-wrapper { width: 90%; margin: 0 auto; }
    .values-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 30px; margin-top: -40px;}

    /* 汉堡菜单防弹修复 */
    .mobile-menu-toggle { display: block !important; }
    .primary-navigation {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        display: none !important; z-index: 99; border-top: 1px solid #f0f5ff;
    }
    .primary-navigation.active { display: block !important; animation: menuFadeDown 0.3s ease forwards; }
    .primary-navigation .nav-menu { flex-direction: column; gap: 0; padding: 10px 0; }
    .primary-navigation a { display: block; padding: 15px 20px; border-bottom: 1px dashed #f0f5ff; }
    .primary-navigation li:last-child a { border-bottom: none; }
}

@media (max-width: 768px) {
    .site-logo-img { height: 40px; }
    .tech-hero { min-height: 70vh !important; padding: 80px 0 !important; }
    .tech-hero-video { object-position: center center !important; }
    .hero-glass-card { background: rgba(25, 35, 55, 0.75) !important; -webkit-backdrop-filter: blur(15px) !important; backdrop-filter: blur(15px) !important; padding: 30px 20px !important; margin: 0 15px; width: auto; }
    .hero-glass-card .hero-title { font-size: 28px !important; line-height: 1.3; }
    .hero-glass-card .hero-subtitle { font-size: 15px !important; margin-bottom: 25px; }

    /* ================= 【新增】移动端专属吸底预约栏 ================= */
    .mobile-sticky-bar {
        display: flex; justify-content: space-between; align-items: center;
        position: fixed; bottom: 0; left: 0; width: 100%; height: 56px;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
        border-top: 1px solid rgba(0,0,0,0.05);
        z-index: 2147483647; /* 保证最顶层 */
        padding: 0 15px; box-sizing: border-box;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.06);
        /* 适配 iPhone 底部安全区，防止小白条遮挡 */
        padding-bottom: env(safe-area-inset-bottom);
        height: calc(56px + env(safe-area-inset-bottom));
    }
    .sticky-left { display: flex; align-items: center; gap: 12px; }
    .sticky-avatar { position: relative; width: 34px; height: 34px; background: #f0f5ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary-color);}
    .sticky-avatar svg { width: 20px; height: 20px; }
    .online-dot { position: absolute; bottom: 0; right: -2px; width: 10px; height: 10px; background: #27ae60; border: 2px solid #fff; border-radius: 50%; }
    .sticky-text { font-size: 14px; font-weight: 800; color: var(--secondary-color); letter-spacing: 0.5px;}
    
    .sticky-btn {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
        color: #fff; font-size: 14px; font-weight: bold;
        padding: 8px 20px; border-radius: 30px; text-decoration: none;
        animation: pulseGlow 2s infinite; box-shadow: 0 4px 10px rgba(26,86,219,0.3);
    }
    
    /* 脉冲发光动画 */
    @keyframes pulseGlow {
        0% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.6); }
        70% { box-shadow: 0 0 0 12px rgba(0, 212, 255, 0); }
        100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
    }

    /* 全局悬浮组件往上挪，避免被吸底栏遮挡打架 */
    .footer-bottom { padding-bottom: calc(20px + 56px + env(safe-area-inset-bottom)); }
    .multi-channel-fab { bottom: calc(20px + 56px + env(safe-area-inset-bottom)); right: 15px; }
    .fab-back-to-top { bottom: calc(90px + 56px + env(safe-area-inset-bottom)); right: 20px; }
}

@media (max-width: 600px) {
    .premium-hero { height: 50vh; min-height: 350px; }
    .premium-hero-content .hero-title { font-size: 28px; }
    .premium-hero-content .hero-subtitle { font-size: 16px; }
    .hero-glass-card { padding: 40px 25px; width: 100%; }
    .hero-glass-card .hero-title { font-size: 32px; }
    .hero-buttons { flex-direction: column; width: 100%; gap: 15px; }
    .btn-glow, .btn-outline { width: 100%; text-align: center; padding: 15px 0; margin: 0;}
    .tech-stats-grid { grid-template-columns: 1fr; gap: 30px; }
    .hospital-grid { grid-template-columns: 1fr; } 
    .hospital-wall-section { padding: 40px 20px; }
    .services-grid, .news-grid { grid-template-columns: 1fr; }
    
    .services-section, .news-grid { margin-top: 40px; }
    .faq-section { padding-top: 0; } 

    .faq-item summary { padding: 15px 20px; font-size: 15px; }
    .faq-content { padding: 10px 20px 20px; }
    .single-hero { padding: 100px 20px 60px; }
    .single-hero-content h1 { font-size: 26px; }
    .single-content { padding: 40px 20px 80px; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-contact li { justify-content: center; }
    .footer-widget h4::after { left: 50%; transform: translateX(-50%); }

    /* 悬浮组件小屏幕极限适配，同样加上吸底栏的偏移保护 */
    .multi-channel-fab { bottom: calc(20px + 56px + env(safe-area-inset-bottom)); right: 20px; }
    .fab-label { display: none; }
    .wechat-qr-popup { width: 120px; right: 55px; }
    .fab-back-to-top { bottom: calc(90px + 56px + env(safe-area-inset-bottom)); right: 25px; width: 40px; height: 40px; }
    .fab-back-to-top svg { width: 18px; height: 18px; }

    .dl-row { flex-direction: column; padding: 15px 0; }
    .premium-dl dt { width: 100%; margin-bottom: 8px; color: #888; font-size: 14px; }
    .premium-dl dd { width: 100%; font-size: 16px; color: #333; }
    .value-card { padding: 30px 20px; }
    .ceo-message-section, .core-values-section, .company-profile-section { padding: 60px 0; }
    .contact-info-card, .contact-form-card { padding: 35px 25px; }
    .premium-form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 480px) {
    .site-logo a { font-size: 18px !important; }
    .logo-extra { display: none; }
    .header-tools { gap: 10px !important; }
}