/* Landing page đại đô thị Vinhomes Green City, Đức Hòa, Long An.
   Chỉ nạp trên /vinhomes-green-city và mọi selector nằm dưới .greencity-page.

   Dựng theo kit 1 trong docs/landing-kit/README.md.

   Tông riêng: xám xanh đá phiến + vàng mustard trên nền be xám. Xanh ở đây là
   xanh xám nguội, khác hẳn xanh aqua tươi của Monrei, xanh ngọc của Blanca và
   nhóm xanh lá của các dự án nghỉ dưỡng. Vàng mustard cũng khác vàng đồng của
   TT Genesis vì ngả xanh hơn.

   Dấu riêng: gạch chân dạng lưới ô vuông và bo góc tròn 10 - 20px.
*/

.greencity-page {
  --brand: #2c3b4d;
  --brand-2: #41566d;
  --accent: #5a7590;
  --accent-ink: #4e6880;
  --accent-soft: #b9c8d8;
  --warm: #c9971f;
  --warm-ink: #8a6712;
  --surface: #f2f1ec;
  --hairline: rgba(44, 59, 77, 0.15);

  width: min(100%, 460px);
  margin-inline: auto;
  padding-bottom: 78px;
  background: var(--surface);
  color: #2b333c;
  font-size: 15px;
  line-height: 1.6;
}

.greencity-page ~ .contact-bar {
  width: min(100%, 460px);
}

.greencity-page img {
  display: block;
  width: 100%;
  height: auto;
}

/* Thanh điều hướng */

.greencity-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);
}

.greencity-bar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.greencity-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;
}

.greencity-bar__brand strong {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.greencity-bar__nav {
  display: none;
}

.greencity-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;
}

.greencity-bar__menu span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
}

.greencity-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 12px;
  display: grid;
  gap: 2px;
  min-width: 172px;
  padding: 8px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 20px 44px rgba(32, 43, 56, 0.22);
}

.greencity-menu[hidden] {
  display: none;
}

.greencity-menu a {
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.greencity-menu a:hover,
.greencity-menu a:focus-visible {
  background: var(--surface);
}

.greencity-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 18px 0;
  color: #6a6e73;
  font-size: 12px;
}

.greencity-breadcrumb a {
  color: #6a6e73;
  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. */
.greencity-hero {
  display: grid;
  margin: 12px 14px 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--brand);
  isolation: isolate;
}

.greencity-hero > img {
  grid-area: 1 / 1;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  opacity: 0.82;
}

.greencity-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(32, 43, 56, 0.92) 38%,
    rgba(32, 43, 56, 0.62) 100%
  );
  color: var(--white);
}

.greencity-eyebrow {
  margin: 0;
  color: var(--accent-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.greencity-hero h1 {
  margin: 0;
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.01em;
}

.greencity-hero h1 em {
  display: inline-block;
  color: var(--accent-soft);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.greencity-hero__lede {
  margin: 0;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.greencity-hero__lede strong {
  color: #f0c869;
}

.greencity-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.greencity-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--accent-ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.greencity-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 */

.greencity-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 14px;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  background-image: linear-gradient(130deg, var(--brand), var(--accent));
  color: var(--white);
}

.greencity-stats div {
  display: grid;
  gap: 2px;
  padding: 15px 14px;
  background: rgba(32, 43, 56, 0.34);
}

.greencity-stats strong {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.greencity-stats small {
  margin-left: 4px;
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 700;
}

.greencity-stats span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

/* Khung section */

.greencity-section {
  padding: 28px 18px;
  scroll-margin-top: 60px;
}

.greencity-section--tint {
  background: var(--white);
}

.greencity-section--dark {
  background: linear-gradient(150deg, var(--brand), #1c2733);
  color: rgba(255, 255, 255, 0.84);
}

.greencity-kicker {
  margin: 0 0 6px;
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.greencity-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 dạng lưới ô vuông, gợi bản đồ phân lô của một khu đô
   thị nhà đất. */
.greencity-section h2::after {
  content: "";
  display: block;
  width: 92px;
  height: 9px;
  margin-top: 12px;
  background:
    repeating-linear-gradient(to right, var(--accent) 0 2px, transparent 2px 14px),
    repeating-linear-gradient(to bottom, var(--warm) 0 2px, transparent 2px 9px);
}

.greencity-section--dark .greencity-kicker {
  color: var(--accent-soft);
}

.greencity-section--dark h2 {
  color: var(--white);
}

.greencity-subhead {
  margin: 26px 0 12px;
  color: var(--brand);
  font-size: 16px;
  font-weight: 800;
}

.greencity-section--dark .greencity-subhead {
  color: var(--white);
}

.greencity-lede {
  margin: 0 0 16px;
  color: inherit;
}

.greencity-note {
  margin: 12px 0 0;
  color: #6a6e73;
  font-size: 12.5px;
}

.greencity-section--dark .greencity-note {
  color: rgba(255, 255, 255, 0.6);
}

/* Ảnh */

.greencity-figure {
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(32, 43, 56, 0.12);
}

.greencity-figure a {
  display: block;
}

.greencity-figure figcaption {
  padding: 10px 15px 13px;
  color: #6a6e73;
  font-size: 12.5px;
}

.greencity-duo {
  display: grid;
  gap: 12px;
}

/* Bảng thông tin dự án */

.greencity-facts {
  display: grid;
  gap: 1px;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--hairline);
}

.greencity-facts div {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 10px;
  padding: 11px 15px;
  background: var(--white);
}

.greencity-facts dt {
  color: #6a6e73;
  font-size: 12.5px;
}

.greencity-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 độ */

.greencity-minutes {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.greencity-minutes li {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(32, 43, 56, 0.08);
}

.greencity-minutes strong {
  color: var(--warm-ink);
  font-size: 15px;
  font-weight: 800;
}

.greencity-minutes span {
  font-size: 13.5px;
}

/* Danh sách gạch đầu dòng dạng giọt nước */

.greencity-list {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.greencity-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
}

.greencity-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 7px;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(-45deg);
}

/* Thẻ nội dung */

.greencity-cards {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.greencity-cards article {
  padding: 16px 17px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(32, 43, 56, 0.08);
}

.greencity-section--dark .greencity-cards article {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.greencity-cards h4 {
  margin: 0 0 5px;
  color: var(--brand);
  font-size: 14.5px;
  font-weight: 800;
}

.greencity-section--dark .greencity-cards h4 {
  color: var(--accent-soft);
}

.greencity-cards p {
  margin: 0 0 6px;
  color: #6a6e73;
  font-size: 13.5px;
}

.greencity-cards p:last-child {
  margin-bottom: 0;
}

.greencity-section--dark .greencity-cards p {
  color: rgba(255, 255, 255, 0.78);
}

.greencity-cards p strong {
  color: var(--brand);
}

.greencity-section--dark .greencity-cards p strong {
  color: var(--white);
}

/* Dải ảnh trượt ngang */

.greencity-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;
}

.greencity-gallery::-webkit-scrollbar {
  display: none;
}

.greencity-gallery__item {
  overflow: hidden;
  border-radius: 14px;
  background: var(--white);
  color: inherit;
  scroll-snap-align: start;
  text-decoration: none;
}

.greencity-gallery__item img {
  height: 175px;
  object-fit: cover;
}

.greencity-gallery__item span {
  display: block;
  padding: 10px 13px 13px;
  color: #6a6e73;
  font-size: 12.5px;
}

/* Mặt bằng từng loại căn */

.greencity-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;
}

.greencity-plans::-webkit-scrollbar {
  display: none;
}

.greencity-plan {
  display: grid;
  align-content: start;
  padding-bottom: 15px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(32, 43, 56, 0.08);
  scroll-snap-align: start;
}

.greencity-plan img {
  height: 160px;
  object-fit: cover;
  object-position: center top;
}

.greencity-plan h4 {
  margin: 13px 15px 2px;
  color: var(--brand);
  font-size: 14.5px;
  font-weight: 800;
}

.greencity-plan strong {
  margin: 0 15px 6px;
  color: var(--warm-ink);
  font-size: 15px;
  font-weight: 800;
}

.greencity-plan p {
  margin: 0 15px;
  color: #6a6e73;
  font-size: 12.5px;
}

/* Bảng giá và bảng cơ cấu sản phẩm */

.greencity-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.greencity-table-wrap--light {
  margin-bottom: 18px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(32, 43, 56, 0.1);
}

.greencity-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.greencity-table caption {
  padding: 13px 15px 0;
  color: #6a6e73;
  font-size: 12.5px;
  text-align: left;
}

.greencity-table th,
.greencity-table td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
  vertical-align: top;
}

.greencity-table thead th {
  color: var(--accent-soft);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.greencity-table tbody th {
  color: var(--white);
  font-weight: 800;
}

.greencity-table tbody td:first-of-type {
  color: #f0c869;
  font-weight: 800;
  white-space: nowrap;
}

.greencity-table tbody tr:last-child th,
.greencity-table tbody tr:last-child td {
  border-bottom: 0;
}

.greencity-table--light th,
.greencity-table--light td {
  border-bottom-color: var(--hairline);
}

.greencity-table--light thead th {
  color: #6a6e73;
}

.greencity-table--light tbody th {
  color: var(--brand);
}

.greencity-table--light tbody td:first-of-type {
  color: #2b333c;
  font-weight: 600;
}

.greencity-table--light tbody td:last-child {
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
}

.greencity-section--dark .greencity-cta {
  margin-top: 16px;
}

/* Chủ đầu tư và đối tác */

.greencity-partners {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.greencity-partners article {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 15px 16px;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--white);
}

.greencity-partners strong {
  color: var(--brand);
  font-size: 14px;
}

.greencity-partners span {
  color: #6a6e73;
  font-size: 12.5px;
  line-height: 1.4;
}

/* Câu hỏi thường gặp */

.greencity-page .seo-faq {
  display: grid;
  gap: 10px;
}

.greencity-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: 14px;
  background: var(--surface);
}

.greencity-page .seo-faq summary {
  padding: 13px 0;
  color: var(--brand);
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.greencity-page .seo-faq summary::-webkit-details-marker {
  display: none;
}

.greencity-page .seo-faq summary::after {
  content: "+";
  float: right;
  margin-left: 12px;
  color: var(--accent-ink);
  font-size: 18px;
  line-height: 1.1;
}

.greencity-page .seo-faq details[open] summary::after {
  content: "−";
}

.greencity-page .seo-faq p {
  margin: 0 0 15px;
  color: #6a6e73;
  font-size: 13.5px;
}

/* Liên hệ */

.greencity-contact .greencity-cta--ghost {
  border-color: var(--brand);
  color: var(--brand);
}

.greencity-links {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.greencity-links a {
  color: var(--brand-2);
  font-size: 14px;
  font-weight: 700;
}

@media (min-width: 760px) {
  .greencity-page {
    width: min(1120px, calc(100% - 40px));
    font-size: 16px;
  }

  .greencity-page ~ .contact-bar {
    width: min(100%, 460px);
  }

  .greencity-bar {
    border-radius: 0 0 16px 16px;
  }

  .greencity-bar__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-left: auto;
  }

  .greencity-bar__nav a {
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
  }

  .greencity-bar__nav a:hover {
    color: var(--accent-soft);
  }

  .greencity-bar__menu {
    display: none;
  }

  .greencity-hero {
    margin: 16px 0 0;
    border-radius: 14px;
  }

  .greencity-hero > img {
    min-height: 540px;
  }

  .greencity-hero__copy {
    max-width: 660px;
    padding: 34px 38px 38px;
  }

  .greencity-hero h1 {
    font-size: 66px;
  }

  .greencity-hero__lede {
    font-size: 16px;
  }

  .greencity-stats {
    grid-template-columns: repeat(4, 1fr);
    margin-inline: 0;
  }

  .greencity-section {
    padding: 42px 38px;
    border-radius: 14px;
    scroll-margin-top: 76px;
  }

  .greencity-section h2 {
    font-size: 33px;
  }

  .greencity-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .greencity-duo {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .greencity-facts,
  .greencity-minutes,
  .greencity-partners {
    grid-template-columns: repeat(2, 1fr);
  }

  .greencity-gallery {
    grid-auto-columns: minmax(280px, 0.36fr);
  }

  .greencity-plans {
    grid-auto-columns: minmax(270px, 0.32fr);
  }
}

/* Block zones của kit 1: danh sách phân khu. */

.greencity-zones {
  display: grid;
  gap: 12px;
}

.greencity-zone {
  padding: 16px 16px 18px;
  border: 1px solid var(--hairline);
  background: var(--white);
}

.greencity-zone__kind {
  margin: 0 0 4px;
  color: var(--accent-ink);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.greencity-zone h4 {
  margin: 0 0 4px;
  color: var(--brand);
  font-size: 17px;
  font-weight: 800;
}

.greencity-zone__price {
  margin: 0 0 8px;
  color: var(--warm-ink);
  font-size: 15px;
  font-weight: 800;
}

.greencity-zone p {
  margin: 0;
  font-size: 13.5px;
}

.greencity-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ố. */

.greencity-pillars {
  display: grid;
  gap: 14px;
}

.greencity-pillars article {
  padding: 16px 16px 18px;
  border-left: 3px solid var(--accent);
  background: var(--white);
}

.greencity-pillars__num {
  margin: 0 0 6px;
  color: var(--warm-ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.greencity-pillars h4 {
  margin: 0 0 6px;
  color: var(--brand);
  font-size: 16px;
  font-weight: 800;
}

.greencity-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ư. */

.greencity-flag {
  margin: 0 16px 4px;
  padding: 12px 14px;
  border-left: 3px solid var(--warm);
  background: rgba(201, 151, 31, 0.15);
  color: #4a4230;
  font-size: 13px;
  line-height: 1.55;
}

.greencity-flag a {
  /* --warm-ink tren nen bang canh bao chi dat 4.1:1 */
  color: #4a4230;
  font-weight: 700;
}

.greencity-flag strong {
  color: var(--brand);
}

@media (min-width: 720px) {
  .greencity-zones {
    grid-template-columns: repeat(2, 1fr);
  }
}
