/* Trang Nhom giai phap Maintain (modules/solutions/maintain.tpl) - theo html/demo/giai_phap_Maintain/Trang Maintain.jpg */
.page-maintain {
    color: var(--navy);
    background: #fff
}

.maintain-wrap {
    width: min(100% - 64px, 1380px);
    margin: auto
}

/* Kicker: gach cam ngan + chu in hoa cam */
.page-maintain .maintain-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase
}

.page-maintain .maintain-kicker::before {
    content: '';
    width: 28px;
    height: 4px;
    background: var(--brand);
    border-radius: 2px
}

.maintain-services h2,
.maintain-check h2,
.maintain-process h2,
.maintain-cta h2 {
    margin: 10px 0 12px;
    font-size: 30px;
    line-height: 1.15
}

/* Nut (chi gan qua class) */
.page-maintain .maintain-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: var(--brand);
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: filter .2s
}

.page-maintain .maintain-btn:hover {
    filter: brightness(1.06);
    color: #fff
}

/* Hero nen toi */
.maintain-hero {
    min-height: 400px;
    background: linear-gradient(90deg, #062b4f 0%, rgba(6, 43, 79, .94) 40%, rgba(6, 43, 79, .35) 70%, rgba(6, 43, 79, 0) 100%), url('../images/solution-maintain.png');
    background-color: #062b4f;
    background-position: 80% center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff
}

.maintain-hero .maintain-wrap {
    padding: 56px 0
}

.maintain-hero h1 {
    margin: 14px 0 14px;
    color: #fff;
    font-size: 44px;
    line-height: 1.1
}

.maintain-hero h1 em {
    color: var(--brand);
    font-style: normal
}

.maintain-hero p {
    max-width: 520px;
    margin: 0;
    color: #dbe7f1;
    font-size: 16px;
    line-height: 1.5
}

.maintain-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    margin-top: 26px
}

.page-maintain .maintain-video {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none
}

.maintain-video i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding-left: 2px;
    border: 1.5px solid #fff;
    border-radius: 50%;
    transition: background .2s, border-color .2s
}

.maintain-video span {
    display: flex;
    flex-direction: column;
    line-height: 1.3
}

.maintain-video small {
    color: #b9cbdc;
    font-size: 13px;
    font-weight: 400
}

.page-maintain .maintain-video:hover {
    color: #fff
}

.maintain-video:hover i {
    background: var(--brand);
    border-color: var(--brand)
}

/* 4 loi ich */
.maintain-benefits {
    background: #fff;
    border-bottom: 1px solid #e2ebf0
}

.maintain-benefits .maintain-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 22px 0
}

.maintain-benefits article {
    display: flex;
    align-items: flex-start;
    gap: 12px
}

.maintain-benefits i {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    padding: 11px;
    background: #e6f2fb;
    border-radius: 50%
}

.maintain-benefits i img,
.maintain-steps i img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.maintain-benefits strong {
    display: block;
    margin: 2px 0 4px;
    font-size: 16px
}

.maintain-benefits small {
    display: block;
    color: #697b8d;
    font-size: 14px;
    line-height: 1.35
}

/* Dich vu */
.maintain-services {
    padding: 52px 0 48px
}

.maintain-lead {
    max-width: 760px;
    margin: 0 0 28px;
    color: #5f7285;
    font-size: 16px;
    line-height: 1.5
}

.maintain-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

/* The theo mau: anh tran sat mep tren cua the (khong le), noi dung co le ben duoi */
.maintain-cards article {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e3ebf1;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(8, 45, 81, .05);
    transition: box-shadow .2s, transform .2s
}

.maintain-cards article:hover {
    box-shadow: 0 10px 24px rgba(8, 45, 81, .1);
    transform: translateY(-2px)
}

.maintain-card__img {
    display: block;
    overflow: hidden
}

.maintain-card__img img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .3s
}

.maintain-cards article:hover .maintain-card__img img {
    transform: scale(1.04)
}

.maintain-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px 16px 18px
}

.maintain-card__body h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3
}

.maintain-card__body h3 a {
    color: inherit;
    text-decoration: none
}

.maintain-card__body p {
    flex: 1;
    margin: 0;
    color: #66788b;
    font-size: 14px;
    line-height: 1.45
}

/* Specificity cao hon ".beta-v2 a { color: inherit }" (beta-shell.css) de giu mau cam */
.maintain-cards .maintain-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none
}

.maintain-cards .maintain-more span {
    transition: transform .2s
}

.maintain-cards .maintain-more:hover {
    color: var(--brand)
}

.maintain-cards .maintain-more:hover span {
    transform: translateX(3px)
}

/* Kiem tra suc khoe thiet bi: dai xanh nhat, anh tran le phai mo dan vao nen */
.maintain-check {
    position: relative;
    background: #e8f4fc;
    overflow: hidden
}

.maintain-check__img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 100% !important;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 30%)
}

.maintain-check__content {
    position: relative;
    max-width: 560px;
    padding: 52px 0
}

.maintain-check h2 {
    font-style: italic
}

.maintain-check p {
    margin: 0 0 24px;
    color: #5f7285;
    font-size: 16px;
    line-height: 1.5
}

/* Quy trinh: so trong vong tron + icon o vuong bo goc, mui ten › giua cac buoc */
.maintain-process {
    padding: 52px 0
}

.maintain-process h2 {
    margin-bottom: 30px
}

.maintain-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none
}

/* Moi buoc: so (vong tron nen xanh nhat) ben trai; icon + tieu de + mo ta thut vao thang hang voi icon */
.maintain-steps li {
    position: relative;
    padding-left: 54px
}

.maintain-steps li:not(:last-child)::after {
    content: '›';
    position: absolute;
    top: 8px;
    right: -28px;
    color: #9fb3c4;
    font-size: 30px;
    line-height: 1
}

.maintain-steps__head {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-bottom: 12px
}

.maintain-steps b {
    position: absolute;
    top: 2px;
    left: 0;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    background: #e6f2fb;
    border-radius: 50%;
    color: var(--navy);
    font-size: 14px;
    font-weight: 800
}

.maintain-steps i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: #e6f2fb;
    border-radius: 100%;
}

/* Icon mac dinh cua theme (cam / trang) -> doi sang xanh dam nhu mau; icon admin tu upload giu nguyen mau */
.maintain-steps i img[src*="/assets/images/icons/"],
.maintain-benefits i img[src*="/assets/images/icons/"] {
    filter: brightness(0) saturate(100%) invert(14%) sepia(39%) saturate(2386%) hue-rotate(189deg) brightness(93%) contrast(101%)
}

.maintain-steps strong {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 1.3
}

.maintain-steps small {
    display: block;
    color: #66788b;
    font-size: 13px;
    line-height: 1.45
}

/* Lien he (tuy chon) */
.maintain-cta {
    padding: 52px 0;
    background-color: #073a66;
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff
}

.maintain-cta h2 {
    max-width: 640px;
    color: #fff
}

.maintain-cta p {
    max-width: 560px;
    margin: 0 0 22px;
    color: #d9e8f4;
    font-size: 16px;
    line-height: 1.5
}

@media (max-width: 1023px) {
    .maintain-cards,
    .maintain-benefits .maintain-wrap {
        grid-template-columns: repeat(2, 1fr)
    }

    .maintain-steps {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px
    }

    .maintain-steps li::after {
        display: none
    }

    .maintain-check__img {
        position: static;
        width: 100%;
        height: 260px;
        -webkit-mask-image: none;
        mask-image: none
    }

    .maintain-check__content {
        padding: 32px 0 40px
    }
}

@media (max-width: 767px) {
    .maintain-wrap {
        width: min(100% - 30px, 1380px)
    }

    .maintain-hero {
        min-height: 0;
        background-position: 70% center
    }

    .maintain-hero .maintain-wrap {
        padding: 36px 0
    }

    .maintain-hero h1 {
        font-size: 32px
    }

    .maintain-services h2,
    .maintain-check h2,
    .maintain-process h2,
    .maintain-cta h2 {
        font-size: 24px
    }

    .maintain-cards,
    .maintain-benefits .maintain-wrap,
    .maintain-steps {
        grid-template-columns: 1fr
    }
}
