/* ============ Trang Về chúng tôi (page-ve-chung-toi.php) ============ */
.hpa {
    --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;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

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

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

.hpa h2,
.hpa h3,
.hpa p,
.hpa ul {
    margin: 0;
}

.hpa ul {
    padding: 0;
    list-style: none;
}

.hpa li {
    margin: 0;
}

.hpa a {
    text-decoration: none;
}

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

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

.hpa-section {
    padding: 88px 0;
}

.hpa-section--white {
    background: #fff;
}

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

.hpa-eyebrow--gold {
    color: var(--gold-1);
}

.hpa-h2 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy);
}

.hpa-h2--light {
    color: #fff;
}

.hpa-head {
    max-width: 680px;
    margin-bottom: 40px;
}

.hpa-head--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    max-width: none;
}

/* ---------- Giới thiệu ---------- */
.hpa-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: center;
}

.hpa-intro__media {
    position: relative;
}

.hpa-intro__media img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 24px 50px rgba(10, 42, 102, .16);
}

.hpa-intro__badge {
    position: absolute;
    right: -20px;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(10, 42, 102, .14);
}

.hpa-logo {
    width: 34px;
    height: 31px;
    flex-shrink: 0;
}

.hpa-intro__badge span {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--navy);
}

.hpa-intro__text .hpa-h2 {
    margin-bottom: 20px;
}

.hpa-intro__text p {
    margin-bottom: 14px;
    font-size: 16.5px;
}

.hpa-intro__text b {
    color: var(--navy);
}

.hpa-segments {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px !important;
}

.hpa-segments li {
    padding: 7px 16px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--blue);
    background: var(--tint);
    border-radius: 999px;
}

/* ---------- Lĩnh vực ---------- */
.hpa-grid4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hpa-card {
    position: relative;
    padding: 28px 24px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.hpa-card:hover {
    transform: translateY(-4px);
    border-color: var(--blue);
    box-shadow: 0 18px 38px rgba(10, 79, 193, .12);
}

.hpa-card__num {
    position: absolute;
    top: 20px;
    right: 22px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    color: var(--line);
}

.hpa-card__ico {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--blue);
    color: #fff;
}

.hpa-card h3 {
    margin-bottom: 8px;
    font-size: 19px;
    font-weight: 700;
    color: var(--navy);
}

.hpa-card p {
    font-size: 15px;
    color: var(--muted);
}

/* ---------- Cam kết (nền navy) ---------- */
.hpa-section--navy {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 90%, rgba(22, 96, 224, .4), transparent 45%),
        linear-gradient(135deg, var(--navy-dark), var(--navy));
}

.hpa-section--navy::after {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 320px;
    height: 288px;
    background: rgba(255, 255, 255, .04);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.hpa-values {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: start;
}

.hpa-values__head p {
    margin-top: 18px;
    font-size: 17px;
    color: #d4ddee;
}

.hpa-values__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.hpa-values__list li {
    display: flex;
    gap: 16px;
    padding: 22px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
}

.hpa-values__ico {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
    color: var(--navy);
}

.hpa-values__list h3 {
    margin-bottom: 6px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
}

.hpa-values__list p {
    font-size: 14.5px;
    line-height: 1.65;
    color: #c4d0e6;
}

/* ---------- Công trình ---------- */
.hpa-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--blue);
    white-space: nowrap;
}

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

.hpa-link .hpa-ico {
    width: 18px;
    height: 18px;
    transition: transform .2s;
}

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

.hpa-projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hpa-proj {
    display: block;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: box-shadow .2s;
}

.hpa-proj:hover {
    box-shadow: 0 18px 38px rgba(10, 42, 102, .12);
}

.hpa-proj__img {
    display: block;
    overflow: hidden;
    aspect-ratio: 416 / 280;
    background: var(--tint);
}

.hpa-proj__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.hpa-proj:hover .hpa-proj__img img {
    transform: scale(1.04);
}

.hpa-proj__title {
    display: block;
    padding: 18px 22px 22px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--navy);
}

.hpa-proj:hover .hpa-proj__title {
    color: var(--blue);
}

/* ---------- CTA ---------- */
.hpa-cta {
    padding: 0 0 88px;
}

.hpa-cta__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 40px 44px;
    background:
        radial-gradient(circle at 95% 10%, rgba(22, 96, 224, .45), transparent 45%),
        linear-gradient(135deg, var(--navy-dark), var(--navy));
    border-radius: 22px;
}

.hpa-cta__text {
    flex: 1;
}

.hpa-cta h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.hpa-cta p {
    margin-top: 10px;
    font-size: 16px;
    color: #d4ddee;
}

.hpa-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}

.hpa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    transition: transform .2s, background .2s;
}

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

.hpa-btn .hpa-ico {
    width: 18px;
    height: 18px;
}

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

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

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

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

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

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

    .hpa-intro,
    .hpa-values {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hpa-intro__media {
        max-width: 560px;
    }

    .hpa-intro__badge {
        right: 16px;
    }

    .hpa-cta__box {
        flex-direction: column;
        align-items: flex-start;
    }
}

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

    .hpa-section {
        padding: 60px 0;
    }

    .hpa-h2 {
        font-size: 26px;
    }

    .hpa-head--row {
        flex-direction: column;
        align-items: flex-start;
    }

    .hpa-grid4,
    .hpa-values__list,
    .hpa-projects {
        grid-template-columns: 1fr;
    }

    .hpa-intro__badge {
        right: 12px;
        bottom: 12px;
        padding: 10px 14px;
    }

    .hpa-cta {
        padding-bottom: 60px;
    }

    .hpa-cta__box {
        padding: 28px 20px;
    }

    .hpa-cta h2 {
        font-size: 23px;
    }

    .hpa-cta__actions,
    .hpa-btn {
        width: 100%;
    }
}
