/* Landing page dự án Monrei Saigon.
   Chỉ nạp trên /monrei-saigon và mọi selector đều nằm dưới .monrei-page nên
   không đụng tới phần còn lại của site, kể cả trang dự án khác.

   Tông riêng của dự án: xanh nước sâu + aqua + cam san hô, lấy theo bộ nhận
   diện "thành phố nước - thủy liệu" của chủ đầu tư, nền lạnh thay vì nền kem
   như trang TT Genesis. */

.monrei-page {
  --ocean: #12275c;
  --ocean-2: #1d3a86;
  --aqua: #3fa8d6;
  /* Bản đậm của màu nhấn, dùng riêng cho chữ trên nền sáng. Màu gốc đủ
     tương phản khi làm mảng màu, nút và chữ trên nền tối, nhưng đặt làm
     chữ trên nền sáng thì rơi xuống dưới ngưỡng 4.5:1 của WCAG AA. */
  --aqua-ink: #21759a;
  --aqua-soft: #8fd4ee;
  --coral: #e08a4a;
  --coral-ink: #a8581d;
  --foam: #eef3f9;
  --hairline: rgba(18, 39, 92, 0.12);

  width: min(100%, 460px);
  margin-inline: auto;
  padding-bottom: 78px;
  background: var(--foam);
  color: #1b2740;
  font-size: 15px;
  line-height: 1.6;
}

.monrei-page ~ .contact-bar {
  width: min(100%, 460px);
}

.monrei-page img {
  display: block;
  width: 100%;
  height: auto;
}

/* Thanh điều hướng */

.monrei-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: linear-gradient(120deg, var(--ocean), var(--ocean-2));
  color: var(--white);
}

.monrei-bar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.monrei-bar__brand span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--ocean);
  font-size: 12px;
  font-weight: 900;
}

.monrei-bar__brand strong {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.monrei-bar__nav {
  display: none;
}

.monrei-bar__menu {
  display: grid;
  gap: 4px;
  margin-left: auto;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.monrei-bar__menu span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
}

.monrei-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 12px;
  display: grid;
  gap: 2px;
  min-width: 172px;
  padding: 8px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 20px 44px rgba(18, 39, 92, 0.22);
}

.monrei-menu[hidden] {
  display: none;
}

.monrei-menu a {
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--ocean);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.monrei-menu a:hover,
.monrei-menu a:focus-visible {
  background: var(--foam);
}

.monrei-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 18px 0;
  color: #616e86;
  font-size: 12px;
}

.monrei-breadcrumb a {
  color: #616e86;
  text-decoration: none;
}

/* Hero */

/* Ảnh và khối chữ chồng lên nhau bằng grid thay vì position: absolute, để hero
   tự cao theo khối chữ - đoạn lede ở đây dài, đặt tuyệt đối sẽ bị cắt mất dòng
   eyebrow trên cùng. */
.monrei-hero {
  display: grid;
  margin: 12px 14px 0;
  overflow: hidden;
  border-radius: 26px;
  background: var(--ocean);
  isolation: isolate;
}

.monrei-hero > img {
  grid-area: 1 / 1;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  opacity: 0.82;
}

.monrei-hero__copy {
  grid-area: 1 / 1;
  /* Cùng ô lưới với ảnh, phải positioned thì lớp phủ mới chắc chắn vẽ đè lên
     nội dung ảnh chứ không nằm dưới. */
  position: relative;
  align-self: end;
  display: grid;
  gap: 10px;
  padding: 22px 20px 24px;
  /* Khối chữ cao gần bằng cả hero nên lớp phủ phải đậm từ trên xuống, không thể
     để trong suốt ở mép trên như kiểu scrim đáy thường dùng. */
  background: linear-gradient(
    to top,
    rgba(10, 25, 60, 0.92) 38%,
    rgba(10, 25, 60, 0.62) 100%
  );
  color: var(--white);
}

.monrei-eyebrow {
  margin: 0;
  color: var(--aqua-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.monrei-hero h1 {
  margin: 0;
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.01em;
}

.monrei-hero h1 em {
  display: inline-block;
  color: var(--aqua-soft);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.monrei-hero__lede {
  margin: 0;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.monrei-hero__lede strong {
  color: var(--coral);
}

.monrei-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.monrei-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  background: var(--aqua);
  color: #06203a;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.monrei-cta--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}

/* Dải số liệu: một băng gradient thay vì các ô trắng */

.monrei-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 14px;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.16);
  background-image: linear-gradient(130deg, var(--ocean), var(--aqua));
  color: var(--white);
}

.monrei-stats div {
  display: grid;
  gap: 2px;
  padding: 15px 14px;
  background: rgba(9, 24, 58, 0.34);
}

.monrei-stats strong {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.monrei-stats small {
  margin-left: 4px;
  color: var(--aqua-soft);
  font-size: 12px;
  font-weight: 700;
}

.monrei-stats span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

/* Khung section */

.monrei-section {
  padding: 28px 18px;
  scroll-margin-top: 60px;
}

.monrei-section--tint {
  background: var(--white);
}

.monrei-section--dark {
  background: linear-gradient(150deg, var(--ocean), #0a1c46);
  color: rgba(255, 255, 255, 0.84);
}

.monrei-kicker {
  margin: 0 0 6px;
  color: var(--aqua-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.monrei-section h2 {
  margin: 0 0 14px;
  padding-bottom: 12px;
  color: var(--ocean);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.18;
}

/* Gạch chân dạng sóng nước, dấu riêng của trang này */
.monrei-section h2::after {
  content: "";
  display: block;
  width: 74px;
  height: 6px;
  margin-top: 12px;
  border-radius: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--aqua) 0 6px,
    var(--aqua-soft) 6px 12px
  );
}

.monrei-section--dark .monrei-kicker {
  color: var(--aqua-soft);
}

.monrei-section--dark h2 {
  color: var(--white);
}

.monrei-subhead {
  margin: 26px 0 12px;
  color: var(--ocean);
  font-size: 16px;
  font-weight: 800;
}

.monrei-section--dark .monrei-subhead {
  color: var(--white);
}

.monrei-lede {
  margin: 0 0 16px;
  color: inherit;
}

.monrei-note {
  margin: 12px 0 0;
  color: #616e86;
  font-size: 12.5px;
}

.monrei-section--dark .monrei-note {
  color: rgba(255, 255, 255, 0.6);
}

/* Ảnh */

.monrei-figure {
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(18, 39, 92, 0.12);
}

.monrei-figure a {
  display: block;
}

.monrei-figure figcaption {
  padding: 10px 15px 13px;
  color: #616e86;
  font-size: 12.5px;
}

.monrei-duo {
  display: grid;
  gap: 12px;
}

/* Bảng thông tin dự án */

.monrei-facts {
  display: grid;
  gap: 1px;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--hairline);
}

.monrei-facts div {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 10px;
  padding: 11px 15px;
  background: var(--white);
}

.monrei-facts dt {
  color: #616e86;
  font-size: 12.5px;
}

.monrei-facts dd {
  margin: 0;
  color: var(--ocean);
  font-size: 13.5px;
  font-weight: 700;
}

/* Khoảng cách theo phút và mốc tiến độ */

.monrei-minutes {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.monrei-minutes li {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(18, 39, 92, 0.08);
}

.monrei-minutes strong {
  color: var(--coral-ink);
  font-size: 15px;
  font-weight: 800;
}

.monrei-minutes span {
  font-size: 13.5px;
}

/* Danh sách gạch đầu dòng dạng giọt nước */

.monrei-list {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.monrei-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
}

.monrei-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 7px;
  width: 9px;
  height: 9px;
  background: var(--aqua);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

/* Thẻ nội dung */

.monrei-cards {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.monrei-cards article {
  padding: 16px 17px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(18, 39, 92, 0.08);
}

.monrei-section--dark .monrei-cards article {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.monrei-cards h4 {
  margin: 0 0 5px;
  color: var(--ocean);
  font-size: 14.5px;
  font-weight: 800;
}

.monrei-section--dark .monrei-cards h4 {
  color: var(--aqua-soft);
}

.monrei-cards p {
  margin: 0 0 6px;
  color: #616e86;
  font-size: 13.5px;
}

.monrei-cards p:last-child {
  margin-bottom: 0;
}

.monrei-section--dark .monrei-cards p {
  color: rgba(255, 255, 255, 0.78);
}

.monrei-cards p strong {
  color: var(--ocean);
}

.monrei-section--dark .monrei-cards p strong {
  color: var(--white);
}

/* Dải ảnh trượt ngang */

.monrei-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 0.82fr);
  gap: 12px;
  margin-bottom: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.monrei-gallery::-webkit-scrollbar {
  display: none;
}

.monrei-gallery__item {
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  color: inherit;
  scroll-snap-align: start;
  text-decoration: none;
}

.monrei-gallery__item img {
  height: 175px;
  object-fit: cover;
}

.monrei-gallery__item span {
  display: block;
  padding: 10px 13px 13px;
  color: #616e86;
  font-size: 12.5px;
}

/* Mặt bằng từng loại căn */

.monrei-plans {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 0.85fr);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.monrei-plans::-webkit-scrollbar {
  display: none;
}

.monrei-plan {
  display: grid;
  align-content: start;
  padding-bottom: 15px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(18, 39, 92, 0.08);
  scroll-snap-align: start;
}

.monrei-plan img {
  height: 160px;
  object-fit: cover;
  object-position: center top;
}

.monrei-plan h4 {
  margin: 13px 15px 2px;
  color: var(--ocean);
  font-size: 14.5px;
  font-weight: 800;
}

.monrei-plan strong {
  margin: 0 15px 6px;
  color: var(--coral-ink);
  font-size: 15px;
  font-weight: 800;
}

.monrei-plan p {
  margin: 0 15px;
  color: #616e86;
  font-size: 12.5px;
}

/* Bảng giá và bảng cơ cấu sản phẩm */

.monrei-table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
}

.monrei-table-wrap--light {
  margin-bottom: 18px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(18, 39, 92, 0.1);
}

.monrei-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.monrei-table caption {
  padding: 13px 15px 0;
  color: #616e86;
  font-size: 12.5px;
  text-align: left;
}

.monrei-table th,
.monrei-table td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
  vertical-align: top;
}

.monrei-table thead th {
  color: var(--aqua-soft);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.monrei-table tbody th {
  color: var(--white);
  font-weight: 800;
}

.monrei-table tbody td:first-of-type {
  /* Khung bảng phủ rgba(255,255,255,0.07) làm nền tối sáng lên, --coral rơi
     xuống 4.40:1. Bản sáng hơn một bậc cho 5.1:1 mà vẫn cùng sắc cam san hô. */
  color: #e89a5f;
  font-weight: 800;
  white-space: nowrap;
}

.monrei-table tbody tr:last-child th,
.monrei-table tbody tr:last-child td {
  border-bottom: 0;
}

.monrei-table--light th,
.monrei-table--light td {
  border-bottom-color: var(--hairline);
}

.monrei-table--light thead th {
  color: #616e86;
}

.monrei-table--light tbody th {
  color: var(--ocean);
}

.monrei-table--light tbody td:first-of-type {
  color: #1b2740;
  font-weight: 600;
}

.monrei-table--light tbody td:last-child {
  color: var(--aqua-ink);
  font-weight: 800;
  white-space: nowrap;
}

.monrei-section--dark .monrei-cta {
  margin-top: 16px;
}

/* Chủ đầu tư và đối tác */

.monrei-partners {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.monrei-partners article {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 15px 16px;
  border-left: 3px solid var(--aqua);
  border-radius: 0 16px 16px 0;
  background: var(--white);
}

.monrei-partners strong {
  color: var(--ocean);
  font-size: 14px;
}

.monrei-partners span {
  color: #616e86;
  font-size: 12.5px;
  line-height: 1.4;
}

/* Câu hỏi thường gặp */

.monrei-page .seo-faq {
  display: grid;
  gap: 10px;
}

.monrei-page .seo-faq details {
  padding: 4px 17px;
  /* site.css đặt viền vàng chung cho .seo-faq, trang này dùng nền foam nên bỏ. */
  border: 0;
  border-radius: 18px;
  background: var(--foam);
}

.monrei-page .seo-faq summary {
  padding: 13px 0;
  color: var(--ocean);
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.monrei-page .seo-faq summary::-webkit-details-marker {
  display: none;
}

.monrei-page .seo-faq summary::after {
  content: "+";
  float: right;
  margin-left: 12px;
  color: var(--aqua-ink);
  font-size: 18px;
  line-height: 1.1;
}

.monrei-page .seo-faq details[open] summary::after {
  content: "−";
}

.monrei-page .seo-faq p {
  margin: 0 0 15px;
  color: #616e86;
  font-size: 13.5px;
}

/* Liên hệ */

.monrei-contact .monrei-cta--ghost {
  border-color: var(--ocean);
  color: var(--ocean);
}

.monrei-links {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.monrei-links a {
  color: var(--ocean-2);
  font-size: 14px;
  font-weight: 700;
}

@media (min-width: 760px) {
  .monrei-page {
    width: min(1120px, calc(100% - 40px));
    font-size: 16px;
  }

  .monrei-page ~ .contact-bar {
    width: min(100%, 460px);
  }

  .monrei-bar {
    border-radius: 0 0 20px 20px;
  }

  .monrei-bar__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-left: auto;
  }

  .monrei-bar__nav a {
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
  }

  .monrei-bar__nav a:hover {
    color: var(--aqua-soft);
  }

  .monrei-bar__menu {
    display: none;
  }

  .monrei-hero {
    margin: 16px 0 0;
    border-radius: 30px;
  }

  .monrei-hero > img {
    min-height: 540px;
  }

  .monrei-hero__copy {
    max-width: 660px;
    padding: 34px 38px 38px;
  }

  .monrei-hero h1 {
    font-size: 66px;
  }

  .monrei-hero__lede {
    font-size: 16px;
  }

  .monrei-stats {
    grid-template-columns: repeat(4, 1fr);
    margin-inline: 0;
  }

  .monrei-section {
    padding: 42px 38px;
    border-radius: 26px;
    scroll-margin-top: 76px;
  }

  .monrei-section h2 {
    font-size: 33px;
  }

  .monrei-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .monrei-duo {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .monrei-facts,
  .monrei-minutes,
  .monrei-partners {
    grid-template-columns: repeat(2, 1fr);
  }

  .monrei-gallery {
    grid-auto-columns: minmax(280px, 0.36fr);
  }

  .monrei-plans {
    grid-auto-columns: minmax(270px, 0.32fr);
  }
}
