/* =========================================================
   Nội dung bảng giá & chính sách dạng HTML thuần văn bản
========================================================= */

.hh-service-anchor-nav {
    position: sticky;
    z-index: 20;
    top: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
    padding: 12px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--hh-border, #e6e9ef);
    border-radius: 14px;
    box-shadow: var(--hh-shadow-sm, 0 1px 3px rgba(16, 24, 40, .06));
    backdrop-filter: blur(10px);
}

.hh-service-anchor-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 13px;
    color: #505865;
    background: #f5f6f8;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    transition: color var(--hh-transition, .2s ease), background var(--hh-transition, .2s ease), border-color var(--hh-transition, .2s ease);
}

.hh-service-anchor-nav a:hover {
    color: var(--hh-primary, #d71920);
    background: var(--hh-primary-soft, #fff5f5);
    border-color: #f0c0c3;
}

.hh-service-data-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 22px;
}

.hh-service-data-card,
.hh-service-policy-article {
    background: #fff;
    border: 1px solid var(--hh-border, #e6e9ef);
    border-radius: 17px;
    box-shadow: var(--hh-shadow-sm, 0 1px 3px rgba(16, 24, 40, .06));
    overflow: hidden;
    scroll-margin-top: 90px;
}

.hh-service-data-card--wide {
    margin-top: 22px;
}

.hh-service-anchor-nav + .hh-service-data-card--wide {
    margin-top: 0;
}

.hh-service-data-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 80px;
    padding: 17px 22px;
    background: linear-gradient(135deg, #fff 0%, #fff7f7 100%);
    border-bottom: 1px solid var(--hh-border, #e6e9ef);
}

.hh-service-data-card-head > div {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.hh-service-data-card-head h3 {
    margin: 0;
    color: #171b24;
    font-size: 19px;
    font-weight: 820;
    line-height: 1.3;
}

.hh-service-data-card-head > p {
    max-width: 280px;
    margin: 0;
    color: var(--hh-text-light, #6b7280);
    font-size: 12px;
    text-align: right;
}

.hh-service-data-number {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #fff;
    background: var(--hh-primary, #d71920);
    border-radius: 11px;
    font-size: 11px;
    font-weight: 850;
    box-shadow: 0 6px 14px rgba(215, 25, 32, .2);
}

.hh-service-table--install,
.hh-service-table--repair,
.hh-service-table--warranty,
.hh-service-table--centers {
    min-width: 900px;
}

.hh-service-table--install th:first-child,
.hh-service-table--install td:first-child {
    width: 16%;
}

.hh-service-table--install th:nth-child(2),
.hh-service-table--install td:nth-child(2) {
    width: 62%;
}

.hh-service-table--install th:last-child,
.hh-service-table--install td:last-child {
    width: 22%;
}

.hh-service-table--install tbody th[scope="rowgroup"] {
    color: var(--hh-primary-dark, #b3121a);
    background: #fff7f7;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .03em;
    text-align: center;
    text-transform: uppercase;
}

.hh-service-table--install tbody td:nth-child(2),
.hh-service-table--transport tbody td:nth-child(2),
.hh-service-table--warranty tbody td:not(:first-child),
.hh-service-table--centers tbody td:not(:first-child) {
    color: #424a56;
    font-weight: 500;
}

.hh-service-table--repair th:first-child,
.hh-service-table--repair td:first-child {
    width: 58%;
}

.hh-service-table--repair th:nth-child(2),
.hh-service-table--repair td:nth-child(2),
.hh-service-table--repair th:nth-child(3),
.hh-service-table--repair td:nth-child(3) {
    width: 21%;
}

.hh-service-table--transport {
    min-width: 700px;
}

.hh-service-table--transport th:first-child,
.hh-service-table--transport td:first-child {
    width: 46%;
}

.hh-service-table--warranty th:first-child,
.hh-service-table--warranty td:first-child {
    width: 34%;
}

.hh-service-table--warranty th:nth-child(2),
.hh-service-table--warranty td:nth-child(2) {
    width: 18%;
}

.hh-service-table--warranty th:nth-child(3),
.hh-service-table--warranty td:nth-child(3) {
    width: 22%;
}

.hh-service-table--warranty th:nth-child(4),
.hh-service-table--warranty td:nth-child(4) {
    width: 26%;
}

.hh-service-table--centers th:first-child,
.hh-service-table--centers td:first-child {
    width: 19%;
    color: var(--hh-primary-dark, #b3121a);
    font-weight: 820;
    text-transform: uppercase;
}

.hh-service-table--centers th:nth-child(2),
.hh-service-table--centers td:nth-child(2) {
    width: 43%;
}

.hh-service-table--centers th:nth-child(3),
.hh-service-table--centers td:nth-child(3) {
    width: 38%;
}

.hh-service-table--centers a {
    color: var(--hh-primary, #d71920);
    font-weight: 750;
    text-decoration: none;
}

.hh-service-table--centers a:hover {
    text-decoration: underline;
}

.hh-service-info-panel {
    margin-top: 18px;
    padding: 24px;
    color: #4b535f;
    background: #fffdf6;
    border: 1px solid #f0dfae;
    border-radius: 15px;
}

.hh-service-info-panel-head {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 15px;
}

.hh-service-info-panel-head i {
    color: #ce9418;
    font-size: 18px;
}

.hh-service-info-panel-head h3 {
    margin: 0;
    color: #302818;
    font-size: 17px;
    font-weight: 800;
}

.hh-service-info-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hh-service-info-list li {
    position: relative;
    padding-left: 22px;
    font-size: 13px;
    line-height: 1.65;
}

.hh-service-info-list li::before {
    position: absolute;
    content: "";
    width: 7px;
    height: 7px;
    left: 2px;
    top: .7em;
    background: var(--hh-primary, #d71920);
    border-radius: 50%;
    box-shadow: 0 0 0 4px #ffe9ea;
}

.hh-service-info-list--inside {
    padding: 20px 22px 22px;
}

.hh-service-note--standalone {
    margin-top: 22px;
    border: 1px solid #f0dfae;
    border-radius: 12px;
}

.hh-service-policy-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.hh-service-policy-principles article {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    padding: 21px;
    background: linear-gradient(145deg, #fff 0%, #fff8f8 100%);
    border: 1px solid #f0d6d8;
    border-radius: 15px;
}

.hh-service-policy-principles i {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: var(--hh-primary, #d71920);
    background: var(--hh-primary-light, #ffecec);
    border-radius: 13px;
}

.hh-service-policy-principles h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
}

.hh-service-policy-principles p {
    margin: 6px 0 0;
    color: var(--hh-text-light, #6b7280);
    font-size: 13px;
    line-height: 1.55;
}

.hh-service-policy-article {
    margin-top: 20px;
}

.hh-service-policy-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 84px;
    padding: 17px 22px;
    background: linear-gradient(135deg, #fff 0%, #fff6f6 100%);
    border-bottom: 1px solid var(--hh-border, #e6e9ef);
}

.hh-service-policy-heading > span {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #fff;
    background: var(--hh-primary, #d71920);
    border-radius: 13px;
    font-size: 14px;
    font-weight: 850;
}

.hh-service-policy-heading p {
    margin: 0 0 2px;
    color: var(--hh-primary, #d71920);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hh-service-policy-heading h3 {
    margin: 0;
    color: #171b24;
    font-size: 21px;
    font-weight: 820;
    line-height: 1.25;
}

.hh-service-policy-subsection {
    padding: 24px;
    border-bottom: 1px solid #edf0f4;
}

.hh-service-policy-subsection:last-child {
    border-bottom: 0;
}

.hh-service-policy-subsection h4,
.hh-service-policy-columns h4 {
    margin: 0 0 10px;
    color: #252b35;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
}

.hh-service-policy-subsection > p,
.hh-service-policy-columns p {
    margin: 0;
    color: #59616e;
    font-size: 13px;
    line-height: 1.7;
}

.hh-service-policy-subsection .hh-service-table-wrap {
    margin-top: 15px;
    border: 1px solid var(--hh-border, #e6e9ef);
    border-radius: 11px;
}

.hh-service-exclusion-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 10px 22px 22px;
    list-style: none;
}

.hh-service-exclusion-grid li {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: start;
    padding: 16px 14px 16px 0;
    border-bottom: 1px solid #edf0f4;
}

.hh-service-exclusion-grid li:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.hh-service-exclusion-grid i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--hh-primary, #d71920);
    background: var(--hh-primary-light, #ffecec);
    border-radius: 11px;
}

.hh-service-exclusion-grid span {
    color: #505865;
    font-size: 13px;
    line-height: 1.62;
}

.hh-service-policy-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    padding: 24px;
}

.hh-service-policy-columns section {
    padding: 20px;
    background: #f8f9fb;
    border: 1px solid var(--hh-border, #e6e9ef);
    border-radius: 13px;
}

.hh-service-policy-columns .hh-service-info-list--inside {
    padding: 4px 0 0;
}

.hh-service-policy-contact {
    margin-top: 20px;
    padding: 0 24px 26px;
    color: #fff;
    background:
        radial-gradient(circle at 92% 12%, rgba(215, 25, 32, .45), transparent 30%),
        #181d27;
    border-radius: 17px;
    box-shadow: var(--hh-shadow-md, 0 8px 20px rgba(16, 24, 40, .1));
    overflow: hidden;
}

.hh-service-policy-heading--light {
    margin: 0 -24px 18px;
    background: rgba(255, 255, 255, .045);
    border-color: rgba(255, 255, 255, .1);
}

.hh-service-policy-heading--light p {
    color: #ff9fa3;
}

.hh-service-policy-heading--light h3 {
    color: #fff;
}

.hh-service-policy-contact > p {
    margin: 0 0 17px;
    color: #c7cdd7;
}

.hh-service-policy-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hh-service-policy-contact-grid > div {
    display: grid;
    grid-template-columns: 38px 1fr;
    column-gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
}

.hh-service-policy-contact-grid i {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #fff;
    background: var(--hh-primary, #d71920);
    border-radius: 10px;
}

.hh-service-policy-contact-grid span {
    color: #cbd1db;
    font-size: 12px;
    line-height: 1.5;
}

.hh-service-policy-contact-grid a {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.hh-service-policy-contact-grid a:hover {
    color: #ff9fa3;
}

@media (max-width: 1100px) {
    .hh-service-data-grid,
    .hh-service-policy-principles {
        grid-template-columns: 1fr;
    }

    .hh-service-data-grid .hh-service-data-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hh-service-anchor-nav {
        position: static;
        flex-wrap: nowrap;
        margin-inline: -14px;
        padding-inline: 14px;
        background: transparent;
        border-inline: 0;
        border-radius: 0;
        box-shadow: none;
        overflow-x: auto;
        backdrop-filter: none;
    }

    .hh-service-anchor-nav a {
        flex: 0 0 auto;
        background: #fff;
        border-color: var(--hh-border, #e6e9ef);
    }

    .hh-service-data-card-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .hh-service-data-card-head > p {
        max-width: none;
        padding-left: 50px;
        text-align: left;
    }

    .hh-service-info-panel,
    .hh-service-policy-subsection {
        padding: 20px;
    }

    .hh-service-exclusion-grid,
    .hh-service-policy-columns,
    .hh-service-policy-contact-grid {
        grid-template-columns: 1fr;
    }

    .hh-service-exclusion-grid li:nth-last-child(2) {
        border-bottom: 1px solid #edf0f4;
    }

    .hh-service-policy-columns {
        gap: 12px;
        padding: 18px;
    }

    .hh-service-policy-heading {
        align-items: flex-start;
    }

    .hh-service-policy-heading h3 {
        font-size: 18px;
    }
}

@media (max-width: 560px) {
    .hh-service-data-card,
    .hh-service-policy-article,
    .hh-service-policy-contact {
        border-radius: 14px;
    }

    .hh-service-data-card-head,
    .hh-service-policy-heading {
        padding: 15px 17px;
    }

    .hh-service-info-list--inside {
        padding: 17px;
    }

    .hh-service-policy-principles article {
        grid-template-columns: 40px 1fr;
        padding: 17px;
    }

    .hh-service-policy-principles i {
        width: 40px;
        height: 40px;
    }

    .hh-service-policy-contact {
        padding-inline: 18px;
    }

    .hh-service-policy-heading--light {
        margin-inline: -18px;
    }
}

@media print {
    .hh-service-anchor-nav,
    .hh-service-quick-grid,
    .hh-service-lookup,
    .hh-service-mobile-call {
        display: none !important;
    }

    .hh-service-data-card,
    .hh-service-policy-article {
        break-inside: avoid;
        box-shadow: none;
    }

    .hh-service-table-wrap {
        overflow: visible;
    }
}
