@font-face {
    font-family: 'HP Bai Jamjuree';
    src: url('/font/BaiJamjuree/BaiJamjuree-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-display: swap
}

@font-face {
    font-family: 'HP Bai Jamjuree';
    src: url('/font/BaiJamjuree/BaiJamjuree-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap
}

@font-face {
    font-family: HP Inter;
    src: url('/font/Inter/static/Inter_18pt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap
}

@font-face {
    font-family: HP Inter;
    src: url('/font/Inter/static/Inter_18pt-SemiBold.ttf') format('truetype');
    font-weight: 600 700;
    font-display: swap
}

.hp-home {
    --hp-blue: #04285f;
    --hp-orange: #ff5a0c;
    --hp-ink: #3a3737;
    width: 100%;
    color: var(--hp-ink);
    background: #fff;
    font: 15px/1.6 'HP Inter',Arial,sans-serif;
    isolation: isolate
}

.arcontactus-widget .messanger p {
    margin: 0;
    font-family: 'HP BAI JAMJUREE' !important;
    font-size: 16px !important;
    color: rgb(4 40 95) !important;
    font-weight: bold !important;
}

.hp-home, .hp-home *, .hp-home *:before, .hp-home *:after {
    box-sizing: border-box
}

    .hp-home h1, .hp-home h2, .hp-home h3, .hp-home p, .hp-home ul {
        margin: 0;
        padding: 0
    }

    .hp-home ul {
        list-style: none
    }

    .hp-home a {
        color: inherit;
        text-decoration: none
    }

    .hp-home button {
        font: inherit;
        cursor: pointer
    }

    .hp-home img {
        display: block;
        max-width: 100%
    }

    .hp-home h1, .hp-home h2, .hp-home h3 {
        font-family: 'HP Bai Jamjuree','HP Inter',Arial,sans-serif;
        font-weight: 600;
        line-height: 1.4;
        letter-spacing: 0
    }

    .hp-home h2 {
        font-size: 36px;
        color: var(--hp-blue);
        text-transform: uppercase
    }

    .hp-home :focus-visible {
        outline: 3px solid var(--hp-orange);
        outline-offset: 4px
    }

    .hp-home [hidden] {
        display: none
    }

    .hp-home .hp-container {
        width: min(1280px,calc(100% - 48px));
        margin-inline: auto
    }

    .hp-home .hp-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        min-height: 50px;
        padding: 10px 28px;
        background: var(--hp-orange);
        color: white;
        border: 0;
        border-radius: 7px;
        font-size: 16px;
        transition: background .2s,transform .2s
    }

        .hp-home .hp-button:hover {
            background: #d94300;
            transform: translateY(-2px)
        }

    .hp-home .hp-button--small {
        min-height: 35px;
        padding: 6px 16px;
        font-size: 14px
    }

    .hp-home .hp-skip {
        position: absolute;
        left: 24px;
        top: -100px;
        z-index: 100;
        background: white;
        padding: 12px
    }

        .hp-home .hp-skip:focus {
            top: 8px
        }

    .hp-home .hp-header {
        position: relative;
        z-index: 20;
        height: 77px;
        color: var(--hp-blue)
    }

    .hp-home .hp-top {
        height: 77px;
        background: var(--hp-blue);
        color: #fff
    }

    .hp-home .hp-top__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding-top: 10px;
        font-size: 13px;
        line-height: 24px
    }

    .hp-home .hp-top__company {
        font: 600 16px/24px 'HP Bai Jamjuree',Arial,sans-serif;
        text-transform: uppercase
    }

    .hp-home .hp-top__address {
        font-size: 13px;
        font-family: 'Inter_24pt-Regular';
    }

    .hp-home .hp-navigation {
        position: absolute;
        top: 44px;
        left: 0;
        right: 0;
        min-height: 85px;
        display: flex;
        align-items: center;
        background: #fff;
        border-left: 8px solid var(--hp-orange);
        padding: 0 24px;
        box-shadow: 0 3px 14px #04285f12
    }

    .hp-home .hp-brand {
        flex: 0 0 112px;
        margin-right: 20px
    }

        .hp-home .hp-brand img {
            width: 98px;
            height: 84px;
            object-fit: contain
        }

    .hp-home .hp-nav {
        flex: 1;
        min-width: 0
    }

        .hp-home .hp-nav > ul {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px
        }

        .hp-home .hp-nav li {
            position: relative;
            display: block;
        }

        .hp-home .hp-nav a {
            display: block;
            padding: 12px 0;
            font: 600 15px/1.25 'HP Bai Jamjuree',Arial,sans-serif;
            text-transform: uppercase
        }

            .hp-home .hp-nav a:hover, .hp-home .hp-nav a[aria-current] {
                color: var(--hp-orange)
            }

    .hp-home .hp-nav__row {
        display: flex;
        align-items: center;
        gap: 4px
    }

    .hp-home .hp-sub-toggle {
        padding: 6px 2px;
        background: transparent;
        border: 0;
        color: var(--hp-blue);
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: -15px;
        top: 0;
    }

    .hp-home .hp-submenu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 240px;
        max-width: 300px;
        background: #fff;
        padding: 10px 18px;
        box-shadow: 0 8px 25px #04285f26;
        border-radius: 0 0 8px 8px
    }

        .hp-home .hp-submenu a {
            font-size: 15px;
            text-transform: none;
            line-height: 1.4
        }

        .hp-home .hp-submenu .hp-submenu {
            top: 0;
            left: 100%
        }

    .hp-home .hp-nav li.is-open > .hp-submenu {
        display: block
    }

    .hp-home .hp-nav > ul > li:nth-last-child(-n+3) > .hp-submenu {
        left: auto;
        right: 0
    }

    .hp-home .hp-menu-toggle {
        display: none
    }

    .hp-home .hp-hero {
        position: relative;
        background: #eaf2f7;
        overflow: hidden
    }

    .hp-home .hp-hero__slider {
    }

    .hp-home .hp-hero .swiper-wrapper, .hp-home .hp-hero .swiper-slide {
        height: 100%
    }

    .hp-home .hp-hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hp-home .hp-hero__image-link {
        position: absolute;
        inset: 0
    }

    .hp-home .hp-hero:after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg,#fff 0%,#ffffffd9 22%,#ffffff70 43%,transparent 64%);
        pointer-events: none;
        z-index: 1;
        display: none;
    }

    .hp-home .hp-hero__inner {
        height: 100%;
        display: flex;
        align-items: center;
        position: relative;
        z-index: 2;
        pointer-events: none;
        display: none;
    }

    .hp-home .hp-hero__copy {
        width: 580px;
        padding-top: 65px;
        pointer-events: auto
    }

    .hp-home .hp-hero h1 {
        color: var(--hp-blue);
        text-transform: uppercase;
        font-size: 32px;
        line-height: 1.55;
        max-width: 580px
    }

    .hp-home .hp-top__inner a, .hp-home .hp-top__address {
        display: flex;
        align-items: center;
        gap: 4px;
    }

        .hp-home .hp-top__inner a strong {
            font-size: 15px;
            font-family: 'Inter_24pt-Bold';
        }

    .hp-home .hp-hero h1 strong {
        color: var(--hp-orange);
        font-weight: normal;
    }

    .hp-home .hp-hero p {
        max-width: 464px;
        margin: 14px 0 30px;
        color: var(--hp-blue);
        line-height: 1.5
    }

    .hp-home .hp-hero__pagination {
        position: absolute;
        bottom: 18px;
        left: 0;
        right: 0;
        z-index: 3;
        text-align: center
    }

    .hp-home .swiper-pagination-bullet-active {
        background: var(--hp-orange)
    }

    .hp-home .hp-about {
        padding: 80px 0 60px;
        position: relative;
        background: url(/Design/img/HoangPhongSolar/home/decor-ab.jpg) no-repeat;
        background-size: cover;
    }

    .hp-home .hp-about__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: center
    }

    .hp-home .hp-about__media {
        position: relative;
        min-width: 0;
        padding-left: 80px
    }

    .hp-home .hp-about__slider {
        width: 100%;
        height: 595px;
        border-radius: 10px;
    }

        .hp-home .hp-about__slider .swiper-wrapper {
            transition-timing-function: cubic-bezier(.22,.61,.36,1);
        }

        .hp-home .hp-about__slider .swiper-slide {
            height: 100%;
        }

        .hp-home .hp-about__slide-link {
            display: block;
            width: 100%;
            height: 100%;
        }

        .hp-home .hp-about__slider .hp-about__primary,
        .hp-home .hp-about__slider .hp-about__secondary {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
            border-radius: 10px;
        }

        .hp-home .hp-about__slider:not(.swiper-initialized) .swiper-slide:not(:first-child) {
            display: none;
        }

        .hp-home .hp-about__media:before {
            content: '';
            position: absolute;
            top: 0;
            left: 30px;
            width: 5px;
            height: 75%;
            border-radius: 18px;
            background: linear-gradient(var(--hp-orange) 0 30%,transparent 30% 38%,var(--hp-blue) 38%)
        }

        .hp-home .hp-about__media:after {
            content: "";
            position: absolute;
            background: url(/Design/img/HoangPhongSolar/home/decor-ab.png) no-repeat;
            left: -27px;
            bottom: -101px;
            width: 411px;
            height: 317px;
            z-index: 1;
        }

    .hp-home .hp-about__primary {
        width: 100%;
        height: 595px;
        object-fit: cover;
        border-radius: 10px
    }

    .hp-home .hp-about__secondary {
        position: absolute;
        bottom: -30px;
        left: 0;
        width: 65%;
        height: auto;
        max-height: 317px;
        object-fit: contain;
        display: none;
    }

    .hp-home .hp-eyebrow {
        display: inline-block;
        background: var(--hp-orange);
        border-radius: 3px;
        padding: 6px 16px;
        color: white;
        font-size: 13px;
        text-transform: uppercase;
        margin-bottom: 15px
    }

    .hp-home .hp-about__tagline {
        margin: 16px 0;
        color: var(--hp-orange);
        font-weight: 600;
        font-style: italic;
        font-size: 20px;
        line-height: 1.5;
    }

    .hp-home .hp-about__description {
        color: #3A3737;
        font-family: 'Inter_24pt-Regular';
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px; /* 160% */
        text-align: justify;
    }

.about-img-decor-year img {
    object-fit: cover;
    width: 237px;
    height: 167px;
    position: relative;
    top: -14px;
}

.about-img-decor-year {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: end;
    -webkit-justify-content: flex-end;
}

.decor__list__about ul li {
    color: #3A3737;
    font-family: 'Inter_24pt-SemiBold';
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

    .decor__list__about ul li span {
        width: 300px;
        display: block;
        color: var(--hp-blue);
    }

.decor__list__about {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 2px;
    align-items: center;
}

    .decor__list__about ul {
        width: 56%;
    }

        .decor__list__about ul li svg {
        }

.hp-home .hp-about__highlight {
    margin-top: 24px;
    font-size: 13px;
    border-left: 3px solid var(--hp-orange);
    padding-left: 18px
}

.hp-home .hp-about__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 34px
}

.hp-home .hp-call {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #818488
}

    .hp-home .hp-call strong {
        display: block;
        font-size: 20px;
        color: var(--hp-orange)
    }

.hp-home .hp-call__icon {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--hp-blue);
    font-size: 26px
}

.hp-home .hp-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
    margin-bottom: 30px
}

    .hp-home .hp-section-head > div {
        max-width: 875px;
        min-width: 0
    }

    .hp-home .hp-section-head > .hp-button {
        flex-shrink: 0
    }

    .hp-home .hp-section-head p {
        margin-top: 8px;
        color: #04285F;
        font-family: 'Inter_24pt-Regular';
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: 151.023%; /* 22.653px */
    }

.hp-home .hp-kicker {
    font-size: 20px;
}

.hp-home .hp-fields {
    padding: 55px 0 0;
    color: white
}

    .hp-home .hp-fields h2 {
        color: white
    }

    .hp-home .hp-fields .hp-section-head p.hp-kicker {
        color: #fff;
        font-family: 'Inter_24pt-Regular';
        font-size: 20px;
    }

    .hp-home .hp-fields .hp-section-head p {
        color: #fff;
        text-align: justify;
    }

.hp-home .hp-fields__grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 17px
}

.hp-home .hp-field {
    display: block;
    position: relative;
    min-height: 425px;
    overflow: hidden;
    background: linear-gradient(135deg,#0853c5,#04285f);
    border-radius: 10px;
    border: 2px solid #FFF;
}

    .hp-home .hp-field img {
        width: 100%;
        height: 425px;
        object-fit: cover;
        transition: transform .35s
    }

    .hp-home .hp-field:after {
        content: '';
        position: absolute;
        inset: 40% 0 0;
        background: linear-gradient(transparent,#04285fe8)
    }

    .hp-home .hp-field h3 {
        position: absolute;
        z-index: 1;
        bottom: 18px;
        left: 18px;
        right: 18px;
        font-size: 24px;
        line-height: 1.5;
        text-transform: uppercase;
        color: #fff
    }

    .hp-home .hp-field:hover img {
        transform: scale(1.035)
    }

@media(max-width: 991px) {
    .hp-home .hp-fields__grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .hp-home .hp-field, .hp-home .hp-field img {
        min-height: 0;
        height: 360px
    }

    .hp-home .hp-section-head {
        align-items: flex-start
    }

    .hp-home .hp-fields .hp-section-head p.hp-kicker {
        font-size: 16px;
        margin-bottom: 10px;
        display: none;
    }

    .hp-home .hp-fields {
        background: linear-gradient(#04285f 0 80%,#fff 80%);
        padding-top: 24px;
    }
}

@media(max-width: 575px) {
    .hp-home .hp-section-head {
        display: block;
        margin-bottom: 15px;
    }

        .hp-home .hp-section-head > .hp-button {
            margin-top: 8px;
        }

    .hp-home .hp-fields__grid {
        gap: 12px
    }

    .hp-home .hp-field, .hp-home .hp-field img {
        height: 220px;
    }

        .hp-home .hp-field h3 {
            font-size: 16px;
            left: 12px;
            right: 12px
        }
}

.hp-home .hp-products {
    padding: 35px 0;
    background: #fff
}

.hp-home .hp-products__heading {
    text-align: center;
    max-width: 810px;
    margin: 0 auto 22px
}

.hp-home .hp-heading-rule {
    display: block;
    width: 274px;
    height: 5px;
    max-width: 80%;
    margin: 10px auto 16px;
    border-radius: 1px 0 0 1px;
    background: linear-gradient(90deg, rgba(255, 90, 12, 0.00) 0.05%, #FF5A0C 43.57%, rgba(255, 90, 12, 0.00) 87.1%);
}

.hp-home .hp-product-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0 38px
}

.hp-home .hp-products__ajax {
    transition: opacity .18s ease;
}

    .hp-home .hp-products__ajax.is-loading {
        opacity: .62;
        cursor: progress;
    }

        .hp-home .hp-products__ajax.is-loading a {
            pointer-events: none;
        }

    .hp-home .hp-products__ajax.is-refreshed .hp-products__grid {
        animation: hp-products-refresh .28s ease both;
    }

@keyframes hp-products-refresh {
    from {
        opacity: .55;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hp-home .hp-product-tabs a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    min-height: 55px;
    border: 1px solid var(--hp-blue);
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Inter_24pt-Medium';
}

    .hp-home .hp-product-tabs a[aria-current], .hp-home .hp-product-tabs a:hover {
        background: var(--hp-blue);
        color: white
    }

.hp-home .hp-products__grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 22px
}

.hp-home .hp-product {
    min-width: 0;
    border: 1px solid var(--hp-blue);
    border-radius: 11px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    text-align: center;
    transition: box-shadow .2s
}

.hp-home .hp-product__media {
    display: block;
    position: relative;
    padding: 7px;
    aspect-ratio: 302/287;
    overflow: hidden;
}

    .hp-home .hp-product__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 9.121px 9.121px 0 0;
        transition: all .3s;
    }

.hp-home .hp-product:hover .hp-product__media img {
    transform: scale(1.1);
}

.hp-home .hp-product__detail {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    border-radius: 5px;
    background: var(--hp-orange);
    color: white;
    padding: 9px 16px;
    opacity: 0;
    white-space: nowrap;
    transition: opacity .3s;
}

.hp-home .hp-product:hover .hp-product__detail, .hp-home .hp-product:focus-within .hp-product__detail {
    opacity: 1
}

.hp-home .hp-product:hover .hp-product__price {
    border-radius: 0 0 11.402px 11.402px;
    background: #FF5A0C;
}

.hp-home .hp-product:hover p.hp-product__category {
    color: #fff;
}

.hp-home .hp-product:hover .hp-product__body, .hp-home .hp-product:hover .hp-product__body h3 {
    color: #fff;
}

.hp-home .hp-product:hover {
    box-shadow: 0 8px 25px #04285f20;
    border-radius: 11.402px;
    background: linear-gradient(195deg, #004BBE 42.78%, #04285F 106.14%);
}

.hp-home .hp-product__body {
    padding: 10px 20px 18px;
    flex: 1;
    transition: all .3s;
}

.hp-home .hp-product__category {
    font-size: 14px;
    font-style: italic;
    color: var(--hp-orange)
}

.hp-home .hp-product h3 {
    font-size: 20px;
    color: var(--hp-blue);
    margin: 4px 0 14px;
    overflow-wrap: anywhere
}

    .hp-home .hp-product h3 a {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
    }

.hp-home .hp-product__summary {
    border-top: 1px dashed #AEAEAE;
    padding-top: 12px;
    font-size: 14px;
    line-height: 1.5;
    text-align: justify;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.hp-home .hp-product__price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 47px;
    padding: 9px;
    background: linear-gradient(#004bbe,#04285f);
    color: white
}

    .hp-home .hp-product__price strong {
        font-size: 18px
    }

.hp-home .hp-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px
}

    .hp-home .hp-pagination a {
        width: 34px;
        height: 34px;
        border: 1px solid var(--hp-blue);
        border-radius: 50%;
        display: grid;
        place-items: center;
        color: var(--hp-blue)
    }

        .hp-home .hp-pagination a[aria-current] {
            background: var(--hp-blue);
            color: white
        }

.hp-home .hp-empty {
    text-align: center;
    padding: 30px
}

@media(max-width: 991px) {
    .hp-home .hp-products__grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .hp-home .hp-product__category {
        font-size: 11px;
    }

    .hp-home .hp-product h3 a {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
    }

    .hp-home .hp-product__summary {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        padding-top: 4px;
    }

    .hp-home .hp-product__body {
        padding: 10px 12px 12px;
    }

    .hp-home .hp-product__price strong {
        font-size: 16px;
    }
}

@media(max-width: 575px) {
    .hp-home .hp-products__grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 12px;
    }

    .hp-home .hp-product__media {
        height: 155px;
        aspect-ratio: auto
    }

    .hp-home .hp-product-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 4px 2px 12px
    }

        .hp-home .hp-product-tabs a {
            flex-shrink: 0;
            max-width: 240px;
            min-height: 45px;
            padding: 10px 11px;
        }

    .hp-home .hp-products__heading {
        padding: 0 4px
    }

        .hp-home .hp-products__heading h2, h2#hpFieldsTitle {
            font-size: 20px;
        }

    .hp-home .hp-product__detail {
        opacity: 1;
        display: none;
    }

    .hp-home .hp-product h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hp-home .hp-products__ajax,
    .hp-home .hp-products__ajax.is-refreshed .hp-products__grid {
        animation: none;
        transition: none;
    }
}

.hp-home .hp-projects {
    padding: 51px 0px 61px 0;
    background: radial-gradient(ellipse at 65% 40%,#0853c5,#04285f 75%);
    color: #fff
}

    .hp-home .hp-projects .hp-section-head p.hp-kicker {
        color: #fff;
        font-size: 21px;
    }

    .hp-home .hp-projects h2 {
        color: white;
        max-width: 650px;
        font-family: 'BaiJamjuree-SemiBold';
        font-size: 34px;
        font-style: normal;
        font-weight: 600;
        line-height: 42px; /* 116.667% */
        text-transform: capitalize;
    }

    .hp-home .hp-projects .hp-section-head {
        padding-left: 28px;
        margin-bottom: 45px;
        position: relative;
    }

        .hp-home .hp-projects .hp-section-head:before {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 5px;
            height: 85px;
            background: linear-gradient(195deg, #FFBE0C 18.62%, #FF5A0C 88.39%);
        }

.hp-home .hp-project-feature {
    position: relative;
    padding-bottom: 0;
    min-width: 0
}

.hp-home .hp-project-feature__image {
    display: block;
    height: 408px;
    background: #0853c5;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid #FFBE0C;
}

    .hp-home .hp-project-feature__image img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.hp-home .hp-project-badge {
    display: inline-block;
    background: var(--hp-orange);
    color: white;
    font-size: 14px;
    padding: 5px 12px;
    border-radius: 0 14.451px 14.451px 0;
}

.hp-home .hp-project-feature > .hp-project-badge {
    position: absolute;
    top: 18px;
    left: -10px;
}

    .hp-home .hp-project-feature > .hp-project-badge:before {
        content: "";
        position: absolute;
        left: 0;
        top: -6px;
        width: 10.561px;
        height: 37.573px;
        background: #8C2D00;
        clip-path: polygon( 0 15.82%, 100% 0, 100% 83.06%, 0 98.88% );
        z-index: -1;
    }

.hp-home .hp-project-feature__body {
    position: relative;
    z-index: 1;
    margin-top: -165px;
    background: #fff;
    color: #464646;
    padding: 24px 30px;
    border-radius: 0 10px 10px 10px;
    width: 76%;
    min-height: 230px;
}

.hp-home .hp-project-feature h3 {
    font-size: 23px;
    line-height: 1.5;
    margin-bottom: 9px;
}

    .hp-home .hp-project-feature h3 a {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

.hp-home .hp-project-scope {
    font-weight: 600;
    font-size: 15px;
    color: var(--hp-orange);
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hp-home .hp-project-date, .hp-home .hp-project-address {
    font-size: 16px;
    margin-top: 10px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hp-home .hp-project-address {
    color: #ff5a0c;
    gap: 6px;
}

.hp-home .hp-project-controls {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    margin: -45px 0 28px;
    position: relative;
    z-index: 1;
}

    .hp-home .hp-project-controls button {
        border: 1px solid white;
        width: 44px;
        height: 44px;
        background: white;
        color: var(--hp-orange);
        font-size: 24px;
        border-radius: 50%;
        border: 1px solid #FF5A0C;
        background: #FFF;
    }

        .hp-home .hp-project-controls button:disabled {
            opacity: .35;
            cursor: default
        }

.hp-home .hp-projects__grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 23px;
}

.hp-home .hp-project-card {
    border: 0.963px solid #fff;
    border-radius: 9.634px;
    min-width: 0;
    box-shadow: 8px 8px 10px #0002
}

.hp-home .hp-project-card__image {
    display: block;
    height: 216px;
    background: #fff;
    position: relative;
    border-radius: 9.634px 9.634px 0 0;
    border-bottom: 0.963px solid #FFF;
}

    .hp-home .hp-project-card__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px 8px 0 0;
    }

.hp-home .hp-project-card__body {
    position: relative;
    padding: 24px 17px 18px;
    margin-top: -30px;
}

.hp-home .hp-project-card .hp-project-badge {
    margin: -26px 0 9px -17px;
    position: relative;
    vertical-align: top;
    left: -10px;
}

.hp-home .hp-project-card .hp-project-card__image:before {
    content: "";
    position: absolute;
    width: 9.561px;
    height: 37.573px;
    background: #8C2D00;
    clip-path: polygon( 0 15.82%, 100% 0, 100% 83.06%, 0 98.88% );
    left: -10px;
    bottom: 0px;
}

.hp-home .hp-project-card h3 {
    font-size: 21px;
    color: white;
    margin-bottom: 10px
}

    .hp-home .hp-project-card h3 a {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

.hp-home .hp-project-card p {
    font-size: 14px
}

/* Clip the zoom inside the media, leaving the ribbon outside the image intact.
   Animate the featured body, not the slide transform managed by Swiper. */
.hp-home .hp-project-feature,
.hp-home .hp-project-card {
    --hp-project-zoom: 1;
    --hp-project-glow: 0;
    --hp-project-lift: 0px;
}

.hp-home .hp-project-media {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
}

    .hp-home .hp-project-media img {
        transform: scale(var(--hp-project-zoom));
        transition: transform 650ms cubic-bezier(.2,.65,.3,1);
    }

    .hp-home .hp-project-media:after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255,190,12,.18), transparent 50%, rgba(4,40,95,.26));
        opacity: var(--hp-project-glow);
        transition: opacity 400ms ease;
        pointer-events: none;
    }

.hp-home .hp-project-feature__image {
    border-color: var(--hp-project-accent, #ffbe0c);
    transition: border-color 300ms ease;
}

.hp-home .hp-project-feature__body {
    transform: translateY(var(--hp-project-lift));
    box-shadow: inset 0 -3px 0 var(--hp-project-accent, transparent);
    transition: transform 350ms ease, box-shadow 350ms ease;
}

.hp-home .hp-project-card {
    transform: translateY(var(--hp-project-lift));
    border-color: var(--hp-project-accent, #fff);
    background-color: var(--hp-project-surface, transparent);
    box-shadow: var(--hp-project-shadow, 8px 8px 10px #0002);
    transition: transform 350ms ease, border-color 350ms ease, background-color 350ms ease, box-shadow 350ms ease;
}

.hp-home .hp-project-feature h3 a {
    color: var(--hp-project-accent, inherit);
    transition: color 300ms ease;
}

.hp-home .hp-project-card h3 a {
    color: var(--hp-project-title, inherit);
    transition: color 300ms ease;
}

.hp-home .hp-project-feature:focus-within,
.hp-home .hp-project-card:focus-within {
    --hp-project-zoom: 1.055;
    --hp-project-glow: 1;
    --hp-project-lift: -5px;
    --hp-project-accent: #ff5a0c;
    --hp-project-title: #ffcf73;
    --hp-project-surface: rgba(255,255,255,.06);
    --hp-project-shadow: 0 14px 28px rgba(0,15,45,.3);
}

.hp-home .hp-projects a:focus-visible,
.hp-home .hp-project-controls button:focus-visible {
    outline: 2px solid #ffbe0c;
    outline-offset: -3px;
}

.hp-home .hp-project-controls button {
    transition: color 250ms ease, background-color 250ms ease, box-shadow 250ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .hp-home .hp-project-feature:hover,
    .hp-home .hp-project-card:hover {
        --hp-project-zoom: 1.055;
        --hp-project-glow: 1;
        --hp-project-lift: -5px;
        --hp-project-accent: #ff5a0c;
        --hp-project-title: #ffcf73;
        --hp-project-surface: rgba(255,255,255,.06);
        --hp-project-shadow: 0 14px 28px rgba(0,15,45,.3);
    }

    .hp-home .hp-project-controls button:not(:disabled):hover {
        background-color: var(--hp-orange);
        color: #fff;
        box-shadow: 0 4px 12px rgba(255,90,12,.25);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hp-home .hp-projects .hp-project-media img,
    .hp-home .hp-projects .hp-project-feature__body,
    .hp-home .hp-projects .hp-project-card {
        transform: none;
    }

    .hp-home .hp-projects *,
    .hp-home .hp-projects *:after {
        transition: none;
    }
}

.hp-home .hp-projects__slider:not(.swiper-initialized) > .swiper-wrapper {
    display: flex;
    gap: 28px
}

.hp-home .hp-projects__slider:not(.swiper-initialized) .swiper-slide {
    width: calc(50% - 14px);
    flex-shrink: 0
}

@media(max-width: 991px) {
    .hp-home .hp-projects__grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 18px;
    }

    .hp-home .hp-project-feature__body {
        width: 90%;
        padding: 22px
    }

    .hp-home .hp-project-feature h3 {
        font-size: 18px;
    }
}

@media(max-width: 767px) {
    .hp-home .hp-projects {
        padding: 25px 0;
    }

    .hp-home .hp-project-badge {
        font-size: 12px;
    }

    .hp-home .hp-project-feature__image {
        height: 310px
    }

    .hp-home .hp-project-card h3 {
        font-size: 16px;
    }

    .hp-home .hp-project-card .hp-project-badge {
        margin: -24px 0 9px -17px;
        position: relative;
        vertical-align: top;
        left: -3px;
        font-size: 11px;
        padding: 4px 8px;
    }

    .hp-home .hp-project-card .hp-project-card__image:before {
        content: "";
        position: absolute;
        width: 9.561px;
        height: 37.573px;
        background: #8C2D00;
        clip-path: polygon( 0 15.82%, 100% 0, 100% 83.06%, 0 98.88% );
        left: -10px;
        bottom: -3px;
    }

    .hp-home .hp-project-card p.hp-project-address {
        display: inline-flex;
        gap: 4px;
        font-weight: bold;
        color: #03A9F4;
    }

    .hp-home .hp-project-card__body {
        padding: 24px 10px 10px;
        margin-top: -30px;
    }

    .hp-home .hp-project-card p {
        font-size: 13px;
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .hp-home .hp-project-feature__body {
        margin-top: -90px;
        min-height: 0;
        padding: 12px;
    }

    .hp-home .hp-projects__slider:not(.swiper-initialized) .swiper-slide {
        width: 100%
    }

    .hp-home .hp-projects .hp-section-head {
        padding-left: 18px
    }
}

@media(max-width: 575px) {
    .hp-home .hp-projects__grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .hp-home .hp-project-card__image {
        height: auto;
        aspect-ratio: 303/216
    }
}

.hp-home .hp-gallery {
    padding: 97px 0 83px;
    overflow: hidden
}

.hp-home .hp-gallery__slider {
    overflow: visible;
    max-width: 1440px;
    margin: auto
}

    .hp-home .hp-gallery__slider .swiper-wrapper {
        align-items: center;
        transition-timing-function: cubic-bezier(.22,.61,.36,1)
    }

.hp-home .hp-gallery__item {
    width: 387px;
    height: 267px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 35px #0002;
    opacity: .88;
    transform: scale(.98);
    transition: transform .55s ease, opacity .55s ease;
    z-index: 1
}

.hp-home .hp-gallery__slider.swiper-initialized .hp-gallery__item.swiper-slide-active {
    opacity: 1;
    transform: scale(1.35);
    z-index: 3
}

.hp-home .hp-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hp-home .hp-gallery__slider:not(.swiper-initialized) .swiper-wrapper {
    justify-content: center;
    gap: 24px
}

.hp-home .hp-gallery__slider:not(.swiper-initialized) .hp-gallery__item {
    flex-shrink: 0;
    max-width: 85vw
}

@media(max-width: 1023px) {
    .hp-home .hp-gallery__item {
        width: 42vw;
        height: auto;
        aspect-ratio: 387/267
    }

    .hp-home .hp-gallery__slider.swiper-initialized .hp-gallery__item.swiper-slide-active {
        transform: scale(1.16)
    }
}

@media(max-width: 767px) {
    .hp-home .hp-gallery__item {
        width: 72vw;
        height: auto;
        aspect-ratio: 387/267
    }

    .hp-home .hp-gallery__slider.swiper-initialized .hp-gallery__item.swiper-slide-active {
        transform: scale(1.2)
    }

    .hp-home .hp-gallery {
        padding-top: 35px;
        padding-bottom: 35px;
    }
}

@media(prefers-reduced-motion: reduce) {
    .hp-home .hp-gallery__item {
        transition: none
    }

    .hp-home .hp-gallery__slider .swiper-wrapper {
        transition-timing-function: ease
    }
}

.hp-home .hp-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap
}

.hp-home .hp-reviews {
    padding: 48px 0 35px;
    background: url(/Design/img/HoangPhongSolar/home/decor-ab.jpg) no-repeat;
    background-size: cover;
}

.hp-home .hp-reviews__slider {
    padding: 16px;
    margin: -16px
}

.hp-home .hp-review {
    padding: 36px 32px;
    min-height: 348px;
    height: auto;
    background: #ffffffbf;
    border-radius: 11px;
    box-shadow: 4px 3px 16px 5px #2f2e2e21;
    display: flex;
    flex-direction: column
}

.hp-home .hp-review__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 30px
}

.hp-home .hp-quote {
    width: 42px;
    height: 28px;
}

.hp-home .hp-stars {
    position: relative;
    color: #ffb000;
    font-family: Arial,sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
    line-height: 1;
    width: 100px;
    flex-shrink: 0;
    white-space: nowrap
}

.hp-home .hp-stars__filled {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden
}

.hp-home .hp-review__text {
    font-size: 16px;
    line-height: 1.5;
    flex: 1;
    overflow-wrap: anywhere;
    text-align: justify;
}

.hp-home .hp-review__author {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 30px
}

.hp-home .hp-review__initial {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e6eef9;
    color: var(--hp-blue);
    font-size: 30px
}

.hp-home .hp-review h3 {
    font-size: 20px;
    color: var(--hp-blue)
}

.hp-home .hp-review__author p {
    color: #727272;
    font-size: 14px;
    margin-top: 4px
}

.hp-home .hp-reviews__pagination {
    text-align: center;
    margin-top: 18px
}

.hp-home .hp-reviews__slider:not(.swiper-initialized) .swiper-wrapper {
    gap: 36px
}

.hp-home .hp-reviews__slider:not(.swiper-initialized) .swiper-slide {
    width: calc((100% - 72px)/3);
    flex-shrink: 0
}

@media(max-width: 767px) {
    .hp-home .hp-reviews__slider:not(.swiper-initialized) .swiper-slide {
        width: 100%
    }

    .hp-home .hp-review {
        padding: 28px
    }

    .hp-home .hp-review__text {
        font-size: 15px;
    }

    .hp-home .hp-review__author {
        margin-top: 15px;
        gap: 6px;
    }

    .hp-home .hp-review h3 {
        font-size: 16px;
    }

    .hp-home .hp-review__initial {
        width: 60px;
        height: 60px;
        font-size: 25px;
    }
}

.hp-home .hp-news {
    padding: 20px 0 55px;
    background: url(/Design/img/HoangPhongSolar/home/decor-n.jpg) no-repeat;
    background-size: 100% 100%;
}

    .hp-home .hp-news .hp-heading-rule {
        margin-left: 0
    }

.hp-home .hp-news__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 12px 40px;
    align-items: start
}

.hp-home .hp-news-card {
    grid-column: 1;
    display: grid;
    grid-template-columns: 34% minmax(0,1fr);
    gap: 20px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #ABABAB;
    min-width: 0
}

.hp-home .hp-news-card__image {
    display: block;
    aspect-ratio: 231/165;
    overflow: hidden;
    border-radius: 6px
}

article.hp-news-card:nth-child(4) {
    border-bottom: none;
    padding-bottom: 0;
}

.hp-home .hp-news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s
}

.hp-home .hp-news-card a:hover img {
    transform: scale(1.04)
}

.hp-home .hp-news-card h3 {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 12px
}

    .hp-home .hp-news-card h3 a:hover {
        color: var(--hp-orange)
    }

.hp-home .hp-news-card p {
    font-size: 15px;
    color: #6d6b6b;
    line-height: 1.5;
    text-align: justify;
}

.hp-home .hp-news-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 8px;
    color: #818488;
    font-size: 14px;
}

    .hp-home .hp-news-card__meta span {
        display: flex;
        align-items: center;
        gap: 5px;
        line-height: normal;
    }

.hp-home .hp-news-card--featured {
    grid-column: 2;
    grid-row: 1/span 3;
    display: block;
    border: 0;
    padding: 0
}

    .hp-home .hp-news-card--featured .hp-news-card__image {
        aspect-ratio: 565/310;
        margin-bottom: 25px
    }

    .hp-home .hp-news-card--featured h3 {
        font-size: 23px;
        color: var(--hp-orange);
        border-bottom: 1px solid #ccd2d9;
        padding-bottom: 18px
    }

    .hp-home .hp-news-card--featured p {
        font-size: 18px;
        text-align: justify;
    }

@media(max-width: 991px) {
    .hp-home .hp-news__grid {
        gap: 24px
    }

    .hp-home .hp-news-card {
        grid-template-columns: 1fr
    }

    .hp-home .hp-news-card__image {
        aspect-ratio: 570/542;
    }
}

@media(max-width: 767px) {
    .hp-home .hp-news__grid {
        display: flex;
        flex-direction: column;
        gap: 0px;
    }

    .hp-home .hp-news-card--featured p {
        font-size: 15px;
    }

    .hp-home .hp-news-card {
        width: 100%;
        grid-template-columns: 30% minmax(0,1fr);
        gap: 10px;
        padding: 8px 0;
    }

    .hp-home .hp-news-card--featured {
        order: -1
    }

    .hp-home .hp-news-card__meta {
        gap: 8px;
        font-size: 12px;
        margin-top: 7px;
    }

        .hp-home .hp-news-card__meta span svg {
            width: 14px;
            height: auto;
        }

    .hp-home .hp-news-card h3 {
        font-size: 15px;
        text-align: justify;
        margin-bottom: 5px;
    }

        .hp-home .hp-news-card h3 a {
            display: -webkit-box;
            overflow: hidden;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
        }

    .hp-home .hp-news-card p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
}

.hp-home .hp-footer {
    background: linear-gradient(180deg,#0853c5,#04285f);
    color: #fff
}

.hp-home .hp-footer__grid {
    display: grid;
    grid-template-columns: 1.3fr .65fr .85fr 1.05fr;
    gap: 35px;
    padding-top: 55px;
    padding-bottom: 45px
}

.hp-home .hp-footer h2 {
    color: white;
    font-size: 22px;
    font-weight: 500
}

.hp-home .hp-footer__company h2 {
    font-size: 26px;
    font-weight: 600
}

.hp-home .hp-footer__rule {
    display: block;
    width: 50px;
    height: 2px;
    background: var(--hp-orange);
    margin: 18px 0
}

.hp-home .hp-footer__contact {
    font-size: 15px;
    line-height: 1.8
}

.hp-home .hp-footer li {
    margin: 5px 0;
    overflow-wrap: anywhere
}

.hp-home .hp-footer__links li {
    font-size: 15px
}

.hp-home .hp-footer__links a:before {
    content: '\203A';
    margin-right: 8px
}

.hp-home .hp-footer a:hover {
    color: #ffbc91
}

.hp-home .hp-facebook {
    align-self: start;
    position: relative;
    min-height: 227px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px 18px;
    background: var(--hp-blue)
}

.hp-home .hp-facebook__cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .4
}

.hp-home .hp-facebook:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent,var(--hp-orange));
    pointer-events: none
}

.hp-home .hp-facebook__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1
}

    .hp-home .hp-facebook__brand img {
        width: 64px;
        height: 57px;
        padding: 5px;
        object-fit: contain;
        background: #fff;
        border-radius: 5px;
        flex-shrink: 0
    }

    .hp-home .hp-facebook__brand strong {
        font: 600 16px/1.4 'HP Bai Jamjuree',Arial,sans-serif;
        text-transform: uppercase
    }

.hp-home .hp-facebook__link {
    position: relative;
    z-index: 1;
    background: white;
    color: var(--hp-blue);
    padding: 8px 10px;
    margin-top: 20px;
    font-size: 13px;
    text-align: center
}

.hp-home .hp-footer__policies {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    font-size: 13px
}

.hp-home .hp-footer__bottom {
    padding: 10px 0;
    background: var(--hp-orange);
    font-size: 14px;
    line-height: 21px
}

@media(max-width: 1199px) {
    .hp-home .hp-footer__grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 32px 50px
    }

    .hp-home .hp-facebook {
        max-width: 360px;
        width: 100%
    }
}

@media(max-width: 575px) {
    .hp-home .hp-footer__grid {
        grid-template-columns: 1fr;
        padding-top: 35px;
        gap: 28px
    }

    .hp-home .hp-footer__company h2 {
        font-size: 24px
    }

    .hp-home .hp-footer__bottom {
        font-size: 12px
    }

    .hp-home .hp-footer__policies {
        gap: 12px
    }
}

/* Shared menu behavior: hover/focus for desktop, explicit disclosure on touch. */
.hp-home .hp-nav__row {
    gap: 4px;
}

    .hp-home .hp-nav__row > a {
        min-width: 0;
    }

.hp-home .hp-sub-toggle {
    position: static;
    flex: 0 0 28px;
    width: 28px;
    height: 40px;
    border-radius: 6px;
    font-size: 20px;
    line-height: 1;
    transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

    .hp-home .hp-sub-toggle:hover,
    .hp-home .hp-sub-toggle:focus-visible,
    .hp-home .hp-nav li.is-open > .hp-nav__row > .hp-sub-toggle {
        background: #fff1e9;
        color: var(--hp-orange);
    }

.hp-home .hp-nav .hp-submenu {
    z-index: 40;
    display: block;
    margin-top: 8px;
    padding: 9px;
    border: 1px solid #e7edf5;
    border-radius: 10px;
    box-shadow: 0 16px 36px #04285f24;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transform-origin: top left;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    visibility: hidden;
}

    .hp-home .hp-nav .hp-submenu > li + li {
        border-top: 1px solid #edf1f6;
    }

    .hp-home .hp-nav .hp-submenu > li > .hp-nav__row > a {
        padding: 11px 12px;
        border-radius: 7px;
        font-family: 'HP Inter', Arial, sans-serif;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.45;
        text-transform: none;
        transition: background-color .18s ease, color .18s ease, padding .18s ease;
    }

        .hp-home .hp-nav .hp-submenu > li > .hp-nav__row > a:hover,
        .hp-home .hp-nav .hp-submenu > li > .hp-nav__row > a:focus-visible {
            padding-left: 16px;
            background: #f5f8fc;
            color: var(--hp-orange);
        }

    .hp-home .hp-nav .hp-submenu .hp-submenu {
        top: 0;
        left: calc(100% + 6px);
        margin: 0;
    }

.hp-home .hp-nav > ul > li:nth-last-child(-n+3) > .hp-submenu .hp-submenu {
    right: calc(100% + 6px);
    left: auto;
}

.hp-home .hp-nav li.is-open > .hp-submenu,
.hp-home .hp-nav li:focus-within > .hp-submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.hp-home .hp-nav .hp-submenu li.is-open > .hp-submenu,
.hp-home .hp-nav .hp-submenu li:focus-within > .hp-submenu {
    transform: translateX(0);
}

.hp-home .hp-menu-toggle {
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid #dce5f0;
    border-radius: 10px;
    transition: border-color .18s ease, background-color .18s ease;
}

    .hp-home .hp-menu-toggle:hover,
    .hp-home .hp-menu-toggle:focus-visible,
    .hp-home .hp-menu-toggle[aria-expanded="true"] {
        border-color: var(--hp-orange);
        background: #fff7f2;
    }

        .hp-home .hp-menu-toggle[aria-expanded="true"] span:first-child {
            transform: translateY(7px) rotate(45deg);
        }

        .hp-home .hp-menu-toggle[aria-expanded="true"] span:nth-child(2) {
            opacity: 0;
        }

        .hp-home .hp-menu-toggle[aria-expanded="true"] span:last-child {
            transform: translateY(-7px) rotate(-45deg);
        }

    .hp-home .hp-menu-toggle span {
        transition: transform .18s ease, opacity .18s ease;
    }

@media (hover: hover) and (pointer: fine) and (min-width: 1200px) {
    .hp-home .hp-nav li.has-children:hover > .hp-submenu {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        visibility: visible;
    }
}

@media (max-width: 1199px) {
    .hp-home .hp-nav .hp-submenu,
    .hp-home .hp-nav .hp-submenu .hp-submenu {
        margin-top: 0;
        padding: 4px 8px;
        border: 0;
        border-left: 2px solid #ffb58f;
        border-radius: 0 8px 8px 0;
        background: #f6f8fb;
        box-shadow: none;
        opacity: 1;
        transform: none;
        visibility: visible;
        transition: none;
    }

        .hp-home .hp-nav .hp-submenu .hp-submenu {
            left: auto;
            right: auto;
        }

        .hp-home .hp-nav .hp-submenu > li + li {
            border-top-color: #e7edf5;
        }

        .hp-home .hp-nav .hp-submenu > li > .hp-nav__row > a {
            min-height: 42px;
            padding-block: 10px;
        }
}

@media (prefers-reduced-motion: reduce) {
    .hp-home .hp-nav .hp-submenu,
    .hp-home .hp-nav a,
    .hp-home .hp-sub-toggle,
    .hp-home .hp-menu-toggle,
    .hp-home .hp-menu-toggle span {
        transition: none;
    }
}

@media(max-width: 1199px) {
    .hp-home .hp-top__address {
        display: none
    }

    .hp-home .hp-navigation {
        padding: 0 20px
    }

    .hp-home .hp-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        margin-left: auto;
        background: transparent;
        border: 0;
        padding: 14px
    }

        .hp-home .hp-menu-toggle span {
            display: block;
            width: 25px;
            height: 2px;
            background: var(--hp-blue)
        }

    .hp-home .hp-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        max-height: 70vh;
        overflow: auto;
        padding: 15px 24px;
        box-shadow: 0 12px 18px #04285f26
    }

        .hp-home .hp-nav.is-open {
            display: block
        }

        .hp-home .hp-nav > ul {
            display: block
        }

    .hp-home .hp-nav__row {
        justify-content: space-between
    }

    .hp-home .hp-submenu, .hp-home .hp-submenu .hp-submenu {
        position: static;
        min-width: 0;
        max-width: none;
        box-shadow: none;
        margin-left: 12px;
        border-left: 2px solid #e8eff7;
        border-radius: 0
    }

    .hp-home .hp-about__media {
        padding-left: 30px;
        width: 100%;
    }

        .hp-home .hp-about__media:before {
            left: 0
        }

    .hp-home h2 {
        font-size: 30px
    }

    .hp-home .hp-about__media:after {
        width: 225px;
        height: 172px;
        background-size: cover;
        right: 0;
        bottom: -53px;
        left: auto;
    }

    .hp-home .hp-about__primary {
        height: 520px
    }

    .hp-home .hp-about__slider {
        height: 520px
    }
}

@media(max-width: 767px) {
    .hp-home .hp-container {
        width: calc(100% - 32px)
    }

    .hp-home .hp-call__icon {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .hp-home .hp-heading-rule {
        display: block;
        width: 228px;
    }

    .hp-home .hp-news {
        background-size: cover;
        padding-bottom: 25px;
    }

    .hp-home .hp-top__company {
        font-size: 11px;
        line-height: 1.4
    }

    .hp-home .hp-top__inner {
        gap: 10px;
        font-size: 11px
    }

        .hp-home .hp-top__inner > a {
            white-space: nowrap
        }

    .hp-home .hp-navigation {
        top: 48px;
        min-height: 70px
    }

    .hp-home .hp-brand img {
        height: 68px;
        width: 80px
    }

    .hp-home .hp-project-date, .hp-home .hp-project-address {
        font-size: 13px;
    }

    .hp-home .hp-hero:after {
        background: linear-gradient(90deg,#fffffff2,#ffffff99 70%,#ffffff44)
    }

    .hp-home .hp-hero__copy {
        width: 100%;
        padding-top: 80px
    }

    .hp-home .hp-hero h1 {
        font-size: 28px;
        line-height: 1.4;
        max-width: 420px
    }

    .hp-home .hp-hero p {
        max-width: 350px
    }

    .hp-home .hp-about {
        padding: 32px 0;
    }

    .hp-home .hp-about__grid {
        display: flex;
        gap: 35px;
        flex-direction: column-reverse;
    }

    .hp-home .hp-about__primary {
        height: 245px;
        max-height: 410px;
        object-fit: cover
    }

    .about-img-decor-year img {
        width: 116px;
        height: 80px;
        object-fit: contain;
    }

    .hp-home h2 {
        font-size: 15px;
    }

    .hp-home .hp-section-head h2#hpNewsTitle {
        font-size: 19px;
    }

    .hp-home .hp-section-head p {
        text-align: justify;
    }

    .hp-home .hp-projects .hp-section-head p.hp-kicker {
        font-size: 16px;
        margin-bottom: 7px;
    }

    .hp-home .hp-projects h2 {
        font-size: 18px;
        line-height: 1.4;
        max-width: 100%;
    }

    .hp-home .hp-about__tagline {
        font-size: 13px;
    }

    .hp-home .hp-about__actions {
        gap: 40px;
    }

    .hp-home .hp-call strong {
        font-size: 17px;
    }

    .hp-home .hp-call span {
        font-weight: bold;
        font-size: 14px;
    }

    .hp-home .hp-button {
        min-height: 42px;
        padding: 5px 13px;
        gap: 4px;
    }
}

@media(prefers-reduced-motion:reduce) {
    .hp-home * {
        scroll-behavior: auto;
        transition: none
    }
}

.hp-home .hp-call__icon img {
    width: 32px;
    height: 32px;
    object-fit: contain
}

.hp-home .hp-fields {
    position: relative;
}

    .hp-home .hp-fields:before {
        content: '';
        position: absolute;
        background: url('/Design/img/HoangPhongSolar/home/decor-c.jpg') center/cover no-repeat;
        z-index: -1;
        pointer-events: none;
        width: 100%;
        height: 425px;
        left: 0;
        top: 0;
    }

.hp-home .hp-products {
    position: relative;
    isolation: isolate
}

    .hp-home .hp-products:before {
        content: '';
        position: absolute;
        inset: 0;
        background: url('/Design/img/HoangPhongSolar/home/products-pattern.png') center/cover no-repeat;
        opacity: .1;
        z-index: -1;
        pointer-events: none
    }

@media(max-width: 440px) {
    .hp-about__content h2 {
        font-size: 18px;
    }

    .decor__list__about ul li span {
        width: 242px;
        display: block;
        text-align: justify;
        line-height: 1.5;
        font-size: 11px;
    }

    .decor__list__about ul {
        width: 70%;
    }

    .hp-home .hp-about__tagline {
        font-size: 16px;
    }
}

@media(max-width: 375px) {
    .hp-about__content h2 {
        font-size: 15px;
    }

    .hp-home .hp-news-card__image {
        aspect-ratio: 565/617;
    }

    .hp-home .hp-news-card p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: 13px;
    }

    .hp-home .hp-about__tagline {
        font-size: 13px;
    }
}
