/* ============================================================
   PACELAND — Landing page dự án (gladia-heights.html)
   Trang độc lập chạy quảng cáo, dùng chung design tokens
   ============================================================ */

/* ---------- Topbar ---------- */
.lp-topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(246, 242, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.lp-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 1rem;
}
.lp-topbar img { height: 40px; width: auto; }
.lp-topbar .acts { display: flex; align-items: center; gap: 1.1rem; }
.lp-topbar .tel {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--head);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--red);
  white-space: nowrap;
}
.lp-topbar .tel svg { width: 16px; height: 16px; }
.lp-topbar .btn { padding: 0.62rem 1.15rem; font-size: 0.78rem; }

/* ---------- Hero ---------- */
.lp-hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  padding: calc(66px + clamp(40px, 7vh, 80px)) 0 clamp(48px, 7vh, 90px);
  overflow: hidden;
  background: var(--ink);
}
.lp-hero .bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.lp-hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(78deg, rgba(20, 14, 10, 0.86) 0%, rgba(20, 14, 10, 0.55) 46%, rgba(20, 14, 10, 0.18) 100%),
    linear-gradient(0deg, rgba(20, 14, 10, 0.35), transparent 40%);
}
.lp-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: 100%;
}
.lp-hero .eyebrow { color: var(--gold-soft); }
.lp-hero .eyebrow::before { background: var(--gold-soft); }
.lp-hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 1.04;
  margin: 0.9rem 0 1rem;
  text-wrap: balance;
}
.lp-hero h1 .display { color: var(--gold-soft); }
.lp-hero .sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 1.7;
  max-width: 54ch;
}
.lp-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.5rem; }
.lp-chips .chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  color: #fff;
  font-family: var(--head);
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
}
.lp-chips .chip b { color: var(--gold-soft); font-weight: 800; }

/* Form card trong hero */
.lp-form-card {
  background: var(--paper);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
}
.lp-form-card h2 { font-size: 1.22rem; line-height: 1.3; margin-bottom: 0.35rem; }
.lp-form-card .note { font-size: 0.84rem; color: var(--muted); margin-bottom: 1.15rem; }
.lp-form-card .form-field { margin-bottom: 0.9rem; }
.lp-form-card .btn { width: 100%; justify-content: center; }
.lp-form-card .priv { margin-top: 0.7rem; font-size: 0.72rem; color: var(--muted); text-align: center; }

/* ---------- Section chung ---------- */
.lp-kicker { max-width: 760px; }
.lp-kicker h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.15; margin-top: 0.8rem; text-wrap: balance; }
.lp-kicker p { margin-top: 0.9rem; color: var(--ink-soft); }

/* Tổng quan */
.lp-overview { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4.5vw, 64px); align-items: center; }
.lp-overview .media { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.lp-overview .media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.lp-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-top: 1.4rem; }
.lp-specs .it { padding: 0.95rem 1.1rem; background: var(--paper); border-top: 1px solid var(--line-soft); }
.lp-specs .it:nth-child(-n+2) { border-top: none; }
.lp-specs .it:nth-child(odd) { border-right: 1px solid var(--line-soft); }
.lp-specs .l { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }
.lp-specs .v { font-family: var(--head); font-weight: 700; font-size: 0.95rem; margin-top: 2px; }

/* Vị trí */
.lp-loc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4.5vw, 64px); align-items: center; }
.lp-loc-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.4rem; }
.lp-loc-list .it { display: flex; gap: 0.9rem; align-items: flex-start; }
.lp-loc-list .it svg { width: 20px; height: 20px; color: var(--gold-soft); flex: none; margin-top: 3px; }
.lp-loc-list .it b { display: block; font-family: var(--head); font-size: 0.95rem; color: #fff; }
.lp-loc-list .it span { font-size: 0.86rem; color: rgba(255, 255, 255, 0.62); line-height: 1.55; }
.lp-loc .media { border-radius: 12px; overflow: hidden; }
.lp-loc .media img { width: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* Tiện ích */
.lp-amens { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.lp-amens .it { background: var(--paper); padding: 1.5rem 1.3rem; transition: background 0.35s; }
.lp-amens .it:hover { background: var(--white); }
.lp-amens .it svg { width: 26px; height: 26px; color: var(--gold); margin-bottom: 0.75rem; }
.lp-amens .it b { display: block; font-family: var(--head); font-weight: 700; font-size: 0.95rem; }

/* Gallery */
.lp-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
.lp-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.lp-gallery .col { display: grid; gap: 10px; }
.lp-gallery .main img { aspect-ratio: 16/10.5; }
.lp-gallery .col img { aspect-ratio: 16/10; }

/* Loại căn */
.lp-units { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--paper); }
.lp-units .row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 1.4rem;
  border-top: 1px solid var(--line-soft);
}
.lp-units .row.head {
  border-top: none;
  background: var(--cloud);
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.lp-units .row .t { font-family: var(--head); font-weight: 800; font-size: 1.02rem; }
.lp-units .row .p { font-family: var(--head); font-weight: 800; color: var(--red); }

/* Vì sao PaceLand */
.lp-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 30px); }
.lp-why .it { padding: clamp(1.5rem, 2.6vw, 2.1rem); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.lp-why .it svg { width: 26px; height: 26px; color: var(--red); margin-bottom: 0.9rem; }
.lp-why .it b { display: block; font-family: var(--head); font-weight: 800; font-size: 1.05rem; margin-bottom: 0.45rem; }
.lp-why .it p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.65; margin: 0; }

/* Form cuối */
.lp-final { max-width: 620px; margin-inline: auto; }
.lp-final .lp-form-card { box-shadow: var(--shadow); }
.lp-final .hotline-line { text-align: center; margin-top: 1.3rem; font-size: 0.92rem; color: var(--ink-soft); }
.lp-final .hotline-line a { font-family: var(--head); font-weight: 800; color: var(--red); font-size: 1.05rem; }

/* Footer mini */
.lp-footer { background: var(--ink); color: var(--muted-2); padding: clamp(36px, 5vw, 56px) 0; }
.lp-footer .container { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; justify-content: space-between; }
.lp-footer img { height: 40px; width: auto; }
.lp-footer p { font-size: 0.8rem; line-height: 1.7; margin: 0; max-width: 60ch; }
.lp-footer a { color: var(--gold-soft); }

/* Sticky CTA mobile */
.lp-sticky {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.lp-sticky a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.95rem 0.4rem;
  background: var(--paper);
  font-family: var(--head);
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--ink);
}
.lp-sticky a svg { width: 17px; height: 17px; }
.lp-sticky .call { color: var(--red); }
.lp-sticky .reg { background: var(--red); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .lp-hero .container { grid-template-columns: 1fr; }
  .lp-hero { min-height: 0; }
  .lp-overview, .lp-loc { grid-template-columns: 1fr; }
  .lp-loc .media { order: -1; }
  .lp-why { grid-template-columns: 1fr; }
  .lp-gallery { grid-template-columns: 1fr; }
  .lp-gallery .col { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .lp-topbar .btn { display: none; }
  .lp-sticky { display: grid; }
  body { padding-bottom: 58px; }
  .lp-units .row { grid-template-columns: 1fr 1fr; row-gap: 0.3rem; }
  .lp-units .row.head { display: none; }
  .lp-units .row .t { grid-column: 1 / -1; }
}
