/* Trang chủ */

/* Hero: nền navy đậm, sọc chéo gợi mái nhà trên logo */
.nh-hero { position: relative; overflow: hidden; color: #d6e0ea; padding: 72px 0 64px;
  background:
    linear-gradient(115deg, rgba(11, 46, 79, .97) 0%, rgba(11, 46, 79, .92) 55%, rgba(19, 82, 133, .9) 100%),
    repeating-linear-gradient(-32deg, transparent 0 46px, rgba(200, 108, 43, .25) 46px 52px),
    var(--nh-navy-dam); }
.nh-hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; pointer-events: none;
  background: url("/assets/img/logo/logo-nh-trang.svg") no-repeat center / contain; opacity: .05; }
.nh-hero .nh-nhan { color: var(--nh-cam-sang); }
.nh-hero-h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); font-weight: 800; margin-bottom: 1rem; }
.nh-hero-h1 span { color: var(--nh-cam-sang); }
.nh-hero-dan { font-size: 1.12rem; max-width: 38rem; color: #c3d0dd; margin-bottom: 1.6rem; }
.nh-so-lieu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; max-width: 36rem; }
.nh-so-lieu li { border-left: 3px solid var(--nh-cam); padding: 2px 0 2px 12px; }
.nh-so-lieu strong { display: block; color: #fff; font-size: 1.8rem; font-weight: 800; line-height: 1.1; }
.nh-so-lieu span { font-size: .85rem; color: #b8c6d4; line-height: 1.35; display: block; }
@media (max-width: 575.98px) { .nh-so-lieu strong { font-size: 1.4rem; } .nh-so-lieu span { font-size: .76rem; } }

.nh-the-gia { background: #fff; color: var(--nh-chu); border-radius: 18px; padding: 24px; box-shadow: 0 18px 48px rgba(0, 0, 0, .28); position: relative; z-index: 1; }
.nh-badge { background: var(--nh-cam-nhat); color: var(--nh-cam-chu); font-weight: 700; }
.nh-bang-gia th, .nh-bang-gia td { padding: .7rem .25rem; vertical-align: middle; }
.nh-bang-gia thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--nh-chu-phu); font-weight: 700; }
.nh-bang-gia tbody th { font-weight: 700; color: var(--nh-navy-dam); }
.nh-bang-gia tbody th small { display: block; font-weight: 400; color: var(--nh-chu-phu); font-size: .78rem; line-height: 1.35; margin-top: 2px; }
.nh-bang-gia td strong { color: var(--nh-cam-chu); font-size: 1.15rem; white-space: nowrap; }
.nh-bang-gia td { font-size: .85rem; color: var(--nh-chu-phu); }

/* 3 gói */
.nh-goi { position: relative; display: flex; flex-direction: column; height: 100%; padding: 28px; border-radius: 18px; border: 1px solid var(--nh-vien); background: #fff; }
.nh-goi-noi-bat { border: 2px solid var(--nh-cam); box-shadow: var(--nh-bong); }
.nh-goi-co { position: absolute; top: -13px; left: 24px; background: var(--nh-cam-nut); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.nh-goi-gia { margin: .2rem 0 .1rem; }
.nh-goi-gia strong { font-size: 1.8rem; font-weight: 800; color: var(--nh-navy-dam); }
.nh-goi-gia span { color: var(--nh-chu-phu); font-weight: 600; }
.nh-goi-phu { color: var(--nh-cam-chu); font-weight: 600; font-size: .92rem; }
.nh-goi-gom { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.nh-goi-gom li { position: relative; padding: 6px 0 6px 26px; border-top: 1px dashed var(--nh-vien); }
.nh-goi-gom li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 6px; color: #1E8E3E; font-weight: 700; }

/* Công trình */
.nh-ct-anh, .nh-mau-o { aspect-ratio: 4 / 3; display: grid; place-items: center; color: #8d97a3; font-size: .85rem; font-weight: 600;
  background:
    repeating-linear-gradient(-32deg, transparent 0 22px, rgba(200, 108, 43, .10) 22px 26px),
    linear-gradient(160deg, #EEF2F6, #E3E9F0); }
.nh-mau-o { border-radius: 14px; text-align: center; padding: 8px; }
[data-loai][hidden] { display: none !important; }

/* Tính nhanh */
.nh-bang-he-so { --bs-table-bg: transparent; --bs-table-color: #d6e0ea; border-color: rgba(255, 255, 255, .14); margin-top: 1rem; max-width: 28rem; }
.nh-bang-he-so caption { caption-side: top; color: #fff; font-weight: 700; }
.nh-bang-he-so th { font-weight: 500; }
.nh-tinh { background: #fff; color: var(--nh-chu); border-radius: 18px; padding: 24px; }
.nh-ket-qua { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; margin: 20px 0 10px; }
.nh-ket-qua div { background: var(--nh-be); border-radius: 12px; padding: 12px 14px; }
.nh-ket-qua span { display: block; font-size: .8rem; color: var(--nh-chu-phu); font-weight: 600; }
.nh-ket-qua strong { font-size: 1.35rem; color: var(--nh-navy-dam); font-weight: 800; }
#kq-tien { color: var(--nh-cam-chu); }
.nh-tinh-chu { color: var(--nh-chu-phu); }
@media (max-width: 575.98px) { .nh-ket-qua { grid-template-columns: 1fr; } }

/* Mẫu nhà */
.nh-tab .nav-link { border-radius: 99px; font-weight: 600; color: var(--nh-chu); padding: .45rem 1rem; }
.nh-tab .nav-link.active { background: var(--nh-navy); }

/* Quy trình */
.nh-buoc-o { position: relative; background: #fff; border-radius: 16px; padding: 24px 22px 22px 22px; border: 1px solid var(--nh-vien); height: 100%; }
.nh-buoc-so { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--nh-navy); color: #fff; font-weight: 800; margin-bottom: 12px; }

/* Vật tư */
.nh-khoi-mong { padding: 40px 0; border-bottom: 1px solid var(--nh-vien); }
.nh-vattu-h { color: var(--nh-chu-phu); letter-spacing: .08em; margin-bottom: 18px; }
.nh-vattu { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; }
.nh-vattu li { border: 1px solid var(--nh-vien); border-radius: 10px; padding: 8px 14px; font-weight: 700; color: var(--nh-navy); background: #fff; font-size: .92rem; }

/* Cẩm nang + hỏi đáp */
.nh-bai { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--nh-vien); border-radius: 14px; text-decoration: none; color: var(--nh-chu); transition: border-color .15s, background .15s; }
.nh-bai:hover { border-color: var(--nh-navy); background: var(--nh-navy-nhat); color: var(--nh-chu); }
.nh-bai strong { display: block; color: var(--nh-navy-dam); }
.nh-bai small { color: var(--nh-chu-phu); }
.nh-bai .nh-the-icon { flex: none; }
.nh-hoi .accordion-button { font-weight: 700; color: var(--nh-navy-dam); }
.nh-hoi .accordion-button:not(.collapsed) { background: var(--nh-navy-nhat); color: var(--nh-navy-dam); box-shadow: none; }
.nh-hoi .accordion-item { border-color: var(--nh-vien); }

/* Form */
.nh-khoi-form { background: linear-gradient(180deg, var(--nh-be), #fff); }
.nh-form { padding: 28px; box-shadow: var(--nh-bong); }
