/* Trang Dự án (danh sách + chi tiết) */
.project-page, .project-detail { --pj: #30348f; --pj-soft: #eef0fa; }

.project-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0 0 28px; }
.project-tabs a { display: block; padding: 9px 20px; border: 1px solid #d9dcef; border-radius: 999px; color: #333; font-weight: 600; font-size: 15px; transition: all .2s; }
.project-tabs a:hover, .project-tabs a.active { background: var(--pj); border-color: var(--pj); color: #fff; text-decoration: none; }

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-bottom: 24px; }
.project-card { display: block; color: #222; text-decoration: none !important; }
.project-card__pic { position: relative; overflow: hidden; border-radius: 20px; aspect-ratio: 775 / 660; background: #f1f2f6; border-bottom: 5px solid var(--pj); }
.project-card__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-card__pic img { transform: scale(1.06); }
.project-card__more { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 6px; background: var(--pj); color: #fff;
    font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: all .3s; }
.project-card:hover .project-card__more { opacity: 1; transform: none; }
.project-card__name { margin: 18px 0 0; font-size: 18px; font-weight: 700; line-height: 1.3; text-align: center; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.project-card:hover .project-card__name { color: var(--pj); }

.project-detail__title { font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; color: #333; margin: 0 0 24px; line-height: 1.2; text-align: center; text-transform: uppercase; }
.project-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.project-gallery--single { grid-template-columns: 1fr; }
.project-gallery a { display: block; position: relative; overflow: hidden; border-radius: 10px; background: #f1f2f6; }
.project-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-gallery a:hover img { transform: scale(1.04); }
.project-gallery__main { aspect-ratio: 1 / 1; }
.project-gallery--single .project-gallery__main { aspect-ratio: 16 / 9; }
/* 2 hàng ảnh nhỏ cao đúng bằng ảnh lớn */
.project-gallery__thumbs { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; }
.project-gallery__thumb { min-height: 0; }
.project-gallery__more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(20, 22, 74, .6);
    color: #fff; font-size: 30px; font-weight: 700; }

/* Thông tin dự án dạng bảng (như vinhanhome.vn) */
.project-info { max-width: 860px; margin-bottom: 28px; border: 1px solid #c3c3c3; border-radius: 13px; overflow: hidden; }
.project-info__row { display: flex; }
.project-info__row + .project-info__row { border-top: 1px solid #c3c3c3; }
.project-info__label { flex: 0 0 35%; display: flex; align-items: center; gap: 10px; padding: 18px 20px; border-right: 1px solid #c3c3c3;
    font-size: 16px; color: #222; }
.project-info__label i { width: 18px; text-align: center; color: var(--pj); }
.project-info__value { flex: 1; display: flex; align-items: center; padding: 18px 24px; font-size: 16px; color: #222; }

.project-related { margin-top: 40px; padding-top: 30px; border-top: 1px solid #e5e7eb; }
.project-related__title { font-size: 24px; font-weight: 700; color: #1d2063; margin: 0 0 20px; }

@media (max-width: 991px) {
    .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .project-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .project-grid { grid-template-columns: 1fr; }
    .project-info__label { flex-basis: 42%; padding: 14px; font-size: 14px; }
    .project-info__value { padding: 14px; font-size: 14px; }
    .project-detail__title { font-size: 24px; }
    .project-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
    .project-tabs a { white-space: nowrap; }
}

/* Trang chủ: khối Dự án tiêu biểu (dự án Nổi bật) – đối chiếu khối "Dự án thực hiện" của vinhanhome.vn */
.projectHot { position: relative; padding: 48px 0 40px; overflow: hidden; background: #fff; }
.projectHot__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 40px; }
.projectHot__intro { position: relative; }
.projectHot__intro::before { content: "BMT GROUP"; position: absolute; left: 30px; top: -26px; z-index: 0; font-size: clamp(56px, 8vw, 110px);
    font-weight: 800; line-height: 1; letter-spacing: .04em; color: rgba(48, 52, 143, .05); white-space: nowrap; pointer-events: none; }
.projectHot__title { position: relative; z-index: 1; margin: 0 0 12px; font-size: clamp(22px, 3vw, 32px); font-weight: 700; line-height: 1.2;
    text-transform: uppercase; color: #333; }
.projectHot__lead { position: relative; z-index: 1; margin: 0; color: #898989; font-size: 14px; line-height: 23px; }
.projectHot__actions { display: flex; align-items: center; gap: 18px; }
.projectHot__all { color: #30348f; font-size: 14px; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.projectHot__all:hover { color: #1d2063; text-decoration: none; }
.projectHot__all i { margin-left: 6px; transition: transform .2s; }
.projectHot__all:hover i { transform: translateX(3px); }
.projectHot .control-project { position: static; display: flex; gap: 10px; }
.projectHot .control-project .owl-prev, .projectHot .control-project .owl-next { position: static; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid #d9d9d9 !important; background: #fff !important; display: flex !important; align-items: center; justify-content: center;
    color: #333 !important; transform: none; margin: 0; transition: all .2s; }
.projectHot .control-project .owl-prev:hover, .projectHot .control-project .owl-next:hover { background: #30348f !important; color: #fff !important; border-color: #30348f !important; }
.projectHot .control-project svg, .projectHot .control-project img { max-width: 14px; height: auto; }

/* Carousel tràn ra hai mép màn hình, ló dự án hai bên */
.projectHot__list .owl-stage-outer { overflow: visible; }
.projectHot__card { position: relative; display: block; height: 500px; overflow: hidden; border-radius: 0; background: #222; }
.projectHot__card .projectHot__img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .8s ease; }
.projectHot__card:hover .projectHot__img { transform: scale(1.05); }
.projectHot__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, .87) 100%); }
.projectHot__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 32px 25px; color: #fff; }
.projectHot__name { margin: 0 0 10px; max-width: 36rem; font-size: clamp(20px, 3.2vw, 26px); font-weight: 600; line-height: 1.2; color: #fff; }
.projectHot__loc { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 16px; font-weight: 600; line-height: 1.2; text-transform: uppercase; }
.projectHot .owl-dots { position: static !important; transform: none !important; margin-top: 30px; display: flex; justify-content: center; gap: 10px; }
.projectHot .owl-dots .owl-dot span { display: block; width: 30px; height: 3px; margin: 0; border-radius: 0; background: #d9d9d9; transition: background .25s; }
.projectHot .owl-dots .owl-dot.active span { background: #30348f; }
@media (max-width: 767px) {
    .projectHot { padding: 36px 0 24px; }
    .projectHot__head { flex-direction: column; align-items: stretch; margin-bottom: 28px; }
    .projectHot__actions { justify-content: space-between; }
    .projectHot__card { height: min(500px, 72vw); }
    .projectHot__body { padding: 0 18px 18px; }
    .projectHot__loc { font-size: 14px; }
}
