/* =====================================================================
 * [PBCS PATCH] about.html 专用现代样式 — about-modern.css
 * ---------------------------------------------------------------------
 * 背景：about.html 之前是「jumbotron banner + 单行标题 + 一坨文字」，
 *       视觉陈旧。改成与首页 index.html 一致的现代杂志/科技门户风。
 *
 * 关键设计：
 *   - 复用 home-modern.css 的通用组件（.pbcs-section / .pbcs-section-head /
 *     .pbcs-about-grid / .pbcs-stats / .pbcs-feature-grid / .pbcs-btn）
 *   - about 专用：顶部 banner / 面包屑 / 公司信息+联系方式
 *   - 命名空间隔离：所有 class 加 .pbcs-about 前缀，避免与其他页冲突
 *
 * 引用：about.html 自己在 head 之后 <link> 引入
 * ===================================================================== */

/* ---------- 主题变量（继承 home-modern.css 风格） ---------- */
.pbcs-about-page {
    --pbcs-primary: #667eea;
    --pbcs-primary-dark: #5568d3;
    --pbcs-accent: #ff6b35;
    --pbcs-text: #212529;
    --pbcs-muted: #6c757d;
    --pbcs-border: #e9ecef;
    --pbcs-radius: 12px;
    --pbcs-radius-lg: 16px;
    --pbcs-shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
    --pbcs-shadow-md: 0 8px 24px rgba(0, 0, 0, .08);
    --pbcs-shadow-lg: 0 16px 40px rgba(0, 0, 0, .12);
}

/* 通用容器（与 home 一致：max-width 1320px） */
.pbcs-about-page .pbcs-home-wrap {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* =====================================================================
 * 顶部 Banner — 全宽渐变 + 居中标题
 * 替代原 jumbotron，更现代
 * ===================================================================== */
.pbcs-about-banner {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 80px 0 70px;
    overflow: hidden;
    text-align: center;
}
.pbcs-about-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, .08) 0%, transparent 50%);
    pointer-events: none;
}
.pbcs-about-banner .pbcs-home-wrap { position: relative; z-index: 1; }
.pbcs-about-banner .banner-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 14px;
    padding: 4px 14px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.pbcs-about-banner h1 {
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
.pbcs-about-banner .banner-sub {
    color: rgba(255, 255, 255, .88);
    font-size: 16px;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}
.pbcs-about-banner .banner-deco {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 18px auto 0;
    gap: 12px;
}
.pbcs-about-banner .banner-deco::before,
.pbcs-about-banner .banner-deco::after {
    content: '';
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6));
}
.pbcs-about-banner .banner-deco::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, .6), transparent);
}
.pbcs-about-banner .banner-deco span {
    color: rgba(255, 255, 255, .85);
    font-size: 18px;
}
@media (max-width: 767.98px) {
    .pbcs-about-banner { padding: 56px 0 50px; }
    .pbcs-about-banner h1 { font-size: 28px; }
    .pbcs-about-banner .banner-sub { font-size: 14px; }
}

/* =====================================================================
 * 面包屑 — 浅色背景 + 小字
 * ===================================================================== */
.pbcs-about-breadcrumb {
    background: #f7f9fc;
    padding: 14px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 13px;
    color: var(--pbcs-muted);
}
.pbcs-about-breadcrumb a {
    color: var(--pbcs-muted);
    text-decoration: none;
    transition: color .2s ease;
}
.pbcs-about-breadcrumb a:hover { color: var(--pbcs-primary); }
.pbcs-about-breadcrumb .sep {
    margin: 0 8px;
    color: #adb5bd;
}
.pbcs-about-breadcrumb .current { color: var(--pbcs-text); font-weight: 500; }

.pbcs-section{padding:20px 10px}
/* =====================================================================
 * 联系我们 — 左边地图，右边留言。
 * ===================================================================== */
.pbcs-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    /*gap: 40px 20px;*/
    align-items: center;
}
@media (min-width: 768px) {
    .pbcs-about-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
}
/* =====================================================================
 * [PBCS PATCH] 防 about 页内容溢出（核心修复 2026-07-29）
 * ---------------------------------------------------------------------
 * 现象：窗口缩小时，左图遮住右文（实际是 .about-text 容器被内容撑大）
 * 根因：CSS Grid 子元素默认 min-width: auto，长 inline style / 不可断内容
 *       会撑大 grid 单元格，导致整页水平溢出 + 横向滚动条
 * 修法：grid 子元素 min-width:0 + 文字容器断行 + 子元素 max-width:100%
 * ===================================================================== */
.pbcs-about-page .pbcs-about-grid > * {
    min-width: 0;       /* 关键 — grid 子元素必须 */
    min-height: 0;
}
.pbcs-about-page .pbcs-about-content {
    min-width: 0;       /* 兜底 */
    overflow-wrap: break-word;
    word-break: break-word;  /* 长 URL / 邮箱 / 中英混排能断行 */
}
/* 文字容器内所有可能撑大的元素 */
.pbcs-about-page .pbcs-about-content img,
.pbcs-about-page .pbcs-about-content video,
.pbcs-about-page .pbcs-about-content table,
.pbcs-about-page .pbcs-about-content iframe,
.pbcs-about-page .pbcs-about-content pre,
.pbcs-about-page .pbcs-about-content code {
    max-width: 100%;
}
.pbcs-about-page .pbcs-about-content pre,
.pbcs-about-page .pbcs-about-content code {
    white-space: pre-wrap;       /* pre 长行折行 */
    word-break: break-word;
}
.pbcs-about-page .pbcs-about-content table {
    display: block;              /* 表格溢出时横向滚动而非撑大 */
    overflow-x: auto;
}
.pbcs-about-page .pbcs-about-content iframe {
    aspect-ratio: 16 / 9;        /* 视频比例固定 */
    height: auto !important;
}
/* 左图自身兜底（防后台传的图本身过大） */
.pbcs-about-page .pbcs-about-img img {
    max-width: 100%;
    height: auto;
}

/* =====================================================================
 * Hero — 左图右文（公司介绍）
 * 复用 home-modern.css 的 .pbcs-about-grid 即可
 * 但 about 页面要更大字号 + 完整内容
 * ===================================================================== */
.pbcs-about-page .pbcs-about-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--pbcs-text);
    margin: 0 0 8px 0;
    line-height: 1.3;
}
.pbcs-about-page .pbcs-about-content .about-sub {
    color: var(--pbcs-muted);
    font-size: 16px;
    margin: 0 0 20px 0;
}
.pbcs-about-page .pbcs-about-content .about-text {
    color: #495057;
    font-size: 15px;
    line-height: 1.9;
    margin: 0 0 24px 0;
}
.pbcs-about-page .pbcs-about-content .about-text p { margin: 0 0 14px 0; }
.pbcs-about-page .pbcs-about-content .about-text img {
    max-width: 100%;
    height: auto;
    border-radius: var(--pbcs-radius);
    margin: 10px 0;
}
.pbcs-about-page .pbcs-about-content .about-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
@media (min-width: 576px) {
    .pbcs-about-page .pbcs-about-content .about-features { grid-template-columns: 1fr 1fr; }
}
.pbcs-about-page .pbcs-about-content .about-features li {
    font-size: 14px;
    color: var(--pbcs-text);
    padding-left: 26px;
    position: relative;
    line-height: 1.6;
}
.pbcs-about-page .pbcs-about-content .about-features li::before {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--pbcs-primary);
    font-size: 13px;
}

/* =====================================================================
 * 数据栏（紫蓝渐变 — 复用 home-modern.css 的 .pbcs-stats）
 * 这里只微调 padding
 * ===================================================================== */

/* =====================================================================
 * 服务优势 — 4 个功能卡（复用 home-modern.css 的 .pbcs-feature-grid）
 * 这里只追加 about 特色的内容样式
 * ===================================================================== */
.pbcs-about-page .pbcs-feature-card { text-align: left; }
.pbcs-about-page .pbcs-feature-card .fc-icon-left {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.pbcs-about-page .pbcs-feature-card .fc-icon-left .fc-icon-mini {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--card-grad-from, #667eea) 0%, var(--card-grad-to, #764ba2) 100%);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .08);
    flex-shrink: 0;
}
.pbcs-about-page .pbcs-feature-card .fc-icon-left .fc-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--pbcs-text);
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* =====================================================================
 * 公司信息 + 联系方式 — 2 栏
 * ===================================================================== */
.pbcs-company-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) {
    .pbcs-company-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px; }
}
.pbcs-company-card {
    background: #fff;
    border-radius: var(--pbcs-radius-lg);
    padding: 32px 30px;
    box-shadow: var(--pbcs-shadow-sm);
    border: 1px solid #eef1f5;
    transition: box-shadow .25s ease, transform .25s ease;
    position: relative;
    overflow: hidden;
}
.pbcs-company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pbcs-primary), var(--pbcs-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.pbcs-company-card:hover {
    box-shadow: var(--pbcs-shadow-md);
    transform: translateY(-2px);
}
.pbcs-company-card:hover::before { transform: scaleX(1); }

.pbcs-company-card .cc-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--card-grad-from, #667eea) 0%, var(--card-grad-to, #764ba2) 100%);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .1);
    margin-bottom: 18px;
}
.pbcs-company-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--pbcs-text);
    margin: 0 0 16px 0;
    line-height: 1.3;
}
.pbcs-company-card .cc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pbcs-company-card .cc-list li {
    font-size: 14px;
    color: #495057;
    line-height: 1.7;
    padding: 8px 0;
    border-bottom: 1px dashed #eef1f5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.pbcs-company-card .cc-list li:last-child { border-bottom: none; padding-bottom: 0; }
.pbcs-company-card .cc-list .cc-label {
    color: var(--pbcs-muted);
    min-width: 78px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.pbcs-company-card .cc-list .cc-label i { color: var(--pbcs-primary); font-size: 13px; }
.pbcs-company-card .cc-list .cc-value { color: var(--pbcs-text); flex: 1; word-break: break-all; }
.pbcs-company-card .cc-list .cc-value a { color: var(--pbcs-primary); text-decoration: none; }
.pbcs-company-card .cc-list .cc-value a:hover { text-decoration: underline; }

/* 配色：左卡紫蓝（公司信息），右卡橙（联系方式） */
.pbcs-company-card.cc-info { --card-grad-from: #667eea; --card-grad-to: #764ba2; }
.pbcs-company-card.cc-contact { --card-grad-from: #f093fb; --card-grad-to: #f5576c; }

/* =====================================================================
 * CTA 区 — 大背景渐变 + 居中按钮
 * ===================================================================== */
.pbcs-about-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 56px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pbcs-about-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, .06) 0%, transparent 50%);
    pointer-events: none;
}
.pbcs-about-cta .pbcs-home-wrap { position: relative; z-index: 1; }
.pbcs-about-cta h2 {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 12px 0;
}
.pbcs-about-cta p {
    color: rgba(255, 255, 255, .9);
    font-size: 15px;
    margin: 0 0 28px 0;
}
.pbcs-about-cta .cta-btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}
.pbcs-about-cta .pbcs-btn--white {
    background: #fff;
    color: var(--pbcs-primary);
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}
.pbcs-about-cta .pbcs-btn--white:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    color: var(--pbcs-primary-dark);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
    text-decoration: none;
}
.pbcs-about-cta .pbcs-btn--outline-white {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .65);
    font-weight: 500;
}
.pbcs-about-cta .pbcs-btn--outline-white:hover {
    background: rgba(255, 255, 255, .15);
    border-color: #fff;
    color: #fff;
    text-decoration: none;
}
@media (max-width: 575.98px) {
    .pbcs-about-cta h2 { font-size: 22px; }
    .pbcs-about-cta p { font-size: 13px; }
}

/* 响应式微调 */
@media (max-width: 575.98px) {
    .pbcs-company-card { padding: 24px 20px; }
    .pbcs-about-page .pbcs-about-content h2 { font-size: 24px; }
}

/* =====================================================================
 * [PBCS PATCH] ContactUs Hero — 留言表单 + 地图（form v2 / 2026-08-01）
 * ---------------------------------------------------------------------
 * 之前：.pbcs-about-grid 8fr 4fr（地图过宽 + 留言过窄）+ Bootstrap 4 form-group
 * 现在：.pbcs-contact-grid 5fr 7fr（留言更突出）+ 现代 input 样式
 *       - 地图卡片（圆角 + 阴影 + 头部带 icon + iframe 16:10 比例）
 *       - 留言表单卡片（每个 input 带 icon + 圆角 10px + 焦点蓝边）
 *       - 联系人/手机 2 列横排，留言内容 / 验证码 / 提交按钮 全宽
 *       - 移动端 < 992px 单列堆叠
 * ===================================================================== */

/* 布局：5/7 网格（地图 + 表单），左地图右表单 */
.pbcs-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
}
@media (min-width: 992px) {
    .pbcs-contact-grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: 28px;
    }
}
/* 防御：grid 子元素 min-width:0（防 iframe/长内容撑大） */
.pbcs-contact-grid > * { min-width: 0; min-height: 0; }

/* ---------- 地图卡片 ---------- */
.pbcs-contact-map {
    background: #fff;
    border-radius: var(--pbcs-radius-lg);
    box-shadow: var(--pbcs-shadow-md);
    border: 1px solid #eef1f5;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.pbcs-contact-map-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #f7f9fc 0%, #ffffff 100%);
    border-bottom: 1px solid #eef1f5;
    color: var(--pbcs-text);
    font-size: 16px;
    font-weight: 600;
}
.pbcs-contact-map-head i {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--pbcs-primary) 0%, #764ba2 100%);
    color: #fff;
    font-size: 14px;
}
.pbcs-contact-map-body {
    flex: 1;
    min-height: 360px;
    position: relative;
    background: #f0f2f5;
}
.pbcs-contact-map-body iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
    display: block;
}
/* [PBCS PATCH 2026-08-01] plan 2 — 地图 iframe 沙箱专用样式
 *   之前：{include file=map.html} inline 引入 → map.html 内 <style> 块污染主页面
 *         body, html { overflow: hidden } → 整个 ContactUs 页面无法滚动
 *   现在：<iframe src=".../map_iframe.php" class="pbcs-map-iframe"> 沙箱隔离
 *         map 在独立 document 内渲染，所有 CSS/JS 都不影响主页面
 *         滚动事件被 iframe 边界截断，主页面正常滚动
 *   配套：map_iframe.php 入口（bootstrap PBootCMS + 解析 {pboot:xxx} 标签）
 */
.pbcs-map-iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
    display: block;
    background: #f0f2f5;
    /* 关键：允许同源内 touch 滚动穿透，但阻止 iframe 内部吞事件 */
    pointer-events: auto;
}
/* [PBCS PATCH 2026-08-01] 百度地图 GL 触摸滚动防御（map.html 用 {include} inline 引入时）
 *   之前：地图 canvas 默认 touch-action: none，移动端无法滚页面
 *   现在：允许 pan-y 单指垂直滚动 + pinch-zoom 双指缩放（地图自身操作）
 *   桌面端也加 touch-action（部分触屏笔记本 chrome 同样需要）
 *   配合 map.html 已加 enableInertialDragging: false
 */
.pbcs-contact-map-body .pbcs-bmap-wrap,
.pbcs-contact-map-body .pbcs-bmap-wrap canvas,
.pbcs-contact-map-body .pbcs-bmap-wrap #map-container {
    touch-action: pan-y pinch-zoom;
}
/* 限制地图最大高度，避免地图占满视口后吞掉整页滚动条 */
.pbcs-contact-map-body {
    max-height: 65vh;
    overflow: hidden;
}
@media (max-width: 991.98px) {
    .pbcs-contact-map-body { max-height: 50vh; }
}
.pbcs-contact-map-foot {
    padding: 14px 22px;
    border-top: 1px solid #eef1f5;
    background: #fafbfc;
    font-size: 13px;
    color: var(--pbcs-muted);
}
.pbcs-contact-map-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.6;
}
.pbcs-contact-map-item i {
    color: var(--pbcs-primary);
    margin-top: 3px;
    flex-shrink: 0;
}
.pbcs-contact-map-item span {
    flex: 1;
    word-break: break-all;
}

/* ---------- 留言表单卡片 ---------- */
.pbcs-contact-form {
    background: #fff;
    border-radius: var(--pbcs-radius-lg);
    box-shadow: var(--pbcs-shadow-md);
    border: 1px solid #eef1f5;
    padding: 32px 32px 28px;
    display: flex;
    flex-direction: column;
}
.pbcs-contact-form-head {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px dashed #eef1f5;
}
.pbcs-contact-form-head h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--pbcs-text);
    margin: 0 0 6px 0;
    line-height: 1.3;
}
.pbcs-contact-form-head p {
    font-size: 13px;
    color: var(--pbcs-muted);
    margin: 0;
}
.pbcs-contact-form-head .required {
    color: #ff4d4f;
    margin: 0 2px;
}

/* form 内部：联系人/手机 2 列横排 */
.pbcs-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
@media (min-width: 576px) {
    .pbcs-form-row { grid-template-columns: 1fr 1fr; }
}
.pbcs-form-group {
    margin-bottom: 16px;
}
.pbcs-form-group--full { width: 100%; }
.pbcs-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--pbcs-text);
    margin-bottom: 6px;
    line-height: 1.5;
}
.pbcs-form-group label .required {
    color: #ff4d4f;
    margin-left: 2px;
}

/* input 包裹：左侧 icon + input */
.pbcs-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid #e0e4e8;
    border-radius: 10px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.pbcs-input-wrap:hover { border-color: #b8c2cc; }
.pbcs-input-wrap:focus-within {
    border-color: var(--pbcs-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.12);
}
.pbcs-input-wrap i {
    flex-shrink: 0;
    width: 42px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 14px;
    transition: color .2s ease;
    pointer-events: none;
}
.pbcs-input-wrap:focus-within i { color: var(--pbcs-primary); }
.pbcs-input-wrap input,
.pbcs-input-wrap textarea {
    flex: 1;
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 12px 14px 12px 0;
    font-size: 14px;
    color: var(--pbcs-text);
    line-height: 1.5;
    font-family: inherit;
}
.pbcs-input-wrap input::placeholder,
.pbcs-input-wrap textarea::placeholder {
    color: #b8c2cc;
    font-size: 13px;
}

/* textarea：左 icon 顶部对齐 + 高度 */
.pbcs-input-wrap--textarea {
    align-items: flex-start;
}
.pbcs-input-wrap--textarea i {
    height: auto;
    padding-top: 14px;
    align-items: flex-start;
}
.pbcs-input-wrap--textarea textarea {
    min-height: 110px;
    resize: vertical;
    padding-top: 12px;
    line-height: 1.6;
}

/* 验证码：input + 图片横排 */
.pbcs-checkcode-wrap {
    display: flex;
    gap: 10px;
    align-items: stretch;
}
.pbcs-checkcode-wrap .pbcs-input-wrap--checkcode {
    flex: 1;
    min-width: 0;
}
.pbcs-codeimg {
    height: 44px;
    width: 110px;
    flex-shrink: 0;
    border: 1.5px solid #e0e4e8;
    border-radius: 10px;
    cursor: pointer;
    background: #fafbfc;
    object-fit: contain;
    transition: border-color .2s ease, transform .15s ease;
}
.pbcs-codeimg:hover {
    border-color: var(--pbcs-primary);
    transform: scale(1.02);
}

/* 提交按钮：大渐变按钮 */
.pbcs-form-submit {
    margin-top: 10px;
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--pbcs-primary) 0%, #764ba2 100%);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.32);
}
.pbcs-form-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.42);
    filter: brightness(1.05);
}
.pbcs-form-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}
.pbcs-form-submit i { font-size: 15px; }

/* 移动端适配 */
@media (max-width: 991.98px) {
    .pbcs-contact-form { padding: 24px 22px 22px; }
    .pbcs-contact-form-head h3 { font-size: 20px; }
    .pbcs-contact-map-body,
    .pbcs-contact-map-body iframe { min-height: 300px; }
}
@media (max-width: 575.98px) {
    .pbcs-contact-form { padding: 20px 18px 18px; }
    .pbcs-contact-form-head { margin-bottom: 18px; padding-bottom: 14px; }
    .pbcs-contact-form-head h3 { font-size: 18px; }
    .pbcs-contact-map-body,
    .pbcs-contact-map-body iframe { min-height: 240px; }
    .pbcs-checkcode-wrap { flex-direction: column; gap: 8px; }
    .pbcs-codeimg { width: 100%; height: 44px; }
}

/* =====================================================================
 * [PBCS PATCH] 滑入式 Toast — 替代 alert/confirm 的不友好提示（v2）
 * ---------------------------------------------------------------------
 * 之前 v1：
 *   - 嵌在 form 卡片 div 内部 → animate.css transform 让 fixed 失效
 *   - 困在 form 卡片底部显示（用户反馈"在下面"）
 *   - 4 秒消失（用户嫌长）
 *   - 右下角位置（不够醒目）
 * 现在 v2：
 *   - JS 动态创建 + appendTo('body') 绕过 transform 祖先
 *   - 顶部居中（最醒目位置）
 *   - 2 秒自动消失
 *   - 圆角胶囊 + 白底 + 强阴影 + 颜色边条
 * 状态：is-success（绿）/ is-error（红）+ is-show（控制可见性）
 * ===================================================================== */
.pbcs-form-toast {
    position: fixed;
    top: 24px;
    left: 50%;
    z-index: 99999;
    min-width: 280px;
    max-width: 90vw;
    padding: 14px 22px 14px 18px;
    background: #fff;
    color: var(--pbcs-text);
    border-radius: 999px;     /* 胶囊形状 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    /* 默认隐藏：上滑 + 透明 + 居中（X 偏移 -50% 让它真正居中） */
    opacity: 0;
    transform: translate(-50%, -20px) scale(0.96);
    pointer-events: none;
    transition: opacity .25s ease, transform .3s cubic-bezier(.2, .9, .3, 1.2);
    /* 4px 左边框颜色由状态类控制 */
    border-left: 4px solid #ccc;
}
.pbcs-form-toast.is-show {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
    pointer-events: auto;
}
/* 成功：绿色 */
.pbcs-form-toast.is-success {
    border-left-color: #52c41a;
    background: #fff;
}
.pbcs-form-toast.is-success .toast-icon { color: #52c41a; }
/* 失败：红色 */
.pbcs-form-toast.is-error {
    border-left-color: #ff4d4f;
    background: #fff;
}
.pbcs-form-toast.is-error .toast-icon { color: #ff4d4f; }

.pbcs-form-toast .toast-icon {
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1;
}
.pbcs-form-toast .toast-msg {
    color: var(--pbcs-text);
    word-break: break-word;
    white-space: nowrap;
}

/* 移动端 toast 适配 */
@media (max-width: 575.98px) {
    .pbcs-form-toast {
        top: 12px;
        font-size: 13px;
        padding: 12px 18px 12px 14px;
        max-width: calc(100vw - 24px);
    }
}
