/* Landing page dự án The Privé, Nam Rạch Chiếc, Quận 2.
   Chỉ nạp trên /the-prive-quan-2 và mọi selector nằm dưới .prive-page.

   Dựng theo kit 2 trong docs/landing-kit/README.md.

   Tông riêng: xanh đen ánh thép + champagne trên nền xám ngà trung tính. Đây là
   dự án căn hộ đơn giá 115 triệu/m², nên bảng màu cố ý lạnh và kiệm màu, khác
   hẳn nhóm nghỉ dưỡng xanh lá (eco, sky, island, forest) và khác nền lạnh ngả
   xanh dương của Monrei.

   Dấu riêng: bo góc gần như vuông 2 - 4px và gạch chân tiêu đề mảnh 1px kéo
   dài, thay cho bo tròn và gạch chân dày của các trang khác.
*/

.prive-page {
  --brand: #1b2a33;
  --brand-2: #2e4653;
  --accent: #4f7488;
  --accent-ink: #4c7083;
  --accent-soft: #a9c6d6;
  --warm: #b08d57;
  --warm-ink: #82673d;
  --surface: #f2f2f0;
  --hairline: rgba(27, 42, 51, 0.14);

  width: min(100%, 460px);
  margin-inline: auto;
  padding-bottom: 78px;
  background: var(--surface);
  color: #232c31;
  font-size: 15px;
  line-height: 1.6;
}

.prive-page ~ .contact-bar {
  width: min(100%, 460px);
}

.prive-page img {
  display: block;
  width: 100%;
  height: auto;
}

/* Thanh điều hướng */

.prive-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  color: var(--white);
}

.prive-bar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.prive-bar__brand span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  /* --brand trên --accent chỉ đạt 2.94:1 */
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.prive-bar__brand strong {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.prive-bar__nav {
  display: none;
}

.prive-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;
}

.prive-bar__menu span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
}

.prive-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 12px;
  display: grid;
  gap: 2px;
  min-width: 172px;
  padding: 8px;
  border-radius: 3px;
  background: var(--white);
  box-shadow: 0 20px 44px rgba(20, 31, 38, 0.22);
}

.prive-menu[hidden] {
  display: none;
}

.prive-menu a {
  padding: 9px 12px;
  border-radius: 2px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.prive-menu a:hover,
.prive-menu a:focus-visible {
  background: var(--surface);
}

.prive-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 18px 0;
  color: #636d72;
  font-size: 12px;
}

.prive-breadcrumb a {
  color: #636d72;
  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. */
.prive-hero {
  display: grid;
  margin: 12px 14px 0;
  overflow: hidden;
  border-radius: 3px;
  background: var(--brand);
  isolation: isolate;
}

.prive-hero > img {
  grid-area: 1 / 1;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  opacity: 0.82;
}

.prive-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(20, 31, 38, 0.92) 38%,
    rgba(20, 31, 38, 0.62) 100%
  );
  color: var(--white);
}

.prive-eyebrow {
  margin: 0;
  color: var(--accent-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.prive-hero h1 {
  margin: 0;
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.01em;
}

.prive-hero h1 em {
  display: inline-block;
  color: var(--accent-soft);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.prive-hero__lede {
  margin: 0;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.prive-hero__lede strong {
  color: var(--warm);
}

.prive-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.prive-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 2px;
  background: var(--accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.prive-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 */

.prive-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 14px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.16);
  background-image: linear-gradient(130deg, var(--brand), var(--accent));
  color: var(--white);
}

.prive-stats div {
  display: grid;
  gap: 2px;
  padding: 15px 14px;
  background: rgba(20, 31, 38, 0.34);
}

.prive-stats strong {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.prive-stats small {
  margin-left: 4px;
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 700;
}

.prive-stats span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

/* Khung section */

.prive-section {
  padding: 28px 18px;
  scroll-margin-top: 60px;
}

.prive-section--tint {
  background: var(--white);
}

.prive-section--dark {
  background: linear-gradient(150deg, var(--brand), #101a20);
  color: rgba(255, 255, 255, 0.84);
}

.prive-kicker {
  margin: 0 0 6px;
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.prive-section h2 {
  margin: 0 0 14px;
  padding-bottom: 12px;
  color: var(--brand);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.18;
}

/* Dấu riêng: gạch chân mảnh 1px champagne kéo dài, thay cho vạch dày của các
   trang khác. Đi cùng bo góc gần vuông để giữ vẻ tối giản. */
.prive-section h2::after {
  content: "";
  display: block;
  width: 120px;
  height: 1px;
  margin-top: 14px;
  background: var(--warm);
}

.prive-section--dark .prive-kicker {
  color: var(--accent-soft);
}

.prive-section--dark h2 {
  color: var(--white);
}

.prive-subhead {
  margin: 26px 0 12px;
  color: var(--brand);
  font-size: 16px;
  font-weight: 800;
}

.prive-section--dark .prive-subhead {
  color: var(--white);
}

.prive-lede {
  margin: 0 0 16px;
  color: inherit;
}

.prive-note {
  margin: 12px 0 0;
  color: #636d72;
  font-size: 12.5px;
}

.prive-section--dark .prive-note {
  color: rgba(255, 255, 255, 0.6);
}

/* Ảnh */

.prive-figure {
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(20, 31, 38, 0.12);
}

.prive-figure a {
  display: block;
}

.prive-figure figcaption {
  padding: 10px 15px 13px;
  color: #636d72;
  font-size: 12.5px;
}

.prive-duo {
  display: grid;
  gap: 12px;
}

/* Bảng thông tin dự án */

.prive-facts {
  display: grid;
  gap: 1px;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--hairline);
}

.prive-facts div {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 10px;
  padding: 11px 15px;
  background: var(--white);
}

.prive-facts dt {
  color: #636d72;
  font-size: 12.5px;
}

.prive-facts dd {
  margin: 0;
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 700;
}

/* Khoảng cách theo phút và mốc tiến độ */

.prive-minutes {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.prive-minutes li {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 2px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(20, 31, 38, 0.08);
}

.prive-minutes strong {
  color: var(--warm-ink);
  font-size: 15px;
  font-weight: 800;
}

.prive-minutes span {
  font-size: 13.5px;
}

/* Danh sách gạch đầu dòng dạng giọt nước */

.prive-list {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.prive-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
}

.prive-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 7px;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 1px;
  transform: rotate(-45deg);
}

/* Thẻ nội dung */

.prive-cards {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.prive-cards article {
  padding: 16px 17px;
  border-radius: 3px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(20, 31, 38, 0.08);
}

.prive-section--dark .prive-cards article {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.prive-cards h4 {
  margin: 0 0 5px;
  color: var(--brand);
  font-size: 14.5px;
  font-weight: 800;
}

.prive-section--dark .prive-cards h4 {
  color: var(--accent-soft);
}

.prive-cards p {
  margin: 0 0 6px;
  color: #636d72;
  font-size: 13.5px;
}

.prive-cards p:last-child {
  margin-bottom: 0;
}

.prive-section--dark .prive-cards p {
  color: rgba(255, 255, 255, 0.78);
}

.prive-cards p strong {
  color: var(--brand);
}

.prive-section--dark .prive-cards p strong {
  color: var(--white);
}

/* Dải ảnh trượt ngang */

.prive-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;
}

.prive-gallery::-webkit-scrollbar {
  display: none;
}

.prive-gallery__item {
  overflow: hidden;
  border-radius: 3px;
  background: var(--white);
  color: inherit;
  scroll-snap-align: start;
  text-decoration: none;
}

.prive-gallery__item img {
  height: 175px;
  object-fit: cover;
}

.prive-gallery__item span {
  display: block;
  padding: 10px 13px 13px;
  color: #636d72;
  font-size: 12.5px;
}

/* Mặt bằng từng loại căn */

.prive-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;
}

.prive-plans::-webkit-scrollbar {
  display: none;
}

.prive-plan {
  display: grid;
  align-content: start;
  padding-bottom: 15px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(20, 31, 38, 0.08);
  scroll-snap-align: start;
}

.prive-plan img {
  height: 160px;
  object-fit: cover;
  object-position: center top;
}

.prive-plan h4 {
  margin: 13px 15px 2px;
  color: var(--brand);
  font-size: 14.5px;
  font-weight: 800;
}

.prive-plan strong {
  margin: 0 15px 6px;
  color: var(--warm-ink);
  font-size: 15px;
  font-weight: 800;
}

.prive-plan p {
  margin: 0 15px;
  color: #636d72;
  font-size: 12.5px;
}

/* Bảng giá và bảng cơ cấu sản phẩm */

.prive-table-wrap {
  overflow-x: auto;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
}

.prive-table-wrap--light {
  margin-bottom: 18px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(20, 31, 38, 0.1);
}

.prive-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.prive-table caption {
  padding: 13px 15px 0;
  color: #636d72;
  font-size: 12.5px;
  text-align: left;
}

.prive-table th,
.prive-table td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
  vertical-align: top;
}

.prive-table thead th {
  color: var(--accent-soft);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.prive-table tbody th {
  color: var(--white);
  font-weight: 800;
}

.prive-table tbody td:first-of-type {
  /* Khung bảng phủ rgba(255,255,255,0.07) làm nền sáng lên, --warm rơi
     xuống 3.85:1. Bản sáng hơn một bậc, vẫn cùng sắc champagne. */
  color: #d3b27c;
  font-weight: 800;
  white-space: nowrap;
}

.prive-table tbody tr:last-child th,
.prive-table tbody tr:last-child td {
  border-bottom: 0;
}

.prive-table--light th,
.prive-table--light td {
  border-bottom-color: var(--hairline);
}

.prive-table--light thead th {
  color: #636d72;
}

.prive-table--light tbody th {
  color: var(--brand);
}

.prive-table--light tbody td:first-of-type {
  color: #232c31;
  font-weight: 600;
}

.prive-table--light tbody td:last-child {
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
}

.prive-section--dark .prive-cta {
  margin-top: 16px;
}

/* Chủ đầu tư và đối tác */

.prive-partners {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.prive-partners article {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 15px 16px;
  border-left: 3px solid var(--accent);
  border-radius: 0 3px 3px 0;
  background: var(--white);
}

.prive-partners strong {
  color: var(--brand);
  font-size: 14px;
}

.prive-partners span {
  color: #636d72;
  font-size: 12.5px;
  line-height: 1.4;
}

/* Câu hỏi thường gặp */

.prive-page .seo-faq {
  display: grid;
  gap: 10px;
}

.prive-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: 3px;
  background: var(--surface);
}

.prive-page .seo-faq summary {
  padding: 13px 0;
  color: var(--brand);
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.prive-page .seo-faq summary::-webkit-details-marker {
  display: none;
}

.prive-page .seo-faq summary::after {
  content: "+";
  float: right;
  margin-left: 12px;
  color: var(--accent-ink);
  font-size: 18px;
  line-height: 1.1;
}

.prive-page .seo-faq details[open] summary::after {
  content: "−";
}

.prive-page .seo-faq p {
  margin: 0 0 15px;
  color: #636d72;
  font-size: 13.5px;
}

/* Liên hệ */

.prive-contact .prive-cta--ghost {
  border-color: var(--brand);
  color: var(--brand);
}

.prive-links {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.prive-links a {
  color: var(--brand-2);
  font-size: 14px;
  font-weight: 700;
}

@media (min-width: 760px) {
  .prive-page {
    width: min(1120px, calc(100% - 40px));
    font-size: 16px;
  }

  .prive-page ~ .contact-bar {
    width: min(100%, 460px);
  }

  .prive-bar {
    border-radius: 0 0 3px 3px;
  }

  .prive-bar__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-left: auto;
  }

  .prive-bar__nav a {
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
  }

  .prive-bar__nav a:hover {
    color: var(--accent-soft);
  }

  .prive-bar__menu {
    display: none;
  }

  .prive-hero {
    margin: 16px 0 0;
    border-radius: 2px;
  }

  .prive-hero > img {
    min-height: 540px;
  }

  .prive-hero__copy {
    max-width: 660px;
    padding: 34px 38px 38px;
  }

  .prive-hero h1 {
    font-size: 66px;
  }

  .prive-hero__lede {
    font-size: 16px;
  }

  .prive-stats {
    grid-template-columns: repeat(4, 1fr);
    margin-inline: 0;
  }

  .prive-section {
    padding: 42px 38px;
    border-radius: 3px;
    scroll-margin-top: 76px;
  }

  .prive-section h2 {
    font-size: 33px;
  }

  .prive-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .prive-duo {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .prive-facts,
  .prive-minutes,
  .prive-partners {
    grid-template-columns: repeat(2, 1fr);
  }

  .prive-gallery {
    grid-auto-columns: minmax(280px, 0.36fr);
  }

  .prive-plans {
    grid-auto-columns: minmax(270px, 0.32fr);
  }
}

/* Hero không ảnh.

   Chưa có bộ ảnh của chủ đầu tư nên hero dùng nền chuyển màu thay cho ảnh phối
   cảnh. Khi có ảnh thì bỏ modifier này và dựng lại hero theo template. */

.prive-hero--noimage {
  display: block;
  min-height: 0;
  background:
    radial-gradient(120% 80% at 78% 0%, rgba(176, 141, 87, 0.28), transparent 60%),
    linear-gradient(160deg, var(--brand-2), var(--brand) 62%);
}

.prive-hero--noimage .prive-hero__copy {
  background: none;
}

/* Băng cảnh báo nguồn số liệu, đặt ngay dưới dải số liệu. Xóa khi đã đối chiếu
   được với tài liệu chủ đầu tư. */

.prive-flag {
  margin: 0 16px 4px;
  padding: 12px 14px;
  border-left: 2px solid var(--warm);
  background: rgba(176, 141, 87, 0.11);
  color: #4a4238;
  font-size: 13px;
  line-height: 1.55;
}

.prive-flag a {
  /* --warm-ink trên nền champagne 11% chỉ đạt 4.30:1 */
  color: #6f5730;
  font-weight: 700;
}
