﻿@charset "utf-8";

/* =========================================================
   Winsun Contact / Sourcing Desk
   New naming: ws-contact-*
========================================================= */

#contact .ws-contact-crumb *,
#contact .ws-contact-hero *,
#contact .ws-contact-services *,
#contact .ws-contact-request *,
#contact .ws-contact-map * {
    box-sizing: border-box;
}


/* Breadcrumb */

.ws-contact-crumb {
    border-bottom: 1px solid #e6edf1;
    background: #fff;
}

.ws-contact-crumb .container {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    color: #8a96a8;
    font-size: 13px;
    white-space: nowrap;
}

.ws-contact-crumb a {
    color: #55657a;
    text-decoration: none;
}

.ws-contact-crumb a:hover {
    color: #0000ff;
}

.ws-contact-crumb i {
    color: #00a9a0;
}


/* Shared headings */

.ws-contact-eyebrow {
    display: inline-flex;
    min-height: 30px;
    padding: 4px 13px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0000ff 0%, #28cbe8 100%);
    color: #fff;
    font-size: 13px;
    line-height: 22px;
    letter-spacing: 1px;
}

.ws-contact-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 450px;
    gap: 42px;
    align-items: end;
}

.ws-contact-section-head > div > span {
    display: block;
    margin-bottom: 5px;
    color: #00a9a0;
    font-size: 12px;
    line-height: 19px;
    letter-spacing: .9px;
}

.ws-contact-section-head h2 {
    margin: 0;
    color: #17233a;
    font-size: 28px;
    line-height: 37px;
}

.ws-contact-section-head > p {
    margin: 0;
    color: #6b788b;
    font-size: 14px;
    line-height: 23px;
}


/* Hero */

.ws-contact-hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0;
    background:
        radial-gradient(circle at 86% 14%, rgba(40,203,232,.24), transparent 27%),
        linear-gradient(135deg, #f3f7ff 0%, #eefbfb 55%, #fff 100%);
}

.ws-contact-hero::before {
    content: "";
    position: absolute;
    left: -120px;
    bottom: -155px;
    width: 340px;
    height: 340px;
    border: 48px solid rgba(0,0,255,.025);
    border-radius: 50%;
}

.ws-contact-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 62px;
    align-items: center;
}

.ws-contact-hero-copy {
    max-width: 850px;
}

.ws-contact-hero-copy h1 {
    margin: 14px 0 0;
    color: #111827;
    font-size: 38px;
    line-height: 48px;
}

.ws-contact-hero-copy > p {
    max-width: 780px;
    margin: 15px 0 0;
    color: #617086;
    font-size: 15px;
    line-height: 25px;
}

.ws-contact-hero-points {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.ws-contact-hero-points span {
    color: #4f6076;
    font-size: 14px;
    line-height: 21px;
}

.ws-contact-hero-points i {
    margin-right: 6px;
    color: #00a9a0;
}

.ws-contact-hero-card {
    position: relative;
    padding: 26px;
    overflow: hidden;
    border: 1px solid rgba(0,198,188,.22);
    border-radius: 18px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 18px 42px rgba(4,40,88,.09);
}

.ws-contact-hero-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #0000ff 0%, #28cbe8 55%, #00c6bc 100%);
}

.ws-contact-hero-card > span {
    display: block;
    color: #00a9a0;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: .9px;
}

.ws-contact-hero-card h2 {
    margin: 6px 0 0;
    color: #17233a;
    font-size: 23px;
    line-height: 31px;
}

.ws-contact-hero-card > p {
    margin: 9px 0 0;
    color: #748197;
    font-size: 14px;
    line-height: 22px;
}

.ws-contact-company-info {
    margin-top: 16px;
    padding-top: 15px;
    border-top: 1px solid #e4ecef;
    color: #536276;
    font-size: 13px;
    line-height: 22px;
}

.ws-contact-company-info p {
    margin: 0 0 6px;
}

.ws-contact-company-info p:last-child {
    margin-bottom: 0;
}

.ws-contact-company-info a {
    color: #0000ff;
    text-decoration: none;
}

.ws-contact-company-info a:hover {
    color: #00a9a0;
}

.ws-contact-hero-action {
    min-height: 41px;
    margin-top: 17px;
    padding: 0 14px;
    border-radius: 8px;
    background: linear-gradient(90deg, #0000ff 0%, #28cbe8 100%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
}

.ws-contact-hero-action:hover {
    background: linear-gradient(90deg, #042858 0%, #00c6bc 100%);
    color: #fff;
}


/* Services */

.ws-contact-services {
    padding: 46px 0 54px;
    background: #fff;
}

.ws-contact-service-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.ws-contact-service-card {
    position: relative;
    min-width: 0;
    min-height: 245px;
    padding: 22px 20px;
    border: 1px solid #dfe7ec;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.ws-contact-service-card:hover {
    border-color: #9bdfe6;
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(4,40,88,.07);
}

.ws-contact-service-card > strong {
    position: absolute;
    right: 17px;
    top: 15px;
    color: #dbe5eb;
    font-size: 30px;
    line-height: 36px;
}

.ws-contact-service-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: #eef9fb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00a9a0;
    font-size: 18px;
}

.ws-contact-service-card:nth-child(even) .ws-contact-service-icon {
    background: #f0f2ff;
    color: #0000ff;
}

.ws-contact-service-card h3 {
    margin: 18px 0 0;
    color: #17233a;
    font-size: 17px;
    line-height: 25px;
}

.ws-contact-service-card p {
    margin: 9px 0 0;
    color: #6d7a8d;
    font-size: 13px;
    line-height: 21px;
}


/* Contact request */

.ws-contact-request {
    padding: 0 0 56px;
    background: #fff;
}

.ws-contact-request-shell {
    overflow: hidden;
    border: 1px solid #dbe5eb;
    border-radius: 18px;
    background: #fff;
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    box-shadow: 0 16px 40px rgba(4,40,88,.07);
}

.ws-contact-request-intro {
    padding: 30px 28px;
    background:
        radial-gradient(circle at 90% 0%, rgba(40,203,232,.22), transparent 26%),
        linear-gradient(145deg, #042858 0%, #000087 100%);
}

.ws-contact-request-intro > span {
    display: block;
    color: #7ee5eb;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: .9px;
}

.ws-contact-request-intro h2 {
    margin: 6px 0 0;
    color: #fff;
    font-size: 24px;
    line-height: 33px;
}

.ws-contact-request-intro > p {
    margin: 11px 0 0;
    color: rgba(255,255,255,.75);
    font-size: 14px;
    line-height: 23px;
}

.ws-contact-request-guide {
    margin-top: 24px;
    display: grid;
    gap: 14px;
}

.ws-contact-request-guide > div {
    display: grid;
    grid-template-columns: 40px minmax(0,1fr);
    gap: 11px;
    align-items: start;
}

.ws-contact-request-guide i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,.11);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #55dfe4;
    font-size: 16px;
}

.ws-contact-request-guide span {
    color: rgba(255,255,255,.68);
    font-size: 12px;
    line-height: 19px;
}

.ws-contact-request-guide strong {
    margin-bottom: 2px;
    display: block;
    color: #fff;
    font-size: 13px;
    line-height: 20px;
}

.ws-contact-form {
    padding: 30px;
}

.ws-contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 17px 18px;
}

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

.ws-contact-field-wide,
.ws-contact-field-full {
    grid-column: 1 / -1;
}

.ws-contact-field label {
    margin-bottom: 7px;
    display: block;
    color: #34445b;
    font-size: 13px;
    line-height: 20px;
}

.ws-contact-field label em {
    color: #e5484d;
    font-style: normal;
}

.ws-contact-field input,
.ws-contact-field textarea {
    width: 100%;
    border: 1px solid #d9e3e8;
    border-radius: 9px;
    background: #fbfdfe;
    color: #17233a;
    font-size: 14px;
    outline: 0;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.ws-contact-field input {
    height: 46px;
    padding: 0 13px;
}

.ws-contact-field textarea {
    display: block;
    min-height: 98px;
    padding: 12px 13px;
    line-height: 21px;
    resize: vertical;
}

.ws-contact-field-full textarea {
    min-height: 135px;
}

.ws-contact-field input::placeholder,
.ws-contact-field textarea::placeholder {
    color: #9aa5b5;
}

.ws-contact-field input:focus,
.ws-contact-field textarea:focus {
    border-color: #00c6bc;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,198,188,.10);
}

.ws-contact-field.is-error input,
.ws-contact-field.is-error textarea {
    border-color: #e5484d;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(229,72,77,.09);
}

.ws-contact-field.is-success input,
.ws-contact-field.is-success textarea {
    border-color: #22a66a;
    background: #fff;
}

.ws-contact-field-error {
    display: none;
    margin-top: 6px;
    color: #e5484d;
    font-size: 12px;
    line-height: 18px;
}

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

.ws-contact-submit-row {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e7edf1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ws-contact-submit-row > p {
    margin: 0;
    color: #718095;
    font-size: 12px;
    line-height: 19px;
}

.ws-contact-submit-row > p i {
    margin-right: 5px;
    color: #00a9a0;
}

.ws-contact-submit-btn {
    min-width: 190px;
    height: 44px;
    padding: 0 17px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(90deg, #0000ff 0%, #28cbe8 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.ws-contact-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0,0,255,.14);
}

.ws-contact-submit-btn.is-loading {
    pointer-events: none;
    opacity: .76;
}

.ws-contact-submit-btn.is-loading span::before {
    content: "";
    width: 15px;
    height: 15px;
    margin-right: 8px;
    border: 2px solid rgba(255,255,255,.42);
    border-top-color: #fff;
    border-radius: 50%;
    display: inline-block;
    vertical-align: -3px;
    animation: wsContactSpin .7s linear infinite;
}

@keyframes wsContactSpin {
    to {
        transform: rotate(360deg);
    }
}


/* Map */

.ws-contact-map {
    padding: 0 0 60px;
    background: #fff;
}

.ws-contact-map-box {
    width: 100%;
    height: 430px;
    margin-top: 20px;
    overflow: hidden;
    border: 1px solid #dce6eb;
    border-radius: 16px;
    background: #eef4f6;
    box-shadow: 0 14px 34px rgba(4,40,88,.06);
}

.ws-contact-map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}


/* Modal */

.ws-contact-modal {
    position: fixed;
    z-index: 100050;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.ws-contact-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(15, 29, 52, .30);
    backdrop-filter: blur(2px);
}

.ws-contact-modal-box {
    position: relative;
    z-index: 2;
    width: 430px;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid #dce6eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(4,40,88,.16);
    animation: wsContactModalIn .22s ease both;
}

@keyframes wsContactModalIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.98);
    }

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

.ws-contact-modal-head {
    position: relative;
    min-height: 72px;
    padding: 17px 62px 17px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(90deg, #0000ff 0%, #28cbe8 100%);
    color: #fff;
}

.ws-contact-modal-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
}

.ws-contact-modal-title {
    margin: 0;
    color: #fff;
    font-size: 17px;
    line-height: 24px;
}

.ws-contact-modal-close {
    position: absolute;
    right: 17px;
    top: 50%;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: #0000ff;
    font-size: 19px;
    line-height: 34px;
    text-align: center;
    cursor: pointer;
    transform: translateY(-50%);
}

.ws-contact-modal-body {
    padding: 26px;
}

.ws-contact-modal-message {
    margin: 0;
    color: #536276;
    font-size: 14px;
    line-height: 23px;
}

.ws-contact-modal-actions {
    margin-top: 22px;
    text-align: right;
}

.ws-contact-modal-ok {
    min-width: 104px;
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: #042858;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

.ws-contact-modal.is-error .ws-contact-modal-head {
    background: linear-gradient(90deg, #e5484d 0%, #f07a76 100%);
}

.ws-contact-modal.is-error .ws-contact-modal-close {
    color: #e5484d;
}

.ws-contact-modal.is-error .ws-contact-modal-ok {
    background: #e5484d;
}

.ws-contact-modal.is-success .ws-contact-modal-head {
    background: linear-gradient(90deg, #15945f 0%, #36c88b 100%);
}

.ws-contact-modal.is-success .ws-contact-modal-close {
    color: #15945f;
}

.ws-contact-modal.is-success .ws-contact-modal-ok {
    background: #15945f;
}


/* Responsive */

@media screen and (max-width: 1180px) {
    .ws-contact-service-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media screen and (max-width: 1024px) {
    .ws-contact-hero-grid {
        grid-template-columns: minmax(0,1fr) 330px;
        gap: 34px;
    }

    .ws-contact-section-head {
        grid-template-columns: minmax(0,1fr) 360px;
        gap: 28px;
    }

    .ws-contact-request-shell {
        grid-template-columns: 290px minmax(0,1fr);
    }
}

@media screen and (max-width: 767px) {
    .ws-contact-hero {
        padding: 34px 0 38px;
    }

    .ws-contact-hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ws-contact-hero-copy h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .ws-contact-hero-copy > p {
        font-size: 14px;
        line-height: 22px;
    }

    .ws-contact-hero-points {
        display: grid;
        gap: 6px;
    }

    .ws-contact-hero-card {
        padding: 20px;
        border-radius: 14px;
    }

    .ws-contact-services {
        padding: 32px 0 40px;
    }

    .ws-contact-section-head {
        display: block;
    }

    .ws-contact-section-head h2 {
        font-size: 23px;
        line-height: 31px;
    }

    .ws-contact-section-head > p {
        margin-top: 7px;
    }

    .ws-contact-service-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .ws-contact-service-card {
        min-height: 0;
        padding: 18px;
    }

    .ws-contact-request {
        padding-bottom: 42px;
    }

    .ws-contact-request-shell {
        grid-template-columns: 1fr;
        border-radius: 14px;
    }

    .ws-contact-request-intro {
        padding: 24px 20px;
    }

    .ws-contact-form {
        padding: 22px 18px;
    }

    .ws-contact-form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ws-contact-field-wide,
    .ws-contact-field-full {
        grid-column: auto;
    }

    .ws-contact-submit-row {
        display: block;
    }

    .ws-contact-submit-btn {
        width: 100%;
        margin-top: 14px;
    }

    .ws-contact-map {
        padding-bottom: 44px;
    }

    .ws-contact-map-box {
        height: 320px;
        border-radius: 12px;
    }

    .ws-contact-modal {
        padding: 14px;
    }

    .ws-contact-modal-body {
        padding: 22px 20px;
    }
}
