/* =========================================================
   VẠN THÀNH HƯNG STORAGE
   CONTACT PAGE - FINAL
   ========================================================= */

.vth-contact {
    --vth-blue: #1f4b78;
    --vth-blue-dark: #153a60;
    --vth-orange: #ee8022;
    --vth-orange-dark: #d96d11;
    --vth-text: #263442;
    --vth-muted: #687787;
    --vth-border: #dfe7ee;
    --vth-light: #f6f9fc;

    width: 100%;
    color: var(--vth-text);
}


/* =========================================================
   PAGE HEADING
   ========================================================= */

.vth-contact-heading {
    max-width: 780px;
    margin: 0 auto 38px;
    text-align: center;
}

.vth-contact-kicker {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--vth-orange);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.vth-contact-heading h1 {
    margin: 0 0 12px;
    color: var(--vth-blue);
    font-size: 34px;
    line-height: 1.25;
    font-weight: 700;
}

.vth-contact-heading p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--vth-muted);
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   MAIN GRID
   ========================================================= */

.vth-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: stretch;
}


/* =========================================================
   COMPANY INFORMATION
   ========================================================= */

.vth-contact-info {
    position: relative;
    overflow: hidden;
    padding: 32px;
    border-radius: 14px;

    background: linear-gradient(
        145deg,
        var(--vth-blue) 0%,
        var(--vth-blue-dark) 100%
    );

    color: #fff;

    box-shadow:
        0 12px 35px rgba(20, 58, 96, .16);
}

.vth-contact-info::after {
    content: "";
    position: absolute;

    right: -85px;
    bottom: -85px;

    width: 220px;
    height: 220px;

    border: 42px solid rgba(255,255,255,.04);
    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   COMPANY HEADER
   ========================================================= */

.vth-contact-info-head {
    position: relative;
    z-index: 2;

    padding-bottom: 20px;
    margin-bottom: 3px;

    border-bottom:
        1px solid rgba(255,255,255,.14);
}

.vth-contact-info-head > span {
    display: block;
    margin-bottom: 6px;

    color: #ffad66;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.1px;
}

.vth-contact-info-head h2 {
    margin: 0 0 9px;

    color: #fff;

    font-size: 25px;
    line-height: 1.3;
    font-weight: 700;
}

.vth-contact-info-head p {
    margin: 0;

    color: rgba(255,255,255,.76);

    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   CONTACT ITEMS
   ========================================================= */

.vth-contact-list {
    position: relative;
    z-index: 2;
}

.vth-contact-item {
    display: flex;
    gap: 14px;

    align-items: flex-start;

    padding: 17px 0;

    border-bottom:
        1px solid rgba(255,255,255,.11);
}

.vth-contact-icon {
    display: flex;

    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: rgba(255,255,255,.10);

    color: #ff9a43;

    font-size: 19px;
    font-weight: 700;
}

.vth-contact-item-content {
    min-width: 0;
}

.vth-contact-label {
    display: block;

    margin-bottom: 3px;

    color: rgba(255,255,255,.60);

    font-size: 11px;
    font-weight: 600;

    letter-spacing: .7px;
    text-transform: uppercase;
}

.vth-contact-item strong,
.vth-contact-item a {
    display: block;

    margin: 0;

    color: #fff;

    font-size: 15px;
    line-height: 1.55;
    font-weight: 600;

    text-decoration: none;
}

.vth-contact-item a:hover {
    color: #ffad66;
}

.vth-contact-item small {
    display: block;

    margin-top: 2px;

    color: rgba(255,255,255,.62);

    font-size: 12px;
}


/* =========================================================
   CONTACT BUTTONS
   ========================================================= */

.vth-contact-actions {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-top: 24px;
}

.vth-contact-btn {
    display: flex;

    min-height: 46px;

    padding: 10px 14px;

    align-items: center;
    justify-content: center;

    border-radius: 8px;

    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;

    text-align: center;
    text-decoration: none !important;

    transition: all .2s ease;
}

.vth-btn-call {
    background: var(--vth-orange);
    color: #fff !important;
}

.vth-btn-call:hover {
    background: var(--vth-orange-dark);
    color: #fff !important;
    transform: translateY(-2px);
}

.vth-btn-map {
    border:
        1px solid rgba(255,255,255,.28);

    background:
        rgba(255,255,255,.07);

    color: #fff !important;
}

.vth-btn-map:hover {
    background: #fff;
    color: var(--vth-blue) !important;
}


/* =========================================================
   FORM CARD
   ========================================================= */

.vth-contact-form {
    padding: 32px;

    border: 1px solid var(--vth-border);
    border-radius: 14px;

    background: #fff;

    box-shadow:
        0 12px 35px rgba(31,75,120,.08);
}

.vth-form-head {
    margin-bottom: 23px;
}

.vth-form-head > span {
    display: block;

    margin-bottom: 5px;

    color: var(--vth-orange);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.vth-form-head h2 {
    margin: 0 0 7px;

    color: var(--vth-blue);

    font-size: 26px;
    line-height: 1.3;
}

.vth-form-head p {
    margin: 0;

    color: var(--vth-muted);

    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   CONTACT FORM GRID
   ========================================================= */

.vth-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 16px;
}

.vth-form-field {
    min-width: 0;
}

.vth-form-full {
    grid-column: 1 / -1;
}

.vth-form-field label {
    display: block;

    margin-bottom: 6px;

    color: #344454;

    font-size: 13px;
    font-weight: 600;
}

.vth-form-field label b,
.vth-antispam-title b {
    color: var(--vth-orange);
}


/* =========================================================
   CF7
   ========================================================= */

.vth-cf7-wrap .wpcf7 p {
    margin: 0;
}

.vth-cf7-wrap .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}


/* =========================================================
   INPUTS
   ========================================================= */

.vth-cf7-wrap input[type="text"],
.vth-cf7-wrap input[type="email"],
.vth-cf7-wrap input[type="tel"],
.vth-cf7-wrap input[type="url"],
.vth-cf7-wrap input[type="number"],
.vth-cf7-wrap select,
.vth-cf7-wrap textarea {

    width: 100%;

    min-height: 47px;

    margin: 0;

    padding: 10px 13px;

    border: 1px solid #d9e2e9;
    border-radius: 7px;

    background: #f9fbfc;

    color: var(--vth-text);

    font-size: 14px;

    box-shadow: none;
    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.vth-cf7-wrap textarea {
    min-height: 115px;
    max-height: 230px;

    padding-top: 11px;

    resize: vertical;
}

.vth-cf7-wrap input:focus,
.vth-cf7-wrap select:focus,
.vth-cf7-wrap textarea:focus {

    border-color:
        var(--vth-blue);

    background: #fff;

    box-shadow:
        0 0 0 3px rgba(31,75,120,.08);
}

.vth-cf7-wrap input::placeholder,
.vth-cf7-wrap textarea::placeholder {

    color: #9aa6b2;
    opacity: 1;
}


/* =========================================================
   ANTISPAM
   ========================================================= */

.vth-antispam {

    padding: 16px 18px;

    border:
        1px solid #dce6ee;

    border-left:
        4px solid var(--vth-blue);

    border-radius: 8px;

    background: #f5f8fb;
}

.vth-antispam-title {

    margin-bottom: 5px;

    color: var(--vth-blue);

    font-size: 14px;
    font-weight: 700;
}

.vth-antispam-description {

    margin-bottom: 11px;

    color: #647484;

    font-size: 12px;
    line-height: 1.5;
}


/* Quiz container */

.vth-antispam-input {

    width: 100%;
}

.vth-antispam-input .wpcf7-form-control-wrap {

    display: block;
    width: 100%;
}


/* CF7 question */

.vth-antispam .wpcf7-quiz-label {

    display: block;

    margin-bottom: 7px;

    color: #263442;

    font-size: 15px;
    font-weight: 700;
}


/* Quiz answer */

.vth-antispam input.wpcf7-quiz {

    width: 100% !important;

    height: 44px !important;
    min-height: 44px !important;

    margin: 0 !important;

    padding: 8px 12px !important;

    border:
        1px solid #cad7e2 !important;

    border-radius:
        7px !important;

    background:
        #fff !important;

    color:
        #263442 !important;

    font-size: 15px !important;
    font-weight: 600;

    box-shadow:
        none !important;

    outline: none !important;
}

.vth-antispam input.wpcf7-quiz:focus {

    border-color:
        var(--vth-blue) !important;

    box-shadow:
        0 0 0 3px rgba(31,75,120,.08) !important;
}

.vth-antispam small {

    display: block;

    margin-top: 8px;

    color: #7a8794;

    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   SUBMIT
   ========================================================= */

.vth-submit {
    margin-top: 1px;
}

.vth-cf7-wrap input[type="submit"],
.vth-cf7-wrap .wpcf7-submit {

    width: 100%;

    min-height: 50px;

    margin: 0;

    padding: 12px 20px;

    border: 0;
    border-radius: 8px;

    background:
        var(--vth-orange);

    color: #fff;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: .4px;

    text-transform: uppercase;

    cursor: pointer;

    box-shadow: none;

    transition: all .2s ease;
}

.vth-cf7-wrap input[type="submit"]:hover,
.vth-cf7-wrap .wpcf7-submit:hover {

    background:
        var(--vth-orange-dark);

    color: #fff;

    box-shadow:
        0 7px 18px rgba(238,128,34,.22);

    transform: translateY(-1px);
}


/* =========================================================
   VALIDATION
   ========================================================= */

.vth-cf7-wrap .wpcf7-not-valid {

    border-color:
        #dc3545 !important;
}

.vth-cf7-wrap .wpcf7-not-valid-tip {

    display: block;

    margin-top: 5px;

    color: #dc3545;

    font-size: 11px;
}

.vth-cf7-wrap .wpcf7-response-output {

    margin:
        16px 0 0 !important;

    padding:
        11px 14px !important;

    border-radius: 7px;

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   MAP SECTION
   ========================================================= */

.vth-contact-map-section {
    margin-top: 42px;
}

.vth-map-heading {

    display: flex;

    gap: 20px;

    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 15px;
}

.vth-map-heading span {

    display: block;

    margin-bottom: 4px;

    color:
        var(--vth-orange);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.2px;
}

.vth-map-heading h2 {

    margin: 0;

    color:
        var(--vth-blue);

    font-size: 24px;
    line-height: 1.35;
}

.vth-map-heading > a {

    flex-shrink: 0;

    color:
        var(--vth-orange);

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.vth-map-heading > a:hover {

    color:
        var(--vth-blue);
}


/* =========================================================
   GOOGLE MAP
   ========================================================= */

.vth-map {

    position: relative;

    overflow: hidden;

    width: 100%;
    height: 410px;

    border-radius: 14px;

    background: #eee;

    box-shadow:
        0 10px 30px rgba(31,75,120,.10);
}

.vth-map iframe {

    display: block;

    width: 100% !important;
    height: 100% !important;

    border: 0 !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 849px) {

    .vth-contact-grid {
        grid-template-columns: 1fr;
    }

    .vth-contact-heading {
        margin-bottom: 28px;
    }

    .vth-contact-heading h1 {
        font-size: 30px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 549px) {

    .vth-contact-heading {
        margin-bottom: 24px;
    }

    .vth-contact-kicker {
        font-size: 10px;
    }

    .vth-contact-heading h1 {
        font-size: 25px;
    }

    .vth-contact-heading p {
        font-size: 14px;
        line-height: 1.6;
    }


    /* MAIN */

    .vth-contact-grid {
        gap: 18px;
    }


    /* CARDS */

    .vth-contact-info,
    .vth-contact-form {

        padding: 22px 17px;

        border-radius: 10px;
    }


    /* HEADINGS */

    .vth-contact-info-head h2,
    .vth-form-head h2 {

        font-size: 21px;
    }


    /* CONTACT ITEM */

    .vth-contact-item {
        padding: 14px 0;
    }

    .vth-contact-icon {

        flex-basis: 39px;

        width: 39px;
        height: 39px;
    }


    /* BUTTON */

    .vth-contact-actions {
        grid-template-columns: 1fr;
    }


    /* FORM */

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

    .vth-form-full {
        grid-column: auto;
    }


    /* ANTISPAM */

    .vth-antispam {
        padding: 14px;
    }

    .vth-antispam .wpcf7-quiz-label {
        font-size: 14px;
    }


    /* MAP */

    .vth-contact-map-section {
        margin-top: 29px;
    }

    .vth-map-heading {
        display: block;
    }

    .vth-map-heading h2 {
        font-size: 20px;
    }

    .vth-map-heading > a {

        display: inline-block;

        margin-top: 8px;
    }

    .vth-map {

        height: 320px;

        border-radius: 10px;
    }

}