/*
Theme Name: 四为数据中心
Theme URI: https://www.siwei-dc.com/
Author: Siwei Team
Author URI: https://www.siwei-dc.com/
Version: 4.0
Template: twentythirteen
Description: 全新设计的主题，采用通用命名和标准配色方案
*/

@import url("../twentythirteen/style.css");

/* ==========================================
   CSS 变量 - 全局配色方案
   ========================================== */
:root {
    /* 主色调 */
    --color-primary: #006aa6;
    --color-primary-dark: #003460;
    --color-primary-light: #cce5ff;

    /* 中性色 */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-lighter: #999999;
    --color-bg: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-border: #e0e0e0;

    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #006aa6 0%, #003460 100%);
    --gradient-light: linear-gradient(135deg, #006aa6 0%, #0080cc 100%);

    /* 布局 */
    --container-width: 1200px;
    --spacing-unit: 30px;

    /* 字体 */
    --font-family:  Helvetica, sans-serif;
}

/* ==========================================
   重置和基础样式
   ========================================== */
html,
body,
.content-area {
    overflow-x: initial !important;
}

html {
    font-size: 16px;
}

html,
body {
    position: relative;
    height: 100%;
}

html,
body,
button,
input,
select,
textarea {
    font-family: var(--font-family);
}

body {
    color: var(--color-text-light);
    background: var(--color-bg);
}

/* ==========================================
   排版
   ========================================== */
h1,
h2,
h3,
h4,
h5,
h6,
.elementor-widget-heading .elementor-heading-title,
.elementor-widget-text-editor {
    font-family: var(--font-family);
    color: var(--color-text);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

a:hover,
a:focus {
    outline: 0 none;
    text-decoration: none;
    color: var(--color-primary-dark);
}

a:visited {
    color: var(--color-primary);
}

ul {
    list-style-type: disc;
}

address {
    font-style: normal;
    margin: 0 0 5px;
}

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

blockquote,
.entry-content blockquote {
    font-size: 16px;
}

/* ==========================================
   表单元素
   ========================================== */
button,
input,
select,
textarea {
    background: #f1f1f1;
}

button,
input,
textarea {
    border: 1px solid #f7f7f7;
    padding: 5px;
}

input:focus,
textarea:focus {
    border: 1px solid #ccc;
    outline: 0 none;
}

/* ==========================================
   按钮样式
   ========================================== */
a.button,
.button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
    background: var(--color-primary);
    border: none !important;
    border-radius: 3px !important;
    color: #fff;
    display: inline-block;
    padding: 15px !important;
    text-decoration: none;
    font-weight: 600;
    float: none;
    max-width: 100%;
    transition: all 0.3s ease;
}

button:hover,
button:focus,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:focus,
input[type="button"]:focus,
input[type="reset"]:focus {
    background: transparent;
    outline: none;
}

button:active,
input[type="submit"]:active,
input[type="button"]:active,
input[type="reset"]:active {
    background: transparent;
    border-top: 0 !important;
    padding: 15px !important;
}

.btn-md {
    font-size: 80%;
    padding: 10px !important;
}

.entry-content a.button,
.comment-content a.button {
    color: #fff;
}

/* 圆角按钮 */
.button-rounded:link,
.button-rounded:visited {
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    color: #ffffff;
    background-color: var(--color-primary);
    border-radius: 50px;
    padding: 1em 4em;
    margin-top: 1em;
    transition: all 0.3s ease-in-out;
}

.button-rounded:hover {
    background-color: var(--color-primary-dark);
}

/* 轮廓按钮 */
.button-outline a {
    border-width: 1px;
    border-style: solid;
    padding: 0.5em 1em;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.button-outline a:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

/* ==========================================
   布局容器
   ========================================== */
.site {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 70px 15px 0;
    border: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* ==========================================
   通用工具类
   ========================================== */
.d-none {
    display: none;
}

.no-margin {
    margin: 0 !important;
}

.no-bottom-margin {
    margin-bottom: 0 !important;
}

.no-left-margin {
    margin-left: 0 !important;
}

.clear {
    clear: both;
}

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

/* ==========================================
   WordPress 特定样式
   ========================================== */
.elementor-template-full-width .site {
    padding: 0;
}

.entry-content {
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}

.home .entry-content {
    max-width: 990px !important;
    padding: 0 15px;
}

/* 隐藏文章元信息 */
.single-post .entry-meta .tags-links,
.single-post .entry-meta .author {
    display: none;
}

/* 图片说明 */
.featured-caption,
.wp-caption .wp-caption-text,
.entry-caption,
.gallery-caption {
    color: var(--color-text-light);
    font-size: 13px;
    font-style: italic;
    font-weight: 300;
    margin: 0.35em 0 1em;
}

/* ==========================================
   Elementor 全宽模板样式
   ========================================== */
.elementor-full-width {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.elementor-full-width > * {
    margin: 0;
    padding: 0;
}

.elementor-full-width .elementor {
    width: 100%;
}

.elementor-full-width .elementor-section {
    margin: 0;
}

/* ==========================================
   表单样式（Gravity Forms 等）
   ========================================== */
.gform_wrapper input,
.gform_wrapper textarea {
    border: 1px solid var(--color-border);
    border-radius: 3px;
    padding: 10px;
}

.gform_wrapper input:focus,
.gform_wrapper textarea:focus {
    border-color: var(--color-primary);
    outline: none;
}

.gform_wrapper .gform_button {
    background: var(--color-primary);
    color: #ffffff;
}

.gform_wrapper .gform_button:hover {
    background: var(--color-primary-dark);
}

/* ==========================================
   响应式设计
   ========================================== */

/* 平板端 */
@media (max-width: 900px) {
    .container {
        padding: 0 20px;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.25rem; }
}

/* 手机端 */
@media (max-width: 768px) {
    :root {
        --spacing-unit: 20px;
    }

    .container {
        padding: 0 15px;
    }

    .site {
        padding: 60px 15px 0;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.125rem; }

    .button-rounded:link,
    .button-rounded:visited {
        padding: 0.8em 2em;
    }
}

/* ==========================================
   打印样式
   ========================================== */
@media print {
    .siwei-header,
    .siwei-footer,
    .siwei-mobile-toggle,
    button {
        display: none;
    }
}

.team-desc p{
    margin-bottom: 0;
}

.offices-contact-box p{
    margin-bottom: 0;
    line-height: 41px;
}

/* 卡片样式 */
.service-card {
    background: white;
    border-radius: 8px!important;
    overflow: hidden!important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05)!important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 78, 134, 0.15);
}


/* --- 生命周期流程条 --- */
.process-bar-container {
    background: #fff;
    padding: 30px 0;
    /*border-bottom: 1px solid #eee;*/
}

.process-bar {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    position: relative;
}

/* 连线 */
.process-bar::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    text-align: center;
    background: #fff; /* 遮挡连线 */
    padding: 0 10px;
}

.step-dot {
    width: 32px;
    height: 32px;
    background: #006aa6;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    box-shadow: 0 0 0 4px #EBF5FF;
}

.step-text {
    font-weight: bold;
    color: #006aa6;
    font-size: 14px;
}

.siwei-page-banner{
    height: 200px;
    display: flex;
    justify-content: center;
}


.stat-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px; /* 内边距变小 */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s;
}


.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(#cce5ff);
}

.stat-card p {
    margin: 0;
}

.stat-icon {
    width: 20px;
    height: 20px;
    color: var(#000);
}