/* ===== 联系我们页 v3：浅色编辑杂志风 ===== */

/* ---------- 通用 ---------- */
.cv-hero, .cv-info, .cv-form-sec, .cv-cta, .cv-form *, .cv-toast * { box-sizing: border-box; }
.w1400 { padding-left: 16px; padding-right: 16px; }
.cv-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 16px; font-weight: 700; letter-spacing: 3px;
    color: #0e4295; text-transform: uppercase;
}
.cv-eyebrow i { width: 26px; height: 2px; background: #0e4295; display: inline-block; }
.cv-eyebrow--dark { color: #0e4295; }
.cv-eyebrow--light { color: #ffb98a; }

.cv-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    min-height: 50px; padding: 0 30px;
    font-size: 15px; font-weight: 600; text-decoration: none;
    border: 1px solid transparent; border-radius: 2px;
    transition: all .25s ease; cursor: pointer; font-family: inherit;
}
.cv-btn i { font-style: normal; font-size: 17px; transition: transform .25s; }
.cv-btn:hover i { transform: translateX(4px); }
.cv-btn--orange { background: #0e4295; color: #fff !important; box-shadow: 0 8px 22px rgba(233, 100, 36, .25); }
.cv-btn--orange:hover { background: #d65518; color: #fff !important; transform: translateY(-2px); }
.cv-btn--line { background: transparent; color: #0e4295 !important; border-color: #0e4295; }
.cv-btn--line:hover { background: #0e4295; color: #fff !important; }
.cv-btn--ghost { background: #fff; color: #0e4295 !important; border-color: #d8e5f6; }
.cv-btn--ghost:hover { border-color: #0e4295; color: #0e4295 !important; }
.cv-btn--white { background: #fff; color: #0e4295 !important; }
.cv-btn--white:hover { background: #fff5ef; color: #0e4295 !important; transform: translateY(-2px); }
.cv-btn--outline { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .65); }
.cv-btn--outline:hover { background: rgba(255, 255, 255, .13); color: #fff !important; }

/* ---------- 1. 沉浸式首屏 ---------- */
.cv-hero {
    position: relative;
    background: linear-gradient(115deg, #f4f8fd 0%, #eaf1fa 55%, #f7fafe 100%);
    color: #14233c;
    padding: 70px 0 0;
    overflow: hidden;
}
.cv-hero-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(14,66,149,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(14,66,149,.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(90deg, transparent, #000 55%, #000);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%, #000);
}
.cv-hero-glow {
    position: absolute; right: 4%; top: -160px;
    width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 100, 190, .10), transparent 68%);
}
.cv-hero-in {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: minmax(0, 1fr) 400px;
    gap: 50px; align-items: center;
    padding-bottom: 66px;
}
.cv-hero-copy h2 {
    font-size: 30px; line-height: 1.7; font-weight: 700;
    margin: 18px 0 22px; letter-spacing: -.5px;
    padding-left: 22px; position: relative;
}
.cv-hero-copy h2:before {
    content: ""; position: absolute; left: 0; top: 8px; bottom: 12px;
    width: 4px; border-radius: 2px;
    background: linear-gradient(180deg, #ffb98a 0%, #0e4295 100%);
}
.cv-hero-copy h2 span {
    position: relative; color: #14233c;
}
.cv-hero-copy h2 .cv-h1-line1 {
    color: #14233c; font-weight: 700;
}
.cv-hero-copy h2 span:not(.cv-h1-line1):after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px;
    background: linear-gradient(90deg, rgba(233,100,36,.85) 0%, rgba(233,100,36,.25) 100%);
    z-index: -1; border-radius: 2px;
}
.cv-hero-desc { font-size: 16px; line-height: 2; color: #5b6879; margin-bottom: 10px; max-width: 680px; }
.cv-hero-desc p { color: #5b6879 !important; font-size: 16px !important; line-height: 2 !important; margin: 0; }
.cv-hero-sub { font-size: 16px; line-height: 2; color: #8b98aa; max-width: 680px; margin-bottom: 30px; margin-top:20px}
.cv-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* 右侧：圆环 + 二维码徽章 */
.cv-hero-visual { position: relative; height: 360px; display: flex; align-items: center; justify-content: center; }
.cv-ring {
    position: absolute; width: 340px; height: 340px; border-radius: 50%;
    border: 1px dashed rgba(14, 66, 149, .22);
}
.cv-ring:before {
    content: ""; position: absolute; inset: 26px; border-radius: 50%;
    border: 1px solid rgba(14, 66, 149, .09);
}
.cv-qr-badge {
    position: relative; z-index: 2;
    width: 230px; padding: 16px 16px 14px;
    background: #fff; border-radius: 4px; text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
    transform: rotate(-3deg);
    transition: transform .35s ease;
}
.cv-qr-badge:hover { transform: rotate(0) scale(1.03); }
.cv-qr-badge img { width: 100%; display: block; }
.cv-qr-badge span {
    display: block; margin-top: 10px; padding-top: 10px;
    border-top: 1px solid #eef2f7; font-size: 15px; color: #33405a; font-weight: 600;
}
.cv-float {
    position: absolute; z-index: 3;
    padding: 8px 14px; font-size: 12px; font-weight: 700; letter-spacing: 1px;
    background: #0e4295; color: #fff; border-radius: 2px;
    box-shadow: 0 8px 20px rgba(233, 100, 36, .3);
}
.cv-float--1 { top: 24px; right: 8px; transform: rotate(7deg); }
.cv-float--2 { bottom: 30px; left: 4px; background: #fff; color: #0e4295; transform: rotate(-6deg); }

.cv-hero-stripe {
    position: relative; z-index: 2;
    border-top: 1px solid rgba(14, 66, 149, .1);
    background: rgba(14, 66, 149, .04);
}
.cv-stripe-in {
    display: flex; align-items: center; flex-wrap: wrap; gap: 18px;
    padding-top: 18px; padding-bottom: 18px;
    font-size: 16px; color: #5b6879; letter-spacing: 1px;
}
.cv-stripe-in b { color: #0e4295; }

/* ---------- 2. 联系方式：大编号档案式 ---------- */
.cv-info { background: #fff; padding: 80px 0 86px; }
.cv-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.cv-head h2 { font-size: 34px; color: #14233c; margin-top: 12px; line-height: 1.2; }
.cv-head p { font-size: 15px; color: #8b98aa; }
.cv-info-list { border-top: 1px solid #e6edf6; }
.cv-info-row {
    position: relative;
    display: grid; grid-template-columns: 90px 56px minmax(0, 1fr) 40px;
    align-items: center; gap: 18px;
    padding: 30px 18px 30px 6px;
    border-bottom: 1px solid #e6edf6;
    text-decoration: none;
    transition: background .25s ease, padding-left .25s ease;
}
.cv-info-row:hover { background: #f7faff; padding-left: 18px; }
.cv-num {
    font-size: 34px; font-weight: 700; line-height: 1;
    color: transparent; -webkit-text-stroke: 1.5px #c5d2e3;
    transition: color .25s, -webkit-text-stroke-color .25s;
}
.cv-info-row:hover .cv-num { color: #0e4295; -webkit-text-stroke-color: #0e4295; }
.cv-ico {
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #eef4fc; color: #0e4295;
    transition: background .25s, color .25s;
}
.cv-ico svg { width: 24px; height: 24px; }
.cv-info-row:hover .cv-ico { background: #0e4295; color: #fff; }
.cv-info-txt { min-width: 0; }
.cv-info-txt em { display: block; font-style: normal; font-size: 16px; color: #555; margin-bottom: 6px; }
.cv-info-txt strong { display: block; font-size: 20px; color: #14233c; line-height: 1.4; word-break: break-all; }
.cv-info-row:hover .cv-info-txt strong { color: #0e4295; }
.cv-info-txt small { display: block; font-size: 15px; color: #a3aebd; margin-top: 6px; }
.cv-info-arrow { font-size: 24px; color: #c5d2e3; text-align: center; transition: color .25s, transform .25s; }
.cv-info-row:hover .cv-info-arrow { color: #0e4295; transform: translate(3px, -3px); }
.cv-info-row--static { cursor: default; }
.cv-info-row--static:hover { background: #fff; padding-left: 6px; }
.cv-info-row--static:hover .cv-num { color: transparent; -webkit-text-stroke-color: #c5d2e3; }
.cv-info-row--static:hover .cv-ico { background: #eef4fc; color: #0e4295; }
.cv-info-row--static:hover .cv-info-txt strong { color: #14233c; }
.cv-info-row--static:hover .cv-info-arrow { color: #c5d2e3; transform: none; }

/* ---------- 3. 留言：编辑式下划线表单 ---------- */
.cv-form-sec { background: #f4f7fb; padding: 84px 0 90px; }
.cv-form-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 60px; align-items: start; }
.cv-form-lead h2 { font-size: 34px; line-height: 1.32; color: #14233c; margin: 18px 0 20px; }
.cv-form-lead h2 em { font-style: normal; color: #0e4295; }
.cv-form-lead > p { font-size: 16px; line-height: 2; color: #7a879b; margin-bottom: 30px; }
.cv-promises { border-top: 1px solid #dde5f0; }
.cv-promises div { display: flex; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px solid #dde5f0; }
.cv-promises strong { font-size: 18px; color: #0e4295; }
.cv-promises span { font-size: 16px; color: #47546a; }

.cv-form {
    background: #fff; padding: 38px 40px 34px;
    box-shadow: 0 16px 44px rgba(10, 30, 70, .07);
}
.cv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cv-field { display: block; margin-bottom: 26px; }
.cv-field > span { display: block; font-size: 15px; color: #5b6879; font-weight: 600; margin-bottom: 6px; }
.cv-field > span b { color: #0e4295; }
.cv-field input, .cv-field select, .cv-field textarea {
    display: block; width: 100%;
    padding: 10px 0 12px;
    font-size: 15px; font-family: inherit; color: #14233c;
    background: transparent;
    border: 0; border-bottom: 1px solid #d5dfec; border-radius: 0;
    outline: none;
    transition: border-color .25s;
}
.cv-field input::placeholder, .cv-field textarea::placeholder { color: #b6c1d0; }
.cv-field textarea { min-height: 96px; resize: vertical; line-height: 1.7; }
.cv-field input:focus, .cv-field select:focus, .cv-field textarea:focus { border-bottom-color: #0e4295; }
.cv-form-bot {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 14px; margin-top: 6px;
}
.cv-form-bot span { font-size: 14px; color: #9aa7b8; }

/* ---------- 4. 橙色 CTA ---------- */
.cv-cta { background: linear-gradient(115deg, #0e4295, #f08c4a); padding: 54px 0; }
.cv-cta-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 26px; }
.cv-cta-in > div:first-child > span { font-size: 12px; font-weight: 700; letter-spacing: 3px; color: rgba(255, 255, 255, .8); }
.cv-cta-in h2 { font-size: 30px; line-height: 1.4; color: #fff; margin-top: 12px; }
.cv-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 留言提示 ---------- */
.cv-toast {
    position: fixed; inset: 0; z-index: 9999; display: none;
    align-items: center; justify-content: center;
    background: rgba(9, 22, 43, .6); padding: 20px;
}
.cv-toast.is-show { display: flex; }
.cv-toast-box {
    position: relative; width: 100%; max-width: 520px;
    background: #fff; padding: 34px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.cv-toast-box h4 { font-size: 20px; color: #14233c; margin-bottom: 14px; }
.cv-toast-box p { font-size: 14px; line-height: 1.9; color: #6a7688; margin-bottom: 24px; }
.cv-toast-box p b { color: #0e4295; word-break: break-all; }
.cv-toast-close { position: absolute; right: 14px; top: 10px; border: 0; background: none; font-size: 26px; color: #9aa7b8; cursor: pointer; }
.cv-toast-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cv-toast-actions .cv-btn { min-height: 42px; padding: 0 20px; font-size: 14px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
    .cv-hero-in { grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; }
    .cv-hero-copy h2 { font-size: 42px; }
    .cv-ring { width: 280px; height: 280px; }
    .cv-qr-badge { width: 195px; }
    .cv-form-grid { grid-template-columns: 280px minmax(0, 1fr); gap: 30px; }
    .cv-form { padding: 30px 28px; }
}

@media (max-width: 860px) {
    .cv-hero-in { grid-template-columns: 1fr; gap: 30px; padding-bottom: 44px; }
    .cv-hero-visual { height: 300px; }
    .cv-form-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 760px) {
    .toolbar { display: none !important; }
    .cv-hero { padding-top: 44px; }
    .cv-hero-copy h2 { font-size: 25px; line-height: 1.5; margin: 14px 0 16px; }
    .cv-hero-desc, .cv-hero-desc p { font-size: 14px !important; line-height: 1.9 !important; }
    .cv-hero-sub { font-size: 15px; margin-bottom: 22px; }
    .cv-hero-btns .cv-btn { flex: 1 1 140px; min-height: 46px; padding: 0 16px; font-size: 14px; }
    .cv-hero-visual { height: 280px; }
    .cv-ring { width: 250px; height: 250px; }
    .cv-qr-badge { width: 180px; }
    .cv-stripe-in { gap: 12px; font-size: 12px; padding-top: 14px; padding-bottom: 14px; }

    .cv-info { padding: 56px 0 60px; }
    .cv-head { margin-bottom: 26px; }
    .cv-head h2 { font-size: 24px; }
    .cv-head p { font-size: 15px; }
    .cv-info-row { grid-template-columns: 44px 42px minmax(0, 1fr) 26px; gap: 10px; padding: 20px 6px 20px 2px; }
    .cv-info-row:hover { padding-left: 2px; }
    .cv-num { font-size: 22px; -webkit-text-stroke-width: 1px; }
    .cv-ico { width: 40px; height: 40px; }
    .cv-ico svg { width: 20px; height: 20px; }
    .cv-info-txt strong { font-size: 16px; }
    .cv-info-txt small { font-size: 12px; }
    .cv-info-arrow { font-size: 19px; }

    .cv-form-sec { padding: 56px 0 60px; }
    .cv-form-lead h2 { font-size: 24px; }
    .cv-form { padding: 26px 20px 24px; }
    .cv-row { grid-template-columns: 1fr; gap: 0; }
    .cv-field { margin-bottom: 22px; }
    .cv-form-bot { flex-direction: column; align-items: stretch; }
    .cv-form-bot .cv-btn { width: 100%; }

    .cv-cta { padding: 40px 0; }
    .cv-cta-in h2 { font-size: 18px;line-height:2 }
    .cv-cta-btns { width: 100%; }
    .cv-cta-btns .cv-btn { flex: 1 1 130px; min-height: 46px; padding: 0 14px; }
}

/* 2026-12-03 联系方式行：标签/值/说明横向铺开，填补中间空白 */
@media (min-width: 761px) {
    .cv-info-txt { display: flex; align-items: center; gap: 26px; }
    .cv-info-txt em { flex: 0 0 88px; margin: 0; }
    .cv-info-txt strong { flex: 0 0 auto; margin: 0; }
    .cv-info-txt small { flex: 1; margin: 0; text-align: left; padding-left: 8px; }
}
@media (min-width: 761px) and (max-width: 1080px) {
    .cv-info-txt { gap: 16px; }
    .cv-info-txt em { flex-basis: 72px; }
    .cv-info-txt small { font-size: 12px; }
}
