/* Landing page dự án The Peak Garden, Quận 7.
   Chỉ nạp trên /the-peak-garden và mọi selector nằm dưới .peak-page.

   Dựng theo kit 4 trong docs/landing-kit/README.md.

   Tông riêng: xanh lục thẫm gần đen + vàng kim trên nền xám lục. Lấy theo đúng
   bộ nhận diện của chính dự án, thấy trên ảnh truyền thông duy nhất mà trang
   chính thức đăng. Khác Eco Retreat ở chỗ nền không phải giấy kem mà là xám
   lục nguội, và bo góc gần như vuông thay vì bo lớn.

   Đây cũng là trang có bo góc sắc nhất trong site: 0 - 3px. Với mười ba trang
   landing thì bảng màu đã chật, nên trang này phân biệt bằng hình khối là chính.
*/

.peak-page {
  --brand: #0e2a21;
  --brand-2: #1c4436;
  --accent: #4f7d63;
  --accent-ink: #47715a;
  --accent-soft: #b6d4c2;
  --warm: #c9a24a;
  --warm-ink: #816527;
  --surface: #eceee9;
  --hairline: rgba(14, 42, 33, 0.16);

  width: min(100%, 460px);
  margin-inline: auto;
  padding-bottom: 78px;
  background: var(--surface);
  color: #1d2b25;
  font-size: 15px;
  line-height: 1.6;
}

.peak-page ~ .contact-bar {
  width: min(100%, 460px);
}

.peak-page img {
  display: block;
  width: 100%;
  height: auto;
}

/* Thanh điều hướng */

.peak-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);
}

.peak-bar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.peak-bar__brand span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-2);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.peak-bar__brand strong {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.peak-bar__nav {
  display: none;
}

.peak-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;
}

.peak-bar__menu span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
}

.peak-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 12px;
  display: grid;
  gap: 2px;
  min-width: 172px;
  padding: 8px;
  border-radius: 2px;
  background: var(--white);
  box-shadow: 0 20px 44px rgba(11, 33, 26, 0.22);
}

.peak-menu[hidden] {
  display: none;
}

.peak-menu a {
  padding: 9px 12px;
  border-radius: 0;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.peak-menu a:hover,
.peak-menu a:focus-visible {
  background: var(--surface);
}

.peak-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 18px 0;
  color: #616a63;
  font-size: 12px;
}

.peak-breadcrumb a {
  color: #616a63;
  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. */
.peak-hero {
  display: grid;
  margin: 12px 14px 0;
  overflow: hidden;
  border-radius: 2px;
  background: var(--brand);
  isolation: isolate;
}

.peak-hero > img {
  grid-area: 1 / 1;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  opacity: 0.82;
}

.peak-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(11, 33, 26, 0.92) 38%,
    rgba(11, 33, 26, 0.62) 100%
  );
  color: var(--white);
}

.peak-eyebrow {
  margin: 0;
  color: var(--accent-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.peak-hero h1 {
  margin: 0;
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.01em;
}

.peak-hero h1 em {
  display: inline-block;
  color: var(--accent-soft);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.peak-hero__lede {
  margin: 0;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.peak-hero__lede strong {
  color: #c9a24a;
}

.peak-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.peak-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 0;
  background: var(--accent-ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.peak-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 */

.peak-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 14px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
  background-image: linear-gradient(130deg, var(--brand), var(--accent));
  color: var(--white);
}

.peak-stats div {
  display: grid;
  gap: 2px;
  padding: 15px 14px;
  background: rgba(11, 33, 26, 0.34);
}

.peak-stats strong {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.peak-stats small {
  margin-left: 4px;
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 700;
}

.peak-stats span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

/* Khung section */

.peak-section {
  padding: 28px 18px;
  scroll-margin-top: 60px;
}

.peak-section--tint {
  background: var(--white);
}

.peak-section--dark {
  background: linear-gradient(150deg, var(--brand), #081a14);
  color: rgba(255, 255, 255, 0.84);
}

.peak-kicker {
  margin: 0 0 6px;
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.peak-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: một vạch vàng kim mảnh nằm giữa hai vạch lục, hợp với bộ nhận
   diện xanh lục vàng kim của chính dự án. */
.peak-section h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 6px;
  margin-top: 13px;
  background:
    linear-gradient(to bottom, var(--brand-2) 0 2px, transparent 2px 2px,
                    var(--warm) 2px 4px, transparent 4px 4px, var(--brand-2) 4px 6px);
}

.peak-section--dark .peak-kicker {
  color: var(--accent-soft);
}

.peak-section--dark h2 {
  color: var(--white);
}

.peak-subhead {
  margin: 26px 0 12px;
  color: var(--brand);
  font-size: 16px;
  font-weight: 800;
}

.peak-section--dark .peak-subhead {
  color: var(--white);
}

.peak-lede {
  margin: 0 0 16px;
  color: inherit;
}

.peak-note {
  margin: 12px 0 0;
  color: #616a63;
  font-size: 12.5px;
}

.peak-section--dark .peak-note {
  color: rgba(255, 255, 255, 0.6);
}

/* Ảnh */

.peak-figure {
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(11, 33, 26, 0.12);
}

.peak-figure a {
  display: block;
}

.peak-figure figcaption {
  padding: 10px 15px 13px;
  color: #616a63;
  font-size: 12.5px;
}

.peak-duo {
  display: grid;
  gap: 12px;
}

/* Bảng thông tin dự án */

.peak-facts {
  display: grid;
  gap: 1px;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--hairline);
}

.peak-facts div {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 10px;
  padding: 11px 15px;
  background: var(--white);
}

.peak-facts dt {
  color: #616a63;
  font-size: 12.5px;
}

.peak-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 độ */

.peak-minutes {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.peak-minutes li {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 0;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(11, 33, 26, 0.08);
}

.peak-minutes strong {
  color: var(--warm-ink);
  font-size: 15px;
  font-weight: 800;
}

.peak-minutes span {
  font-size: 13.5px;
}

/* Danh sách gạch đầu dòng dạng giọt nước */

.peak-list {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.peak-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
}

.peak-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 7px;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 0;
  transform: rotate(-45deg);
}

/* Thẻ nội dung */

.peak-cards {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.peak-cards article {
  padding: 16px 17px;
  border-radius: 2px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(11, 33, 26, 0.08);
}

.peak-section--dark .peak-cards article {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.peak-cards h4 {
  margin: 0 0 5px;
  color: var(--brand);
  font-size: 14.5px;
  font-weight: 800;
}

.peak-section--dark .peak-cards h4 {
  color: var(--accent-soft);
}

.peak-cards p {
  margin: 0 0 6px;
  color: #616a63;
  font-size: 13.5px;
}

.peak-cards p:last-child {
  margin-bottom: 0;
}

.peak-section--dark .peak-cards p {
  color: rgba(255, 255, 255, 0.78);
}

.peak-cards p strong {
  color: var(--brand);
}

.peak-section--dark .peak-cards p strong {
  color: var(--white);
}

/* Dải ảnh trượt ngang */

.peak-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;
}

.peak-gallery::-webkit-scrollbar {
  display: none;
}

.peak-gallery__item {
  overflow: hidden;
  border-radius: 2px;
  background: var(--white);
  color: inherit;
  scroll-snap-align: start;
  text-decoration: none;
}

.peak-gallery__item img {
  height: 175px;
  object-fit: cover;
}

.peak-gallery__item span {
  display: block;
  padding: 10px 13px 13px;
  color: #616a63;
  font-size: 12.5px;
}

/* Mặt bằng từng loại căn */

.peak-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;
}

.peak-plans::-webkit-scrollbar {
  display: none;
}

.peak-plan {
  display: grid;
  align-content: start;
  padding-bottom: 15px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(11, 33, 26, 0.08);
  scroll-snap-align: start;
}

.peak-plan img {
  height: 160px;
  object-fit: cover;
  object-position: center top;
}

.peak-plan h4 {
  margin: 13px 15px 2px;
  color: var(--brand);
  font-size: 14.5px;
  font-weight: 800;
}

.peak-plan strong {
  margin: 0 15px 6px;
  color: var(--warm-ink);
  font-size: 15px;
  font-weight: 800;
}

.peak-plan p {
  margin: 0 15px;
  color: #616a63;
  font-size: 12.5px;
}

/* Bảng giá và bảng cơ cấu sản phẩm */

.peak-table-wrap {
  overflow-x: auto;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.07);
}

.peak-table-wrap--light {
  margin-bottom: 18px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(11, 33, 26, 0.1);
}

.peak-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.peak-table caption {
  padding: 13px 15px 0;
  color: #616a63;
  font-size: 12.5px;
  text-align: left;
}

.peak-table th,
.peak-table td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
  vertical-align: top;
}

.peak-table thead th {
  color: var(--accent-soft);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.peak-table tbody th {
  color: var(--white);
  font-weight: 800;
}

.peak-table tbody td:first-of-type {
  color: #c9a24a;
  font-weight: 800;
  white-space: nowrap;
}

.peak-table tbody tr:last-child th,
.peak-table tbody tr:last-child td {
  border-bottom: 0;
}

.peak-table--light th,
.peak-table--light td {
  border-bottom-color: var(--hairline);
}

.peak-table--light thead th {
  color: #616a63;
}

.peak-table--light tbody th {
  color: var(--brand);
}

.peak-table--light tbody td:first-of-type {
  color: #1d2b25;
  font-weight: 600;
}

.peak-table--light tbody td:last-child {
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
}

.peak-section--dark .peak-cta {
  margin-top: 16px;
}

/* Chủ đầu tư và đối tác */

.peak-partners {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.peak-partners article {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 15px 16px;
  border-left: 3px solid var(--accent);
  border-radius: 0;
  background: var(--white);
}

.peak-partners strong {
  color: var(--brand);
  font-size: 14px;
}

.peak-partners span {
  color: #616a63;
  font-size: 12.5px;
  line-height: 1.4;
}

/* Câu hỏi thường gặp */

.peak-page .seo-faq {
  display: grid;
  gap: 10px;
}

.peak-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: 2px;
  background: var(--surface);
}

.peak-page .seo-faq summary {
  padding: 13px 0;
  color: var(--brand);
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.peak-page .seo-faq summary::-webkit-details-marker {
  display: none;
}

.peak-page .seo-faq summary::after {
  content: "+";
  float: right;
  margin-left: 12px;
  color: var(--accent-ink);
  font-size: 18px;
  line-height: 1.1;
}

.peak-page .seo-faq details[open] summary::after {
  content: "−";
}

.peak-page .seo-faq p {
  margin: 0 0 15px;
  color: #616a63;
  font-size: 13.5px;
}

/* Liên hệ */

.peak-contact .peak-cta--ghost {
  border-color: var(--brand);
  color: var(--brand);
}

.peak-links {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.peak-links a {
  color: var(--brand-2);
  font-size: 14px;
  font-weight: 700;
}

@media (min-width: 760px) {
  .peak-page {
    width: min(1120px, calc(100% - 40px));
    font-size: 16px;
  }

  .peak-page ~ .contact-bar {
    width: min(100%, 460px);
  }

  .peak-bar {
    border-radius: 0;
  }

  .peak-bar__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-left: auto;
  }

  .peak-bar__nav a {
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
  }

  .peak-bar__nav a:hover {
    color: var(--accent-soft);
  }

  .peak-bar__menu {
    display: none;
  }

  .peak-hero {
    margin: 16px 0 0;
    border-radius: 2px;
  }

  .peak-hero > img {
    min-height: 540px;
  }

  .peak-hero__copy {
    max-width: 660px;
    padding: 34px 38px 38px;
  }

  .peak-hero h1 {
    font-size: 66px;
  }

  .peak-hero__lede {
    font-size: 16px;
  }

  .peak-stats {
    grid-template-columns: repeat(4, 1fr);
    margin-inline: 0;
  }

  .peak-section {
    padding: 42px 38px;
    border-radius: 2px;
    scroll-margin-top: 76px;
  }

  .peak-section h2 {
    font-size: 33px;
  }

  .peak-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .peak-duo {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .peak-facts,
  .peak-minutes,
  .peak-partners {
    grid-template-columns: repeat(2, 1fr);
  }

  .peak-gallery {
    grid-auto-columns: minmax(280px, 0.36fr);
  }

  .peak-plans {
    grid-auto-columns: minmax(270px, 0.32fr);
  }
}

/* Block zones của kit 1: danh sách phân khu. */

.peak-zones {
  display: grid;
  gap: 12px;
}

.peak-zone {
  padding: 16px 16px 18px;
  border: 1px solid var(--hairline);
  background: var(--white);
}

.peak-zone__kind {
  margin: 0 0 4px;
  color: var(--accent-ink);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.peak-zone h4 {
  margin: 0 0 4px;
  color: var(--brand);
  font-size: 17px;
  font-weight: 800;
}

.peak-zone__price {
  margin: 0 0 8px;
  color: var(--warm-ink);
  font-size: 15px;
  font-weight: 800;
}

.peak-zone p {
  margin: 0;
  font-size: 13.5px;
}

.peak-zone a {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent-ink);
  font-size: 13.5px;
  font-weight: 700;
}

/* Block pillars của kit 1: trụ cột đánh số. */

.peak-pillars {
  display: grid;
  gap: 14px;
}

.peak-pillars article {
  padding: 16px 16px 18px;
  border-left: 3px solid var(--accent);
  background: var(--white);
}

.peak-pillars__num {
  margin: 0 0 6px;
  color: var(--warm-ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.peak-pillars h4 {
  margin: 0 0 6px;
  color: var(--brand);
  font-size: 16px;
  font-weight: 800;
}

.peak-pillars p {
  margin: 0;
  font-size: 13.5px;
}

/* Băng cảnh báo nguồn số liệu. Xóa khi đã đối chiếu tài liệu chủ đầu tư. */

.peak-flag {
  margin: 0 16px 4px;
  padding: 12px 14px;
  border-left: 3px solid var(--warm);
  background: rgba(201, 162, 74, 0.16);
  color: #463c26;
  font-size: 13px;
  line-height: 1.55;
}

.peak-flag a {
  /* --warm-ink tren nen bang canh bao chi dat 4.1:1 */
  color: #6b5320;
  font-weight: 700;
}

.peak-flag strong {
  color: var(--brand);
}

@media (min-width: 720px) {
  .peak-zones {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Hero không ảnh: trang chính thức của dự án chỉ đăng một banner truyền thông
   có sẵn chữ, không dùng làm hero được. Khi có ảnh phối cảnh thật thì bỏ
   modifier này và dựng lại hero theo template. */

.peak-hero--noimage {
  display: block;
  min-height: 0;
  background:
    radial-gradient(120% 85% at 80% 0%, rgba(201, 162, 74, 0.26), transparent 62%),
    linear-gradient(158deg, var(--brand-2), var(--brand) 64%);
}

.peak-hero--noimage .peak-hero__copy {
  background: none;
}

/* Block product của kit 3, dùng cho khối thấp tầng. Chưa có ảnh layout nên thẻ
   chỉ có chữ. */

.peak-products {
  display: grid;
  gap: 12px;
}

.peak-product {
  padding: 16px 16px 18px;
  border: 1px solid var(--hairline);
  background: var(--white);
}

.peak-product h4 {
  margin: 0 0 6px;
  color: var(--brand);
  font-size: 16px;
  font-weight: 800;
}

.peak-product__price {
  margin: 0 0 10px;
  color: var(--warm-ink);
  font-size: 17px;
  font-weight: 800;
}

.peak-product__specs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}

.peak-product__specs li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
}

.peak-product__specs li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

@media (min-width: 720px) {
  .peak-products {
    grid-template-columns: repeat(2, 1fr);
  }
}
