/* Reference-style footer: contact band + copyright bar */
#footer.corp-footer,
.corp-footer {
    padding: 0;
    margin: 0;
    margin-top: auto;
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    background: transparent;
    color: #fff;
}

.corp-footer-hero {
    position: relative;
    width: 100%;
    min-height: 448px;
    background-color: #333570;
    background-image: linear-gradient(135deg, #3a3c6e 0%, #333570 45%, #2a2b4a 100%);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
}

.corp-footer-hero.corp-footer-hero-has-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(42, 43, 74, 0.72);
    z-index: 0;
}

.corp-footer-hero.corp-footer-hero-has-bg {
    background-color: #333570;
}

.corp-footer-hero-inner {
    position: relative;
    z-index: 1;
    padding: 55px 0 45px;
}

.corp-footer-main {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px 40px;
}

.corp-footer-qr {
    flex: 0 0 150px;
    text-align: center;
}

.corp-footer-qr img {
    width: 148px;
    height: 148px;
    object-fit: contain;
    background: #fff;
    display: block;
    margin: 0 auto 12px;
}

.corp-footer-qr-placeholder {
    width: 148px;
    height: 148px;
    margin: 0 auto 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px dashed rgba(255, 255, 255, 0.35);
}

.corp-footer-qr p {
    margin: 0;
    font-size: 14px;
    color: #c5c9d6;
    line-height: 1.5;
}

.corp-footer-info {
    flex: 1 1 320px;
    min-width: 0;
    padding-top: 8px;
}

.corp-footer-info h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: normal;
    color: #fff;
    line-height: 1.4;
}

.corp-footer-name-en {
    margin: 0 0 18px;
    font-size: 14px;
    color: #9ca3c8;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.corp-footer-contact {
    font-size: 14px;
    line-height: 2.2;
    color: #fff;
}

.corp-footer-contact p {
    margin: 0;
}

.corp-footer-form {
    flex: 0 1 346px;
    min-width: 280px;
    max-width: 100%;
}

.corp-footer-form-title {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: normal;
    color: #fff;
    line-height: 1.4;
}

.corp-footer-form-title span {
    color: #ccc;
    font-size: 16px;
}

.corp-mesform {
    position: relative;
    overflow: visible;
}

.corp-mesform .mfields {
    list-style: none;
    margin: 0;
    padding: 0;
}

.corp-mesform .mfields > li {
    margin-bottom: 10px;
    overflow: visible;
}

.corp-mesform .mfields .title {
    float: left;
    width: 72px;
    font-size: 14px;
    line-height: 32px;
    color: #fff;
    white-space: nowrap;
}

.corp-req {
    color: #ff8a8a;
    margin-left: 2px;
    font-weight: bold;
}

.corp-mesform .inpbox {
    position: relative;
    overflow: visible;
}

.corp-field-invalid {
    border-color: #e74c3c !important;
    background: #fff8f8 !important;
}

.corp-field-tip {
    position: absolute;
    left: 0;
    bottom: calc(100% + 6px);
    z-index: 30;
    display: block;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.4;
    color: #fff;
    background: rgba(231, 76, 60, 0.96);
    border-radius: 3px;
    white-space: nowrap;
    max-width: 280px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.corp-field-tip.corp-field-tip-hide {
    opacity: 0;
}

.corp-field-tip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 14px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(231, 76, 60, 0.96);
}

.corp-mesform .mfields .inpbox {
    margin-left: 78px;
}

.corp-mesform .inptext,
.corp-mesform .txtarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.92);
    color: #333;
    font-size: 13px;
    padding: 6px 10px;
    outline: none;
    font-family: "Microsoft YaHei", sans-serif;
}

.corp-mesform .inptext {
    height: 32px;
    line-height: 20px;
}

.corp-mesform .txtarea {
    height: 64px;
    resize: vertical;
    min-height: 64px;
}

.corp-mesform .inptext:focus,
.corp-mesform .txtarea:focus {
    border-color: #fff;
}

.corp-mesform-captcha {
    margin-top: 8px;
    overflow: visible;
}

.corp-mesform-captcha .title {
    float: left;
    width: 72px;
    font-size: 14px;
    line-height: 32px;
    color: #fff;
}

.corp-mesform-captcha .inpbox {
    margin-left: 78px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.corp-mesform-captcha .inptext {
    width: 100px;
    flex: 0 0 100px;
}

.corp-mesform-captcha .inpbox > .corp-captcha-box {
    flex: 0 0 110px;
}

.corp-mesform .btnsubmit {
    display: inline-block;
    padding: 0 28px;
    height: 34px;
    line-height: 34px;
    font-size: 14px;
    color: #fff;
    background: #333;
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.corp-submit-wrap {
    position: relative;
    display: inline-block;
    margin-top: 12px;
    margin-left: 78px;
    vertical-align: top;
}

.corp-submit-tip {
    position: absolute;
    right: 0;
    left: auto;
    bottom: calc(100% + 8px);
    z-index: 40;
    display: block;
    padding: 6px 12px;
    font-size: 12px;
    line-height: 1.4;
    color: #fff;
    border-radius: 3px;
    white-space: nowrap;
    max-width: 260px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
    overflow: visible;
}

.corp-submit-tip.is-success {
    background: rgba(46, 125, 50, 0.96);
}

.corp-submit-tip.is-error {
    background: rgba(231, 76, 60, 0.96);
}

.corp-submit-tip.is-success::after,
.corp-submit-tip.is-error::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 14px;
    left: auto;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.corp-submit-tip.is-success::after {
    border-top: 5px solid rgba(46, 125, 50, 0.96);
}

.corp-submit-tip.is-error::after {
    border-top: 5px solid rgba(231, 76, 60, 0.96);
}

.corp-mesform .btnsubmit:hover {
    background: #111;
    color: #fff;
}

.corp-footer-bar {
    width: 100%;
    background: #252525;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.corp-footer-bar .container {
    width: 100%;
}

.corp-footer-bottom {
    border-top: none;
    margin: 0;
    padding: 18px 0;
    text-align: center;
    font-size: 14px;
    color: #939393;
}

.corp-footer-bottom p {
    margin: 0;
}

.corp-footer-bottom a {
    color: #939393;
}

.corp-footer-bottom a:hover {
    color: #fff;
}

@media (max-width: 991px) {
    .corp-footer-main {
        flex-direction: column;
        align-items: center;
    }

    .corp-footer-qr {
        flex: none;
        width: 100%;
        max-width: 148px;
    }

    .corp-footer-info {
        flex: none;
        width: 100%;
        max-width: 520px;
        padding-top: 0;
        text-align: center;
    }

    .corp-footer-form {
        width: 100%;
        flex: none;
    }
}

@media (max-width: 767px) {
    .corp-footer-hero {
        min-height: auto;
    }

    .corp-footer-hero-inner {
        padding: 40px 15px 35px;
    }

    .corp-footer-form {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .corp-mesform .mfields > li {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin-bottom: 12px;
        overflow: hidden;
    }

    .corp-mesform .mfields .title,
    .corp-mesform-captcha .title {
        float: none;
        width: 100%;
        line-height: 1.6;
        margin-bottom: 0;
    }

    .corp-mesform .mfields .inpbox,
    .corp-mesform-captcha .inpbox,
    .corp-submit-wrap {
        margin-left: 0;
        width: 100%;
    }

    .corp-mesform-captcha {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .corp-mesform-captcha .inpbox {
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .corp-mesform-captcha .inptext {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    .corp-mesform-captcha .inpbox > .corp-captcha-box {
        flex: 0 0 140px;
        width: 140px;
        height: 44px;
        align-self: auto;
        margin-left: auto;
    }

    .corp-mesform-captcha .corp-captcha-box .verify_img,
    .corp-mesform-captcha .corp-captcha-box .captcha-img {
        width: 140px !important;
        height: 44px !important;
    }

    .corp-submit-wrap {
        display: block;
    }

    .corp-mesform .btnsubmit {
        width: 100%;
        max-width: 220px;
    }
}
