/* ============ Trang Dịch vụ (template-parts/page/hp-services.php) ============ */
/* Dùng chung khối .hpa trong about-page.css, file này chỉ thêm phần riêng */

.hpa h4,
.hpa ol {
    margin: 0;
}

.hpa h4 {
    font-family: var(--sans) !important;
}

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

.hpa-head--center {
    margin-inline: auto;
    text-align: center;
}

/* ---------- Dòng thang & giá ---------- */
.hps-price {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.hps-price__item {
    position: relative;
    padding: 34px 32px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

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

.hps-price__item.is-feature {
    border-color: var(--blue);
    box-shadow: 0 18px 38px rgba(10, 79, 193, .1);
}

.hpa .hps-price__tag {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    background: var(--tint);
    border-radius: 999px;
}

.hps-price__item h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy);
}

.hps-price__val {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 14px 0 10px;
}

.hps-price__val small {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

.hps-price__val strong {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--blue);
}

.hps-price__item > p {
    font-size: 15.5px;
    color: var(--muted);
}

.hps-checks {
    display: grid;
    gap: 10px;
    margin-top: 20px !important;
    padding-top: 20px !important;
    border-top: 1px dashed var(--line);
}

.hps-checks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
}

.hps-checks .hpa-ico {
    width: 20px;
    height: 20px;
    padding: 3px;
    border-radius: 50%;
    background: var(--tint);
    color: var(--blue);
    stroke-width: 2.6;
}

.hps-price__note {
    max-width: 760px;
    margin: 22px auto 0 !important;
    font-size: 14px;
    text-align: center;
    color: var(--muted);
}

/* ---------- Giải pháp ---------- */
.hps-sol {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hps-sol__item {
    padding: 28px 26px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.hps-sol__item .hpa-ico {
    width: 30px;
    height: 30px;
    margin-bottom: 16px;
    color: var(--blue);
}

.hps-sol__item h3 {
    margin-bottom: 10px;
    font-size: 18.5px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--navy);
}

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

/* ---------- Quy trình 5 bước ---------- */
.hps-h3 {
    margin: 56px 0 22px !important;
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
}

.hps-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    counter-reset: none;
}

.hps-steps li {
    position: relative;
    padding: 22px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
}

/* đường nối giữa các bước */
.hps-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 39px;
    right: -17px;
    width: 18px;
    height: 2px;
    background: var(--line);
}

.hpa .hps-steps__num {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: var(--blue);
    border-radius: 50%;
}

.hps-steps h4 {
    margin-bottom: 6px;
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--navy);
}

.hps-steps p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--muted);
}

/* ---------- Phù hợp / Chuẩn xác / An tâm ---------- */
.hps-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 95% 10%, rgba(22, 96, 224, .45), transparent 45%),
        linear-gradient(135deg, var(--navy-dark), var(--navy));
    border-radius: 20px;
}

.hps-values > div {
    padding: 30px 32px;
}

.hps-values > div + div {
    border-left: 1px solid rgba(255, 255, 255, .14);
}

.hps-values h3 {
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 700;
    color: var(--gold-1);
}

.hps-values p {
    font-size: 15px;
    color: #d4ddee;
}

/* ---------- CTA ---------- */
.hps-cta {
    padding-top: 24px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hps-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .hps-steps li::after {
        display: none;
    }
}

@media (max-width: 860px) {
    .hps-sol,
    .hps-values {
        grid-template-columns: 1fr;
    }

    .hps-values > div + div {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .14);
    }
}

@media (max-width: 640px) {
    .hps-price,
    .hps-steps {
        grid-template-columns: 1fr;
    }

    .hps-price__item {
        padding: 26px 20px;
    }

    .hps-price__val strong {
        font-size: 30px;
    }

    .hps-h3 {
        margin-top: 44px !important;
        font-size: 21px;
    }

    /* quy trình dạng danh sách dọc: số bên trái */
    .hps-steps li {
        display: grid;
        grid-template-columns: 36px 1fr;
        column-gap: 14px;
        padding: 18px 16px;
    }

    .hpa .hps-steps__num {
        grid-row: span 2;
        margin-bottom: 0;
    }

    .hps-values > div {
        padding: 24px 20px;
    }
}
