:root {
  --r: #b51226;
  --d: #861326;
  --ink: #261b1e;
  --cream: #f8f6f5;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font:
    15px/1.75 Inter,
    Arial,
    sans-serif;
  color: var(--ink);
  background: #fff;
}
h1,
h2,
h3 {
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.22;
}
h2 {
  font-size: clamp(25px, 4vw, 34px);
  margin: 8px 0 18px;
}
h3 {
  font-size: 19px;
}
.wrap {
  max-width: 790px;
  padding: 0 18px;
  margin: auto;
}
.heroPic {
  min-height: 360px;
  background: linear-gradient(125deg, #ead7d3, #b51226);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  background-position: center;
  background-size: cover;
}
.heroPic span {
  background: #36161a88;
  padding: 14px 24px;
  border-radius: 6px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.heroHead {
  background: var(--d);
  color: #fff;
  padding: 28px 0;
}
.heroHead h1 {
  font-size: clamp(30px, 5vw, 45px);
  margin: 6px 0;
}
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--r);
}
.heroHead .eyebrow {
  color: #ffe2dc;
}
.pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.pill {
  border-radius: 40px;
  background: #fff1ed;
  color: #8c1828;
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 800;
}
.section {
  padding: 48px 0 5px;
}
.section p {
  white-space: pre-line;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}
@media (max-width: 620px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
.stat {
  background: #f5f3f3;
  border-radius: 12px;
  padding: 19px;
}
.stat b {
  display: block;
  color: #9b1727;
  font: 800 22px Montserrat;
}
.media {
  min-height: 270px;
  background: linear-gradient(125deg, #e9ddd9, #c9b3ac);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 25px;
  color: #765b57;
  background-position: center;
  background-size: cover;
  margin: 15px 0;
}
.media.large {
  min-height: 420px;
}
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
.gallery .media {
  margin: 0;
  min-height: 200px;
}
.gallery .media:first-child {
  grid-column: 1/-1;
  min-height: 320px;
}
.btn {
  display: block;
  width: 100%;
  background: var(--r);
  color: white;
  border: 0;
  border-radius: 8px;
  padding: 13px 18px;
  margin: 10px 0;
  text-decoration: none;
  text-align: center;
  font: 700 14px Inter;
  cursor: pointer;
}
.note {
  font-size: 12px;
  color: #766b6e;
}
.contact {
  background: var(--d);
  color: white;
  border-radius: 12px;
  padding: 25px;
}
.contact .btn {
  background: white;
  color: var(--d);
}
details {
  border: 1px solid #e4dada;
  border-radius: 9px;
  padding: 14px;
  margin: 9px 0;
}
summary {
  cursor: pointer;
  font-weight: 700;
}
.foot {
  background: #28181c;
  color: white;
  text-align: center;
  padding: 35px 20px;
  margin-top: 50px;
}
@media (max-width: 620px) {
  .heroPic {
    min-height: 240px;
  }
  .heroPic span {
    font-size: 17px;
  }
  .media {
    min-height: 200px;
  }
  .media.large {
    min-height: 280px;
  }
  .section {
    padding-top: 36px;
  }
  .foot {
    padding-bottom: 80px;
  }
}
.factgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 22px;
}
.factrow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #c7d5d8;
  font-size: 13px;
}
.factrow strong {
  flex: 0 0 42%;
  color: #25404a;
}
.factrow span {
  color: #258fa6;
  text-align: right;
  overflow-wrap: anywhere;
}
.infraGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 22px 0;
}
.infraCard {
  border: 1px solid #e5e0df;
  border-radius: 12px;
  overflow: hidden;
  padding: 12px;
}
.infraCard .media {
  min-height: 180px;
  margin: 0 0 14px;
}
.infraCard h3 {
  font-size: 17px;
  margin: 4px 0;
}
.infraCard p {
  font-size: 13px;
  margin: 8px 0;
}
.gallery.extra {
  margin: 12px 0;
}
.gallery.extra .media:first-child {
  grid-column: auto;
  min-height: 170px;
}
.gallery.extra .media {
  min-height: 170px;
}
@media (max-width: 620px) {
  .factgrid,
  .infraGrid {
    grid-template-columns: 1fr;
  }
  .factrow strong {
    flex-basis: 40%;
  }
}
.detailsCards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin: 18px 0 0;
}
.detailCard {
  background: #f5f3f3;
  border-radius: 12px;
  padding: 19px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 120px;
}
.detailCard b {
  font:
    800 clamp(17px, 2.4vw, 22px)/1.35 Montserrat,
    Arial,
    sans-serif;
  color: #9b1727;
  overflow-wrap: anywhere;
}
.detailCard span {
  font-size: 13px;
  line-height: 1.4;
}
@media (max-width: 620px) {
  .detailsCards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .detailCard {
    padding: 14px;
  }
  .detailCard b {
    font-size: 17px;
  }
}
@media (max-width: 380px) {
  .detailsCards {
    grid-template-columns: 1fr;
  }
}
.unifiedCards {
  margin-top: 20px;
}
.unifiedCards .detailCard b {
  font-size: 22px;
  line-height: 1.25;
}
.unifiedCards .detailCard {
  min-height: 112px;
  justify-content: center;
}
.unifiedCards .detailCard span {
  font-size: 13px;
}
.imageCaption {
  margin: 8px 0 18px;
  white-space: pre-line;
  color: #4b4042;
  font-size: 14px;
  line-height: 1.65;
}
.gallery.extra > div {
  min-width: 0;
}
.gallery.extra .media {
  width: 100%;
}
.photoCollection {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.photoCollection .photoItem {
  min-width: 0;
}
.photoCollection .photoItem:first-child {
  grid-column: auto;
}
.photoCollection .photoItem .media {
  min-height: 210px;
  margin: 0;
}
.photoCollection .imageCaption {
  margin: 8px 0 14px;
  white-space: pre-line;
  line-height: 1.6;
  font-size: 14px;
  color: #51474a;
}
@media (max-width: 540px) {
  .photoCollection {
    grid-template-columns: 1fr;
  }
}
.detailsCards .detailCard b#apartmentTypes {
  font-size: 22px !important;
  font-weight: 800 !important;
}
.masterPlan {
  min-height: 400px !important;
  margin: 12px 0 0;
}
.legalFiles {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}
.legalFiles a {
  padding: 12px;
  border: 1px solid #ead6d6;
  border-radius: 9px;
  text-decoration: none;
  color: #951629;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.policyPhotos {
  display: grid;
  gap: 18px;
  margin: 18px 0;
}
.policyPhotos .media {
  min-height: 340px;
  margin: 0;
}
.progressVideoTitle {
  font-size: 18px;
  font-weight: 700;
  margin: 20px 0 8px;
}
.progressVideo {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 12px;
  margin: 14px 0;
}
.progressLink {
  display: block;
  color: #a0172b;
  margin: 15px 0;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .masterPlan {
    min-height: 230px !important;
  }
  .policyPhotos .media {
    min-height: 220px;
  }
}
.projectGallery .photoItem:first-child {
  grid-column: 1/-1;
}
.projectGallery .photoItem:first-child .media {
  min-height: 390px;
}
.projectGallery .photoItem:not(:first-child) .media {
  min-height: 210px;
}
@media (max-width: 600px) {
  .projectGallery .photoItem:first-child .media {
    min-height: 250px;
  }
}
/* Anh vi tri chinh: giu dung ty le 1920x1235, khong cat mat noi dung ban do */
#locationImage {
  width: 100%;
  aspect-ratio: 1920 / 1235;
  min-height: 0 !important;
  height: auto;
  background-size: contain !important;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;
  padding: 0;
  overflow: hidden;
}
@media (max-width: 620px) {
  #locationImage {
    aspect-ratio: 1920 / 1235;
    min-height: 0 !important;
  }
}
.masterPlan {
  aspect-ratio: 2048 / 662 !important;
  min-height: 0 !important;
  height: auto !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: #f6f4f3 !important;
}
@media (max-width: 620px) {
  .masterPlan {
    min-height: 0 !important;
  }
}
/* Phối cảnh lớn: giữ trọn ảnh gốc, không cắt góc */
.projectGallery .photoItem:first-child .media {
  aspect-ratio: 2048 / 1240 !important;
  min-height: 0 !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-color: #edf1ee !important;
  padding: 0 !important;
}
@media (max-width: 600px) {
  .projectGallery .photoItem:first-child .media {
    min-height: 0 !important;
  }
}
.towerPdfBlock {
  margin: 26px 0 30px;
}
.towerPdfBlock h3 {
  font-family: Montserrat, Inter, sans-serif;
  color: #9e182b;
  font-size: 22px;
  margin: 0 0 9px;
}
.towerPdfIntro {
  color: #655a5e;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 16px;
}
.towerPdfGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.towerPdfTile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  border: 1px solid #ebd8db;
  border-radius: 12px;
  padding: 16px;
  background: #fff8f8;
  min-width: 0;
}
.towerPdfTile strong {
  font-size: 17px;
  color: #a61930;
}
.towerPdfTile small {
  font-size: 12px;
  color: #665b5e;
}
.towerPdfTile a {
  background: #b91c32;
  color: white;
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}
.towerPdfTile a:hover {
  background: #911326;
}
@media (max-width: 760px) {
  .towerPdfGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 390px) {
  .towerPdfGrid {
    grid-template-columns: 1fr;
  }
}
.towerFloorPreview {
  width: 100%;
  aspect-ratio: 4/3;
  background: #f2eeee;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #85777b;
  text-align: center;
  font-size: 12px;
  padding: 8px;
  box-sizing: border-box;
}
.towerFloorPreview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.towerPdfTile {
  align-items: stretch;
}
.towerPdfTile a {
  text-align: center;
}
.towerPdfGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 650px) {
  .towerPdfGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 390px) {
  .towerPdfGrid {
    grid-template-columns: 1fr;
  }
}
/* Mỗi tòa một ảnh mặt bằng lớn, toàn chiều ngang */
.towerPdfGrid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 26px !important;
}
.towerPdfTile {
  width: 100%;
  box-sizing: border-box;
  padding: 22px !important;
  gap: 14px !important;
}
.towerPdfTile strong {
  font-size: 22px !important;
}
.towerFloorPreview {
  width: 100%;
  height: auto !important;
  aspect-ratio: auto !important;
  min-height: 300px;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.towerFloorPreview img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  display: block;
}
.towerPdfTile a {
  align-self: flex-start;
}
@media (max-width: 650px) {
  .towerPdfGrid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .towerPdfTile {
    padding: 12px !important;
  }
  .towerFloorPreview {
    min-height: 200px;
  }
}

.extraFloorSection {
  margin: 30px 0 40px;
}
.extraFloorSection h3,
.productLayoutSection h3 {
  font-family: Montserrat, Inter, sans-serif;
  color: #a61930;
  font-size: 22px;
  margin: 0 0 12px;
}
.extraFloorImage {
  width: 100%;
  min-height: 180px;
  background: #f6f2f2;
  border: 1px dashed #d7b4b9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8c7379;
  text-align: center;
  padding: 18px;
}
.extraFloorImage img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.productLayoutSection {
  margin: 30px 0 18px;
}
.productLayoutToolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0;
}
.productLayoutActions {
  display: flex;
  gap: 8px;
}
.productLayoutActions button {
  border: 1px solid #c89fa7;
  background: white;
  color: #99162c;
  border-radius: 50%;
  width: 39px;
  height: 39px;
  cursor: pointer;
  font-size: 22px;
}
.productLayoutActions button:hover {
  background: #fff0f2;
}
.productLayoutScroller {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  padding: 6px 2px 18px;
  scrollbar-width: thin;
}
.productLayoutSlide {
  flex: 0 0 88%;
  min-width: 0;
  scroll-snap-align: center;
  border: 1px solid #eedee1;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}
.productLayoutSlide strong {
  color: #a61930;
  font-size: 16px;
}
.productLayoutImage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  background: #faf7f7;
  border-radius: 9px;
  margin: 12px 0;
  color: #9c8589;
  text-align: center;
}
.productLayoutImage img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.productLayoutSlide .imageCaption {
  margin: 8px 0 0;
}
.productLayoutHint {
  font-size: 13px;
  color: #776a6e;
}
@media (min-width: 850px) {
  .productLayoutSlide {
    flex-basis: 78%;
  }
}
@media (max-width: 600px) {
  .productLayoutSlide {
    flex-basis: 94%;
    padding: 10px;
  }
  .productLayoutImage {
    min-height: 190px;
  }
}
.view360 {
  padding: 30px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff7f7, #f5eeee);
  border: 1px solid #e9cdd0;
  text-align: center;
}
.view360 p {
  margin: 0 0 20px;
  color: #59474b;
}
.view360Button {
  display: inline-block;
  background: #ad1831;
  color: white !important;
  text-decoration: none;
  padding: 15px 25px;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.view360Button:hover {
  background: #8c1026;
}
.priceHeading {
  text-align: center;
  font-size: clamp(19px, 2.5vw, 29px);
  font-weight: 700;
  margin: 28px 0 24px;
}
.priceScroll {
  overflow-x: auto;
}
.priceTable {
  border-collapse: collapse;
  width: 100%;
  min-width: 540px;
  font-size: 15px;
}
.priceTable th {
  background: #a7192e;
  color: white;
  padding: 15px 14px;
  text-align: center;
}
.priceTable td {
  border: 1px solid #e4e4e4;
  padding: 14px;
}
.priceTable tr:nth-child(even) {
  background: #f7f7f7;
}
.priceNote {
  font-size: 13px;
  color: #6d6670;
  margin: 12px 0 32px;
}
.policyHeading {
  font-size: 21px;
  margin: 32px 0 10px;
}
.view360Frame {
  width: 100%;
  height: min(65vw, 510px);
  min-height: 310px;
  margin: 18px 0;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  overflow: hidden;
  background: #f6f4f4;
}
.view360Frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.view360Fallback {
  font-size: 13px;
  color: #746a6a;
  margin: 10px 0 15px;
}
.gallery.extra > div {
  min-width: 0;
}
.gallery.extra .media {
  aspect-ratio: 16/9;
  min-height: 0 !important;
  height: auto;
  background-color: #edf1f4;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.gallery.extra .media:first-child {
  min-height: 0 !important;
}
@media (max-width: 620px) {
  .gallery.extra {
    grid-template-columns: 1fr;
  }
}
.infraSourceNote {
  font-size: 12px;
  line-height: 1.65;
  color: #756c6c;
  margin: 18px 0 0;
}
.infraSourceNote a {
  color: #b71b32;
  text-decoration: underline;
}
.infraCard .media {
  aspect-ratio: 16/9;
  min-height: 0;
  overflow: hidden;
}
.infraCard .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section #infrastructureImage {
  aspect-ratio: 16/9;
  min-height: 0;
  overflow: hidden;
}
.section #infrastructureImage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f8f8f8;
}
