/* ==============================================
   联系我们页面专用样式
   ============================================== */

/* Banner 英文副标题 */
.ct-banner .inner-banner-title {
    margin-bottom: 4px;
}
.inner-banner-en {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 6px;
    font-weight: 400;
    margin-bottom: 18px;
    margin-top: 2px;
    text-transform: uppercase;
}

/* ------------------------------------------------
   主体区域 — 白底，宽松留白
   ------------------------------------------------ */
.ct-section {
    background: #fff;
    padding: 70px 0 90px;
}

/* ------------------------------------------------
   行布局：图片 + 信息并排，无卡片包裹
   ------------------------------------------------ */
.ct-main-card {
    display: flex;
    align-items: flex-start;
    gap: 72px;
    background: transparent;
    border: none;
    box-shadow: none;
    margin-bottom: 0;
}

/* 左侧图片：固定高度 + 圆角 + 阴影 */
.ct-card-img {
    width: 46%;
    flex-shrink: 0;
    height: 380px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(20,50,120,0.18);
}
.ct-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.ct-card-img:hover img {
    transform: scale(1.04);
}

/* 右侧信息 */
.ct-card-info {
    flex: 1;
    padding: 0;
}

/* ------------------------------------------------
   映射 ID 11 CMS 内容的旧版 class 名
   ------------------------------------------------ */

/* 公司名：h2.f-30.t1 */
.ct-richcontent h2,
.ct-richcontent .t1 {
    font-size: 22px !important;
    font-weight: 700;
    color: #1e4a9a;
    line-height: 1.35;
    margin-bottom: 32px;
    padding-bottom: 22px;
    border-bottom: 2px solid #e8eef8;
    position: relative;
    letter-spacing: 1px;
}
.ct-richcontent h2::after,
.ct-richcontent .t1::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 72px;
    height: 3px;
    background: linear-gradient(90deg, #1e4a9a, #5b8fe8);
    border-radius: 3px;
}

/* article / f-18 */
.ct-richcontent article,
.ct-richcontent .f-18 {
    font-size: 19px;
}

/* 每行联系信息：label + value */
.ct-richcontent p,
.ct-richcontent p.cf {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 19px;
    line-height: 2;
    color: #333;
}
.ct-richcontent p:last-child { margin-bottom: 0; }

/* 灰色标签 */
.ct-richcontent em,
.ct-richcontent .c999 {
    font-style: normal;
    color: #bbb;
    flex-shrink: 0;
    white-space: nowrap;
}

/* 值 */
.ct-richcontent span,
.ct-richcontent .flex1 {
    color: #333;
    word-break: break-all;
    font-size: 19px;
}

/* ------------------------------------------------
   联系方式三列格子
   ------------------------------------------------ */
.ct-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ct-grid-item {
    background: #fff;
    border-radius: 10px;
    padding: 28px 26px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 4px 18px rgba(20,50,120,0.08);
    transition: transform 0.25s, box-shadow 0.25s;
}
.ct-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(65,119,183,0.18);
}

/* 圆形图标 */
.ct-grid-ico {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    flex-shrink: 0;
    background-color: #4177b7;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 26px 26px;
    box-shadow: 0 4px 12px rgba(65,119,183,0.30);
}
.ct-ico-addr {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
}
.ct-ico-tel {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}
.ct-ico-mail {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.ct-grid-body strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #1a3a7a;
    margin-bottom: 8px;
}
.ct-grid-body p {
    font-size: 16px;
    color: #666;
    line-height: 1.85;
    word-break: break-all;
}
.ct-grid-body p a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}
.ct-grid-body p a:hover {
    color: #4177b7;
}

/* ==============================================
   在线留言表单
   ============================================== */
.ct-form-section {
    margin-top: 64px;
    background: #f7faff;
    border-radius: 12px;
    padding: 48px 52px 52px;
    box-shadow: 0 4px 24px rgba(20,50,120,0.07);
}
.ct-form-hd {
    margin-bottom: 36px;
    text-align: center;
}
.ct-form-hd h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1a3a7a;
    margin-bottom: 6px;
    position: relative;
    display: inline-block;
}
.ct-form-hd h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg,#1e4a9a,#5b8fe8);
    border-radius: 3px;
}
.ct-form-hd p {
    font-size: 12px;
    color: #aaa;
    letter-spacing: 4px;
    margin-top: 16px;
    display: block !important;
    flex: none !important;
}
.ct-form-row {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
}
.ct-form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.ct-form-full {
    margin-bottom: 20px;
}
.ct-form-group label {
    font-size: 14px;
    color: #444;
    font-weight: 600;
}
.ct-form-group label em {
    color: #e14040;
    font-style: normal;
    margin-left: 2px;
}
.ct-form-group input,
.ct-form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    border: 1.5px solid #dbe6f5;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}
.ct-form-group input:focus,
.ct-form-group textarea:focus {
    border-color: #4177b7;
    box-shadow: 0 0 0 3px rgba(65,119,183,0.12);
}
.ct-form-group textarea { resize: vertical; }
.ct-form-submit {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 8px;
}
.ct-submit-btn {
    padding: 12px 44px;
    background: linear-gradient(135deg,#2a5299,#4177b7);
    color: #fff;
    font-size: 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 4px 14px rgba(65,119,183,0.28);
    font-family: inherit;
}
.ct-submit-btn:hover { background: linear-gradient(135deg,#1e3d78,#3065a5); transform: translateY(-2px); }
.ct-submit-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.ct-form-tip { font-size: 14px; }
.ct-tip-ok  { color: #27a85f; }
.ct-tip-err { color: #e14040; }

/* ==============================================
   响应式
   ============================================== */
@media (max-width: 900px) {
    .ct-main-card { flex-direction: column; gap: 36px; }
    .ct-card-img { width: 100%; height: 300px; }
    .ct-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .ct-form-section { padding: 32px 28px 36px; }
}
@media (max-width: 600px) {
    .ct-form-row { flex-direction: column; gap: 0; }
    .ct-form-row .ct-form-group { margin-bottom: 16px; }
    .ct-form-section { padding: 24px 16px 28px; margin-top: 40px; }
    .ct-submit-btn { width: 100%; text-align: center; }
    .ct-form-submit { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
    .ct-card-img { display: none; }
    .ct-richcontent h2,
    .ct-richcontent .t1 {
        font-size: 22px !important;
        margin-bottom: 14px;
        padding-bottom: 10px;
        letter-spacing: 0;
        line-height: 1.5;
    }
}
@media (max-width: 600px) {
    .ct-section { padding: 30px 0 40px; }
    .ct-grid { grid-template-columns: 1fr; }
    .ct-richcontent h2, .ct-richcontent .t1 { font-size: 18px; }
    .ct-richcontent p, .ct-richcontent p.cf { font-size: 17px; }
    .ct-richcontent span, .ct-richcontent .flex1 { font-size: 17px; }
    .ct-grid-body strong { font-size: 16px; }
    .ct-grid-body p { font-size: 15px; }
}
