/* ============================================================
   PACELAND — Hệ thiết kế (Design System)
   Luxury editorial real estate · Ivory + Crimson + Antique Gold
   Fonts: Montserrat (display) · Cormorant Garamond (editorial) · Inter (body)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces */
  --ivory:      #F6F2EA;
  --paper:      #FBF9F4;
  --white:      #FFFFFF;
  --cloud:      #EFE9DD;

  /* Ink */
  --ink:        #1B1510;
  --ink-soft:   #4B4138;
  --muted:      #877C6E;
  --muted-2:    #A99E8E;

  /* Brand */
  --red:        #C70018;
  --red-deep:   #8A0012;
  --red-tint:   rgba(199, 0, 24, 0.07);
  --red-line:   rgba(199, 0, 24, 0.22);

  /* Prestige gold */
  --gold:       #B0894A;
  --gold-soft:  #CBA968;
  --gold-tint:  rgba(176, 137, 74, 0.14);

  /* Lines & shadow */
  --line:       rgba(27, 21, 16, 0.10);
  --line-soft:  rgba(27, 21, 16, 0.055);
  --line-gold:  rgba(176, 137, 74, 0.30);
  --shadow-sm:  0 2px 10px rgba(27, 21, 16, 0.05);
  --shadow:     0 18px 50px rgba(27, 21, 16, 0.10);
  --shadow-lg:  0 34px 90px rgba(27, 21, 16, 0.16);

  /* Type */
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --head:    "Plus Jakarta Sans", system-ui, sans-serif;
  --body:    "Inter", system-ui, sans-serif;

  /* Motion */
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.25, 1, 0.5, 1);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 4px;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--ivory);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); }
.hero h1, .page-hero h1, .section-title, .cta-band h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.005em; }

.display {
  font-family: var(--display);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0;
  line-height: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--red);
  opacity: 0.7;
}
.eyebrow.gold { color: var(--gold); }
.eyebrow.gold::before { background: var(--gold); }
.eyebrow.center::after {
  content: "";
  width: 26px; height: 1px;
  background: currentColor; opacity: 0.45;
}

.section-title {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  margin-top: 0.7rem;
}
.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 60ch;
}
.text-muted { color: var(--muted); }
.serif-accent { font-family: var(--display); font-style: italic; font-weight: 600; color: var(--red); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 132px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--ivory { background: var(--ivory); }
.section--paper { background: var(--paper); }
.section--cloud { background: linear-gradient(180deg, var(--paper), var(--cloud)); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--paper); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--head); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.95rem 1.6rem;
  background: var(--bg); color: var(--fg);
  border-radius: var(--radius);
  position: relative; overflow: hidden;
  transition: transform 0.25s var(--ease-snap), box-shadow 0.35s var(--ease), background 0.3s;
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; transition: transform 0.3s var(--ease-snap); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(199, 0, 24, 0.26); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.97); box-shadow: none; }

.btn--ghost { --bg: transparent; --fg: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { box-shadow: none; border-color: var(--ink); background: var(--ink); --fg: #fff; }
.btn--gold { --bg: transparent; --fg: var(--gold); border: 1px solid var(--line-gold); }
.btn--gold:hover { box-shadow: 0 14px 30px var(--gold-tint); background: var(--gold); --fg: #fff; border-color: var(--gold); }
.btn--light { --bg: var(--paper); --fg: var(--ink); }
.btn--light:hover { box-shadow: 0 16px 34px rgba(0,0,0,0.25); }
.btn--lg { padding: 1.15rem 2rem; font-size: 0.86rem; }
.btn--block { display: flex; justify-content: center; width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--head); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
  position: relative;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow:hover::after { transform: scaleX(1); }

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--head); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.4rem 0.75rem; border-radius: 999px;
  background: var(--white); color: var(--ink-soft); border: 1px solid var(--line);
}
.pill--red { background: var(--red); color: #fff; border-color: var(--red); }
.pill--gold { background: var(--gold-tint); color: var(--gold); border-color: var(--line-gold); }
.pill--ink { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.2); }
.pill--ghost { background: rgba(255,255,255,0.86); backdrop-filter: blur(6px); }

/* ---------- Gem / facet divider ---------- */
.gem {
  width: 16px; height: 16px; flex: none;
  background: var(--red);
  clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
}
.gem--gold { background: var(--gold); }
.gem--sm { width: 10px; height: 10px; }
.facet-rule { display: flex; align-items: center; gap: 1rem; color: var(--muted); }
.facet-rule::before, .facet-rule::after { content: ""; height: 1px; background: var(--line); flex: 1; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.4s, box-shadow 0.4s, border-color 0.4s, transform 0.45s var(--ease);
  background: rgba(246, 242, 234, 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(251, 249, 244, 0.94);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.site-header.header--hidden { transform: translateY(-100%); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; flex: none; }
.brand img { height: 50px; width: auto; transform-origin: left center; transition: transform 0.4s var(--ease); }
.scrolled .brand img { transform: scale(0.86); }

.nav { display: flex; align-items: center; gap: 0.3rem; }
.nav a {
  font-family: var(--head); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.02em; color: var(--ink-soft);
  padding: 0.55rem 0.95rem; border-radius: var(--radius);
  position: relative; transition: color 0.3s;
}
.nav a::after { content: ""; position: absolute; left: 0.95rem; right: 0.95rem; bottom: 0.3rem; height: 1.5px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 1rem; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--head); font-weight: 700; font-size: 0.85rem; color: var(--ink); }
.header-phone svg { width: 16px; height: 16px; color: var(--red); }

.burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 24px; height: 2px; background: var(--ink); transition: transform 0.4s var(--ease), opacity 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: var(--paper);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 0.4rem;
  transform: translateX(100%); transition: transform 0.5s var(--ease);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { font-family: var(--head); font-size: 1.5rem; font-weight: 700; padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; opacity: 0; transform: translateY(14px); transition: opacity 0.35s var(--ease-snap), transform 0.35s var(--ease-snap), color 0.3s; }
.mobile-nav a span { color: var(--gold); font-size: 0.8rem; }
.mobile-nav.open a { opacity: 1; transform: none; }
.mobile-nav.open a:nth-child(1) { transition-delay: 0.16s; }
.mobile-nav.open a:nth-child(2) { transition-delay: 0.22s; }
.mobile-nav.open a:nth-child(3) { transition-delay: 0.28s; }
.mobile-nav.open a:nth-child(4) { transition-delay: 0.34s; }
.mobile-nav.open a:nth-child(5) { transition-delay: 0.40s; }
.mobile-nav.open a:nth-child(6) { transition-delay: 0.46s; }
.mobile-nav.open a:nth-child(7) { transition-delay: 0.52s; }
.mobile-nav .m-foot { margin-top: auto; padding-top: 24px; color: var(--muted); font-size: 0.9rem; }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(40px, 7vw, 90px)); padding-bottom: clamp(40px, 6vw, 80px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -10%; right: -8%; width: 46vw; height: 46vw; max-width: 640px; max-height: 640px;
  background: radial-gradient(circle, var(--red-tint), transparent 68%); z-index: 0; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(32px, 5vw, 64px); align-items: center; }

.hero h1 { font-size: clamp(2.15rem, 4.6vw, 3.8rem); letter-spacing: -0.015em; }
.hero h1 .display { display: block; font-size: 1.12em; font-weight: 600; letter-spacing: -0.01em; color: var(--red); margin-top: 0.1em; }
.hero-sub { margin-top: 1.6rem; max-width: 46ch; }
.hero-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-stats { margin-top: 2.6rem; display: flex; gap: clamp(20px, 3vw, 44px); flex-wrap: wrap; }
.hero-stats .stat strong { font-family: var(--head); font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 800; display: block; line-height: 1; }
.hero-stats .stat strong em { font-style: normal; color: var(--red); }
.hero-stats .stat span { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.02em; }

/* Hero visual: faceted image stack */
.hero-visual { position: relative; aspect-ratio: 4 / 4.4; }
.hero-visual .frame {
  position: absolute; inset: 0;
  border-radius: 6px; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
  box-shadow: var(--shadow-lg);
}
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(27,21,16,0.45)); }
.hero-visual .tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  color: #fff; font-family: var(--head);
}
.hero-visual .tag b { display: block; font-size: 1.05rem; font-weight: 700; }
.hero-visual .tag span { font-size: 0.78rem; opacity: 0.85; }
.hero-card {
  position: absolute; right: -6px; top: 26px; z-index: 3;
  background: rgba(251,249,244,0.92); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 6px;
  padding: 0.85rem 1rem; box-shadow: var(--shadow); max-width: 190px;
}
.hero-card .k { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-family: var(--head); font-weight: 700; }
.hero-card .v { font-family: var(--head); font-weight: 800; font-size: 1.15rem; margin-top: 2px; }
.hero-card .meta { font-size: 0.72rem; color: var(--muted); margin-top: 4px; }
.hero-badge {
  position: absolute; left: -10px; bottom: 60px; z-index: 3;
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--ink); color: #fff; padding: 0.7rem 1rem; border-radius: 6px; box-shadow: var(--shadow);
  font-family: var(--head); font-weight: 700; font-size: 0.82rem;
}
.hero-badge .gem { box-shadow: 0 0 0 4px rgba(199,0,24,0.18); }

/* ---------- Search bar ---------- */
.searchbar {
  margin-top: 2rem; background: var(--white);
  border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow); padding: 0.5rem;
  display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 0.3rem;
}
.searchbar .field { padding: 0.55rem 0.85rem; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--line-soft); }
.searchbar .field:nth-child(3) { border-right: none; }
.searchbar label { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-family: var(--head); font-weight: 700; }
.searchbar select { width: 100%; border: none; background: none; font-weight: 600; font-size: 0.88rem; padding: 0 1rem 0 0; cursor: pointer; appearance: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.searchbar .field.select-wrap::after { right: 0.2rem; }
.searchbar .btn { border-radius: 6px; }

/* ============================================================
   HERO SLIDER (fullscreen — trang chủ)
   ============================================================ */
.hero-slider {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-h) + clamp(24px, 4vw, 48px));
  padding-bottom: 80px;
  overflow: hidden;
  color: #fff;
}

/* Slides */
.hs-slides { position: absolute; inset: 0; z-index: 0; }
.hs-slide {
  position: absolute; inset: 0;
  background: center / cover no-repeat;
  opacity: 0; transform: scale(1);
  transition: opacity 1s var(--ease-snap), transform 7s linear;
}
.hs-slide.active { opacity: 1; transform: scale(1.07); }

/* Gradient overlay: dark-left for text + dark-bottom for bar */
.hero-slider::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to right, rgba(5,3,1,0.82) 0%, rgba(5,3,1,0.46) 42%, rgba(5,3,1,0.12) 70%, transparent 100%),
    linear-gradient(to top, rgba(5,3,1,0.82) 0%, transparent 42%);
}

/* Content */
.hs-content { position: relative; z-index: 2; }

.hs-eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--head); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-bottom: 1.4rem;
}
.hs-eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--red); flex: none; }

.hero-slider h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.8rem);
  line-height: 1.06; letter-spacing: -0.03em;
  color: #fff; margin-bottom: 1.2rem; text-wrap: balance;
}
.hero-slider h1 .display { display: block; color: rgba(255,255,255,0.82); }

.hs-sub {
  max-width: 52ch; font-size: clamp(0.9rem, 1.05vw, 1.04rem);
  line-height: 1.7; color: rgba(255,255,255,0.62); margin-bottom: 1.8rem;
}

/* Searchbar glass on dark */
.hs-search {
  margin-top: 0; background: rgba(255,255,255,0.09);
  backdrop-filter: blur(18px) saturate(1.4);
  border-color: rgba(255,255,255,0.14); box-shadow: none;
}
.hs-search label { color: rgba(255,255,255,0.48); }
.hs-search select { color: #fff; }
.hs-search select option { color: var(--ink); background: var(--paper); }
.hs-search .field { border-right-color: rgba(255,255,255,0.1); }

/* Stats on dark */
.hero-slider .hero-stats { margin-top: 1.8rem; }
.hero-slider .hero-stats .stat strong { color: #fff; }
.hero-slider .hero-stats .stat span { color: rgba(255,255,255,0.52); }

/* Bottom bar */
.hs-bar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hs-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 18px;
}

/* Captions */
.hs-captions { position: relative; height: 20px; overflow: hidden; }
.hs-cap {
  position: absolute; left: 0; top: 0;
  font-family: var(--head); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.48);
  opacity: 0; transition: opacity 0.6s var(--ease-snap); white-space: nowrap;
}
.hs-cap.active { opacity: 1; }

/* Progress bars */
.hs-progress { display: flex; gap: 6px; align-items: center; }
.hs-prog {
  width: 40px; height: 2px; padding: 0; border: none; cursor: pointer;
  background: rgba(255,255,255,0.22); position: relative; overflow: hidden;
}
.hs-prog::after {
  content: ""; position: absolute; left: 0; top: 0;
  height: 100%; width: 0; background: #fff; transition: width 0s;
}
.hs-prog.active::after { width: 100%; transition: width 5s linear; }

@media (prefers-reduced-motion: reduce) {
  .hs-slide { transition: opacity 0.01ms !important; transform: none !important; }
  .hs-prog.active::after { transition: none !important; width: 100%; }
}
@media (max-width: 560px) {
  .hs-search { display: none; }
  .hero-slider h1 { font-size: clamp(2rem, 7.5vw, 3rem); }
}

/* ============================================================
   CARDS — projects
   ============================================================ */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: clamp(22px, 2.4vw, 34px); }

.pcard {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: 8px;
  overflow: hidden; position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
  display: flex; flex-direction: column;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); }
.pcard__media { position: relative; aspect-ratio: 3 / 2.15; overflow: hidden; background: var(--cloud); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.9s; }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,21,16,0.18), transparent 38%, transparent 72%, rgba(27,21,16,0.42)); }
.pcard__tags { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.pcard__fav { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(251,249,244,0.9); backdrop-filter: blur(6px); display: grid; place-items: center; transition: background 0.3s, transform 0.3s; }
.pcard__fav svg { width: 18px; height: 18px; color: var(--ink-soft); transition: color 0.3s; }
.pcard__fav:hover { transform: scale(1.1); }
.pcard__fav:hover svg, .pcard__fav.on svg { color: var(--red); }
.pcard__price { position: absolute; left: 16px; bottom: 14px; z-index: 2; color: #fff; }
.pcard__price b { font-family: var(--head); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.01em; }
.pcard__price span { font-size: 0.72rem; opacity: 0.85; display: block; }

.pcard__body { padding: 1.15rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.pcard__loc { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--muted); }
.pcard__loc svg { width: 14px; height: 14px; color: var(--gold); flex: none; }
.pcard h3 { font-size: 1.22rem; font-weight: 800; letter-spacing: -0.01em; }
.pcard h3 a { transition: color 0.3s; }
.pcard:hover h3 a { color: var(--red); }
.pcard__dev { font-size: 0.8rem; color: var(--muted); }
.pcard__specs { margin-top: auto; padding-top: 0.85rem; border-top: 1px solid var(--line-soft); display: flex; gap: 1.1rem; flex-wrap: wrap; }
.pcard__specs .s { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--ink-soft); }
.pcard__specs .s svg { width: 15px; height: 15px; color: var(--muted-2); }

/* ============================================================
   FEATURE / why cards
   ============================================================ */
.fcard {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 8px;
  padding: 1.7rem 1.6rem; position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s, background 0.5s;
}
.fcard::before { content: ""; position: absolute; inset: 0; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--red); opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease); }
.fcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); background: var(--white); }
.fcard:hover::before { opacity: 1; }
.fcard .ico { width: 50px; height: 50px; border-radius: 8px; background: var(--red-tint); display: grid; place-items: center; margin-bottom: 1.1rem; transition: background 0.4s; }
.fcard .ico svg { width: 24px; height: 24px; color: var(--red); }
.fcard:hover .ico { background: var(--red); }
.fcard:hover .ico svg { color: #fff; }
.fcard .num { position: absolute; top: 1.3rem; right: 1.4rem; font-family: var(--display); font-style: italic; font-size: 2.4rem; color: var(--line); font-weight: 600; }
.fcard h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
.fcard p { font-size: 0.94rem; color: var(--ink-soft); }

/* ============================================================
   STAT band
   ============================================================ */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.stat-band .cell { background: var(--paper); padding: clamp(1.6rem, 3vw, 2.4rem) 1.4rem; text-align: center; transition: background 0.4s; }
.stat-band .cell:hover { background: var(--white); }
.stat-band .num { font-family: var(--head); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; letter-spacing: -0.02em; }
.stat-band .num em { font-style: normal; color: var(--red); }
.stat-band .lbl { margin-top: 0.6rem; font-size: 0.82rem; color: var(--muted); letter-spacing: 0.02em; }
.section--ink .stat-band { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.12); }
.section--ink .stat-band .cell { background: #221b15; }
.section--ink .stat-band .cell:hover { background: #2a221b; }
.section--ink .stat-band .lbl { color: var(--muted-2); }

/* ============================================================
   The 10% — signature block
   ============================================================ */
.tenpct { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.tenpct-viz { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.tenpct-bars { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; width: 100%; }
.tenpct-bars span { aspect-ratio: 1 / 3.6; border-radius: 2px; background: var(--cloud); border: 1px solid var(--line-soft); }
.tenpct-bars span.on { background: var(--red); border-color: var(--red); box-shadow: 0 8px 20px rgba(199,0,24,0.25); }
.tenpct-viz .ring { position: absolute; font-family: var(--display); font-style: italic; }

/* ============================================================
   Editorial split (about, off-market)
   ============================================================ */
.media-shot { position: relative; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.media-shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.4; }
.media-shot.facet { clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%); }
.media-quote { position: absolute; left: 0; bottom: 0; padding: 1.4rem 1.5rem; background: linear-gradient(180deg, transparent, rgba(27,21,16,0.78)); color: #fff; width: 100%; }
.media-quote .display { font-size: 1.5rem; }

.value-list { display: grid; gap: 0; }
.value-list .v { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.value-list .v:last-child { border-bottom: none; }
.value-list .v .n { font-family: var(--display); font-style: italic; font-size: 1.5rem; color: var(--red); line-height: 1; width: 2.2rem; }
.value-list .v h4 { font-size: 1.06rem; font-family: var(--head); font-weight: 700; }
.value-list .v p { font-size: 0.9rem; color: var(--muted); margin-top: 2px; }

/* ============================================================
   Insight / post cards
   ============================================================ */
.icard { display: flex; flex-direction: column; gap: 0.9rem; }
.icard__media { aspect-ratio: 3/2; border-radius: 8px; overflow: hidden; background: var(--cloud); position: relative; }
.icard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.icard:hover .icard__media img { transform: scale(1.05); }
.icard .cat { font-family: var(--head); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.icard h3 { font-size: 1.12rem; line-height: 1.3; transition: color 0.3s; }
.icard:hover h3 { color: var(--red); }
.icard .meta { font-size: 0.78rem; color: var(--muted); display: flex; gap: 0.7rem; align-items: center; }
.icard .meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }

/* Featured insight (big) */
.ifeature { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 48px); align-items: center; background: var(--white); border: 1px solid var(--line-soft); border-radius: 10px; overflow: hidden; }
.ifeature__media { aspect-ratio: 4/3; overflow: hidden; }
.ifeature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ifeature:hover .ifeature__media img { transform: scale(1.04); }
.ifeature__body { padding: clamp(1.4rem, 3vw, 2.6rem) clamp(1.4rem, 3vw, 2.6rem) clamp(1.4rem, 3vw, 2.6rem) 0; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { position: relative; overflow: hidden; border-radius: 12px; background: var(--ink); color: #fff; padding: clamp(2.4rem, 5vw, 4.4rem); }
.cta-band::before { content: ""; position: absolute; right: -5%; top: -30%; width: 380px; height: 380px; background: radial-gradient(circle, rgba(199,0,24,0.4), transparent 70%); }
.cta-band::after { content: ""; position: absolute; left: -40px; bottom: -40px; width: 160px; height: 160px; border: 1px solid rgba(255,255,255,0.08); border-radius: 50%; }
.cta-band .inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; }
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); color: #fff; }
.cta-band p { color: rgba(255,255,255,0.7); margin-top: 0.8rem; max-width: 48ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); padding-top: clamp(56px, 8vw, 92px); }
.site-footer a { transition: color 0.3s; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 52px); padding-bottom: clamp(40px, 6vw, 64px); border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand img { height: 58px; margin-bottom: 1.2rem; }
.footer-brand p { font-size: 0.9rem; max-width: 34ch; color: rgba(255,255,255,0.6); }
.footer-soc { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.footer-soc a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.16); display: grid; place-items: center; transition: background 0.3s, border-color 0.3s, transform 0.3s; }
.footer-soc a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.footer-soc svg { width: 17px; height: 17px; }
.footer-col h4 { font-family: var(--head); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; font-weight: 700; }
.footer-col li { margin-bottom: 0.7rem; font-size: 0.9rem; }
.footer-contact li { display: flex; gap: 0.7rem; margin-bottom: 0.9rem; font-size: 0.9rem; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--red); flex: none; margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-block: 1.8rem; font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* ============================================================
   Page header (interior pages)
   ============================================================ */
.page-hero { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 76px)); padding-bottom: clamp(34px, 5vw, 56px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; top: -20%; right: -6%; width: 40vw; height: 40vw; max-width: 520px; background: radial-gradient(circle, var(--red-tint), transparent 68%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.95rem, 4.2vw, 3.1rem); }
.page-hero .display { color: var(--red); font-size: 1.08em; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: var(--muted); margin-bottom: 1.4rem; font-family: var(--head); font-weight: 600; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb svg { width: 13px; height: 13px; opacity: 0.6; }

/* ============================================================
   Filters (projects)
   ============================================================ */
.filters { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem 1.2rem; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) auto; gap: 0.7rem; align-items: end; }
.filters .f { display: flex; flex-direction: column; gap: 0.35rem; }
.filters label { font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-family: var(--head); font-weight: 700; }
.filters select, .filters .search-in { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 6px; padding: 0 0.85rem; background: var(--paper); font-size: 0.9rem; font-weight: 500; transition: border-color 0.3s, box-shadow 0.3s; appearance: none; }
.filters .search-wrap { position: relative; }
.filters .search-in { width: 100%; padding-left: 2.4rem; }
.filters .search-wrap svg { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
.filters select:focus, .filters .search-in:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-tint); }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 0.9rem; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-65%) rotate(45deg); pointer-events: none; }

.results-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin: 1.6rem 0 1.4rem; }
.results-bar .count { font-family: var(--head); font-weight: 700; }
.results-bar .count em { color: var(--red); font-style: normal; }
.chip-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.chip { font-family: var(--head); font-size: 0.78rem; font-weight: 600; padding: 0.4rem 0.85rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); transition: all 0.3s; }
.chip.active, .chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.empty { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.empty .gem { margin: 0 auto 1rem; }

/* ============================================================
   Project detail
   ============================================================ */
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; border-radius: 10px; overflow: hidden; aspect-ratio: 16/8.5; }
.gallery img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: filter 0.4s, transform 0.9s var(--ease); }
.gallery .main { grid-row: 1 / 3; }
.gallery a { position: relative; overflow: hidden; }
.gallery a:hover img { filter: brightness(0.92); transform: scale(1.03); }
.gallery .more { position: absolute; inset: 0; background: rgba(27,21,16,0.55); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 700; }

.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: clamp(28px, 4vw, 52px); align-items: start; margin-top: clamp(28px, 4vw, 48px); }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 1.5rem 0; }
.spec-grid .c { background: var(--paper); padding: 1.2rem 1rem; }
.spec-grid .c .k { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-family: var(--head); font-weight: 700; }
.spec-grid .c .val { font-family: var(--head); font-weight: 800; font-size: 1.18rem; margin-top: 4px; }
.amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem 1.5rem; margin-top: 1rem; }
.amenities li { display: flex; gap: 0.6rem; align-items: center; font-size: 0.94rem; }
.amenities svg { width: 18px; height: 18px; color: var(--red); flex: none; }

.sticky-cta { position: sticky; top: calc(var(--header-h) + 14px); background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 1.5rem; }
.sticky-cta .price { font-family: var(--head); font-weight: 800; font-size: 1.9rem; letter-spacing: -0.01em; }
.sticky-cta .price small { font-size: 0.8rem; color: var(--muted); font-weight: 600; display: block; letter-spacing: 0; }

/* ============================================================
   Forms
   ============================================================ */
.field-row { display: grid; gap: 1rem; margin-bottom: 1rem; }
.field-row.two { grid-template-columns: 1fr 1fr; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-size: 0.74rem; font-family: var(--head); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.form-field input, .form-field textarea, .form-field select {
  height: 50px; border: 1px solid var(--line); border-radius: 6px; padding: 0 1rem; background: var(--white);
  font-size: 0.95rem; transition: border-color 0.3s, box-shadow 0.3s;
}
.form-field textarea { height: auto; min-height: 120px; padding: 0.8rem 1rem; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-tint); }
.form-note { font-size: 0.8rem; color: var(--muted); }
.form-success { display: none; padding: 1.1rem 1.2rem; background: var(--gold-tint); border: 1px solid var(--line-gold); border-radius: 8px; color: var(--ink); font-size: 0.92rem; }
.form-success.show { display: block; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.contact-info .item { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-soft); }
.contact-info .item:last-child { border-bottom: none; }
.contact-info .item .ic { width: 46px; height: 46px; border-radius: 8px; background: var(--red-tint); display: grid; place-items: center; flex: none; }
.contact-info .item .ic svg { width: 21px; height: 21px; color: var(--red); }
.contact-info .item .k { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-family: var(--head); font-weight: 700; }
.contact-info .item .v { font-family: var(--head); font-weight: 700; font-size: 1.05rem; margin-top: 2px; }
.contact-info .item .v a:hover { color: var(--red); }
.map-embed { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); margin-top: 1.4rem; height: 240px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) contrast(1.05); }

/* ============================================================
   Partner / steps
   ============================================================ */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); }
.tier { background: var(--white); border: 1px solid var(--line-soft); border-radius: 10px; padding: 1.8rem 1.6rem; position: relative; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tier.feature { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tier.feature h3, .tier.feature .pct { color: #fff; }
.tier .pct { font-family: var(--head); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.02em; color: var(--red); line-height: 1; }
.tier.feature .pct { color: var(--gold-soft); }
.tier h3 { font-size: 1.2rem; margin: 0.3rem 0 0.8rem; }
.tier ul { display: grid; gap: 0.6rem; margin-top: 1rem; }
.tier li { display: flex; gap: 0.6rem; font-size: 0.9rem; align-items: flex-start; }
.tier li svg { width: 17px; height: 17px; color: var(--red); flex: none; margin-top: 3px; }
.tier.feature li svg { color: var(--gold-soft); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.step { position: relative; padding-top: 3.8rem; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; font-family: var(--display); font-style: italic; font-size: 2.3rem; font-weight: 600; line-height: 1; color: var(--red); opacity: 0.85; }
.step h4 { font-family: var(--head); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.step p { font-size: 0.92rem; color: var(--ink-soft); }
.step::after { content: ""; position: absolute; top: 1rem; left: 3.4rem; right: -1.5rem; height: 1px; background: var(--line); }
.steps .step:last-child::after { display: none; }

/* ============================================================
   Article body
   ============================================================ */
.article { max-width: 760px; margin-inline: auto; }
.article p { margin-bottom: 1.3rem; font-size: 1.06rem; line-height: 1.8; color: var(--ink-soft); }
.article h2 { font-size: 1.6rem; margin: 2.4rem 0 1rem; }
.article h3 { font-size: 1.25rem; margin: 1.8rem 0 0.8rem; }
.article blockquote { margin: 2rem 0; padding: 1.2rem 1.8rem; background: var(--gold-tint); border: 1px solid var(--line-gold); border-radius: 8px; font-family: var(--display); font-style: italic; font-size: 1.55rem; line-height: 1.3; color: var(--ink); }
.article ul.bullets { margin: 1.2rem 0; display: grid; gap: 0.7rem; }
.article ul.bullets li { padding-left: 1.6rem; position: relative; color: var(--ink-soft); }
.article ul.bullets li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; background: var(--red); clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%); }
.article img { border-radius: 8px; margin: 1.8rem 0; }

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15, 11, 8, 0.94); display: none; place-items: center; padding: 4vw; opacity: 0; transition: opacity 0.4s; }
.lightbox.open { display: grid; opacity: 1; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 6px; box-shadow: var(--shadow-lg); }
.lightbox .lb-close { position: absolute; top: 24px; right: 28px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; display: grid; place-items: center; }
.lightbox .lb-close svg { width: 22px; height: 22px; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; display: grid; place-items: center; }
.lightbox .lb-nav:hover { background: var(--red); }
.lightbox .lb-prev { left: 24px; } .lightbox .lb-next { right: 24px; }
.lightbox .lb-nav svg { width: 24px; height: 24px; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s var(--ease-expo), transform 0.65s var(--ease-expo); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.07s; }
.reveal[data-d="2"] { transition-delay: 0.14s; }
.reveal[data-d="3"] { transition-delay: 0.22s; }
.reveal[data-d="4"] { transition-delay: 0.30s; }
.reveal[data-d="5"] { transition-delay: 0.38s; }
.reveal[data-d="6"] { transition-delay: 0.46s; }
.reveal--left { transform: translateX(-24px); }
.reveal--right { transform: translateX(24px); }
.reveal--left.in, .reveal--right.in { transform: none; }

/* Image load fade */
.img-fade { opacity: 0; transition: opacity 0.6s var(--ease-snap); }
.img-fade.loaded { opacity: 1; }

/* Parallax host — frame must be overflow:hidden */
.parallax-img { will-change: transform; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.float { animation: floaty 6s var(--ease) infinite; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--left, .reveal--right { opacity: 1; transform: none; transition: none; }
  .mobile-nav a { opacity: 1; transform: none; }
  .img-fade { opacity: 1; transition: none; }
  .float { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ============================================================
   Utilities
   ============================================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.6rem; } .mt-2 { margin-top: 1.2rem; } .mt-3 { margin-top: 2rem; } .mt-4 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; } .items-center { align-items: center; } .gap { gap: 1rem; } .wrap { flex-wrap: wrap; }
.maxw-prose { max-width: 62ch; }
.divider { height: 1px; background: var(--line); border: none; margin-block: clamp(40px, 6vw, 72px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.no-scroll { overflow: hidden; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-band .inner { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .sticky-cta { position: static; }
}
@media (max-width: 920px) {
  :root { --header-h: 72px; }
  .nav, .header-phone { display: none; }
  .burger { display: flex; }
  .hero-grid, .split, .tenpct, .contact-grid, .ifeature, .cta-band .inner { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16/12; max-width: 560px; }
  .cols-4, .stat-band, .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .cols-3, .tier-grid, .steps { grid-template-columns: 1fr; }
  .searchbar { grid-template-columns: 1fr 1fr; }
  .searchbar .btn { grid-column: 1 / -1; }
  .filters { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; aspect-ratio: 16/11; }
  .step::after { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .cols-2, .cols-3, .cols-4, .stat-band, .spec-grid, .searchbar, .filters, .field-row.two, .amenities, .gallery { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .gallery { aspect-ratio: 4/3; }
  .gallery .main { grid-row: auto; }
  .results-bar { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Floating contact · FAQ accordion · Jobs (added)
   ============================================================ */
.float-contact { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.float-contact a, .float-contact button { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow); color: #fff; transition: transform 0.35s var(--ease), box-shadow 0.35s; position: relative; }
.float-contact svg { width: 25px; height: 25px; }
.float-contact a:hover, .float-contact button:hover { transform: translateY(-3px) scale(1.06); }
.fc-zalo { background: #0068ff; }
.fc-phone { background: var(--red); }
.fc-top { background: var(--ink); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity 0.4s, transform 0.35s var(--ease); }
.fc-top.show { opacity: 1; pointer-events: auto; transform: none; }
.float-contact .pulse::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: fc-pulse 2.2s ease-out infinite; z-index: -1; }
@keyframes fc-pulse { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.8); opacity: 0; } }
.float-label { position: absolute; right: 64px; top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--ink); color: #fff; font-family: var(--head); font-size: 0.78rem; font-weight: 600; padding: 0.4rem 0.7rem; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.float-contact a:hover .float-label { opacity: 1; }
@media (max-width: 560px) { .float-contact a, .float-contact button { width: 48px; height: 48px; } .float-contact svg { width: 22px; height: 22px; } .float-label { display: none; } }
@media (prefers-reduced-motion: reduce) { .float-contact .pulse::before { animation: none; } }

.faq-list { max-width: 840px; margin-inline: auto; }
.faq-group-title { font-family: var(--head); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 2.4rem 0 0.6rem; }
.faq-group-title:first-child { margin-top: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; text-align: left; font-family: var(--head); font-weight: 600; font-size: 1.06rem; color: var(--ink); transition: color 0.3s; }
.faq-q:hover { color: var(--red); }
.faq-q .ico { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-soft); transition: background 0.3s, border-color 0.3s, color 0.3s; }
.faq-q .ico svg { width: 15px; height: 15px; transition: transform 0.4s var(--ease); }
.faq-item.open .faq-q .ico { background: var(--red); border-color: var(--red); color: #fff; }
.faq-item.open .faq-q .ico svg { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { min-height: 0; overflow: hidden; padding: 0 0 1.3rem; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.7; }

.job-card { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; background: var(--white); border: 1px solid var(--line-soft); border-radius: 10px; padding: 1.4rem 1.6rem; transition: transform 0.45s var(--ease), box-shadow 0.45s, border-color 0.45s; }
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line); }
.job-card h3 { font-size: 1.18rem; }
.job-meta { display: flex; gap: 1.1rem; flex-wrap: wrap; margin-top: 0.5rem; font-size: 0.85rem; color: var(--muted); }
.job-meta span { display: flex; align-items: center; gap: 0.35rem; }
.job-meta svg { width: 14px; height: 14px; color: var(--gold); }
.job-card .btn { flex: none; }
@media (max-width: 600px) { .job-card { flex-direction: column; align-items: flex-start; } .job-card .btn { width: 100%; justify-content: center; } }

/* ===== Founder photo ===== */
.founder-photo { position: relative; max-width: 440px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: #221b15; box-shadow: var(--shadow-lg); clip-path: polygon(0 0, 100% 0, 100% 93%, 90% 100%, 0 100%); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.founder-photo.noimg { border: 1px dashed rgba(255, 255, 255, 0.22); }
.founder-photo.noimg img { display: none; }
.founder-photo.noimg::after { content: "Lưu ảnh nhà sáng lập vào assets/img/founder.jpg"; position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 2rem; color: rgba(255, 255, 255, 0.5); font-size: 0.88rem; line-height: 1.6; }

/* ---------- Bảng trong bài viết (post table) ---------- */
.post-table-wrap { overflow-x: auto; margin: 1.6rem 0; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.post-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.post-table th { background: var(--cloud); font-family: var(--head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); text-align: left; padding: 0.7rem 0.95rem; white-space: nowrap; }
.post-table td { padding: 0.68rem 0.95rem; border-top: 1px solid var(--line-soft); color: var(--ink-soft); vertical-align: top; line-height: 1.55; }
.post-table td:first-child { font-family: var(--head); font-weight: 600; color: var(--ink); }
.post-table a { color: var(--red); }

/* ---------- Trợ lý chat PaceLand ---------- */
#plChat { position: fixed; left: 18px; bottom: 18px; z-index: 90; font-family: var(--body); }
#plcToggle {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.1rem; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-family: var(--head); font-weight: 700; font-size: 0.84rem;
  box-shadow: 0 14px 34px rgba(27,21,16,0.3);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
#plcToggle:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(27,21,16,0.36); }
#plcToggle svg { width: 18px; height: 18px; color: var(--gold-soft); }
#plcPanel {
  position: absolute; left: 0; bottom: calc(100% + 12px);
  width: min(360px, calc(100vw - 36px));
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: none; flex-direction: column; overflow: hidden;
}
#plChat.open #plcPanel { display: flex; }
.plc-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.9rem 1.1rem; background: var(--ink); color: var(--paper);
}
.plc-head b { font-family: var(--head); font-size: 0.95rem; display: block; }
.plc-head span { font-size: 0.72rem; color: var(--gold-soft); }
.plc-head button { color: var(--muted-2); font-size: 1rem; padding: 0.2rem 0.4rem; }
.plc-head button:hover { color: #fff; }
#plcMsgs {
  height: min(380px, 52vh); overflow-y: auto;
  padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem;
  background: var(--ivory);
}
.plc-msg {
  max-width: 86%; padding: 0.6rem 0.85rem; border-radius: 12px;
  font-size: 0.88rem; line-height: 1.55; overflow-wrap: break-word;
}
.plc-msg.bot { background: var(--white); border: 1px solid var(--line-soft); border-bottom-left-radius: 4px; align-self: flex-start; }
.plc-msg.me { background: var(--red); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.plc-msg a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.plc-msg.me a { color: #fff; }
.plc-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.plc-chips button {
  padding: 0.45rem 0.8rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); font-size: 0.8rem; font-family: var(--head); font-weight: 600;
  color: var(--ink-soft); transition: all 0.25s;
}
.plc-chips button:hover { border-color: var(--red); color: var(--red); }
.plc-leadform { display: flex; flex-direction: column; gap: 0.5rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem; }
.plc-leadform input { padding: 0.6rem 0.8rem; border: 1px solid var(--line); border-radius: 8px; font-size: 0.88rem; }
.plc-leadform input:focus { outline: none; border-color: var(--red); }
.plc-leadform button {
  padding: 0.65rem; background: var(--red); color: #fff; border-radius: 8px;
  font-family: var(--head); font-weight: 700; font-size: 0.84rem;
}
.plc-leadform button:disabled { opacity: 0.6; }
.plc-input { display: flex; gap: 0.5rem; padding: 0.7rem; border-top: 1px solid var(--line); background: var(--paper); }
.plc-input input { flex: 1; padding: 0.6rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.88rem; }
.plc-input input:focus { outline: none; border-color: var(--red); }
.plc-input button { width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; flex: none; font-size: 0.9rem; }
.plc-foot { text-align: center; padding: 0.5rem; font-size: 0.75rem; color: var(--muted); border-top: 1px solid var(--line-soft); background: var(--paper); }
.plc-foot a { color: var(--red); font-weight: 700; }
@media (max-width: 760px) {
  #plChat { left: 12px; bottom: 12px; }
  #plcToggle span { display: none; }
  #plcToggle { padding: 0.85rem; }
}

/* ---------- Chứng nhận Đối tác ---------- */
.partner-lookup {
  background: var(--ink); border-radius: 14px;
  padding: clamp(1.6rem, 3vw, 2.4rem); color: var(--paper);
}
.partner-lookup h2 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.partner-lookup p { color: rgba(255,255,255,0.62); font-size: 0.9rem; margin-top: 0.5rem; max-width: 60ch; }
.partner-lookup-form { display: flex; gap: 0.7rem; margin-top: 1.3rem; flex-wrap: wrap; }
.partner-lookup-form input {
  flex: 1; min-width: 220px; padding: 0.85rem 1.1rem; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); color: #fff; font-size: 0.95rem;
}
.partner-lookup-form input::placeholder { color: rgba(255,255,255,0.4); }
.partner-lookup-form input:focus { outline: none; border-color: var(--gold-soft); background: rgba(255,255,255,0.1); }
.partner-lookup-form button { flex: none; }

.lookup-result { margin-top: 1.3rem; border-radius: 10px; padding: 1.2rem 1.4rem; display: none; }
.lookup-result.show { display: flex; gap: 1rem; align-items: flex-start; }
.lookup-result .ic { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; }
.lookup-result .ic svg { width: 19px; height: 19px; }
.lookup-result .body b { display: block; font-family: var(--head); font-size: 1.02rem; margin-bottom: 0.3rem; }
.lookup-result .body p { margin: 0; font-size: 0.88rem; line-height: 1.6; color: rgba(255,255,255,0.78); }
.lookup-result.ok { background: rgba(30,122,60,0.14); border: 1px solid rgba(30,122,60,0.35); }
.lookup-result.ok .ic { background: #1E7A3C; color: #fff; }
.lookup-result.warn { background: rgba(176,137,74,0.14); border: 1px solid rgba(176,137,74,0.4); }
.lookup-result.warn .ic { background: var(--gold); color: #fff; }
.lookup-result.err { background: rgba(199,0,24,0.14); border: 1px solid rgba(199,0,24,0.4); }
.lookup-result.err .ic { background: var(--red); color: #fff; }

.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.partner-card {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: 12px;
  padding: 1.5rem; text-align: left; cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.partner-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line); }
.partner-card .pc-top { display: flex; gap: 1rem; align-items: center; }
.partner-card .pc-photo { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; flex: none; background: var(--cloud); }
.partner-card .pc-photo.noimg { display: grid; place-items: center; color: var(--muted); font-family: var(--head); font-weight: 800; font-size: 1.3rem; }
.partner-card h3 { font-size: 1.05rem; margin-bottom: 0.15rem; }
.partner-card .pc-role { font-size: 0.8rem; color: var(--muted); }
.partner-card .pc-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.partner-card .pc-bio { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.6; margin-top: 0.9rem; }
.partner-card .pc-code { margin-top: 0.9rem; font-size: 0.74rem; color: var(--muted); font-family: var(--head); letter-spacing: 0.03em; }
.partner-card .pc-ach { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.8rem; }
.partner-card .pc-ach span { font-size: 0.72rem; background: var(--gold-tint); color: var(--gold); padding: 0.2rem 0.55rem; border-radius: 999px; }

.pill--level { background: var(--red-tint); color: var(--red); border-color: var(--red-line); }
