/* =========================================================
   zzscmp.com — 在线留言卡片（/scmpbaoming/）
   风格：白底浅灰、细边圆角、无重框，移动端优先
   ========================================================= */
.ly-card {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 16px;
    padding: 30px 30px 24px;
    box-shadow: 0 10px 30px rgba(44, 95, 168, .07);
    height: 100%;
}

.ly-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eef4fd;
    color: #2c5fa8;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 5px 13px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.ly-title {
    font-size: 21px;
    font-weight: 800;
    color: #22262c;
    letter-spacing: .3px;
    margin: 0 0 10px;
}

.ly-desc {
    font-size: 14px;
    color: #6b7684;
    line-height: 1.8;
    margin: 0 0 18px;
}

.ly-points {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: grid;
    gap: 10px;
}

.ly-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #4a5563;
    line-height: 1.5;
}

.ly-points i {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 8px;
    background: #f2f6fc;
    color: #2c5fa8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* ---------- 表单 ---------- */
.ly-form {
    display: grid;
    gap: 12px;
}

.ly-field {
    position: relative;
    display: flex;
    align-items: center;
    background: #f7f9fc;
    border: 1px solid #eceff4;
    border-radius: 10px;
    transition: border-color .2s, background .2s, box-shadow .2s;
}

.ly-field:focus-within {
    background: #fff;
    border-color: #2c5fa8;
    box-shadow: 0 0 0 3px rgba(44, 95, 168, .1);
}

.ly-field>i {
    width: 42px;
    flex: 0 0 42px;
    text-align: center;
    color: #9aa7b8;
    font-size: 14px;
}

.ly-field input,
.ly-field textarea {
    flex: 1;
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    color: #22262c;
    padding: 13px 14px 13px 0;
}

.ly-field input::placeholder,
.ly-field textarea::placeholder {
    color: #aab4c2;
}

.ly-field textarea {
    resize: vertical;
    min-height: 82px;
    line-height: 1.7;
}

.ly-field--area {
    align-items: flex-start;
}

.ly-field--area>i {
    padding-top: 15px;
}

.ly-field.is-error {
    background: #fff7f7;
    border-color: #f0b4b4;
}

.ly-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    background: linear-gradient(135deg, #2c5fa8 0%, #1e4b8f 100%);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .5px;
    padding: 14px 20px;
    box-shadow: 0 8px 18px rgba(44, 95, 168, .22);
    transition: transform .2s, box-shadow .2s, opacity .2s;
}

.ly-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(44, 95, 168, .3);
}

.ly-submit:disabled {
    opacity: .7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.ly-tip {
    margin: 2px 0 0;
    font-size: 12.5px;
    color: #98a3b3;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.6;
}

.ly-tip i {
    color: #2fa35c;
}

.ly-feedback {
    display: none;
    font-size: 13.5px;
    line-height: 1.6;
    padding: 10px 14px;
    border-radius: 9px;
}

.ly-feedback.is-show {
    display: block;
}

.ly-feedback.is-err {
    background: #fdf2f2;
    color: #c0392b;
}

.ly-feedback.is-ok {
    background: #f0f9f2;
    color: #1e7a41;
}

.ly-feedback.is-info {
    background: #f2f6fc;
    color: #2c5fa8;
}

/* ---------- 分隔 & 客服 ---------- */
.ly-or {
    position: relative;
    text-align: center;
    margin: 20px 0 16px;
}

.ly-or::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #eef1f6;
}

.ly-or span {
    position: relative;
    background: #fff;
    padding: 0 12px;
    font-size: 12.5px;
    color: #aab4c2;
}

.ly-kf {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    background: #fff;
    color: #2c5fa8;
    font-size: 15px;
    font-weight: 600;
    padding: 13px 20px;
    text-decoration: none;
    transition: .2s;
}

.ly-kf:hover {
    background: #f4f8fd;
    border-color: #2c5fa8;
    color: #1e4b8f;
}

/* ---------- 提交成功态 ---------- */
.ly-done {
    text-align: center;
    padding: 34px 12px 30px;
}

.ly-done-ico {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #eaf7ef;
    color: #2fa35c;
    font-size: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.ly-done h4 {
    font-size: 19px;
    font-weight: 800;
    color: #22262c;
    margin: 0 0 8px;
}

.ly-done p {
    font-size: 14px;
    color: #6b7684;
    line-height: 1.75;
    margin: 0;
}

.ly-done .ly-done-sub {
    font-size: 13px;
    color: #98a3b3;
    margin-top: 8px;
}

/* ---------- 移动端 ---------- */
@media (max-width: 991.98px) {
    .ly-card {
        margin-top: 6px;
    }
}

@media (max-width: 768px) {
    .ly-card {
        padding: 22px 18px 18px;
        border-radius: 14px;
        box-shadow: 0 6px 20px rgba(44, 95, 168, .06);
    }

    .ly-title {
        font-size: 19px;
    }

    .ly-desc {
        font-size: 13.5px;
        margin-bottom: 16px;
    }

    .ly-points {
        gap: 8px;
        margin-bottom: 18px;
    }

    .ly-points li {
        font-size: 13px;
    }

    .ly-field input,
    .ly-field textarea {
        font-size: 16px; /* ≥16px 防止 iOS 聚焦时页面缩放 */
        padding: 12px 12px 12px 0;
    }

    .ly-submit {
        font-size: 15.5px;
        padding: 13px 18px;
    }

    .ly-kf {
        font-size: 14.5px;
        padding: 12px 18px;
    }
}

/* ---------- 双栏布局（2026-09-22：左联系信息 / 右报名表单） ---------- */
.ly-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 38px;
    align-items: stretch; /* 两栏等高 */
}

.ly-form-side {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* 表单撑满右栏：上下两头与左栏对齐 */
.ly-form {
    flex: 1;
    grid-template-rows: auto auto minmax(82px, 1fr) auto auto;
}

.ly-form .ly-field--area textarea {
    height: 100%;
}

.ly-form-title {
    font-size: 21px;
    font-weight: 800;
    color: #22262c;
    letter-spacing: .3px;
    margin: 0 0 14px;
}

.ly-contact {
    display: grid;
    gap: 12px;
    margin: 0 0 22px;
}

.ly-ct-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    background: #f7f9fc;
    border: 1px solid #eceff4;
    border-radius: 12px;
    text-decoration: none;
    transition: border-color .2s, background .2s, box-shadow .2s;
}

a.ly-ct-item:hover {
    background: #fff;
    border-color: #2c5fa8;
    box-shadow: 0 6px 16px rgba(44, 95, 168, .1);
    text-decoration: none;
}

.ly-ct-ico {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2c5fa8 0%, #1e4b8f 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.ly-ct-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ly-ct-label {
    font-size: 12px;
    color: #98a3b3;
    letter-spacing: 1px;
}

.ly-ct-val {
    font-size: 15px;
    font-weight: 700;
    color: #22262c;
    line-height: 1.4;
}

a.ly-ct-item .ly-ct-val {
    color: #2c5fa8;
}

@media (max-width: 991.98px) {
    .ly-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .ly-contact {
        gap: 10px;
        margin-bottom: 18px;
    }

    .ly-ct-item {
        padding: 11px 13px;
    }

    .ly-ct-val {
        font-size: 14px;
    }

    .ly-form-title {
        font-size: 19px;
    }
}
