/*
 * Thanh Giang contact page — Mẫu 1.
 * Page structure is stored as Flatsome/UX Builder shortcodes in page ID 19.
 */

.tg-contact-hero,
.tg-contact-rail-section,
.tg-contact-network,
.tg-contact-hq {
    --tg-blue: #155bd7;
    --tg-blue-dark: #071f49;
    --tg-red: #e2262d;
    --tg-ink: #102a59;
    --tg-muted: #657592;
    font-family: Roboto, Arial, sans-serif;
    line-height: normal;
}

.tg-contact-hero {
    position: relative;
    overflow: hidden;
    padding: 42px 0 74px !important;
    background:
        radial-gradient(circle at 59% 18%, rgba(75, 145, 255, .22), transparent 24%),
        radial-gradient(circle at 92% 92%, rgba(22, 105, 226, .5), transparent 34%),
        linear-gradient(118deg, #071b41 0%, #0b3479 58%, #0d55b5 100%);
}

.tg-contact-hero::before {
    content: "";
    position: absolute;
    right: -130px;
    bottom: -270px;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    box-shadow: 0 0 0 64px rgba(255, 255, 255, .035), 0 0 0 128px rgba(255, 255, 255, .02);
}

.tg-contact-hero::after { display: none; }

.tg-contact-hero > .section-content > .row,
.tg-contact-rail-section > .section-content > .row,
.tg-contact-network > .section-content > .row,
.tg-contact-hq > .section-content > .row {
    max-width: 1180px;
}

.tg-contact-hero__row {
    position: relative;
    z-index: 2;
    min-height: 610px;
    display: grid !important;
    grid-template-columns: minmax(0, .92fr) minmax(250px, .72fr) minmax(360px, 1fr);
    align-items: center;
    column-gap: 0;
}

.tg-contact-hero__row > .col {
    width: auto !important;
    max-width: none !important;
    flex-basis: auto !important;
    padding: 0 !important;
}

.tg-contact-hero__row > .tg-contact-hero__copy {
    padding-right: 12px !important;
}

.tg-contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #8cbbff;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.tg-contact-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 10px;
    background: currentColor;
}

.tg-contact-hero__copy-content h1 {
    max-width: 410px;
    margin: 17px 0 20px;
    color: #fff;
    font: 900 47px/1.06 Roboto, Arial, sans-serif;
    letter-spacing: -2px;
    text-wrap: balance;
}

.tg-contact-hero__copy-content h1 span,
.tg-contact-hero__copy-content h1 em {
    display: block;
    white-space: nowrap;
}

.tg-contact-hero__copy-content h1 em {
    color: #86b7ff;
    font-style: normal;
}

.tg-contact-hero__lead {
    max-width: 420px;
    margin: 0;
    color: #d7e4f8;
    font-size: 16px;
    line-height: 1.7;
}

.tg-contact-hero__proofs {
    display: grid;
    gap: 10px;
    margin: 23px 0 25px;
    padding: 0;
    list-style: none;
}

.tg-contact-hero__proofs li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    padding: 0;
    color: #edf5ff;
    font-size: 14px;
    font-weight: 700;
}

.tg-contact-hero__proofs li::before {
    content: "✓";
    flex: 0 0 22px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    background: #1d75e5;
    font-size: 12px;
    line-height: 1;
}

.tg-contact-hero__phone,
.tg-contact-hq__direction {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 12px;
    color: #fff !important;
    font-size: 14px;
    font-weight: 900;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.tg-contact-hero__phone {
    min-width: 190px;
    gap: 10px;
}

.tg-contact-hero__phone::before {
    content: "";
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.78.62 2.63a2 2 0 0 1-.45 2.11L8 9.73a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.85.29 1.73.5 2.63.62A2 2 0 0 1 22 16.9z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.78.62 2.63a2 2 0 0 1-.45 2.11L8 9.73a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.85.29 1.73.5 2.63.62A2 2 0 0 1 22 16.9z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tg-contact-hero__phone:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .1);
    transform: translateY(-2px);
}

.tg-contact-hero__copy-content > p:last-child {
    display: contents;
}

.tg-contact-hero__person {
    position: relative;
    z-index: 3;
    align-self: end;
    height: 615px;
    margin: 0 -77px -48px -48px !important;
    pointer-events: none;
}

.tg-contact-hero__person > .col-inner::before {
    content: "";
    position: absolute;
    right: 5%;
    bottom: 24px;
    left: 14%;
    height: 74px;
    border-radius: 50%;
    background: rgba(2, 15, 39, .32);
    filter: blur(18px);
}

.tg-contact-hero__person > .col-inner,
.tg-contact-hero__person .img,
.tg-contact-hero__person .img-inner {
    width: 100% !important;
    height: 100%;
}

.tg-contact-hero__person .img-inner {
    overflow: visible;
}

.tg-contact-hero__person img {
    position: relative;
    z-index: 2;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    display: block;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 24px 30px rgba(2, 16, 42, .28));
}

.tg-contact-form-col {
    position: relative;
    z-index: 4;
}

.tg-contact-form-col > .col-inner {
    min-height: 530px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 25px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 30px 80px rgba(2, 18, 48, .34);
}

.tg-contact-form__tag {
    display: inline-flex;
    margin-bottom: 11px;
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--tg-blue);
    background: #e9f2ff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .6px;
    text-transform: uppercase;
}

/* Contact Form 7 adds paragraph wrappers; remove only their layout boxes so
 * the approved form keeps the same rhythm as the standalone HTML. */
.tg-contact-form-card > p:first-child,
.tg-contact-field > p,
.tg-contact-submit-wrap > p {
    display: contents;
}

.tg-contact-form-card h2 {
    margin: 0 0 7px;
    color: var(--tg-ink);
    font-size: 29px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.tg-contact-form__intro {
    margin: 0 0 20px !important;
    color: #6a7891;
    font-size: 14px;
    line-height: 1.6;
}

.tg-contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

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

.tg-contact-field > p > label {
    display: block;
    margin: 0 !important;
}

.tg-contact-field--full,
.tg-contact-submit-wrap {
    grid-column: 1 / -1;
}

.tg-contact-field__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    color: #34435d;
    font-size: 13px;
    font-weight: 750;
    line-height: normal;
}

.tg-contact-field__optional {
    color: #8290a7;
    font-size: 10px;
    font-weight: 700;
}

.tg-contact-field .wpcf7-form-control-wrap {
    display: block;
}

.tg-contact-form-col .tg-contact-field input:not([type="hidden"]),
.tg-contact-form-col .tg-contact-field select,
.tg-contact-form-col .tg-contact-field textarea {
    width: 100%;
    margin: 0 !important;
    border: 1px solid #d9e2f0 !important;
    border-radius: 12px !important;
    color: #243756;
    background: #fbfcfe !important;
    font: inherit !important;
    font-size: 16px !important;
    line-height: normal !important;
    box-shadow: none !important;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.tg-contact-form-col .tg-contact-field input:not([type="hidden"]),
.tg-contact-form-col .tg-contact-field select {
    height: 47px !important;
    min-height: 47px;
    padding: 11px 13px !important;
}

.tg-contact-form-col .tg-contact-field textarea {
    height: 76px !important;
    min-height: 76px;
    padding: 11px 13px !important;
    resize: vertical;
}

.tg-contact-field input:focus,
.tg-contact-field select:focus,
.tg-contact-field textarea:focus {
    border-color: #4b8ae7;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(21, 91, 215, .11);
}

.tg-contact-field .wpcf7-not-valid {
    border-color: #e7384f;
    background: #fff8f9;
}

.tg-contact-field .wpcf7-not-valid-tip {
    margin-top: 5px;
    color: #c92339;
    font-size: 12px;
    line-height: 1.4;
}

.tg-contact-submit-wrap {
    position: relative;
}

.tg-contact-submit-wrap::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: 24px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-50%);
    transition: transform .25s ease;
}

.tg-contact-submit-wrap:hover::after {
    transform: translate(4px, -50%);
}

.tg-contact-submit {
    width: 100%;
    height: 50px !important;
    min-height: 50px;
    margin: 0 !important;
    padding: 0 54px 0 22px !important;
    border: 0 !important;
    border-radius: 11px !important;
    color: #fff !important;
    background: var(--tg-red) !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-transform: none !important;
    box-shadow: 0 14px 28px rgba(239, 38, 56, .22);
    transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}

.tg-contact-submit:hover {
    box-shadow: 0 18px 34px rgba(239, 38, 56, .3);
    transform: translateY(-2px);
}

.tg-contact-form-col .wpcf7-spinner {
    position: absolute;
    top: 50%;
    right: 17px;
    margin: -12px 0 0;
    background: rgba(255, 255, 255, .4);
}

.tg-contact-form-col form.tg-is-submitting .tg-contact-submit {
    cursor: wait;
    opacity: .75;
}

.tg-contact-form-col form.tg-is-submitting .tg-contact-submit-wrap::after {
    opacity: 0;
}

.tg-contact-form-col .wpcf7-response-output {
    position: relative;
    max-height: 0;
    margin: 0 !important;
    padding: 0 14px 0 46px !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 12px;
    opacity: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    transform: translateY(-7px);
    transition: max-height .35s ease, margin .35s ease, padding .35s ease, opacity .25s ease, transform .35s ease;
}

.tg-contact-form-col form.sent .wpcf7-response-output,
.tg-contact-form-col form.invalid .wpcf7-response-output,
.tg-contact-form-col form.failed .wpcf7-response-output,
.tg-contact-form-col form.spam .wpcf7-response-output,
.tg-contact-form-col form.aborted .wpcf7-response-output,
.tg-contact-form-col form.unaccepted .wpcf7-response-output,
.tg-contact-form-col form.payment-required .wpcf7-response-output,
.tg-contact-form-col form.tg-status-success .wpcf7-response-output,
.tg-contact-form-col form.tg-status-error .wpcf7-response-output {
    max-height: 150px;
    margin-top: 14px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    opacity: 1;
    transform: translateY(0);
}

.tg-contact-form-col form.sent .wpcf7-response-output,
.tg-contact-form-col form.tg-status-success .wpcf7-response-output {
    color: #126336;
    background: #eaf8f0;
    box-shadow: inset 0 0 0 1px #bfe6cf;
}

.tg-contact-form-col form.invalid .wpcf7-response-output,
.tg-contact-form-col form.failed .wpcf7-response-output,
.tg-contact-form-col form.spam .wpcf7-response-output,
.tg-contact-form-col form.aborted .wpcf7-response-output,
.tg-contact-form-col form.unaccepted .wpcf7-response-output,
.tg-contact-form-col form.payment-required .wpcf7-response-output,
.tg-contact-form-col form.tg-status-error .wpcf7-response-output {
    color: #9d1d30;
    background: #fff0f2;
    box-shadow: inset 0 0 0 1px #f1c4cb;
}

.tg-contact-form-col .wpcf7-response-output::before {
    position: absolute;
    top: 50%;
    left: 16px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    transform: translateY(-50%);
}

.tg-contact-form-col form.sent .wpcf7-response-output::before,
.tg-contact-form-col form.tg-status-success .wpcf7-response-output::before {
    content: "✓";
    background: #249b58;
}

.tg-contact-form-col form.invalid .wpcf7-response-output::before,
.tg-contact-form-col form.failed .wpcf7-response-output::before,
.tg-contact-form-col form.spam .wpcf7-response-output::before,
.tg-contact-form-col form.aborted .wpcf7-response-output::before,
.tg-contact-form-col form.unaccepted .wpcf7-response-output::before,
.tg-contact-form-col form.payment-required .wpcf7-response-output::before,
.tg-contact-form-col form.tg-status-error .wpcf7-response-output::before {
    content: "!";
    background: #d92c43;
}

.tg-contact-rail-section {
    position: relative;
    z-index: 5;
    overflow: visible;
    padding: 0 !important;
    background: #f5f8fd;
}

.tg-contact-rail__row {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: -38px !important;
}

.tg-contact-rail__row > .col {
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    flex-basis: auto !important;
}

.tg-contact-rail__row > .col > .col-inner {
    height: 100%;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.tg-contact-rail__item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 15px;
    align-items: center;
    min-height: 142px;
    padding: 24px;
    border: 1px solid #e2e9f3;
    border-radius: 20px;
    color: inherit !important;
    background: #fff;
    box-shadow: 0 18px 45px rgba(25, 57, 107, .09);
}

.tg-contact-rail__row > .col:first-child .tg-contact-rail__item {
    border-color: transparent;
    background: var(--tg-red);
}

.tg-contact-hero__row::before,
.tg-contact-hero__row::after,
.tg-contact-rail__row::before,
.tg-contact-rail__row::after,
.tg-contact-network__panel::before,
.tg-contact-network__panel::after,
.tg-contact-hq__row::before,
.tg-contact-hq__row::after,
.tg-contact-rail__row > .col > .col-inner > br {
    display: none !important;
}

.tg-contact-rail__row > .col:first-child .tg-contact-rail__item,
.tg-contact-rail__row > .col:first-child .tg-contact-rail__copy small,
.tg-contact-rail__row > .col:first-child .tg-contact-rail__copy strong {
    color: #fff !important;
}

.tg-contact-rail__row > .col:first-child .tg-contact-rail__icon {
    color: var(--tg-red);
    background: #fff;
}

.tg-contact-rail__icon,
.tg-contact-hq__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(145deg, #155bd7, #0b3f98);
}

.tg-contact-rail__icon svg,
.tg-contact-hq__icon svg {
    width: 21px;
    height: 21px;
}

.tg-contact-rail__icon::before,
.tg-contact-hq__icon::before,
.tg-branch-card__pin::before {
    content: "";
    width: 21px;
    height: 21px;
    background: currentColor;
}

.tg-contact-rail__item[href^="tel:"] .tg-contact-rail__icon::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.78.62 2.63a2 2 0 0 1-.45 2.11L8 9.73a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.85.29 1.73.5 2.63.62A2 2 0 0 1 22 16.9z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.78.62 2.63a2 2 0 0 1-.45 2.11L8 9.73a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.85.29 1.73.5 2.63.62A2 2 0 0 1 22 16.9z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tg-contact-rail__item[href^="mailto:"] .tg-contact-rail__icon::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tg-contact-rail__item[href^="#"] .tg-contact-rail__icon::before,
.tg-contact-hq__icon::before,
.tg-branch-card__pin::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 12-9 12S3 17 3 10a9 9 0 1 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 12-9 12S3 17 3 10a9 9 0 1 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tg-branch-card__pin::before {
    width: 14px;
    height: 14px;
}

.tg-contact-rail__copy small,
.tg-contact-hq__address small {
    display: block;
    margin-bottom: 4px;
    color: #78879e;
    font-size: 12px;
    font-weight: 700;
}

.tg-contact-rail__copy strong {
    display: block;
    color: var(--tg-ink);
    font-size: 15px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.tg-contact-network {
    position: relative;
    overflow: hidden;
    scroll-margin-top: 72px;
    padding: 98px 0 104px !important;
    background:
        radial-gradient(circle at 92% 7%, rgba(44, 120, 235, .13), transparent 30%),
        linear-gradient(180deg, #f7faff 0%, #eef4fb 100%);
}

.tg-contact-network::before {
    content: "";
    position: absolute;
    bottom: -230px;
    left: -210px;
    width: 380px;
    height: 380px;
    border: 64px solid rgba(21, 91, 215, .055);
    border-radius: 50%;
}

.tg-contact-network__head {
    position: relative;
    z-index: 1;
    display: flex !important;
    align-items: end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 38px !important;
}

.tg-contact-network__head > .col {
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    flex-basis: auto !important;
}

.tg-contact-network__head > .col:first-child {
    flex: 1 1 auto !important;
}

.tg-contact-network__head > .col:last-child {
    flex: 0 0 440px !important;
}

.tg-contact-network__heading h2 {
    max-width: 620px;
    margin: 14px 0 0;
    color: #102a59;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -1.7px;
}

.tg-contact-network__intro {
    padding-left: 20px;
    border-left: 2px solid #2d72df;
}

.tg-contact-network__intro strong {
    display: block;
    color: #174f9f;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.tg-contact-network__intro p {
    margin: 7px 0 0;
    color: var(--tg-muted);
    font-size: 16px;
    line-height: 1.6;
}

.tg-contact-network__panel {
    position: relative;
    z-index: 1;
    display: grid !important;
    grid-template-columns: minmax(355px, .82fr) minmax(0, 1.18fr);
    gap: 18px;
    align-items: stretch;
}

.tg-contact-network__panel > .col {
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    flex-basis: auto !important;
}

.tg-contact-network__panel > .col > .col-inner,
.tg-contact-network__panel .ux-html {
    height: 100%;
}

.tg-branch-directory {
    display: flex;
    height: 100%;
    min-height: 730px;
    flex-direction: column;
    padding: 25px;
    border: 1px solid rgba(201, 215, 235, .88);
    border-radius: 28px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 70px rgba(30, 69, 124, .11);
}

.tg-branch-directory__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 0 4px 18px;
    border-bottom: 1px solid #e3eaf4;
}

.tg-branch-directory__top strong {
    color: #132d56;
    font-size: 18px;
    font-weight: 900;
}

.tg-branch-directory__top small {
    color: #72809a;
    font-size: 12px;
    font-weight: 700;
}

.tg-branch-list {
    display: grid;
    gap: 7px;
    margin: 13px 0 0;
    padding: 0;
    list-style: none;
}

.tg-branch-list li {
    margin: 0;
}

.tg-branch-card {
    position: relative;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 78px;
    margin: 0;
    padding: 11px 12px;
    overflow: hidden;
    border: 0;
    border-radius: 15px;
    color: #243756;
    background: transparent;
    font: inherit;
    letter-spacing: normal;
    text-align: left;
    text-transform: none;
    cursor: pointer;
    transition: color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}

.tg-branch-card:hover,
.tg-branch-card:focus-visible {
    color: #124f9e;
    background: #edf5ff;
    box-shadow: none;
    transform: translateX(4px);
}

.tg-branch-card.is-active {
    color: #fff;
    background: linear-gradient(130deg, #0c4fb2, #1775df);
    box-shadow: 0 12px 28px rgba(20, 96, 197, .25);
}

.tg-branch-card--headquarters.is-active {
    background: linear-gradient(130deg, #0a3f92 0%, #1268cf 72%, #eb3449 150%);
}

.tg-branch-card__index {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    color: #1d63bd;
    background: #e6f1ff;
    font-size: 12px;
    font-weight: 900;
}

.tg-branch-card.is-active .tg-branch-card__index {
    color: #fff;
    background: rgba(255, 255, 255, .16);
}

.tg-branch-card__content {
    min-width: 0;
}

.tg-branch-card__content strong {
    display: block;
    overflow: hidden;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tg-branch-card__content small {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    color: #7a879c;
    font-size: 13px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tg-branch-card.is-active .tg-branch-card__content small {
    color: rgba(255, 255, 255, .75);
}

.tg-branch-card__pin {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    color: #5680b7;
    background: #f3f7fc;
}

.tg-branch-card__pin svg {
    width: 14px;
    height: 14px;
}

.tg-branch-card.is-active .tg-branch-card__pin {
    color: #fff;
    background: rgba(255, 255, 255, .14);
}

.tg-branch-source {
    margin: auto 4px 0;
    padding-top: 14px;
    border-top: 1px solid #e3eaf4;
    color: #74839a;
    font-size: 12px;
    line-height: 1.6;
}

.tg-branch-source a {
    color: #2c64ac;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tg-branch-map-card {
    position: relative;
    display: flex;
    height: 856px;
    min-height: 730px;
    overflow: hidden;
    flex-direction: column;
    padding: 25px;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(150deg, #06295e 0%, #08458f 48%, #0b63bd 100%);
    box-shadow: 0 28px 74px rgba(5, 48, 110, .26);
}

.tg-branch-map-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 18%, rgba(75, 169, 255, .38), transparent 34%),
        radial-gradient(circle at 12% 88%, rgba(5, 27, 66, .6), transparent 45%);
    pointer-events: none;
}

.tg-branch-map-card__top,
.tg-branch-map-card__canvas,
.tg-branch-map-detail,
.tg-branch-map-card__foot {
    position: relative;
    z-index: 1;
}

.tg-branch-map-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.tg-branch-map-card__label {
    color: #dcecff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.25px;
    text-transform: uppercase;
}

.tg-branch-map-card__country {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: #e7f3ff;
    background: rgba(255, 255, 255, .08);
    font-size: 12px;
    font-weight: 800;
}

.tg-branch-map-card__country::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef3348;
    box-shadow: 0 0 0 4px rgba(239, 51, 72, .15);
}

.tg-branch-map-card__canvas {
    flex: 1 1 auto;
    min-height: 400px;
    margin: 8px 0 4px;
}

.tg-branch-map-card__canvas svg {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.tg-branch-map-card__loading {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.tg-branch-map-card__loading.is-hidden {
    display: none;
}

.tg-branch-map__graticule {
    fill: none;
    stroke: rgba(255, 255, 255, .07);
    stroke-width: .7;
}

.tg-branch-map__province {
    fill: rgba(223, 238, 255, .78);
    stroke: rgba(13, 73, 143, .52);
    stroke-width: .7;
    vector-effect: non-scaling-stroke;
    transition: fill .3s ease, filter .3s ease;
}

.tg-branch-map__province.is-active {
    fill: #8bc2ff;
    filter: drop-shadow(0 0 8px rgba(101, 181, 255, .55));
}

.tg-branch-map__route-base,
.tg-branch-map__route-active {
    fill: none;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.tg-branch-map__route-base {
    stroke: rgba(124, 193, 255, .22);
    stroke-width: 1.2;
}

.tg-branch-map__route-active {
    stroke: #ffb2bc;
    stroke-width: 2.2;
    stroke-dasharray: 7 9;
    animation: tg-branch-route-flow 1.1s linear infinite;
}

.tg-branch-map__marker {
    pointer-events: none;
}

.tg-branch-map__marker-halo {
    fill: rgba(70, 164, 255, .18);
    stroke: rgba(177, 220, 255, .68);
    stroke-width: 1;
    transform-box: fill-box;
    transform-origin: center;
    opacity: 0;
}

.tg-branch-map__marker-core {
    fill: #42a4ff;
    stroke: #fff;
    stroke-width: 2.2;
    vector-effect: non-scaling-stroke;
    transition: fill .25s ease, filter .25s ease, r .25s ease;
}

.tg-branch-map__marker--hq .tg-branch-map__marker-core {
    fill: #ffd43b;
    stroke: #fff5bd;
    stroke-width: 1.8;
    filter: drop-shadow(0 0 5px rgba(255, 212, 59, .85));
}

.tg-branch-map__marker--hq .tg-branch-map__marker-halo {
    fill: rgba(255, 212, 59, .25);
    stroke: rgba(255, 239, 166, .95);
    opacity: 1;
    animation: tg-branch-marker-pulse 2s ease-out infinite;
}

.tg-branch-map__marker.is-active .tg-branch-map__marker-core {
    fill: #ef3348;
    filter: drop-shadow(0 0 5px rgba(239, 51, 72, .72));
}

.tg-branch-map__marker--hq.is-active .tg-branch-map__marker-core {
    fill: #ffd43b;
    filter: drop-shadow(0 0 6px rgba(255, 212, 59, .95));
}

.tg-branch-map__marker.is-active .tg-branch-map__marker-halo {
    fill: rgba(239, 51, 72, .22);
    stroke: rgba(255, 190, 199, .9);
    opacity: 1;
    animation: tg-branch-marker-pulse 1.25s ease-out infinite;
}

.tg-branch-map__marker--hq.is-active .tg-branch-map__marker-halo {
    fill: rgba(255, 212, 59, .25);
    stroke: rgba(255, 239, 166, .95);
}

.tg-branch-map__marker-label,
.tg-branch-map__hq-label {
    fill: #fff;
    font-size: 12px;
    font-weight: 900;
    paint-order: stroke;
    stroke: #073775;
    stroke-width: 4px;
    stroke-linejoin: round;
}

.tg-branch-map__hq-label {
    fill: #fff0a6;
    letter-spacing: .4px;
}

.tg-branch-map__island-ring {
    fill: rgba(95, 176, 255, .08);
    stroke: rgba(172, 217, 255, .58);
    stroke-width: 1.1;
    stroke-dasharray: 3 4;
    vector-effect: non-scaling-stroke;
}

.tg-branch-map__island-dot {
    fill: #b9ddff;
}

.tg-branch-map__island-label {
    fill: #fff;
    font-size: 12px;
    font-weight: 900;
    paint-order: stroke;
    stroke: #074383;
    stroke-width: 3px;
}

.tg-branch-map__island-sub {
    fill: #9fc8ef;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .35px;
}

.tg-branch-map-detail {
    display: grid;
    grid-template-columns: minmax(245px, .86fr) minmax(0, 1.14fr);
    gap: 18px 20px;
    align-items: center;
    height: 157px;
    min-height: 112px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 18px;
    background: rgba(4, 34, 80, .58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
    backdrop-filter: blur(12px);
}

.tg-branch-map-detail__heading small {
    display: block;
    margin-bottom: 5px;
    color: #8ec7ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.tg-branch-map-detail__heading strong {
    display: block;
    font-size: 19px;
    line-height: 1.35;
    white-space: nowrap;
}

.tg-branch-map-detail__address {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    color: #dcecff;
    font-size: 14px;
    line-height: 1.55;
}

.tg-branch-map-detail__links {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.tg-branch-map-detail__links a {
    min-width: 0;
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.tg-branch-map-detail__links a::before {
    content: "•";
    margin-right: 7px;
    color: #6bb7ff;
}

.tg-branch-map-card__foot {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 17px 4px 0;
    color: #d4e7fb;
    font-size: 13px;
    font-weight: 700;
}

.tg-branch-map-card__foot span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.tg-branch-map-card__foot small {
    margin-left: auto;
    color: #c1d9f2;
    font-size: 12px;
    line-height: 1.45;
}

.tg-branch-map__legend-dot {
    width: 8px;
    height: 8px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #42a4ff;
}

.tg-branch-map__legend-dot--hq {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 0;
    background: #ffd43b;
    clip-path: polygon(50% 0%, 61% 35%, 98% 36%, 68% 57%, 79% 94%, 50% 72%, 21% 94%, 32% 57%, 2% 36%, 39% 35%);
    filter: drop-shadow(0 0 3px rgba(255, 212, 59, .65));
}

.tg-contact-hq {
    padding: 0 0 104px !important;
    background: #eef4fb;
}

.tg-contact-hq__anchor {
    display: block;
    scroll-margin-top: 86px;
}

.tg-contact-hero__copy-content > p:empty,
.tg-contact-network__heading > p:empty,
.tg-contact-hq__content > p:empty,
.tg-contact-hq__content > br {
    display: none !important;
}

.tg-contact-hq__content {
    display: contents;
}

.tg-contact-hq__row {
    display: grid !important;
    grid-template-columns: minmax(330px, .78fr) minmax(0, 1.22fr);
    overflow: hidden;
    border: 1px solid #d2deee;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(26, 63, 115, .13);
}

.tg-contact-hq__row > .col {
    width: auto !important;
    max-width: none !important;
    padding: 0;
    flex-basis: auto !important;
}

.tg-contact-hq__content-col > .col-inner {
    display: flex;
    min-height: 455px;
    justify-content: center;
    flex-direction: column;
    padding: 46px;
    background:
        radial-gradient(circle at 100% 0, rgba(78, 154, 255, .2), transparent 34%),
        linear-gradient(145deg, #071f49, #0b4b9e);
}

.tg-contact-hq__content h2 {
    max-width: 440px;
    margin: 16px 0;
    color: #fff;
    font-size: clamp(32px, 3.4vw, 46px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.tg-contact-hq__lead {
    max-width: 440px;
    margin: 0;
    color: #d7e5f8;
    font-size: 16px;
    line-height: 1.65;
}

.tg-contact-hq__address {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-top: 28px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.tg-contact-hq__icon {
    color: #fff;
    background: #ef3348;
    box-shadow: 0 12px 25px rgba(239, 51, 72, .28);
}

.tg-contact-hq__address small {
    color: #8ebcea;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.tg-contact-hq__address strong {
    display: block;
    color: #fff;
    font-size: 15px;
    line-height: 1.55;
}

.tg-contact-hq__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 27px;
}

.tg-contact-hq__direction {
    min-height: 48px;
    border: 0;
    color: #0a3f8f !important;
    background: #fff;
}

.tg-contact-hq__direction:hover {
    color: #0a3f8f !important;
    box-shadow: 0 14px 30px rgba(0, 24, 61, .2);
    transform: translateY(-2px);
}

.tg-contact-hq__phone {
    color: #fff !important;
    font-size: 15px;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.tg-contact-hq__map,
.tg-contact-hq__map .ux-html {
    height: 100%;
    min-height: 455px;
}

.tg-contact-hq__map > .col-inner {
    position: relative;
    height: 100%;
    min-height: 455px;
    overflow: hidden;
}

.tg-contact-hq__map > .col-inner > br {
    display: none !important;
}

.tg-contact-hq__map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    min-height: 100%;
    display: block;
    border: 0;
    filter: saturate(.9) contrast(1.03);
}

@keyframes tg-branch-route-flow {
    to { stroke-dashoffset: -32; }
}

@keyframes tg-branch-marker-pulse {
    0% { transform: scale(.65); opacity: .9; }
    75%, 100% { transform: scale(2.1); opacity: 0; }
}

@media (max-width: 1060px) {
    .tg-contact-hero__row {
        grid-template-columns: minmax(0, .86fr) minmax(210px, .64fr) minmax(335px, 1fr);
    }

    .tg-contact-hero__copy-content h1 {
        font-size: 42px;
    }

    .tg-contact-hero__copy-content h1 span,
    .tg-contact-hero__copy-content h1 em {
        white-space: normal;
    }

    .tg-contact-hero__person {
        height: 565px;
        margin-right: -68px !important;
        margin-left: -46px !important;
    }

    .tg-contact-hero__person img {
        height: 100% !important;
    }

    .tg-contact-form-col > .col-inner {
        padding: 25px;
    }

    .tg-contact-form-card h2 {
        font-size: 26px;
    }

    .tg-branch-map-detail {
        grid-template-columns: minmax(205px, .86fr) minmax(0, 1.14fr);
        height: 174px;
    }

    .tg-branch-map-detail__heading strong {
        font-size: 17px;
    }
}

@media (max-width: 980px) {
    .tg-contact-rail__row {
        grid-template-columns: 1fr;
    }

    .tg-contact-rail__row > .col > .col-inner {
        border-radius: 20px !important;
    }
}

@media (max-width: 820px) {
    .tg-contact-hero {
        padding: 46px 0 68px !important;
    }

    .tg-contact-hero__row {
        grid-template-columns: minmax(0, .85fr) minmax(205px, .62fr) minmax(320px, 1fr);
        min-height: 580px;
    }

    .tg-contact-hero__copy-content h1 {
        font-size: 38px;
        letter-spacing: -1.5px;
    }

    .tg-contact-hero__lead {
        font-size: 14px;
    }

    .tg-contact-hero__proofs li {
        font-size: 12px;
    }

    .tg-contact-hero__person {
        height: 530px;
        margin-right: -73px !important;
        margin-left: -55px !important;
    }

    .tg-contact-hero__person img {
        height: 100% !important;
    }

    .tg-contact-form-col > .col-inner {
        padding: 22px;
    }

    .tg-contact-form-card h2 {
        font-size: 24px;
    }

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

    .tg-contact-field--full,
    .tg-contact-submit-wrap {
        grid-column: auto;
    }

    .tg-contact-rail__row {
        margin-top: -28px !important;
    }

    .tg-contact-network {
        padding: 68px 0 78px !important;
    }

    .tg-contact-network__head {
        align-items: start;
    }

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

    .tg-contact-network__panel > .col:first-child {
        padding-bottom: 20px;
    }

    .tg-branch-list {
        grid-template-columns: 1fr 1fr;
    }

    .tg-branch-directory,
    .tg-branch-map-card {
        height: auto;
        min-height: 0;
        border-radius: 22px;
    }

    .tg-branch-map-card__canvas,
    .tg-branch-map-card__canvas svg {
        height: 460px;
        min-height: 460px;
    }

    .tg-branch-map-detail {
        grid-template-columns: 1fr;
        gap: 10px;
        height: auto;
        padding: 16px;
    }

    .tg-branch-map-detail__address {
        grid-column: 1;
        grid-row: auto;
    }

    .tg-branch-map-card__foot small {
        width: 100%;
        margin-left: 0;
    }

    .tg-branch-map__marker-label,
    .tg-branch-map__hq-label {
        font-size: 17px;
    }

    .tg-branch-map__island-label {
        font-size: 18px;
    }

    .tg-branch-map__island-sub {
        font-size: 14px;
    }

    .tg-contact-hq {
        padding-bottom: 78px !important;
    }

    .tg-contact-hq__row {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .tg-contact-hq__content-col > .col-inner {
        min-height: 0;
        padding: 34px 24px;
    }

    .tg-contact-hq__content h2 {
        font-size: 34px;
    }

    .tg-contact-hq__map,
    .tg-contact-hq__map .ux-html,
    .tg-contact-hq__map > .col-inner,
    .tg-contact-hq__map iframe {
        min-height: 420px;
    }
}

@media (max-width: 820px) {
    .tg-contact-hero {
        padding: 42px 0 64px !important;
    }

    .tg-contact-hero__row {
        display: flex !important;
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
    }

    .tg-contact-hero__row,
    .tg-contact-rail__row,
    .tg-contact-network__head,
    .tg-contact-network__panel,
    .tg-contact-hq__row {
        width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    .tg-contact-hero__row > .col,
    .tg-contact-hq__row > .col {
        width: 100% !important;
        max-width: 100% !important;
        flex-basis: 100% !important;
    }

    .tg-contact-hero__copy {
        order: 1;
    }

    .tg-contact-hero__copy-content h1 {
        max-width: 100%;
        margin-top: 14px;
        font-size: 36px;
        line-height: 1.08;
        letter-spacing: -1.3px;
        text-wrap: wrap;
    }

    .tg-contact-hero__copy-content h1 span,
    .tg-contact-hero__copy-content h1 em {
        white-space: nowrap;
    }

    .tg-contact-hero__lead {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.67;
    }

    .tg-contact-hero__proofs {
        margin: 20px 0;
    }

    .tg-contact-hero__phone {
        width: 100%;
    }

    .tg-contact-hero__person {
        z-index: 2;
        order: 2;
        align-self: center;
        width: min(440px, 112%) !important;
        height: 420px;
        margin: -18px auto 0 !important;
    }

    .tg-contact-hero__person img {
        transform: translateX(-22px);
    }

    .tg-contact-hero__person > .col-inner::after {
        content: "FORM TƯ VẤN\A ngay bên dưới  ↓";
        position: absolute;
        z-index: 3;
        top: 32px;
        right: 20px;
        width: 108px;
        padding: 10px 8px;
        border: 1px solid rgba(255, 255, 255, .8);
        border-radius: 14px;
        color: #0a4da4;
        background: rgba(255, 255, 255, .94);
        box-shadow: 0 14px 30px rgba(2, 23, 57, .2);
        font-size: 11px;
        font-weight: 800;
        line-height: 1.4;
        letter-spacing: .25px;
        text-align: center;
        white-space: pre-line;
        animation: tg-contact-mobile-form-cue 1.8s ease-in-out infinite;
    }

    .tg-contact-form-col {
        z-index: 5;
        order: 3;
    }

    .tg-contact-form-col > .col-inner {
        min-height: 0;
        padding: 24px 20px;
        border-radius: 22px;
    }

    .tg-contact-form-card h2 {
        font-size: 27px;
    }

    .tg-contact-network__head {
        display: block !important;
        margin-bottom: 28px !important;
    }

    .tg-contact-network__head > .col:last-child {
        width: auto !important;
        max-width: none !important;
        margin-top: 20px;
        flex-basis: auto !important;
    }

    .tg-contact-network__heading h2 {
        font-size: 34px;
        letter-spacing: -1.2px;
    }

    .tg-branch-directory,
    .tg-branch-map-card {
        padding: 18px;
    }

    .tg-branch-list {
        grid-template-columns: 1fr;
    }

    .tg-branch-map-card__canvas,
    .tg-branch-map-card__canvas svg {
        height: 390px;
        min-height: 390px;
    }

    .tg-branch-directory__top {
        align-items: flex-start;
    }

    .tg-branch-directory__top small {
        max-width: 95px;
        text-align: right;
    }

    .tg-branch-card__content strong {
        white-space: nowrap;
    }

    .tg-branch-card__content small {
        white-space: normal;
    }

    .tg-contact-hq__content h2 {
        font-size: 34px;
    }

    .tg-contact-hq__map,
    .tg-contact-hq__map .ux-html,
    .tg-contact-hq__map > .col-inner,
    .tg-contact-hq__map iframe {
        min-height: 360px;
    }
}

@media (min-width: 701px) and (max-width: 820px) {
    .tg-contact-hero__person {
        height: 480px;
    }

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

    .tg-contact-field--full,
    .tg-contact-submit-wrap {
        grid-column: 1 / -1;
    }

    .tg-branch-list {
        grid-template-columns: 1fr 1fr;
    }

    .tg-branch-map-card__canvas,
    .tg-branch-map-card__canvas svg {
        height: 460px;
        min-height: 460px;
    }

    .tg-contact-hq__map,
    .tg-contact-hq__map .ux-html,
    .tg-contact-hq__map > .col-inner,
    .tg-contact-hq__map iframe {
        min-height: 420px;
    }
}

@media (max-width: 390px) {
    .tg-contact-hero__copy-content h1 {
        font-size: 34px;
    }

    .tg-branch-card {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 10px;
        padding-right: 6px;
        padding-left: 6px;
    }

    .tg-branch-card__content strong {
        font-size: 14px;
    }

    .tg-branch-card__pin {
        display: none;
    }
}

@keyframes tg-contact-mobile-form-cue {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

@media (prefers-reduced-motion: reduce) {
    .tg-contact-hero *,
    .tg-contact-network *,
    .tg-contact-hq *,
    .tg-branch-map__route-active,
    .tg-branch-map__marker-halo {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }

    .tg-contact-hero__person > .col-inner::after {
        animation: none !important;
    }
}
