/* Landing page khu đô thị The Global City, An Phú, Quận 2.
   Chỉ nạp trên /the-global-city và mọi selector nằm dưới .global-page.

   Dựng theo kit 1 trong docs/landing-kit/README.md: trang mẹ của đại đô thị
   nhiều phân khu.

   Tông riêng: than chì ngả ô liu + xanh rêu xám + đồng đỏ trên nền xám ấm.
   Bảng màu trung tính và kiệm, hợp với quy hoạch Foster + Partners, và không
   đụng nhóm xanh lá tươi của các dự án nghỉ dưỡng hay nhóm navy của Monrei và
   TT Genesis.

   Dấu riêng: gạch chân tiêu đề dạng hai vạch song song và bo góc vuông 2 - 5px.
*/

.global-page {
  --brand: #2b2f2a;
  --brand-2: #454b42;
  --accent: #6b7a5a;
  --accent-ink: #637154;
  --accent-soft: #c7d1b6;
  --warm: #b5643c;
  --warm-ink: #a25936;
  --surface: #f4f3ef;
  --hairline: rgba(43, 47, 42, 0.15);

  width: min(100%, 460px);
  margin-inline: auto;
  padding-bottom: 78px;
  background: var(--surface);
  color: #2c2f2b;
  font-size: 15px;
  line-height: 1.6;
}

.global-page ~ .contact-bar {
  width: min(100%, 460px);
}

.global-page img {
  display: block;
  width: 100%;
  height: auto;
}

/* Thanh điều hướng */

.global-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);
}

.global-bar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.global-bar__brand span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-2);
  /* --brand tren --brand-2 chi dat 1.52:1 */
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.global-bar__brand strong {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.global-bar__nav {
  display: none;
}

.global-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;
}

.global-bar__menu span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
}

.global-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 12px;
  display: grid;
  gap: 2px;
  min-width: 172px;
  padding: 8px;
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 20px 44px rgba(30, 33, 29, 0.22);
}

.global-menu[hidden] {
  display: none;
}

.global-menu a {
  padding: 9px 12px;
  border-radius: 2px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.global-menu a:hover,
.global-menu a:focus-visible {
  background: var(--surface);
}

.global-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 18px 0;
  color: #6b6d66;
  font-size: 12px;
}

.global-breadcrumb a {
  color: #6b6d66;
  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. */
.global-hero {
  display: grid;
  margin: 12px 14px 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--brand);
  isolation: isolate;
}

.global-hero > img {
  grid-area: 1 / 1;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  opacity: 0.82;
}

.global-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(30, 33, 29, 0.92) 38%,
    rgba(30, 33, 29, 0.62) 100%
  );
  color: var(--white);
}

.global-eyebrow {
  margin: 0;
  color: var(--accent-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.global-hero h1 {
  margin: 0;
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.01em;
}

.global-hero h1 em {
  display: inline-block;
  color: var(--accent-soft);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.global-hero__lede {
  margin: 0;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.global-hero__lede strong {
  /* --warm tren lop phu toi cua hero chi dat 3.7:1 */
  color: #e0a077;
}

.global-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.global-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 2px;
  background: var(--accent-ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.global-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 */

.global-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 14px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
  background-image: linear-gradient(130deg, var(--brand), var(--accent));
  color: var(--white);
}

.global-stats div {
  display: grid;
  gap: 2px;
  padding: 15px 14px;
  background: rgba(30, 33, 29, 0.34);
}

.global-stats strong {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.global-stats small {
  margin-left: 4px;
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 700;
}

.global-stats span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

/* Khung section */

.global-section {
  padding: 28px 18px;
  scroll-margin-top: 60px;
}

.global-section--tint {
  background: var(--white);
}

.global-section--dark {
  background: linear-gradient(150deg, var(--brand), #1a1d19);
  color: rgba(255, 255, 255, 0.84);
}

.global-kicker {
  margin: 0 0 6px;
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.global-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: hai vạch song song, một đậm một mảnh, nhắc tới đường nét quy
   hoạch trục. Các trang khác dùng sóng nước, thớ gỗ, hàng gạch hoặc sóng biển. */
.global-section h2::after {
  content: "";
  display: block;
  width: 96px;
  height: 7px;
  margin-top: 12px;
  background:
    linear-gradient(to bottom, var(--warm) 0 3px, transparent 3px 5px, var(--accent) 5px 6px, transparent 6px);
}

.global-section--dark .global-kicker {
  color: var(--accent-soft);
}

.global-section--dark h2 {
  color: var(--white);
}

.global-subhead {
  margin: 26px 0 12px;
  color: var(--brand);
  font-size: 16px;
  font-weight: 800;
}

.global-section--dark .global-subhead {
  color: var(--white);
}

.global-lede {
  margin: 0 0 16px;
  color: inherit;
}

.global-note {
  margin: 12px 0 0;
  color: #6b6d66;
  font-size: 12.5px;
}

.global-section--dark .global-note {
  color: rgba(255, 255, 255, 0.6);
}

/* Ảnh */

.global-figure {
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(30, 33, 29, 0.12);
}

.global-figure a {
  display: block;
}

.global-figure figcaption {
  padding: 10px 15px 13px;
  color: #6b6d66;
  font-size: 12.5px;
}

.global-duo {
  display: grid;
  gap: 12px;
}

/* Bảng thông tin dự án */

.global-facts {
  display: grid;
  gap: 1px;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--hairline);
}

.global-facts div {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 10px;
  padding: 11px 15px;
  background: var(--white);
}

.global-facts dt {
  color: #6b6d66;
  font-size: 12.5px;
}

.global-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 độ */

.global-minutes {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.global-minutes li {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 3px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(30, 33, 29, 0.08);
}

.global-minutes strong {
  color: var(--warm-ink);
  font-size: 15px;
  font-weight: 800;
}

.global-minutes span {
  font-size: 13.5px;
}

/* Danh sách gạch đầu dòng dạng giọt nước */

.global-list {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.global-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
}

.global-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 */

.global-cards {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.global-cards article {
  padding: 16px 17px;
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(30, 33, 29, 0.08);
}

.global-section--dark .global-cards article {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.global-cards h4 {
  margin: 0 0 5px;
  color: var(--brand);
  font-size: 14.5px;
  font-weight: 800;
}

.global-section--dark .global-cards h4 {
  color: var(--accent-soft);
}

.global-cards p {
  margin: 0 0 6px;
  color: #6b6d66;
  font-size: 13.5px;
}

.global-cards p:last-child {
  margin-bottom: 0;
}

.global-section--dark .global-cards p {
  color: rgba(255, 255, 255, 0.78);
}

.global-cards p strong {
  color: var(--brand);
}

.global-section--dark .global-cards p strong {
  color: var(--white);
}

/* Dải ảnh trượt ngang */

.global-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;
}

.global-gallery::-webkit-scrollbar {
  display: none;
}

.global-gallery__item {
  overflow: hidden;
  border-radius: 4px;
  background: var(--white);
  color: inherit;
  scroll-snap-align: start;
  text-decoration: none;
}

.global-gallery__item img {
  height: 175px;
  object-fit: cover;
}

.global-gallery__item span {
  display: block;
  padding: 10px 13px 13px;
  color: #6b6d66;
  font-size: 12.5px;
}

/* Mặt bằng từng loại căn */

.global-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;
}

.global-plans::-webkit-scrollbar {
  display: none;
}

.global-plan {
  display: grid;
  align-content: start;
  padding-bottom: 15px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(30, 33, 29, 0.08);
  scroll-snap-align: start;
}

.global-plan img {
  height: 160px;
  object-fit: cover;
  object-position: center top;
}

.global-plan h4 {
  margin: 13px 15px 2px;
  color: var(--brand);
  font-size: 14.5px;
  font-weight: 800;
}

.global-plan strong {
  margin: 0 15px 6px;
  color: var(--warm-ink);
  font-size: 15px;
  font-weight: 800;
}

.global-plan p {
  margin: 0 15px;
  color: #6b6d66;
  font-size: 12.5px;
}

/* Bảng giá và bảng cơ cấu sản phẩm */

.global-table-wrap {
  overflow-x: auto;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
}

.global-table-wrap--light {
  margin-bottom: 18px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(30, 33, 29, 0.1);
}

.global-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.global-table caption {
  padding: 13px 15px 0;
  color: #6b6d66;
  font-size: 12.5px;
  text-align: left;
}

.global-table th,
.global-table td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
  vertical-align: top;
}

.global-table thead th {
  color: var(--accent-soft);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.global-table tbody th {
  color: var(--white);
  font-weight: 800;
}

.global-table tbody td:first-of-type {
  color: #e0a077;
  font-weight: 800;
  white-space: nowrap;
}

.global-table tbody tr:last-child th,
.global-table tbody tr:last-child td {
  border-bottom: 0;
}

.global-table--light th,
.global-table--light td {
  border-bottom-color: var(--hairline);
}

.global-table--light thead th {
  color: #6b6d66;
}

.global-table--light tbody th {
  color: var(--brand);
}

.global-table--light tbody td:first-of-type {
  color: #2c2f2b;
  font-weight: 600;
}

.global-table--light tbody td:last-child {
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
}

.global-section--dark .global-cta {
  margin-top: 16px;
}

/* Chủ đầu tư và đối tác */

.global-partners {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.global-partners article {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 15px 16px;
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
  background: var(--white);
}

.global-partners strong {
  color: var(--brand);
  font-size: 14px;
}

.global-partners span {
  color: #6b6d66;
  font-size: 12.5px;
  line-height: 1.4;
}

/* Câu hỏi thường gặp */

.global-page .seo-faq {
  display: grid;
  gap: 10px;
}

.global-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: 4px;
  background: var(--surface);
}

.global-page .seo-faq summary {
  padding: 13px 0;
  color: var(--brand);
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.global-page .seo-faq summary::-webkit-details-marker {
  display: none;
}

.global-page .seo-faq summary::after {
  content: "+";
  float: right;
  margin-left: 12px;
  color: var(--accent-ink);
  font-size: 18px;
  line-height: 1.1;
}

.global-page .seo-faq details[open] summary::after {
  content: "−";
}

.global-page .seo-faq p {
  margin: 0 0 15px;
  color: #6b6d66;
  font-size: 13.5px;
}

/* Liên hệ */

.global-contact .global-cta--ghost {
  border-color: var(--brand);
  color: var(--brand);
}

.global-links {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.global-links a {
  color: var(--brand-2);
  font-size: 14px;
  font-weight: 700;
}

@media (min-width: 760px) {
  .global-page {
    width: min(1120px, calc(100% - 40px));
    font-size: 16px;
  }

  .global-page ~ .contact-bar {
    width: min(100%, 460px);
  }

  .global-bar {
    border-radius: 0 0 4px 4px;
  }

  .global-bar__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-left: auto;
  }

  .global-bar__nav a {
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
  }

  .global-bar__nav a:hover {
    color: var(--accent-soft);
  }

  .global-bar__menu {
    display: none;
  }

  .global-hero {
    margin: 16px 0 0;
    border-radius: 3px;
  }

  .global-hero > img {
    min-height: 540px;
  }

  .global-hero__copy {
    max-width: 660px;
    padding: 34px 38px 38px;
  }

  .global-hero h1 {
    font-size: 66px;
  }

  .global-hero__lede {
    font-size: 16px;
  }

  .global-stats {
    grid-template-columns: repeat(4, 1fr);
    margin-inline: 0;
  }

  .global-section {
    padding: 42px 38px;
    border-radius: 4px;
    scroll-margin-top: 76px;
  }

  .global-section h2 {
    font-size: 33px;
  }

  .global-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .global-duo {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .global-facts,
  .global-minutes,
  .global-partners {
    grid-template-columns: repeat(2, 1fr);
  }

  .global-gallery {
    grid-auto-columns: minmax(280px, 0.36fr);
  }

  .global-plans {
    grid-auto-columns: minmax(270px, 0.32fr);
  }
}

/* Block zones của kit 1: danh sách phân khu. */

.global-zones {
  display: grid;
  gap: 12px;
}

.global-zone {
  padding: 16px 16px 18px;
  border: 1px solid var(--hairline);
  background: var(--white);
}

.global-zone__kind {
  margin: 0 0 4px;
  color: var(--accent-ink);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.global-zone h4 {
  margin: 0 0 4px;
  color: var(--brand);
  font-size: 17px;
  font-weight: 800;
}

.global-zone__price {
  margin: 0 0 8px;
  color: var(--warm-ink);
  font-size: 15px;
  font-weight: 800;
}

.global-zone p {
  margin: 0;
  font-size: 13.5px;
}

.global-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ố. */

.global-pillars {
  display: grid;
  gap: 14px;
}

.global-pillars article {
  padding: 16px 16px 18px;
  border-left: 3px solid var(--accent);
  background: var(--white);
}

.global-pillars__num {
  margin: 0 0 6px;
  color: var(--warm-ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.global-pillars h4 {
  margin: 0 0 6px;
  color: var(--brand);
  font-size: 16px;
  font-weight: 800;
}

.global-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ư. */

.global-flag {
  margin: 0 16px 4px;
  padding: 12px 14px;
  border-left: 3px solid var(--warm);
  background: rgba(181, 100, 60, 0.11);
  color: #4a3f36;
  font-size: 13px;
  line-height: 1.55;
}

.global-flag a {
  /* --warm-ink tren nen bang canh bao chi dat 4.1:1 */
  color: #8a4a2d;
  font-weight: 700;
}

.global-flag strong {
  color: var(--brand);
}

@media (min-width: 720px) {
  .global-zones {
    grid-template-columns: repeat(2, 1fr);
  }
}
