/*
Theme Name: Tinus Group
Description: 缔纳斯集团官方网站主题 - 专业的企业级多语言主题，基于 tinus 设计风格
Author: Tinus Group
Version: 1.0.0
Text Domain: tinus-group
Domain Path: /languages
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

This theme is designed for Tinus Group, a global health product service provider.
*/

/* ==========================================================================
   CSS 变量系统
   ========================================================================== */
:root {
  /* 主色调 - 基于自然绿色系 */
  --primary-color: #2EA23A;      /* 主绿色 - 按钮、标题 */
  --secondary-color: #4CAF50;    /* 次要绿色 - 悬停状态 */
  --accent-color: #1B5E20;       /* 深绿色 - 强调色 */
  --light-green: #81C784;        /* 浅绿色 - 背景、辅助 */
  --success-green: #66BB6A;      /* 成功绿色 - 状态提示 */
  --complement-color: #7d5996;   /* 紫色互补 - 保持对比 */
  --warm-gray: #8a8471;         /* 暖灰色 - 文本 */
  --text-green: #2E7D32;        /* 文本绿色 - 替代蓝色文本 */
  
  /* 中性色 */
  --text-dark: #383838;
  --text-light: #919191;
  --text-white: #ffffff;
  --bg-light: #f8f8f8;
  --bg-dark: #383838;
  
  /* 字体 */
  --font-primary: "Noto Sans SC", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --font-serif: "Noto Serif SC", Georgia, serif;
  
  /* 间距 */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-xxl: 64px;
  
  /* 阴影 */
  --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-medium: 0 4px 8px rgba(0,0,0,0.15);
  --shadow-heavy: 0 8px 16px rgba(0,0,0,0.2);
  
  /* 过渡 */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* 断点 */
  --breakpoint-mobile: 768px;
  --breakpoint-tablet: 1024px;
  --breakpoint-desktop: 1200px;
}

/* ==========================================================================
   重置和基础样式
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 86px;
}

body.home {
    padding-top: 0;
}

/* 链接样式 */
a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-color);
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

/* 段落样式 */
p {
  margin-bottom: var(--spacing-sm);
  line-height: 1.8;
}

/* 图片响应式 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 列表样式 */
ul, ol {
  margin-bottom: var(--spacing-sm);
  padding-left: var(--spacing-md);
}

/* ==========================================================================
   布局容器
   ========================================================================== */
.container {
  max-width: var(--breakpoint-desktop);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--spacing-md);
}

/* Tinus 专用容器 - 避免与第三方库冲突 */
.tinus-container {
  max-width: calc(1200px + 48px); /* 1200px内容 + 左右padding(24px*2) */
  margin: 0 auto;
  padding: 0 var(--spacing-md); /* 24px */
  box-sizing: border-box;
}

.tinus-container-fluid {
  width: 100%;
  padding: 0 var(--spacing-md);
  box-sizing: border-box;
}

/* 响应式容器 */
@media (max-width: 1296px) { /* 1200px + 48px + 48px(额外空间) */
  .tinus-container {
    max-width: calc(100% - 64px); /* 左右各32px空间 */
    padding: 0 var(--spacing-lg); /* 32px */
  }
}

@media (max-width: 768px) {
  .tinus-container {
    max-width: calc(100% - 48px); /* 左右各24px空间 */
    padding: 0 var(--spacing-md); /* 24px */
  }
}

@media (max-width: 480px) {
  .tinus-container {
    max-width: calc(100% - 32px); /* 左右各16px空间 */
    padding: 0 var(--spacing-sm); /* 16px */
  }
}

/* ==========================================================================
   工具类
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.align-center { align-items: center; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

/* ==========================================================================
   响应式工具类
   ========================================================================== */
@media (max-width: 768px) {
  .mobile-hidden { display: none !important; }
  .mobile-center { text-align: center !important; }
}

@media (min-width: 769px) {
  .desktop-hidden { display: none !important; }
}

/* ==========================================================================
   动画效果
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.scale-hover {
  transition: transform var(--transition-medium);
}

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

/* ==========================================================================
   按钮样式
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 1px;
}

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

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

/* 头部样式已移至 css/components/header.css */

/* 响应式导航样式已移至 css/components/header.css */

/* Hero 区域样式已移至 css/sections/index-hero.css */

/* ==========================================================================
   区块标题样式
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xxl);
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   服务区域样式
   ========================================================================== */
.services-section {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.service-item {
  background: var(--text-white);
  padding: var(--spacing-xl);
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: all var(--transition-medium);
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-white);
}

.service-item h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.service-item p {
  color: var(--text-light);
  line-height: 1.6;
}







/* ==========================================================================
   旧版页脚样式 - 已禁用，使用新版ATP Bio风格
   ========================================================================== */
/*
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-white);
}

.footer-main {
  padding: var(--spacing-xxl) 0 var(--spacing-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-xl);
}

.footer-column h4.footer-title {
  color: var(--text-white);
  margin-bottom: var(--spacing-md);
  font-size: 1.125rem;
}

.footer-company .company-description {
  margin-bottom: var(--spacing-md);
  opacity: 0.8;
  line-height: 1.6;
}

.contact-info {
  margin-top: var(--spacing-md);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-sm);
  opacity: 0.8;
}

.contact-item i {
  margin-right: var(--spacing-sm);
  width: 20px;
}

.contact-item a {
  color: var(--text-white);
}

.contact-item a:hover {
  color: var(--accent-color);
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: var(--spacing-xs);
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.footer-menu a:hover {
  color: var(--accent-color);
}

.global-locations li {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-sm);
}

.global-locations .flag {
  margin-right: var(--spacing-sm);
  font-size: 1.2rem;
}

.footer-bottom {
  background-color: var(--primary-color);
  padding: var(--spacing-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright p {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.8;
}

.footer-bottom-links {
  display: flex;
  gap: var(--spacing-md);
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--text-white);
}
*/

/* ==========================================================================
   返回顶部按钮
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--text-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-medium);
  z-index: 1000;
  box-shadow: var(--shadow-medium);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
}

/* ==========================================================================
   响应式设计
   ========================================================================== */
@media (max-width: 768px) {
  /* Hero 区域响应式样式已移至 css/sections/index-hero.css */

  /* 区块标题 */
  .section-title {
    font-size: 2rem;
  }

  /* 服务网格 */
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  /* 业务中心网格 */
  .centers-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  /* 全球布局网格 */
  .global-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }

  /* 统计数据 */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }

  .stat-number {
    font-size: 2.5rem;
  }

  /* 旧版页脚响应式样式 - 已禁用 */
  /*
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: var(--spacing-sm);
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }
  */
}

@media (max-width: 480px) {
  /* 全球布局 */
  .global-grid {
    grid-template-columns: 1fr;
  }

  /* 统计数据 */
  .stats-grid {
    grid-template-columns: 1fr;
  }

  /* 返回顶部按钮 */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* ==========================================================================
   打印样式
   ========================================================================== */
@media print {
  .site-header,
  .back-to-top {
    display: none !important;
  }

  /* Hero 区域打印样式已移至 css/sections/index-hero.css */

  body {
    font-size: 12pt;
    line-height: 1.4;
  }
}

/* ==========================================================================
   新闻网格样式 - 4列布局 (tinus风格)
   ========================================================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.news-card-image {
    position: relative;
    overflow: hidden;
    height: 180px;
    background: #f8f9fa;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* 占位符样式 */
.news-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #6c757d;
}

.placeholder-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
    opacity: 0.7;
}

.placeholder-text {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

.news-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-title {
    margin: 0 0 12px 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.news-card-excerpt {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-meta {
    font-size: 0.8rem;
    color: #888;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
    margin-top: auto;
}

.news-card-author {
    display: block;
    margin-bottom: 4px;
}

.news-card-date {
    display: block;
    font-weight: 500;
    color: var(--text-green);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .news-card-image {
        height: 150px;
    }

    .news-card-content {
        padding: 15px;
    }

    .news-card-title {
        font-size: 1rem;
    }

    .news-card-excerpt {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .news-card-image {
        height: 200px;
    }
}

/* ==========================================================================
   通用页面Banner组件样式
   ========================================================================== */

.page-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.page-banner__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.page-banner__background--default {
    background: url(/wp-content/themes/tinus-group/images/b20.jpg) no-repeat center/cover;
}

.wrapper-foundry .page-banner__background--default {background: url(/wp-content/themes/tinus-group/images/b1.jpg) no-repeat center/cover;}

/* 其他页面的背景图片规则 */
.wrapper-success-cases .page-banner__background--default {}

.wrapper-certifications .page-banner__background--default {
    background: url(/wp-content/themes/tinus-group/images/b4.jpg) no-repeat center/cover;
}

.wrapper-production-scale .page-banner__background--default {
    background: url(/wp-content/themes/tinus-group/images/b18.png) no-repeat center/cover;
}

.wrapper-research-development .page-banner__background--default {
    background: url(/wp-content/themes/tinus-group/images/b17.jpg) no-repeat center/cover;
}

.wrapper-contact .page-banner__background--default {}

.wrapper-technology .page-banner__background--default {
    background: url(/wp-content/themes/tinus-group/images/b13.jpg) no-repeat center/cover;
}

.wrapper-products-archive .page-banner__background--default {
    background: url(/wp-content/themes/tinus-group/images/b2.jpg) no-repeat center/cover;
}

.main-content .page-banner__background--default {}

.page-banner__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(68 68 68 / 70%);
}

.page-banner__content {
    position: relative;
    z-index: 2;
    width: 100%;
    color: white;
}

.page-banner__text {
    text-align: left;
    max-width: 600px;
}

.page-banner__title {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 15px;
    /* text-shadow: 0 2px 4px rgba(0,0,0,0.3); */
    letter-spacing: 2px;
    line-height: 1.2;
}

.page-banner__subtitle {
    font-size: 19px;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.4;
}

/* 不同背景类型的样式 */
.page-banner.products-bg .page-banner__overlay {
    background: #5f6b7c33;
}

.page-banner.success-cases-bg .page-banner__overlay {
    background: rgb(169 217 255 / 16%);
}

.page-banner.certifications-bg .page-banner__overlay {
    background: #2d72d22b;
}

.page-banner.contact-bg .page-banner__overlay {
    background: rgba(46, 162, 58, 0.6);
}

.page-banner.technology-bg .page-banner__overlay {
    background: #2d72d245;
}

.page-banner.foundry-service-bg .page-banner__overlay {
    background: #5f6b7c40;
}

.page-banner.production-scale-bg .page-banner__overlay {
    background: #5f6b7c40;
}

.page-banner.research-development-bg .page-banner__overlay {
    background: #5f6b7c40;
}

/* 面包屑导航样式 */
.breadcrumb-section {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #6c757d;
}

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

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

.breadcrumb__separator {
    margin: 0 10px;
    color: #adb5bd;
}

.breadcrumb__current {
    color: #495057;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .page-banner {
        height: 350px;
    }

    .page-banner__title {
        font-size: 2.5rem;
    }

    .page-banner__subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 300px;
    }

    .page-banner__title {
        font-size: 2rem;
    }

    .page-banner__subtitle {
        font-size: 1rem;
    }

    .page-banner__text {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .page-banner {
        height: 250px;
    }

    .page-banner__title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .page-banner__subtitle {
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   联系页面左右排列布局
   ========================================================================== */

.contact-main-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.contact-main-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-main-section .contact-main-wrapper {
    gap: 10px;
}

/* 左侧列样式 */
.contact-left-column {
    padding-right: 10px;
}

.contact-intro-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.contact-intro-description {
    margin-bottom: 40px;
}

.contact-intro-description p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
}

.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary-color);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-info-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-info-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 5px 0;
}

.contact-info-content p {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin: 0;
}

/* 右侧列样式 */
.contact-right-column {
    padding-left: 30px;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-form-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.contact-form-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .contact-main-wrapper {
        gap: 40px;
    }

    .contact-left-column {
        padding-right: 20px;
    }

    .contact-right-column {
        padding-left: 20px;
    }

    .contact-intro-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .contact-main-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-left-column,
    .contact-right-column {
        padding: 0;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .contact-intro-title {
        font-size: 1.4rem;
    }

    .contact-form-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .contact-main-section {
        padding: 40px 0;
    }

    .contact-info-item {
        padding: 15px;
    }

    .contact-info-icon {
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }

    .contact-info-icon i {
        font-size: 1rem;
    }

    .contact-intro-description p {
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   新版Footer样式 - 参考ATP Bio设计
   ========================================================================== */

#footer {
    position: relative;
    text-align: center;
    background: #383838;
    padding: 50px 0 30px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

#footer * {
    box-sizing: border-box;
}

#footer a:hover {
    opacity: 0.7;
}

#footer .tinus-container {
    padding: 0 20px;
    margin: 0 auto;
    max-width: 1210px;
    width: 100%;
    overflow: hidden;
}

@media screen and (max-width: 957px) {
    #footer .tinus-container {
        padding: 0 20px;
        margin: 0 auto 20px;
        max-width: 600px;
    }
}

#footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

@media screen and (max-width: 957px) {
    #footer .footer-content {
        flex-direction: column;
        gap: 40px;
    }
}

/* 左侧公司信息 */
#footer .footer-left {
    flex: 0 0 35%;
    text-align: left;
    color: #fff;
}

@media screen and (max-width: 957px) {
    #footer .footer-left {
        flex: none;
        width: 100%;
        padding-bottom: 20px;
        margin-bottom: 20px;
        border-bottom: 1px solid #4c4c4c;
    }
}

#footer .footer-left .footer-title {
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    letter-spacing: 2px;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #4c4c4c;
}

#footer .footer-left .company-name {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

#footer .footer-left .contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer .footer-left .contact-list li {
    position: relative;
    font-size: 13px;
    font-weight: 300;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

#footer .footer-left .contact-list li i {
    color: #fff;
    width: 20px;
    text-align: center;
    margin-top: 2px;
    flex-shrink: 0;
}

#footer .footer-left .contact-list li a {
    color: #fff;
    text-decoration: none;
}

#footer .footer-left .contact-list li a:hover {
    opacity: 0.7;
}

#footer .footer-left .contact-list li span {
    color: #fff;
}

/* 右侧导航菜单 */
#footer .footer-right {
    flex: 1;
    width: 70%;
}

@media screen and (max-width: 957px) {
    #footer .footer-right {
        flex: none;
        width: 100%;
    }
}

#footer .footer-navigation {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 0;
    flex-wrap: wrap;
}

@media screen and (max-width: 957px) {
    #footer .footer-navigation {
        justify-content: flex-start;
        gap: 0;
        flex-direction: column;
    }
}

#footer .footer-nav-column {
    flex: 1;
    min-width: 120px;
    text-align: left;
}

#footer .footer-nav-column>.footer-menu li {
    display: none;
}

#footer .footer-nav-column>.footer-menu li.menu-title {
    display: block;
}

#footer .footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
}

#footer .footer-menu li {
    position: relative;
    text-align: left;
    margin-bottom: 8px;
}

@media screen and (max-width: 957px) {
    #footer .footer-menu li {
        margin-bottom: 8px;
    }

    #footer .footer-navigation {
        gap: 10px;
        grid-template-columns: repeat(3,1fr);
    }

    #footer .footer-nav-column {
        margin-bottom: 0;
        min-width: 1px;
    }
}

#footer .footer-menu li a {
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
    display: block;
    transition: opacity 0.3s ease;
}

@media screen and (max-width: 957px) {
    #footer .footer-menu li a {
        padding: 5px 0;
        border-bottom: none;
    }

    #footer .footer-menu li.menu-title a {
        border-bottom: 1px solid #4c4c4c;
        padding-bottom: 8px;
        margin-bottom: 8px;
    }
}

#footer .footer-menu li a:hover {
    opacity: 0.7;
}

/* 菜单标题样式 */
#footer .footer-menu li.menu-title a {
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 0;
    display: inline-block;
}

#footer .footer-menu li:not(.menu-title) a {
    font-size: 13px;
    font-weight: 300;
    color: #999;
    letter-spacing: 1px;
}

#footer .footer-menu li:not(.menu-title) a:hover {
    color: #fff;
}

/* 移除旧的子菜单样式 */
/*
#footer .footer-menu .sub-menu {
    padding: 10px 0 0 20px;
    margin-top: 8px;
}

@media screen and (max-width: 957px) {
    #footer .footer-menu .sub-menu {
        display: none;
        padding: 0;
        margin: 0;
    }
}

#footer .footer-menu .sub-menu li {
    margin-bottom: 6px;
}

#footer .footer-menu .sub-menu li a {
    font-size: 13px;
    font-weight: 300;
    color: #999;
    letter-spacing: 1px;
}

#footer .footer-menu .sub-menu li a:hover {
    color: #fff;
}
*/

/* 版权信息栏 */
#footer .footer-bottom {
    text-align: center;
    font-size: 12px;
    font-weight: 300;
    background: #383838;
    color: #fff;
    width: 100%;
    margin-top: 30px;
    border-top: 1px solid #4c4c4c;
}

#footer .footer-bottom .tinus-container {
    padding: 35px 20px;
    margin: auto;
    box-sizing: border-box;
    max-width: 1210px;
    overflow: hidden;
}

@media screen and (max-width: 957px) {
    #footer .footer-bottom {
        box-sizing: border-box;
        padding: 10px 0;
        margin: 0 auto;
        max-width: 600px;
    }
}

#footer .footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

#footer .footer-bottom .copyright span {
    color: #fff;
    font-size: 12px;
}

/* Footer隐私声明链接样式 */
.privacy-link-separator {
    color: #666;
    margin: 0 8px;
}

.privacy-footer-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 12px;
}

.privacy-footer-link:hover {
    color: #a8e6cf;
    text-decoration: underline;
}
