/* Thu gọn các bảng giá và chính sách dài thành nhóm mở/đóng dễ tra cứu. */

#bang-gia.hh-service-section,
#chinh-sach.hh-service-section {
    padding-block: 56px;
}

#bang-gia .hh-service-section-head,
#chinh-sach .hh-service-section-head {
    margin-bottom: 18px;
}

#bang-gia .hh-service-section-head p:last-child,
#chinh-sach .hh-service-section-head p:last-child {
    margin-top: 8px;
    line-height: 1.5;
}

#bang-gia .hh-service-anchor-nav {
    position: static;
    gap: 6px;
    margin-bottom: 14px;
    padding: 8px;
}

#bang-gia .hh-service-anchor-nav a {
    min-height: 34px;
    padding-inline: 11px;
}

#bang-gia .hh-service-data-grid {
    gap: 12px;
    margin-top: 12px;
}

#bang-gia .hh-service-data-card--wide,
#chinh-sach .hh-service-policy-article,
#chinh-sach .hh-service-policy-contact {
    margin-top: 12px;
}

.hh-service-disclosure,
.hh-service-policy-disclosure {
    transition: border-color .2s ease, box-shadow .2s ease;
}

.hh-service-disclosure.is-open,
.hh-service-policy-disclosure.is-open {
    border-color: #efb9bc;
    box-shadow: 0 10px 28px rgba(16, 24, 40, .09);
}

.hh-service-disclosure-toggle {
    width: 100%;
    margin: 0;
    color: #171b24;
    font: inherit;
    text-align: left;
    cursor: pointer;
    appearance: none;
    border: 0;
}

.hh-service-disclosure > .hh-service-disclosure-toggle {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 14px;
    min-height: 66px;
    padding: 13px 17px;
    background: linear-gradient(135deg, #fff 0%, #fff8f8 100%);
}

.hh-service-disclosure > .hh-service-disclosure-toggle > div:first-child {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.hh-service-disclosure > .hh-service-disclosure-toggle h3 {
    margin: 0;
    color: #171b24;
    font-size: 17px;
    font-weight: 820;
    line-height: 1.3;
}

.hh-service-disclosure > .hh-service-disclosure-toggle > p {
    max-width: 230px;
    margin: 0;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.4;
    text-align: right;
}

.hh-service-disclosure-action {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 104px;
    color: #b3121a;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.hh-service-disclosure-action i {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #fff;
    background: #d71920;
    border-radius: 50%;
    font-size: 10px;
    transition: transform .2s ease;
}

.hh-service-disclosure-toggle[aria-expanded="true"] .hh-service-disclosure-action i {
    transform: rotate(180deg);
}

.hh-service-disclosure-toggle:hover {
    background: #fff4f4;
}

.hh-service-disclosure-toggle:focus-visible {
    position: relative;
    z-index: 2;
    outline: 3px solid rgba(215, 25, 32, .22);
    outline-offset: -3px;
}

.hh-service-disclosure-panel[hidden] {
    display: none !important;
}

.hh-service-disclosure-panel {
    border-top: 1px solid #e8ebef;
}

#bang-gia .hh-service-data-grid .hh-service-data-card.is-open {
    grid-column: 1 / -1;
}

#bang-gia .hh-service-disclosure-panel > .hh-service-info-panel {
    margin: 0;
    padding: 17px 20px;
    border: 0;
    border-top: 1px solid #f0dfae;
    border-radius: 0;
}

#bang-gia .hh-service-info-panel-head {
    margin-bottom: 9px;
}

#bang-gia .hh-service-info-list,
#chinh-sach .hh-service-info-list {
    gap: 6px;
}

#bang-gia .hh-service-info-list li,
#chinh-sach .hh-service-info-list li {
    line-height: 1.5;
}

#bang-gia .hh-service-info-list--inside {
    padding: 15px 18px 17px;
}

#bang-gia .hh-service-note--standalone {
    margin-top: 12px;
}

#bang-gia .hh-service-table th,
#bang-gia .hh-service-table td,
#chinh-sach .hh-service-table th,
#chinh-sach .hh-service-table td {
    padding: 10px 14px;
    line-height: 1.42;
}

#chinh-sach .hh-service-policy-principles {
    gap: 12px;
    margin-bottom: 14px;
}

#chinh-sach .hh-service-policy-principles article {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 16px;
}

#chinh-sach .hh-service-policy-principles i {
    width: 40px;
    height: 40px;
}

#chinh-sach .hh-service-policy-principles p {
    margin-top: 4px;
    line-height: 1.45;
}

.hh-service-policy-disclosure > .hh-service-disclosure-toggle {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    padding: 12px 17px;
    background: linear-gradient(135deg, #fff 0%, #fff7f7 100%);
}

.hh-service-policy-disclosure > .hh-service-disclosure-toggle > span:first-child {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #fff;
    background: #d71920;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 850;
}

.hh-service-policy-disclosure > .hh-service-disclosure-toggle > div {
    min-width: 0;
}

.hh-service-policy-disclosure > .hh-service-disclosure-toggle p {
    margin: 0 0 1px;
    color: #d71920;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.hh-service-policy-disclosure > .hh-service-disclosure-toggle h3 {
    margin: 0;
    color: #171b24;
    font-size: 18px;
    font-weight: 820;
    line-height: 1.3;
}

#chinh-sach .hh-service-policy-subsection {
    padding: 17px 20px;
}

#chinh-sach .hh-service-policy-subsection h4,
#chinh-sach .hh-service-policy-columns h4 {
    margin-bottom: 6px;
    line-height: 1.4;
}

#chinh-sach .hh-service-policy-subsection > p,
#chinh-sach .hh-service-policy-columns p {
    line-height: 1.55;
}

#chinh-sach .hh-service-policy-subsection .hh-service-table-wrap {
    margin-top: 10px;
}

#chinh-sach .hh-service-exclusion-grid {
    padding: 5px 18px 14px;
}

#chinh-sach .hh-service-exclusion-grid li {
    grid-template-columns: 34px 1fr;
    gap: 10px;
    padding: 12px 12px 12px 0;
}

#chinh-sach .hh-service-exclusion-grid i {
    width: 34px;
    height: 34px;
}

#chinh-sach .hh-service-exclusion-grid span {
    line-height: 1.5;
}

#chinh-sach .hh-service-policy-columns {
    gap: 12px;
    padding: 16px;
}

#chinh-sach .hh-service-policy-columns section {
    padding: 15px;
}

#chinh-sach .hh-service-policy-contact.hh-service-policy-disclosure {
    padding: 0;
}

#chinh-sach .hh-service-policy-contact > .hh-service-disclosure-toggle {
    color: #fff;
    background: rgba(255, 255, 255, .045);
}

#chinh-sach .hh-service-policy-contact > .hh-service-disclosure-toggle:hover {
    background: rgba(255, 255, 255, .085);
}

#chinh-sach .hh-service-policy-contact > .hh-service-disclosure-toggle p {
    color: #ff9fa3;
}

#chinh-sach .hh-service-policy-contact > .hh-service-disclosure-toggle h3,
#chinh-sach .hh-service-policy-contact .hh-service-disclosure-action {
    color: #fff;
}

#chinh-sach .hh-service-policy-contact .hh-service-disclosure-panel {
    padding: 16px 20px 20px;
    border-color: rgba(255, 255, 255, .1);
}

#chinh-sach .hh-service-policy-contact .hh-service-disclosure-panel > p {
    margin: 0 0 12px;
    color: #c7cdd7;
    line-height: 1.5;
}

#chinh-sach .hh-service-policy-contact-grid > div {
    padding: 13px;
}

@media (max-width: 768px) {
    #bang-gia.hh-service-section,
    #chinh-sach.hh-service-section {
        padding-block: 42px;
    }

    #bang-gia .hh-service-section-head,
    #chinh-sach .hh-service-section-head {
        margin-bottom: 14px;
    }

    #bang-gia .hh-service-anchor-nav {
        margin-bottom: 10px;
        padding-block: 6px;
    }

    .hh-service-disclosure > .hh-service-disclosure-toggle {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        min-height: 62px;
        padding: 11px 13px;
    }

    .hh-service-disclosure > .hh-service-disclosure-toggle > p {
        display: none;
    }

    .hh-service-disclosure-action {
        min-width: 28px;
    }

    .hh-service-disclosure-action > span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .hh-service-policy-disclosure > .hh-service-disclosure-toggle {
        grid-template-columns: 38px minmax(0, 1fr) 28px;
        gap: 10px;
        min-height: 64px;
        padding: 11px 13px;
    }

    .hh-service-policy-disclosure > .hh-service-disclosure-toggle > span:first-child {
        width: 38px;
        height: 38px;
    }

    .hh-service-policy-disclosure > .hh-service-disclosure-toggle h3 {
        font-size: 16px;
    }

    #bang-gia .hh-service-table th,
    #bang-gia .hh-service-table td,
    #chinh-sach .hh-service-table th,
    #chinh-sach .hh-service-table td {
        padding: 9px 12px;
        line-height: 1.4;
    }
}

@media (max-width: 560px) {
    #bang-gia.hh-service-section,
    #chinh-sach.hh-service-section {
        padding-block: 36px;
    }

    #bang-gia .hh-service-data-card--wide,
    #chinh-sach .hh-service-policy-article,
    #chinh-sach .hh-service-policy-contact {
        margin-top: 9px;
    }

    #bang-gia .hh-service-data-grid {
        gap: 9px;
        margin-top: 9px;
    }

    .hh-service-disclosure > .hh-service-disclosure-toggle h3 {
        font-size: 15px;
    }

    .hh-service-disclosure > .hh-service-disclosure-toggle .hh-service-data-number {
        width: 34px;
        height: 34px;
        border-radius: 9px;
    }

    #chinh-sach .hh-service-policy-principles {
        gap: 9px;
        margin-bottom: 10px;
    }

    #chinh-sach .hh-service-policy-principles article {
        padding: 13px;
    }

    #chinh-sach .hh-service-policy-subsection {
        padding: 14px;
    }

    #chinh-sach .hh-service-policy-contact .hh-service-disclosure-panel {
        padding: 14px;
    }
}

@media (max-width: 560px) {
    #bang-gia .hh-service-disclosure > .hh-service-disclosure-toggle,
    #chinh-sach .hh-service-policy-disclosure > .hh-service-disclosure-toggle {
        padding-right: 54px;
    }
}
@media print {
    .hh-service-disclosure-panel[hidden] {
        display: block !important;
    }

    .hh-service-disclosure-action {
        display: none !important;
    }
}
