/* ========================================
   生殖医院与试管婴儿 SEO 站群模板
   现代辅助生殖医院主题：医疗蓝 + 纯白 + 浅灰
   ======================================== */

/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #165DFF;
    --primary-dark: #0E42D2;
    --primary-light: #E8F0FF;
    --secondary: #10B981;
    --accent: #F59E0B;
    --danger: #EF4444;
    --text-primary: #1D2939;
    --text-secondary: #475467;
    --text-tertiary: #667085;
    --text-light: #98A2B3;
    --bg-white: #FFFFFF;
    --bg-gray: #F9FAFB;
    --bg-gray-light: #F2F4F7;
    --border: #E4E7EC;
    --border-light: #F2F4F7;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow: 0 4px 6px -1px rgba(16, 24, 40, 0.08), 0 2px 4px -1px rgba(16, 24, 40, 0.04);
    --shadow-md: 0 10px 15px -3px rgba(16, 24, 40, 0.08), 0 4px 6px -2px rgba(16, 24, 40, 0.03);
    --radius-sm: 6px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: white;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-secondary);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--primary-light);
}

.full-width {
    width: 100%;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    display: block;
    padding: 8px 14px;
    font-size: 15px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary);
    background-color: var(--primary-light);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 32px;
    height: 32px;
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header-phone {
    padding: 8px 16px;
    font-size: 14px;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #F8FAFF 0%, #FFFFFF 50%, #F0F7FF 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.text-primary {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-tertiary);
}

.hero-image {
    position: relative;
}

.banner-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.hero-image-card {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 14px;
    max-width: 320px;
}

.card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-card .card-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.hero-image-card .card-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Section Common */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    margin-bottom: 16px;
}

.section-tag.left {
    margin-left: 0;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services Section */
.services {
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    padding: 28px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon.blue { background: #E8F0FF; color: #165DFF; }
.service-icon.green { background: #D1FAE5; color: #10B981; }
.service-icon.purple { background: #F3E8FF; color: #8B5CF6; }
.service-icon.pink { background: #FCE7F3; color: #EC4899; }
.service-icon.orange { background: #FEF3C7; color: #F59E0B; }
.service-icon.teal { background: #CCFBF1; color: #14B8A6; }
.service-icon.indigo { background: #E0E7FF; color: #6366F1; }
.service-icon.red { background: #FEE2E2; color: #EF4444; }

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.service-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
}

.service-link:hover {
    text-decoration: underline;
}

/* IVF Section */
.ivf-section {
    background: var(--bg-gray);
}

.ivf-intro-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
}

.ivf-intro-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.ivf-intro-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.medical-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
    padding: 16px;
    background: #FFFBEB;
    border-radius: var(--radius);
    border-left: 3px solid var(--accent);
    font-size: 14px;
    color: #92400E;
}

.tech-title {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.tech-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 15px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.tech-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.tech-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-light);
    position: absolute;
    top: 16px;
    right: 24px;
    line-height: 1;
}

.tech-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.tech-name {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.tech-content p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.tech-content strong {
    color: var(--text-primary);
    font-weight: 500;
}

.tech-warning {
    display: flex;
    gap: 12px;
    padding: 20px;
    background: #FEF2F2;
    border-radius: var(--radius);
    border-left: 4px solid var(--danger);
}

.tech-warning svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.tech-warning div {
    font-size: 14px;
    line-height: 1.7;
    color: #991B1B;
}

.tech-warning strong {
    display: block;
    margin-bottom: 4px;
}

.ivf-navigation {
    margin-top: 48px;
}

.ivf-navigation h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.nav-item:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}

.nav-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

/* Departments Section */
.departments {
    background: white;
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.dept-item {
    padding: 24px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.dept-item:hover {
    border-color: var(--primary);
    background: #FAFBFF;
}

.dept-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.dept-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dept-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.dept-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Process Section */
.process-section {
    background: var(--bg-gray);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto 40px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.process-step {
    position: relative;
    padding-left: 72px;
    margin-bottom: 32px;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    z-index: 2;
}

.step-content {
    padding: 20px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.step-content h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.process-note {
    display: flex;
    gap: 14px;
    padding: 24px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    max-width: 800px;
    margin: 0 auto;
}

.process-note svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.process-note p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.process-note p:last-child {
    margin-bottom: 0;
}

.process-note strong {
    font-weight: 600;
}

/* Guide Section */
.guide-section {
    background: white;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.guide-card {
    padding: 28px;
    background: var(--bg-gray);
    border-radius: var(--radius-md);
}

.guide-card h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.guide-card ul {
    margin-bottom: 12px;
}

.guide-card li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    line-height: 2;
    color: var(--text-secondary);
}

.guide-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.guide-card .note {
    font-size: 13px;
    color: var(--text-tertiary);
    padding-top: 12px;
    border-top: 1px dashed var(--border);
    margin-top: 12px;
    line-height: 1.6;
}

/* Experts Section */
.experts-section {
    background: var(--bg-gray);
}

.experts-intro {
    max-width: 900px;
    margin: 0 auto;
}

.expert-placeholder {
    display: flex;
    gap: 32px;
    padding: 40px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.placeholder-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.team-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.role-tag {
    padding: 6px 14px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 13px;
    border-radius: 20px;
}

.placeholder-note {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* News Section - 资讯列表硬性规则 */
.news {
    background: white;
}

/* 必须保留的CSS基础规则 - 不可修改 */
ul.article-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    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: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

ul.article-cards > li.article-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.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;
    transition: transform 0.3s ease;
}

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

.article-card .card-body {
    padding: 20px;
}

.article-card .card-title {
    overflow-wrap: anywhere;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.article-card .card-title a {
    color: var(--text-primary);
}

.article-card .card-title a:hover {
    color: var(--primary);
}

.article-card .card-date {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.article-card .card-summary {
    overflow-wrap: anywhere;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-more {
    text-align: center;
    margin-top: 40px;
}

/* FAQ Section */
.faq-section {
    background: var(--bg-gray);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: inherit;
}

.faq-icon {
    flex-shrink: 0;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.faq-answer strong {
    color: var(--danger);
}

/* About Section */
.about-section {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-content h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-content > p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    gap: 12px;
}

.feature-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #D1FAE5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.feature-item p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.about-disclaimer {
    padding: 20px;
    background: #FEF3C7;
    border-radius: var(--radius);
    font-size: 14px;
    line-height: 1.7;
    color: #92400E;
}

.about-disclaimer strong {
    font-weight: 600;
}

.contact-card {
    padding: 32px;
    background: var(--bg-gray);
    border-radius: var(--radius-lg);
    position: sticky;
    top: 92px;
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-intro {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.contact-method {
    padding: 20px;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 24px;
    text-align: center;
}

.contact-label {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

.contact-phone {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.contact-note {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.5;
}

.contact-demo h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--text-primary);
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-notice {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 16px;
    padding: 10px;
    background: #FFFBEB;
    border-radius: var(--radius-sm);
    line-height: 1.5;
}

/* Disclaimer Banner */
.disclaimer-banner {
    background: #FFFBEB;
    border-top: 1px solid #FDE68A;
    padding: 20px 0;
}

.disclaimer-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.disclaimer-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.disclaimer-content p {
    font-size: 13px;
    line-height: 1.7;
    color: #92400E;
}

.disclaimer-content strong {
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: #1D2939;
    color: #D0D5DD;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-logo .logo-text {
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #98A2B3;
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 16px;
    font-weight: 500;
}

.footer-column h4 {
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

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

.footer-column ul li a {
    color: #98A2B3;
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-links a {
    color: #98A2B3;
    font-size: 13px;
    display: inline-block;
    margin-right: 12px;
    margin-bottom: 8px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #344054;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright p {
    font-size: 13px;
    color: #667085;
}

.footer-beian a {
    font-size: 13px;
    color: #667085;
}

.footer-beian a:hover {
    color: #98A2B3;
}

.divider {
    margin: 0 10px;
    color: #344054;
}

/* Floating CTA */
.floating-cta {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 999;
}

.float-phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 16px;
    box-shadow: var(--shadow-md);
}

.float-phone-btn:hover {
    background: var(--primary-dark);
    color: white;
}

/* ========================================
   Article Detail Page Styles
   ======================================== */
.article-detail {
    padding: 120px 0 80px;
    background: var(--bg-gray);
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.breadcrumb {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb a {
    color: var(--text-tertiary);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.article-header {
    margin-bottom: 24px;
}

.article-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.article-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-light);
}

.article-summary {
    padding: 20px;
    background: var(--bg-gray);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 24px;
}

.article-summary p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
}

.article-cover {
    margin-bottom: 32px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.article-cover img {
    width: 100%;
}

.article-content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-primary);
    margin-bottom: 40px;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 32px;
    margin-bottom: 16px;
    font-weight: 600;
}

.article-content h2 { font-size: 22px; }
.article-content h3 { font-size: 19px; }
.article-content h4 { font-size: 17px; }

.article-content p {
    margin-bottom: 16px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 20px 0;
}

.article-content ul,
.article-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.article-content blockquote {
    padding: 16px 20px;
    background: var(--bg-gray);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 20px 0;
    color: var(--text-secondary);
}

.article-disclaimer {
    margin-bottom: 40px;
}

.disclaimer-box {
    padding: 24px;
    background: #FEF3C7;
    border-radius: var(--radius-md);
}

.disclaimer-box h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #92400E;
    margin-bottom: 12px;
}

.disclaimer-box p {
    font-size: 14px;
    line-height: 1.7;
    color: #78350F;
    margin-bottom: 8px;
}

.disclaimer-box p:last-child {
    margin-bottom: 0;
}

.related-topics {
    margin-bottom: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.related-topics h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.topic-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-gray);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.topic-link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.article-cta {
    padding: 32px;
    background: linear-gradient(135deg, var(--primary-light), #F0FDF4);
    border-radius: var(--radius-lg);
    text-align: center;
}

.cta-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ========================================
   Responsive Styles
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-image-card {
        left: 20px;
        bottom: -20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .article-container {
        padding: 30px 24px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        padding: 12px 16px;
        width: 100%;
    }

    .header-phone {
        display: none;
    }

    .hero {
        padding: 110px 0 60px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-phone-btn {
        display: none;
    }

    .hero-image-card {
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: 16px;
        max-width: 100%;
    }

    section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .services-grid,
    .tech-grid,
    .dept-grid,
    .guide-grid {
        grid-template-columns: 1fr;
    }

    .ivf-intro-card {
        padding: 24px;
    }

    .expert-placeholder {
        flex-direction: column;
        padding: 24px;
        gap: 20px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    ul.article-cards {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .floating-cta {
        display: block;
    }

    .article-detail {
        padding: 90px 0 40px;
    }

    .article-container {
        padding: 20px;
    }

    .article-title {
        font-size: 22px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .process-timeline::before {
        left: 19px;
    }

    .process-step {
        padding-left: 60px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .tech-number {
        font-size: 36px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .section-header h2 {
        font-size: 21px;
    }

    .nav-grid,
    .topics-grid {
        grid-template-columns: 1fr;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    html {
        scroll-behavior: auto;
    }

    .service-card:hover,
    .tech-card:hover,
    ul.article-cards > li.article-card:hover {
        transform: none;
    }

    .article-card:hover .card-thumb img {
        transform: none;
    }

    .btn-primary:hover {
        transform: none;
    }
}

/* Fix for potential list conflicts */
.container ul:not(.article-cards):not(.nav-links):not(.guide-card ul):not(.footer-column ul) {
    list-style: disc;
    padding-left: 20px;
}

.container ol:not(.article-cards) {
    list-style: decimal;
    padding-left: 20px;
}
