/* ============ Trang Liên hệ (page-lien-he.php) ============ */
.hpc {
    --navy: #0a2a66;
    --navy-dark: #071d47;
    --blue: #0a4fc1;
    --blue-hover: #083f9c;
    --bg: #f4f7fb;
    --tint: #e6eefa;
    --line: #dbe3ef;
    --text: #3d4a63;
    --muted: #5b6780;
    --gold-1: #f3e0ab;
    --gold-2: #d6ad5a;
    --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --serif: "Playfair Display", Georgia, "Times New Roman", serif;
    font-family: var(--sans);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    background: var(--bg);
}

/* flatsome-child.css ép font Inter !important cho h1-h6, p, span */
.hpc h1,
.hpc h2,
.hpc h3,
.hpc p,
.hpc span,
.hpc label,
.hpc input,
.hpc textarea,
.hpc button {
    font-family: var(--sans) !important;
}

.hpc *,
.hpc *::before,
.hpc *::after {
    box-sizing: border-box;
}

.hpc h1,
.hpc h2,
.hpc h3,
.hpc p {
    margin: 0;
}

.hpc a {
    text-decoration: none;
}

.hpc-container {
    max-width: calc(1160px + 48px);
    margin: 0 auto;
    padding: 0 24px;
}

.hpc-ico {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.hpc-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-1);
}

.hpc-eyebrow--dark {
    color: var(--blue);
}

.hpc-h2 {
    font-size: 32px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 28px !important;
}

/* ---------- Buttons ---------- */
.hpc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 0;
    margin: 0;
    padding: 15px 26px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s, transform .2s, box-shadow .2s, color .2s;
}

.hpc-btn:hover {
    transform: translateY(-1px);
}

.hpc-btn--primary,
.hpc-btn--primary:hover {
    color: #fff;
}

/* Flatsome tô button[type=submit] màu #3764b8 -> tăng độ ưu tiên */
.hpc .hpc-btn--primary {
    background: var(--blue);
    box-shadow: 0 10px 24px rgba(10, 79, 193, .25);
}

.hpc .hpc-btn--primary:hover {
    background: var(--blue-hover);
}

.hpc-btn--primary[disabled] {
    opacity: .7;
    cursor: wait;
    transform: none;
}

.hpc-btn--gold,
.hpc-btn--gold:hover {
    color: var(--navy);
}

.hpc-btn--gold {
    background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
    box-shadow: 0 10px 24px rgba(214, 173, 90, .35);
}

.hpc-btn--ghost,
.hpc-btn--ghost:hover {
    color: #fff;
}

.hpc-btn--ghost {
    border-color: rgba(255, 255, 255, .7);
}

.hpc-btn--ghost:hover {
    background: rgba(255, 255, 255, .1);
}

.hpc-btn--outline,
.hpc-btn--outline:hover {
    color: var(--blue);
}

.hpc-btn--outline {
    background: #fff;
    border-color: var(--blue);
}

.hpc-btn--outline:hover {
    background: var(--tint);
}

.hpc-btn--block {
    width: 100%;
}

/* ---------- Hero ---------- */
.hpc-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 124px;
    background:
        radial-gradient(circle at 85% 20%, rgba(22, 96, 224, .45), transparent 45%),
        linear-gradient(135deg, var(--navy-dark), var(--navy));
    color: #fff;
}

.hpc-hero::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -90px;
    width: 340px;
    height: 306px;
    background: rgba(255, 255, 255, .05);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.hpc-hero__title {
    max-width: 760px;
    font-size: 46px;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
}

.hpc-hero__title em {
    font-family: var(--serif) !important;
    font-style: italic;
    color: var(--gold-1);
}

.hpc-hero__sub {
    max-width: 640px;
    margin-top: 18px !important;
    font-size: 17.5px;
    line-height: 1.7;
    color: #d4ddee;
}

.hpc-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

/* ---------- Quick contact ---------- */
.hpc-quick {
    position: relative;
    z-index: 2;
    margin-top: -64px;
}

.hpc-quick__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.hpc-qcard {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(10, 42, 102, .08);
    color: var(--text);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

a.hpc-qcard:hover {
    transform: translateY(-3px);
    border-color: var(--blue);
    box-shadow: 0 18px 40px rgba(10, 79, 193, .14);
    color: var(--text);
}

.hpc-qcard__ico {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: var(--tint);
    color: var(--blue);
}

.hpc-qcard__lbl {
    font-size: 14px;
    color: var(--muted);
}

.hpc-qcard__val {
    font-size: 19px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    word-break: break-word;
}

.hpc-qcard__val--sm {
    font-size: 15.5px;
    font-weight: 600;
}

/* ---------- Sections ---------- */
.hpc-section {
    padding: 80px 0;
}

.hpc-section--tint {
    background: #fff;
    border-top: 1px solid var(--line);
}

.hpc-main {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

/* ---------- Form ---------- */
.hpc-form-wrap {
    padding: 36px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(10, 42, 102, .06);
}

.hpc-form-wrap .hpc-h2 {
    font-size: 26px;
}

.hpc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hpc-field {
    margin-bottom: 18px;
}

.hpc-field label,
.hpc-lbl {
    display: block;
    margin-bottom: 7px;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
}

.hpc-req {
    color: #d32727;
}

.hpc .hpc-input {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 13px 15px;
    font-size: 16px;
    color: var(--navy);
    background: var(--bg);
    border: 1.5px solid var(--line);
    border-radius: 10px;
    box-shadow: none;
    transition: border-color .2s, background .2s;
}

.hpc textarea.hpc-input {
    min-height: 110px;
    resize: vertical;
}

.hpc .hpc-input:focus {
    outline: 0;
    background: #fff;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(10, 79, 193, .12);
}

.hpc .hpc-input.is-error {
    border-color: #d32727;
}

.hpc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hpc .hpc-chip {
    min-height: 0;
    margin: 0;
    padding: 9px 16px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: 0;
    color: var(--navy);
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    transition: all .2s;
}

.hpc .hpc-chip:hover {
    border-color: var(--blue);
}

.hpc .hpc-chip.is-active {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
}

.hpc-hp {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.hpc-err {
    display: none;
    margin-top: 8px;
    font-size: 14px;
    color: #d32727;
}

.hpc-note {
    margin-top: 12px !important;
    font-size: 13.5px;
    color: var(--muted);
    text-align: center;
}

.hpc-done {
    padding: 20px 0 6px;
    text-align: center;
}

.hpc-done[hidden] {
    display: none;
}

.hpc-done__tick {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #e3f6ec;
}

.hpc-done__tick svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: #1d9a5b;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hpc-done h3 {
    margin-bottom: 10px !important;
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
}

.hpc-done p {
    margin-bottom: 22px !important;
    color: var(--muted);
}

/* ---------- Offices ---------- */
.hpc-offices {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hpc-office {
    display: flex;
    gap: 16px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.hpc-office.is-main {
    border-color: var(--blue);
    box-shadow: inset 4px 0 0 var(--blue);
}

.hpc-office__ico {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--tint);
    color: var(--blue);
}

.hpc-office h3 {
    margin-bottom: 4px !important;
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
}

.hpc-office p {
    font-size: 15.5px;
    line-height: 1.65;
}

.hpc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--blue);
}

.hpc-link:hover {
    color: var(--blue-hover);
}

.hpc-link .hpc-ico {
    width: 16px;
    height: 16px;
    transition: transform .2s;
}

.hpc-link:hover .hpc-ico {
    transform: translateX(3px);
}

.hpc-map {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--tint);
}

.hpc-map iframe {
    display: block;
    width: 100%;
    height: 300px;
    border: 0;
}

/* ---------- Services ---------- */
.hpc-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hpc-svc {
    padding: 26px 22px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 16px;
    transition: transform .2s, box-shadow .2s;
}

.hpc-svc:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(10, 42, 102, .08);
}

.hpc-svc__ico {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: var(--blue);
    color: #fff;
}

.hpc-svc h3 {
    margin-bottom: 8px !important;
    font-size: 17.5px;
    font-weight: 700;
    color: var(--navy);
}

.hpc-svc p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hpc-quick__grid,
    .hpc-services {
        grid-template-columns: repeat(2, 1fr);
    }

    .hpc-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hpc-container {
        padding: 0 16px;
    }

    .hpc-hero {
        padding: 52px 0 96px;
    }

    .hpc-hero__title {
        font-size: 32px;
    }

    .hpc-hero__sub {
        font-size: 16px;
    }

    .hpc-hero__actions .hpc-btn {
        width: 100%;
    }

    .hpc-quick__grid {
        gap: 12px;
    }

    .hpc-qcard {
        padding: 16px;
    }

    .hpc-qcard__val {
        font-size: 16px;
    }

    .hpc-qcard__val--sm {
        font-size: 14px;
    }

    .hpc-section {
        padding: 56px 0;
    }

    .hpc-h2,
    .hpc-form-wrap .hpc-h2 {
        font-size: 24px;
    }

    .hpc-form-wrap {
        padding: 24px 18px;
    }

    .hpc-row,
    .hpc-services {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hpc-services {
        gap: 14px;
    }
}

@media (max-width: 400px) {
    .hpc-quick__grid {
        grid-template-columns: 1fr;
    }
}
