/* =========================================================
   Contact Us Hero
   The component is independent of the shared inner banner.
   ========================================================= */

#contact .csy-contact-hero,
#contact .csy-contact-hero * {
    box-sizing: border-box;
}

#contact .csy-contact-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(112deg, #14264e 0%, #1e2e61 46%, #194c9e 75%, #0860ce 100%);
}

#contact .csy-contact-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(circle at 83% 38%, rgba(116, 178, 255, 0.20), transparent 33%);
    pointer-events: none;
}

#contact .csy-contact-hero-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: 54px;
    min-height: 384px;
}

#contact .csy-contact-hero-copy {
    min-width: 0;
    padding: 34px 0 40px;
}

#contact .csy-contact-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 23px;
    color: #d5e5ff;
    font-size: 13px;
    line-height: 1.5;
}

#contact .csy-contact-hero-breadcrumb a {
    color: #d5e5ff;
    text-decoration: none;
}

#contact .csy-contact-hero-breadcrumb a:hover {
    color: #ffffff;
}

#contact .csy-contact-hero-breadcrumb i {
    color: #90b9f4;
    font-size: 12px;
}

#contact .csy-contact-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
    color: #8dc6ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

#contact .csy-contact-hero-eyebrow i {
    font-size: 16px;
}

#contact .csy-contact-hero-copy h1 {
    max-width: 620px;
    margin: 0;
    color: #ffffff;
    font-size: 39px;
    font-weight: 750;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

#contact .csy-contact-hero-copy h1 span {
    display: block;
    color: #99caff;
}

#contact .csy-contact-hero-copy > p {
    max-width: 575px;
    margin: 15px 0 0;
    color: #d7e5fb;
    font-size: 14px;
    line-height: 1.75;
}

#contact .csy-contact-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px 22px;
    margin-top: 23px;
}

#contact .csy-contact-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 19px;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid #ffffff;
    border-radius: 6px;
    background: #ffffff;
    color: #085bc3;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

#contact .csy-contact-hero-cta:hover {
    background: #e6f2ff;
    color: #085bc3;
    transform: translateY(-2px);
}

#contact .csy-contact-hero-email {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #e4efff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

#contact .csy-contact-hero-email:hover {
    color: #ffffff;
}

#contact .csy-contact-hero-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 11px 21px;
    margin-top: 23px;
}

#contact .csy-contact-hero-topics span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #c3dbfc;
    font-size: 12px;
}

#contact .csy-contact-hero-topics i {
    color: #80c5ff;
    font-size: 13px;
}

/* Customer service photo */

#contact .csy-contact-hero-visual {
    position: relative;
    width: 100%;
    max-width: 545px;
    min-width: 0;
    margin-left: auto;
    aspect-ratio: 1.65 / 1;
    height: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(182, 216, 255, 0.30);
    border-radius: 18px;
    background: #102d66;
    box-shadow: 0 20px 48px rgba(4, 19, 49, 0.27);
}

#contact .csy-contact-hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #102d66;
    box-shadow: none;
}

#contact .csy-contact-hero-photo::after {
    content: "";
    position: absolute;
    inset: 55% 0 0;
    background: linear-gradient(0deg, rgba(4, 20, 52, 0.52), transparent);
    pointer-events: none;
}

#contact .csy-contact-hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 29%;
}

#contact .csy-contact-hero-help {
    position: absolute;
    z-index: 2;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: calc(100% - 32px);
    min-width: 0;
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 8px;
    background: rgba(13, 39, 86, 0.80);
    box-shadow: none;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

#contact .csy-contact-hero-help-icon {
    display: inline-flex;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    color: #9dccff;
    font-size: 15px;
}

#contact .csy-contact-hero-help-copy {
    display: block;
    min-width: 0;
}

#contact .csy-contact-hero-help-copy strong {
    display: block;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

#contact .csy-contact-hero-help-copy small {
    display: none;
}

@media (max-width: 991px) {
    #contact .csy-contact-hero-layout {
        grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
        gap: 22px;
    }

    #contact .csy-contact-hero-copy h1 {
        font-size: 33px;
    }

    #contact .csy-contact-hero-visual {
    max-width: 100%;
    height: auto;
    padding: 0;
}

    #contact .csy-contact-hero-help {
    right: 16px;
    bottom: 16px;
}
}

@media (max-width: 768px) {
    #contact .csy-contact-hero-layout {
        display: block;
        min-height: auto;
    }

    #contact .csy-contact-hero-copy {
        padding: 27px 0 33px;
    }

    #contact .csy-contact-hero-breadcrumb {
        margin-bottom: 18px;
    }

    #contact .csy-contact-hero-copy h1 {
        font-size: 30px;
        line-height: 1.25;
    }

    #contact .csy-contact-hero-copy > p {
        font-size: 13px;
        line-height: 1.7;
    }

    #contact .csy-contact-hero-actions {
        gap: 15px;
        margin-top: 19px;
    }

    #contact .csy-contact-hero-topics {
        margin-top: 18px;
        gap: 9px 15px;
    }

    #contact .csy-contact-hero-visual {
        display: none;
    }
}

/* Contact Us page sections and form */
.csy-contact-channels *, .csy-contact-workspace *, .csy-contact-location *, .csy-contact-modal * {
    box-sizing: border-box;
}

.csy-contact-channels,.csy-contact-workspace,.csy-contact-location {
    padding: 30px 0;
}

.csy-contact-heading-line {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 19px;
}

.csy-contact-kicker {
    display: block;
    margin-bottom: 10px;
    color: #0663de;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 1.8px;
}

.csy-contact-heading-line h2,.csy-contact-location-detail h2 {
    margin: 0;
    color: #1e2e61;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 750;
}

.csy-contact-heading-line>p {
    max-width: 475px;
    margin: 0;
    color: #64758a;
    font-size: 14px;
    line-height: 1.8;
}

.csy-contact-channel-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 16px;
}

.csy-contact-channel {
    position: relative;
    min-width: 0;
    min-height: 185px;
    padding: 24px 23px 22px;
    border: 1px solid #e3ebf7;
    border-radius: 13px;
    background: #fff;
    transition: transform .25s,border-color .25s,box-shadow .25s;
}

.csy-contact-channel:hover {
    border-color: #9bbff6;
    box-shadow: 0 12px 28px rgba(23,75,155,.07);
    transform: translateY(-4px);
}

.csy-contact-channel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 17px;
    border-radius: 11px;
    background: #eaf2ff;
    color: #0663de;
    font-size: 21px;
}

.csy-contact-channel-label {
    display: block;
    color: #8a99ab;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.25px;
}

.csy-contact-channel h3 {
    margin: 5px 0 9px;
    color: #1e2e61;
    font-size: 18px;
    line-height: 1.3;
}

.csy-contact-channel p,.csy-contact-channel a {
    display: block;
    margin: 0;
    color: #566984;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.csy-contact-channel a:hover {
    color: #0663de;
}

.csy-contact-workspace-grid {
    display: grid;
    grid-template-columns: minmax(0,.91fr) minmax(0,1.09fr);
    gap: 22px;
    align-items: stretch;
}

.csy-contact-workspace-aside {
    min-width: 0;
    padding: 35px 37px;
    border-radius: 15px;
    background: #1e2e61;
    color: #fff;
}

.csy-contact-workspace-aside .csy-contact-kicker {
    color: #8dbdff;
}

.csy-contact-workspace-aside h2 {
    margin: 0;
    color: #fff;
    font-size: 34px;
    line-height: 1.22;
    font-weight: 750;
}

.csy-contact-workspace-aside h2 span {
    color: #9dcbff;
}

.csy-contact-workspace-lead {
    margin: 16px 0 27px;
    color: #d8e3f5;
    font-size: 14px;
    line-height: 1.85;
}

.csy-contact-service-list {
    border-top: 1px solid rgba(255,255,255,.15);
}

.csy-contact-service-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 19px 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.csy-contact-service-num {
    align-self: flex-start;
    padding-top: 3px;
    color: #83b8ff;
    font-size: 12px;
    font-weight: 750;
}

.csy-contact-service-item>div {
    flex: 1;
    min-width: 0;
}

.csy-contact-service-item h3 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.csy-contact-service-item p {
    margin: 0;
    color: #bbcae4;
    font-size: 12px;
    line-height: 1.6;
}

.csy-contact-service-item>i {
    color: #74acff;
    transition: transform .2s;
}

.csy-contact-service-item:hover>i {
    transform: translateX(4px);
}

.csy-contact-bom-link {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 24px;
    padding: 18px 17px;
    border-radius: 9px;
    background: #0663de;
    color: #fff;
    transition: background .2s,transform .2s;
}

.csy-contact-bom-link:hover {
    color: #fff;
    background: #1675f4;
    transform: translateY(-2px);
}

.csy-contact-bom-link>i:first-child {
    font-size: 24px;
}

.csy-contact-bom-link span {
    display: block;
    flex: 1;
}

.csy-contact-bom-link strong {
    display: block;
    font-size: 14px;
    color: #fff;
}

.csy-contact-bom-link small {
    display: block;
    margin-top: 4px;
    color: #d8e8ff;
    font-size: 12px;
}

.csy-contact-form-panel {
    min-width: 0;
    padding: 35px 38px;
    border: 1px solid #e0e9f6;
    border-radius: 15px;
    background: #fff;
}

.csy-contact-form-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0663de;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 1.4px;
}

.csy-contact-form-head h2 {
    margin: 12px 0 9px;
    color: #1e2e61;
    font-size: 29px;
    font-weight: 750;
}

.csy-contact-form-head p {
    margin: 0 0 28px;
    color: #687a91;
    font-size: 14px;
    line-height: 1.7;
}

.csy-contact-fields {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 20px;
}

.csy-contact-field {
    min-width: 0;
}

.csy-contact-field-full {
    grid-column: 1/-1;
}

.csy-contact-field label {
    display: block;
    margin-bottom: 9px;
    color: #263955;
    font-size: 13px;
    font-weight: 650;
}

.csy-contact-field em {
    color: #d34855;
    font-style: normal;
}

.csy-contact-field input,.csy-contact-field textarea {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dce6f3;
    border-radius: 7px;
    background: #fbfcff;
    color: #1e2e61;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    transition: border-color .2s,box-shadow .2s;
}

.csy-contact-field input {
    height: 49px;
}

.csy-contact-field textarea {
    min-height: 144px;
    resize: vertical;
}

.csy-contact-field input:focus,.csy-contact-field textarea:focus {
    border-color: #0663de;
    box-shadow: 0 0 0 3px rgba(6,99,222,.10);
}

.csy-contact-field input::placeholder,.csy-contact-field textarea::placeholder {
    color: #a0acbc;
}

.csy-contact-field.is-error input,.csy-contact-field.is-error textarea {
    border-color: #d64d5d;
}

.csy-contact-error {
    display: none;
    margin-top: 6px;
    color: #c83748;
    font-size: 12px;
}

.csy-contact-field.is-error .csy-contact-error {
    display: block;
}

.csy-contact-form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    margin-top: 24px;
}

.csy-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 21px;
    min-width: 188px;
    min-height: 49px;
    padding: 0 20px;
    border: 0;
    border-radius: 7px;
    background: #0663de;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s,background .2s;
}

.csy-contact-submit:hover {
    background: #044fb5;
    transform: translateY(-2px);
}

.csy-contact-submit:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}

.csy-contact-form-bottom p {
    margin: 0;
    color: #8390a3;
    font-size: 12px;
}

.csy-contact-form-bottom p i {
    margin-right: 5px;
    color: #8ea3c0;
}

.csy-contact-location-layout {
    display: grid;
    grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
    overflow: hidden;
    min-height: 310px;
    border: 1px solid #e1eaf6;
    border-radius: 15px;
    background: #fff;
}

.csy-contact-location-detail {
    padding: 34px 37px;
}

.csy-contact-location-detail h2 {
    font-size: 28px;
}

.csy-contact-location-detail>p {
    margin: 14px 0 22px;
    color: #68798f;
    font-size: 14px;
    line-height: 1.75;
}

.csy-contact-location-address {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 15px 0;
    border-top: 1px solid #e6ecf5;
    color: #475e7e;
    font-size: 14px;
    line-height: 1.7;
}

.csy-contact-location-address i {
    margin-top: 4px;
    color: #0663de;
    font-size: 19px;
}

.csy-contact-location-directions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    color: #0663de;
    font-size: 13px;
    font-weight: 700;
}

.csy-contact-location-directions:hover {
    color: #044fb5;
}

.csy-contact-location-map {
    min-height: 310px;
    background: #e8f0fc;
}

.csy-contact-location-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 310px;
    border: 0;
}

.csy-contact-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.csy-contact-modal.is-open {
    display: flex;
}

.csy-contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15,28,56,.58);
}

.csy-contact-modal-dialog {
    position: relative;
    max-width: 410px;
    width: 100%;
    padding: 34px 28px 29px;
    border-radius: 15px;
    background: #fff;
    text-align: center;
    box-shadow: 0 25px 70px rgba(18,37,68,.24);
    outline: none;
    animation: csyContactModalIn .22s ease;
}

.csy-contact-modal-close {
    position: absolute;
    top: 14px;
    right: 17px;
    padding: 4px;
    border: 0;
    background: none;
    color: #8392a5;
    font-size: 18px;
    cursor: pointer;
}

.csy-contact-modal-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 19px;
    border-radius: 50%;
    background: #e9f8f2;
    color: #179b64;
    font-size: 27px;
}

.csy-contact-modal.is-error .csy-contact-modal-symbol {
    background: #fff0f2;
    color: #dc4e61;
}

.csy-contact-modal-dialog h2 {
    margin: 0 0 10px;
    color: #1e2e61;
    font-size: 23px;
}

.csy-contact-modal-dialog p {
    margin: 0;
    color: #68798f;
    font-size: 14px;
    line-height: 1.75;
}

.csy-contact-modal-confirm {
    min-width: 122px;
    margin-top: 22px;
    padding: 11px 22px;
    border: 0;
    border-radius: 7px;
    background: #0663de;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

@keyframes csyContactModalIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}

@media(max-width:1199px) {
    .csy-contact-channel-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .csy-contact-workspace-grid {
        grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    }

    .csy-contact-workspace-aside,.csy-contact-form-panel {
        padding: 29px 26px;
    }

}

@media(max-width:991px) {
    .csy-contact-workspace-grid,.csy-contact-location-layout {
        grid-template-columns: minmax(0,1fr);
    }

    .csy-contact-location-map {
        min-height: 300px;
    }

    .csy-contact-location-map iframe {
        height: 300px;
        min-height: 300px;
    }

}

@media(max-width:768px) {
    .csy-contact-heading-line {
        display: block;
    }

    .csy-contact-heading-line>p {
        margin-top: 9px;
    }

    .csy-contact-heading-line h2 {
        font-size: 25px;
    }

    .csy-contact-channel-grid {
        gap: 10px;
    }

    .csy-contact-channel {
        min-height: 173px;
        padding: 19px 15px;
    }

    .csy-contact-channel h3 {
        font-size: 16px;
    }

    .csy-contact-channel p,.csy-contact-channel a {
        font-size: 12px;
    }

    .csy-contact-workspace-grid {
        gap: 14px;
    }

    .csy-contact-workspace-aside,.csy-contact-form-panel {
        padding: 25px 19px;
    }

    .csy-contact-workspace-aside h2 {
        font-size: 28px;
    }

    .csy-contact-fields {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .csy-contact-field-full {
        grid-column: auto;
    }

    .csy-contact-form-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .csy-contact-submit {
        width: 100%;
    }

    .csy-contact-location-detail {
        padding: 25px 19px;
    }

    .csy-contact-location-detail h2 {
        font-size: 24px;
    }

    .csy-contact-location-map,.csy-contact-location-map iframe {
        min-height: 250px;
        height: 250px;
    }

}

@media(prefers-reduced-motion:reduce) {
    .csy-contact-channel,.csy-contact-submit,.csy-contact-bom-link,.csy-contact-modal-dialog {
        transition: none;
        animation: none;
    }

}
