﻿@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── YAGE Property Bangkok — Shared Stylesheet ── */
:root {
  --bg: #faf8f3;
  --paper: #fffdf8;
  --ink: #15120f;
  --muted: #6e655c;
  --line: #e7ded0;
  --red: #b52b22;
  --red-deep: #831e18;
  --gold: #b9974c;
  --green: #123c2d;
  --blue: #162b52;
  --shadow: 0 18px 48px rgba(28, 20, 12, 0.12);
  --font: Inter, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  --display: Georgia, "Times New Roman", "Noto Serif SC", serif;
}
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
[data-zh],
.zh-text {
  overflow-wrap: anywhere;
}
.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.section {
  padding: 92px 0;
  border-top: 1px solid var(--line);
}
.section:first-child { border-top: 0; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0;
}
h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 6.8vw, 6.4rem);
  line-height: 0.96;
}
h2 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(1.65rem, 2.8vw, 2.8rem);
  line-height: 1.1;
}
h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.25;
}
.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: white;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.secondary { background: transparent; color: var(--ink); }
.btn.secondary:hover { background: var(--ink); color: white; }
.btn.btn-consult { background: #E24E26; border-color: #E24E26; color: white; }
.btn.btn-consult:hover { background: #c43e1e; border-color: #c43e1e; }
.btn.light { background: white; color: var(--green); border-color: white; }
.btn.ghost-light { background: transparent; color: white; border-color: rgba(255,255,255,0.42); }
.btn.ghost-light:hover { background: white; color: var(--green); }
.text-link {
  display: inline-flex;
  margin-top: 22px;
  font-weight: 800;
  color: var(--red);
}
.text-link::after { content: "→"; margin-left: 8px; }
.hero .btn:not(.secondary) { background: #E24F28; border-color: #E24F28; }
.hero .btn:not(.secondary):hover { background: #c43e1e; border-color: #c43e1e; }
.hero .btn.secondary { border-color: rgba(255,255,255,0.72); color: white; }
.hero .btn.secondary:hover { background: white; color: var(--ink); }

/* ── Header ── */
.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: 72px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: #15120f;
  color: white;
}
.site-header.scrolled,
.site-header.solid {
  border-bottom-color: rgba(255,255,255,0.08);
  background: #15120f;
  color: white;
}
.header-inner {
  width: min(1240px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  background: #ffffff;
  object-fit: contain;
  padding: 6px;
}
.site-header.scrolled .brand-mark,
.site-header.solid .brand-mark { border-color: rgba(255,255,255,0.2); }
.brand span { font-size: 0.82rem; }
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav a { opacity: 0.86; position: relative; }
.nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.22s ease;
}
.nav a:hover { opacity: 1; color: var(--gold); }
.nav a:hover::after,
.nav a.active::after { width: 100%; }
.nav a.active { opacity: 1; color: var(--gold); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 86px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 4px;
  overflow: hidden;
}
.lang button {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.74rem;
  font-weight: 900;
  cursor: pointer;
}
.lang button.active { background: white; color: #0b0b0b; }
.menu-btn {
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.menu-btn span { display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; }

/* ── Home Hero ── */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: white;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.5) 28%, rgba(0,0,0,0.08) 52%, transparent 70%);
  pointer-events: none;
}
.hero-slides {
  position: absolute; inset: 0; z-index: 0;
  display: flex;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}
.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(148deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 92%);
}
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
  align-items: center;
}
.hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.5);
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.hero-dot.active { background: white; transform: scale(1.45); }
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 52px;
}
.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}
.hero h1 {
  font-size: clamp(2.15rem, 4.2vw, 4.85rem);
  line-height: 1.12;
  max-width: 760px;
  margin: 6px 0 0;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  flex-shrink: 0;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.metric {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 40px;
  backdrop-filter: blur(10px);
}
.metric strong { display: inline; font-family: var(--font); font-size: 0.82rem; font-weight: 900; }
.metric span { color: rgba(255,255,255,0.7); font-size: 0.74rem; }

/* ── Hero Cards (2-up slider) ── */
.hero-cards {
  margin-top: 72px;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.hc-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}
.hc-slide {
  flex: 0 0 50vw;
  height: calc(50vw * 736 / 1024);
  background-size: cover;
  background-position: center;
}
.hc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
  line-height: 1;
}
.hc-arrow:hover { background: rgba(255,255,255,0.3); }
.hc-prev { left: 16px; }
.hc-next { right: 16px; }
.hc-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.hc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.hc-dot.active { background: white; }

/* ── Hero Text Strip ── */
.hero-text {
  background: var(--paper);
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.hero-text-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}
.hero-text h1 {
  font-size: clamp(1.55rem, 2.4vw, 2.4rem);
  line-height: 1.1;
  margin-bottom: 0;
}
.hero-text .eyebrow { margin-bottom: 10px; }
.hero-text .hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  flex-shrink: 0;
}
.hero-text .hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
/* Metric pills adapted for light background */
.hero-text .metric {
  background: var(--bg);
  border-color: var(--line);
}
.hero-text .metric strong { color: var(--ink); }
.hero-text .metric span { color: var(--muted); }

@media (max-width: 900px) {
  .hero-text-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-text .hero-actions { align-items: flex-start; }
  .hero-text .hero-meta { justify-content: flex-start; }
}
@media (max-width: 768px) {
  .hero-cards { margin-top: 66px; } /* match mobile header height (72px desktop) */
  .hc-slide { flex: 0 0 100vw; height: calc(100vw * 736 / 1024); }
}

/* ── General layout ── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 56px;
  align-items: start;
}
.statement {
  padding: 36px 0 0;
  border-top: 3px solid var(--red);
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.08;
}
.service-grid,
.project-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.service .num {
  display: block;
  margin-bottom: 48px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 2rem;
}
.projects-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

/* ── Project cards ── */
.project {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  border: 1px solid var(--line);
  text-align: left;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  text-decoration: none;
}
.project::before, .project::after { display: none; }
.project-img {
  width: 100%;
  aspect-ratio: 1024 / 736;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  transition: transform 0.45s ease;
}
.project:hover .project-img { transform: scale(1.04); }
.project:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.project-info {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--paper);
  flex: 1;
}
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}
.project h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
}
.project-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  color: var(--muted);
  font-size: 0.86rem;
}
.project-meta strong { display: block; color: var(--ink); font-size: 1rem; }
.project.small h3 { font-size: 1.25rem; }
.project:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ── Trust strip ── */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 48px 0;
}
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 32px;
  border-right: 1px solid var(--line);
}
.trust-stat:last-child { border-right: 0; }
.trust-stat strong {
  font-family: var(--font);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 8px;
}
.trust-stat span { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ── About page ── */
.page-header {
  padding: 150px 0 72px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-header h1 { font-size: clamp(2.4rem, 5vw, 5rem); line-height: 1; }
.page-header .lead { max-width: 760px; }
.feature-list { display: grid; gap: 0; }
.feature-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.feature-item:first-child { border-top: 0; }
.feat-num {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 400;
  padding-top: 2px;
}
.feature-item h4 { font-size: 0.96rem; font-weight: 800; margin: 0 0 6px; letter-spacing: 0.01em; }
.feature-item p { font-size: 0.9rem; color: var(--muted); margin: 0; line-height: 1.6; }
.feature b { color: var(--red); }
.bg-ink { background: var(--ink); color: var(--bg); }
.bg-ink h2, .bg-ink h3 { color: var(--bg); }
.bg-ink .eyebrow { color: var(--bg); opacity: 0.55; }
.bg-ink p { color: rgba(250,248,243,0.75); }
.bg-paper { background: var(--paper); }
.dark-section {
  background: var(--ink);
  color: var(--bg);
}
.dark-section .eyebrow { color: rgba(250,248,243,0.5); }
.dark-section h2 { color: var(--bg); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 48px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  overflow: hidden;
}
.process-step {
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.process-step:last-child { border-right: 0; }
.step-num {
  display: block;
  font-family: var(--display);
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 16px;
  line-height: 1;
}
.step-body h4 { font-size: 0.96rem; margin: 0 0 10px; color: white; font-weight: 800; }
.step-body p { font-size: 0.86rem; line-height: 1.65; margin: 0; color: rgba(250,248,243,0.7); }
.timeline { margin-top: 40px; }
.tl-img { border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.tl-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; display: block; }
@media (min-width: 901px) {
  .tl-content { display: flex; gap: 28px; align-items: flex-start; }
  .tl-img { width: 320px; margin-bottom: 0; }
}
@media (max-width: 900px) {
  .tl-img { margin-bottom: 14px; }
}
.tl-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.tl-year { font-family: var(--display); font-size: 1.4rem; color: var(--red); font-weight: 400; }
.tl-content h4 { font-size: 1rem; font-weight: 800; margin: 0 0 8px; }
.tl-content p { font-size: 0.9rem; color: var(--muted); margin: 0; line-height: 1.65; }

/* ── Partners ── */
.partner-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--paper);
}
.partner {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 24px;
  border-right: 1px solid var(--line);
}
.partner:nth-child(3n) { border-right: 0; }
.partner img { max-width: 160px; max-height: 80px; width: 100%; object-fit: contain; }

/* ── Contact band ── */
.contact-band {
  padding: 88px 0;
  background: var(--green);
  color: white;
}
.contact-band h2 { color: white; max-width: 700px; }
.contact-band .lead { color: rgba(255,255,255,0.78); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 34px;
}
.contact-box {
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
}
.contact-box span { display: block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; margin-bottom: 8px; }
.contact-box a {
  display: block;
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
}

/* ── Page hero (about / interior pages) ── */
.page-hero {
  padding: 150px 0 70px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-hero .lead { max-width: 760px; }

/* ── Footer ── */
footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #0f0f0f;
  color: rgba(255,255,255,0.72);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.footer-socials {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-socials a:hover { color: #fff; }
.footer-socials svg { width: 18px; height: 18px; fill: currentColor; }

/* ── Floating buttons ── */
.float-btns {
  position: fixed;
  bottom: 28px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.float-btn {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.22);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.float-btn:hover { transform: translateY(-3px) scale(1.07); box-shadow: 0 8px 24px rgba(0,0,0,0.28); }
.float-btn.line  { background: #06c755; }
.float-btn.whatsapp { background: #25d366; }
.float-btn.wechat { background: #07c160; }
.float-btn.facebook { background: #1877f2; }
.float-btn svg { width: 26px; height: 26px; fill: white; }
.contact-toast {
  position: fixed;
  right: 24px;
  bottom: 210px;
  z-index: 1001;
  max-width: min(300px, calc(100vw - 40px));
  padding: 12px 16px;
  border-radius: 6px;
  background: var(--ink);
  color: white;
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.contact-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════
   PROJECT LANDING PAGES
═══════════════════════════════════════════ */
.proj-hero {
  min-height: 92svh;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  color: white;
  overflow: hidden;
}
.proj-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0.08) 72%, transparent 100%);
}
.proj-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 72px;
}
.proj-hero-inner .tag { margin-bottom: 18px; display: inline-block; }
.proj-hero-inner h1 {
  max-width: 700px;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: 1;
  margin-bottom: 24px;
  color: white;
}
.proj-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.proj-hero-badge {
  padding: 7px 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  backdrop-filter: blur(8px);
}
.proj-hero-badge.price {
  background: var(--red);
  border-color: var(--red);
  font-size: 1rem;
}

/* ── SPLIT HERO (project pages) ─────────────────────────────── */
.proj-hero-split {
  display: grid;
  grid-template-columns: 47% 53%;
  padding-top: 72px;
  box-sizing: border-box;
  background: #FAF8F3;
}
.proj-hero-img-wrap {
  padding: 28px 16px 28px 28px;
  display: flex;
  align-items: center;
}
.proj-hero-img {
  width: 100%;
  aspect-ratio: 1024 / 736;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
}
.proj-hero-img-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
}
.proj-hero-img-inner .tag { margin-bottom: 14px; display: inline-block; }
.proj-hero-img-inner h1 {
  color: white;
  font-size: clamp(1.75rem, 2.8vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  max-width: 520px;
}
.proj-hero-specs {
  background: #FAF8F3;
  color: var(--ink);
  padding: 3rem 3rem 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}
.phs-eyebrow {
  font-size: 0.63rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.phs-title {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.7vw, 1.85rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.phs-subtitle {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.52);
  margin-bottom: 1.75rem;
}
.phs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.phs-table tr { border-bottom: 1px solid rgba(0,0,0,0.08); }
.phs-table tr:last-child { border-bottom: 0; }
.phs-table th {
  padding: 0.6rem 0.5rem 0.6rem 0;
  text-align: left;
  color: var(--ink);
  font-weight: 400;
  font-size: 0.84rem;
  width: 36%;
  vertical-align: top;
}
.phs-table td {
  padding: 0.6rem 0 0.6rem 0.5rem;
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.45;
  vertical-align: top;
}
.proj-hero-specs .spec-icon { color: var(--ink); opacity: 0.7; }

/* Mobile: stack image on top, specs below */
@media (max-width: 900px) {
  .proj-hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 66px;
  }
  .proj-hero-img-wrap { padding: 16px 16px 8px; }
  .proj-hero-img { aspect-ratio: 1024 / 736; min-height: unset; }
  .proj-hero-specs { padding: 1.5rem 1.5rem 2rem; justify-content: flex-start; }
  .phs-title { font-size: clamp(1.15rem, 4vw, 1.5rem); margin-bottom: 1.25rem; }
}

/* Spec grid */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 36px;
}
.spec-item {
  padding: 20px;
  background: var(--paper);
}
.spec-item span {
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.spec-item strong { display: block; font-size: 0.95rem; line-height: 1.4; }

/* Summary bilingual */
.proj-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.proj-summary p { font-size: 1.05rem; line-height: 1.7; color: var(--muted); margin: 0; }
.proj-summary .zh-text { color: var(--muted); font-family: "Noto Sans SC","Microsoft YaHei", var(--font); }

/* Gallery */
.proj-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 10px;
  margin-top: 36px;
}
.proj-gallery a {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #111;
  aspect-ratio: 1.6;
}
.proj-gallery a:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  aspect-ratio: auto;
  min-height: 340px;
}
.proj-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.38s ease;
}
.proj-gallery a:hover img { transform: scale(1.04); }

/* Image lightbox */
body.lightbox-open { overflow: hidden; }
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 34px 84px;
  background: rgba(14,13,11,0.88);
}
.image-lightbox.open { display: flex; }
.lightbox-frame {
  width: min(1180px, 100%);
  max-height: 92vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lightbox-frame img {
  width: 100%;
  max-height: calc(92vh - 54px);
  object-fit: contain;
  border-radius: 8px;
  background: white;
  box-shadow: 0 26px 90px rgba(0,0,0,0.38);
}
.lightbox-frame figcaption {
  min-height: 22px;
  color: white;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.lightbox-close,
.lightbox-arrow {
  border: 1px solid rgba(255,255,255,0.38);
  background: rgba(0,0,0,0.45);
  color: white;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.lightbox-close:hover,
.lightbox-arrow:hover {
  background: rgba(182,141,48,0.92);
}
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 70px;
  border-radius: 8px;
  transform: translateY(-50%);
  font-size: 3rem;
  line-height: 1;
}
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

/* Plan image full-screen zoom */
.plan-zoom {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 48px 48px;
  background: rgba(14,13,11,0.92);
  cursor: zoom-out;
}
.plan-zoom.open { display: flex; }
.plan-zoom img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: white;
  box-shadow: 0 26px 90px rgba(0,0,0,0.4);
  cursor: default;
}
.plan-zoom-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.38);
  background: rgba(0,0,0,0.45);
  color: white;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plan-zoom-close:hover { background: var(--red); border-color: var(--red); }
.plan-zoom-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 72px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.45);
  color: white;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, border-color 0.18s ease;
  z-index: 2;
}
.plan-zoom-arrow:hover { background: var(--red); border-color: var(--red); }
.plan-zoom-prev { left: 18px; }
.plan-zoom-next { right: 18px; }

.lightbox-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 3;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 80%;
}
.lightbox-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.55);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}
.lightbox-dot.active {
  background: white;
  border-color: white;
  transform: scale(1.25);
}
.lightbox-dot:hover:not(.active) {
  background: rgba(255,255,255,0.45);
  border-color: white;
}

/* Developer block */
.dev-block {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 36px 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  margin-top: 32px;
}
.dev-logo { flex-shrink: 0; width: 140px; }
.dev-logo img { max-width: 100%; max-height: 70px; object-fit: contain; }
.dev-info h3 { font-family: var(--display); font-size: 1.4rem; font-weight: 400; margin-bottom: 10px; }
.dev-info p { font-size: 0.92rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ── Amenities ── */
.amenity-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.amenity-chip {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: var(--paper);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.transit-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  font-size: 0.88rem;
  color: var(--muted);
}
.transit-label {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  padding-right: 14px;
  border-right: 1px solid var(--line);
}

/* ── Map ── */
.map-wrap {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.map-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.map-label a { margin-left: auto; color: var(--red); font-size: 0.72rem; text-decoration: underline; }
.map-wrap iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ── Breadcrumb ── */
.breadcrumb {
  margin-top: 72px;
  padding: 14px 0;
  font-size: 0.8rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.breadcrumb a { color: var(--red); }
.breadcrumb span { margin: 0 6px; }

/* ══════════════════════════════════════════
   PROJECT PAGE v2 — MaxRealty-pattern layout
═══════════════════════════════════════════ */

/* Unit Types row */
.unit-types-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}
.unit-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.unit-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.unit-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: #e8e3da;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.unit-card-img img { width: 100%; height: 100%; object-fit: cover; }
.unit-card-img .placeholder-floor {
  color: var(--muted);
  font-size: 0.74rem;
  text-align: center;
  padding: 20px;
}
.unit-card-body { padding: 18px; }
.unit-card-type {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.unit-card-specs {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.unit-spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 5px;
}
.unit-spec-row strong { color: var(--ink); font-weight: 700; }
.unit-card-price {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 2px solid var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}
.unit-card-price span { display: block; font-size: 1.1rem; color: var(--red); letter-spacing: 0; }

/* Project Basics Table */
.basics-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  font-size: 0.9rem;
}
.basics-table tr { border-top: 1px solid var(--line); }
.basics-table tr:first-child { border-top: 0; }
.basics-table th {
  width: 38%;
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  color: var(--muted);
  font-size: 0.82rem;
  background: var(--paper);
  vertical-align: top;
}
.basics-table td {
  padding: 14px 16px;
  color: var(--ink);
  vertical-align: top;
}
.basics-table tr:nth-child(even) td { background: var(--bg); }
.basics-table tr:nth-child(even) th { background: var(--bg); }
.spec-th { display: flex; align-items: center; gap: 10px; }
.spec-icon { flex-shrink: 0; width: 15px; height: 15px; color: var(--muted); opacity: 0.75; }
.spec-icon svg { width: 15px; height: 15px; display: block; }

/* Amenity categories */
.amenity-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.amenity-cat {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.amenity-cat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.amenity-cat-icon { display: block; width: 24px; height: 24px; margin-bottom: 12px; color: var(--ink); }
.amenity-cat-icon svg { width: 24px; height: 24px; display: block; }
.amenity-cat ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.amenity-cat li {
  font-size: 0.86rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.amenity-cat li::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Facilities icon grid (flat icon + label layout) */
.fac-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.fac-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fac-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--muted);
}
.fac-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
.fac-label {
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.3;
}

/* Investment / About section */
.invest-developer {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  margin-top: 28px;
}
.invest-dev-logo { flex-shrink: 0; width: 160px; }
.invest-dev-logo img { max-width: 100%; max-height: 80px; object-fit: contain; }
.invest-dev-body h3 { font-family: var(--display); font-size: 1.4rem; font-weight: 400; margin-bottom: 12px; }
.invest-dev-body p { font-size: 0.92rem; color: var(--muted); line-height: 1.7; margin: 0 0 10px; }

.invest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 28px;
}
.invest-block {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.invest-block h4 {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 16px;
}
.invest-block ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.invest-block li {
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.invest-block li::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
}
.invest-block p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin: 0; }

/* Project plan and map sections */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}
.section-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.unit-plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}
.bg-paper .plan-card { background: var(--bg); }
.plan-card-drawing {
  min-height: 250px;
  position: relative;
  display: block;
  background:
    linear-gradient(90deg, rgba(119,107,92,0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(119,107,92,0.08) 1px, transparent 1px),
    #eee9df;
  background-size: 26px 26px;
}
.plan-card-real .plan-card-drawing {
  min-height: 0;
  aspect-ratio: 1.68;
  overflow: hidden;
}
.plan-card-drawing img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: white;
}
.plan-card-body {
  padding: 22px;
  border-top: 1px solid var(--line);
}
.plan-kicker {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.plan-card h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.28rem;
}
.plan-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.plan-card strong { font-size: 0.92rem; }
.floor-drawing .core,
.floor-drawing .unit,
.floor-drawing .corridor {
  position: absolute;
  border: 2px solid rgba(31,31,29,0.55);
  background: rgba(250,248,243,0.78);
}
.floor-drawing .core {
  width: 23%;
  height: 30%;
  left: 38%;
  top: 35%;
  background: #151515;
}
.floor-drawing .corridor {
  left: 20%;
  right: 20%;
  top: 47%;
  height: 7%;
  border-color: rgba(182,141,48,0.8);
  background: rgba(182,141,48,0.18);
}
.floor-drawing .u1 { left: 9%; top: 12%; width: 25%; height: 28%; }
.floor-drawing .u2 { right: 9%; top: 12%; width: 25%; height: 28%; }
.floor-drawing .u3 { left: 9%; bottom: 12%; width: 25%; height: 28%; }
.floor-drawing .u4 { right: 9%; bottom: 12%; width: 25%; height: 28%; }
.unit-drawing .room {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(31,31,29,0.58);
  background: rgba(250,248,243,0.78);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}
.unit-drawing .living { left: 8%; top: 13%; width: 52%; height: 42%; }
.unit-drawing .bedroom { right: 8%; top: 13%; width: 28%; height: 42%; }
.unit-drawing .bath { left: 8%; bottom: 13%; width: 24%; height: 24%; }
.unit-drawing .balcony { right: 8%; bottom: 13%; width: 52%; height: 24%; border-color: rgba(182,141,48,0.8); }
.unit-drawing-2 .living { width: 40%; height: 50%; }
.unit-drawing-2 .bedroom { width: 40%; height: 30%; }
.unit-drawing-2 .balcony { width: 40%; }
.unit-drawing-3 .living { left: 8%; top: 13%; width: 38%; height: 64%; }
.unit-drawing-3 .bedroom { right: 8%; top: 13%; width: 38%; height: 30%; }
.unit-drawing-3 .bath { right: 8%; bottom: 13%; left: auto; width: 38%; height: 24%; }
.location-map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  margin-top: 28px;
}
.location-diagram {
  min-height: 360px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(119,107,92,0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(119,107,92,0.08) 1px, transparent 1px),
    #eee9df;
  background-size: 34px 34px;
}
.location-diagram.has-map-image {
  background: white;
}
.location-diagram.has-map-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: white;
}
.location-diagram.has-map-image .road,
.location-diagram.has-map-image .place { display: none; }
.location-diagram.has-map-image .location-pin {
  left: 52%;
  top: 52%;
  opacity: 0.94;
}
.location-pin {
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 3;
  transform: translate(-50%, -50%);
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}
.road {
  position: absolute;
  background: rgba(31,31,29,0.72);
  border-radius: 999px;
}
.road-main { left: -8%; right: -8%; top: 50%; height: 20px; transform: rotate(-10deg); }
.road-cross { top: -10%; bottom: -10%; left: 52%; width: 16px; transform: rotate(18deg); }
.place {
  position: absolute;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(250,248,243,0.92);
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--muted);
  text-transform: uppercase;
}
.place.p1 { left: 12%; top: 20%; }
.place.p2 { right: 12%; top: 22%; }
.place.p3 { right: 16%; bottom: 18%; }
.location-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  align-self: stretch;
}
.location-panel h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 16px;
}
.location-panel p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 18px;
}
.invest-box {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.invest-box-icon { display: block; width: 26px; height: 26px; margin-bottom: 14px; color: var(--ink); }
.invest-box-icon svg { width: 26px; height: 26px; display: block; }
.invest-box h4 {
  margin: 0 0 10px;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.invest-box p { margin: 0; color: var(--muted); line-height: 1.62; }

/* Video embed */
.video-section { background: var(--bg); color: var(--ink); padding: 64px 0; border-top: 1px solid var(--line); }
.video-section h2 { color: var(--ink); }
.video-section .eyebrow { color: var(--red); }
.video-wrap {
  margin-top: 32px;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  position: relative;
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-thumb-link { display: block; text-decoration: none; cursor: pointer; }
.yt-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0.9; transition: opacity 0.2s, transform 0.2s; pointer-events: none; }
.video-thumb-link:hover .yt-play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.35);
  font-size: 0.88rem;
  text-align: center;
}
.video-placeholder-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-placeholder-icon svg { width: 28px; height: 28px; fill: rgba(255,255,255,0.4); margin-left: 4px; }

/* ── Section heading — centered + red underline (reference style) ── */
.section-heading-center {
  text-align: center;
  font-family: var(--font);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 36px;
}
.section-heading-center::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  background: var(--red);
  margin: 12px auto 0;
}

/* ── Plan Viewer (sidebar + large image, reference style) ── */
.plan-viewer {
  display: grid;
  grid-template-columns: 220px 1fr;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
  min-height: 500px;
}
.plan-viewer-sidebar {
  border-right: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.plan-viewer-tab {
  display: block;
  width: 100%;
  padding: 16px 20px;
  text-align: left;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
  line-height: 1.4;
}
.plan-viewer-tab:last-child { border-bottom: 0; }
.plan-viewer-tab.active { background: var(--red); color: white; font-weight: 800; }
.plan-viewer-tab:hover:not(.active) { background: var(--bg); color: var(--ink); }
.plan-viewer-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 72px;
  background: white;
  min-height: 480px;
}
.plan-viewer-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
  cursor: zoom-in;
}
.plan-viewer-img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}
.plan-viewer-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 2;
}
.plan-viewer-arrow:hover { background: var(--red); color: white; border-color: var(--red); }
.plan-viewer-prev { left: 16px; }
.plan-viewer-next { right: 16px; }
.plan-viewer-label {
  margin-top: 22px;
  text-align: center;
  min-height: 40px;
}
.plan-viewer-name {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}
.plan-viewer-sub {
  font-size: 0.82rem;
  color: var(--muted);
}
.plan-viewer-counter {
  display: block;
  margin-top: 6px;
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}
@media (max-width: 768px) {
  .plan-viewer {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  /* Tabs: 2-column grid so all options are visible at once */
  .plan-viewer-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    overflow: visible;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .plan-viewer-tab {
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
    white-space: normal;
    flex-shrink: 0;
    padding: 11px 14px;
    font-size: 0.82rem;
    text-align: center;
  }
  /* Remove right border on even tabs (right column) */
  .plan-viewer-tab:nth-child(2n) { border-right: 0; }
  /* Remove bottom border on last row */
  .plan-viewer-tab:nth-last-child(-n+2):nth-child(odd),
  .plan-viewer-tab:last-child { border-bottom: 0; }
  .plan-viewer-stage { padding: 20px 44px; min-height: 300px; }
  .plan-viewer-img { max-height: 280px; }
}

/* ── Content tabs (large 4-tab section style) ── */
.content-tabs { margin-top: 36px; }
.content-tab-list {
  display: flex;
  border-bottom: 2px solid var(--line);
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.content-tab-list::-webkit-scrollbar { display: none; }
.content-tab {
  flex-shrink: 0;
  padding: 14px 28px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.content-tab.active { color: var(--ink); border-bottom-color: var(--red); }
.content-tab:hover:not(.active) { color: var(--ink); }
.content-tab-panel { display: none; padding-top: 40px; }
.content-tab-panel.active { display: block; }

/* Developer panel */
.dev-panel {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 36px 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}
.dev-panel-logo { flex-shrink: 0; width: 160px; }
.dev-panel-logo img { max-width: 100%; max-height: 80px; object-fit: contain; }
.dev-panel-body h3 { font-family: var(--display); font-size: 1.4rem; font-weight: 400; margin-bottom: 12px; }
.dev-panel-body p { font-size: 0.92rem; color: var(--muted); line-height: 1.7; margin: 0 0 16px; }
.dev-warranty-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.warranty-badge {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--green);
}

/* Overview panel */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.overview-block {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}
.overview-block .eyebrow { margin-bottom: 10px; }
.overview-block ul {
  list-style: none;
  margin: 12px 0 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.overview-block li {
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.overview-block li::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
}
.overview-block p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin: 0; }

/* Transport panel */
.transport-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.transport-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}
.transport-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.transport-info strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.transport-info span {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}
.transport-note {
  margin-top: 18px;
  padding: 14px 18px;
  border-left: 3px solid var(--gold);
  background: var(--bg);
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Lifestyle panel */
.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}
.lifestyle-cat {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}
.lifestyle-cat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.lifestyle-cat-icon { font-size: 1.1rem; }
.lifestyle-cat-title {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.lifestyle-cat ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.lifestyle-cat li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--ink);
}
.lifestyle-cat .dist {
  flex-shrink: 0;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

/* Showunit / Sample Unit section */
.showunit-tabs-row {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.showunit-tab {
  padding: 9px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.showunit-tab.active { background: var(--ink); color: white; border-color: var(--ink); }
.showunit-tab:hover:not(.active) { background: var(--bg); color: var(--ink); }
.showunit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}
.showunit-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  cursor: pointer;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.showunit-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.showunit-card-img {
  width: 100%;
  aspect-ratio: 1.35;
  overflow: hidden;
  background: #e8e3da;
}
.showunit-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.38s ease;
}
.showunit-card:hover .showunit-card-img img { transform: scale(1.04); }
.showunit-card-label {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}
.showunit-card-label strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.showunit-card-label span { font-size: 0.8rem; color: var(--muted); }

@media (max-width: 980px) {
  .dev-panel { gap: 24px; padding: 28px; }
  .dev-panel-logo { width: 120px; }
  .overview-grid, .transport-list { grid-template-columns: 1fr; }
  .lifestyle-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .showunit-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .content-tab { padding: 12px 18px; }
}
@media (max-width: 640px) {
  .lifestyle-grid { grid-template-columns: 1fr; }
  .showunit-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dev-panel { flex-direction: column; gap: 16px; padding: 24px; }
  .dev-panel-logo { width: 100px; }
}

/* ── Plan tabs ── */
.plan-tabs {
  display: flex;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  width: fit-content;
}
.plan-tab {
  padding: 10px 22px;
  background: var(--paper);
  border: none;
  border-right: 1px solid var(--line);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.plan-tab:last-child { border-right: 0; }
.plan-tab.active { background: var(--ink); color: white; }
.plan-tab:hover:not(.active) { background: var(--bg); color: var(--ink); }
.plan-tab-panel { display: none; }
.plan-tab-panel.active { display: grid; }

/* Unit card size label */
.unit-card-size {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}

/* Downloads section */
.downloads-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}
.download-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}
.download-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--red); }
.download-card::after {
  content: "";
  display: block;
  flex-shrink: 0;
  margin-left: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b52b22' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12l7 7 7-7'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.download-card:hover::after {
  background-color: var(--red);
  border-color: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12l7 7 7-7'/%3E%3C/svg%3E");
  background-size: 18px;
  background-position: center;
  background-repeat: no-repeat;
}
.download-card-contact::after { display: none; }
.download-icon {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--red);
  background: rgba(181,43,34,0.08);
  border: 1px solid rgba(181,43,34,0.2);
  border-radius: 4px;
  padding: 5px 8px;
  flex-shrink: 0;
}
.download-info { flex: 1; min-width: 0; }
.download-info strong { display: block; font-size: 0.96rem; margin-bottom: 4px; }
.download-info span { display: block; font-size: 0.82rem; color: var(--muted); }
.download-arrow {
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
}
.download-card-contact { cursor: default; }
.download-card-contact:hover { box-shadow: none; transform: none; border-color: var(--line); }
@media (max-width: 640px) {
  .downloads-grid { grid-template-columns: 1fr; }
}

/* Placeholder / wireframe blocks */
.placeholder-img {
  width: 100%;
  background: linear-gradient(135deg, #e8e3da 0%, #d9d3c9 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.placeholder-img.tall { min-height: 320px; }
.placeholder-img.short { min-height: 180px; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 24px; }
  .hero-actions { align-items: flex-start; }
  .hero-meta { justify-content: flex-start; }
  .unit-types-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .amenity-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fac-grid { grid-template-columns: repeat(2, 1fr); }
  .unit-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-split,
  .founder-grid,
  .contact-page-grid,
  .contact-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    width: 70%;
    min-height: 100vh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 24px 0 40px;
    background: #fffdf8;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-left: 1px solid var(--line);
    box-shadow: -12px 0 40px rgba(21,18,15,0.12);
    color: var(--ink);
    z-index: 49;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.4,0,0.2,1), visibility 0.32s;
  }
  body.menu-open .nav { transform: translateX(0); visibility: visible; pointer-events: auto; }
  .nav a {
    padding: 18px 28px;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    color: var(--ink);
    opacity: 0.85;
  }
  .nav a::after { display: none; }
  .nav a:hover,
  .nav a.active { color: var(--gold) !important; opacity: 1; }
  .menu-btn { display: block; }
  .split, .contact-grid, .proj-summary, .invest-grid, .section-head, .location-map-grid { grid-template-columns: 1fr; }
  .amenity-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fac-grid { grid-template-columns: repeat(2, 1fr); }
  .fac-item { padding: 14px 16px; gap: 10px; }
  .invest-developer { gap: 24px; padding: 28px; }
  .invest-dev-logo { width: 120px; }
  .service-grid, .project-grid, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner:nth-child(2n) { border-right: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-stat:nth-child(2n) { border-right: 0; }
  .trust-stat:nth-child(1), .trust-stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .projects-head { display: block; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-gallery { grid-template-columns: repeat(2, 1fr); }
  .proj-gallery a:first-child { grid-column: span 2; min-height: 260px; }
  .dev-block { gap: 24px; padding: 28px; }
  .plan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .video-section { padding: 48px 0; }
  .video-wrap { margin-top: 20px; border-radius: 6px; }
  .wrap, .hero-inner, .header-inner { width: min(100% - 28px, 1180px); }
  .site-header { height: 66px; }
  .header-inner { gap: 12px; }
  .nav { top: 100%; width: 75%; }
  .breadcrumb { margin-top: 66px; }
  .section { padding: 62px 0; }
  .page-hero { padding: 118px 0 54px; }
  h1 { font-size: clamp(2.35rem, 11vw, 3.45rem); line-height: 1.02; }
  h2 { font-size: clamp(1.7rem, 8vw, 2.35rem); }
  .hero { min-height: 680px; }
  .hero-inner { padding-bottom: 72px; }
  .hero h1 { font-size: clamp(1.65rem, 7vw, 2.6rem); max-width: 100%; line-height: 1.18; }
  .hero .eyebrow { color: white; text-shadow: 0 1px 8px rgba(0,0,0,0.7); font-size: 0.62rem; }
  .hero-bottom { grid-template-columns: 1fr; gap: 16px; }
  .hero-actions { align-items: flex-start; }
  .hero-meta { display: none; }
  .btn-row { width: 100%; }
  .btn-row .btn { flex: 1 1 140px; padding-inline: 14px; }
  .service-grid, .project-grid, .blog-grid, .partner-strip { grid-template-columns: 1fr; }
  .project { min-height: unset; padding: 0; }
  .project h3 { font-size: 1.35rem; }
  .project.small h3 { font-size: 1.2rem; }
  .project-meta { grid-template-columns: 1fr 1fr; }
  .footer-inner { display: block; gap: 10px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .process-step:last-child { border-bottom: 0; }
  .tl-item { grid-template-columns: 80px 1fr; gap: 16px; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .proj-gallery { grid-template-columns: repeat(2, 1fr); }
  .proj-gallery a:first-child { grid-column: span 2; min-height: 220px; }
  .proj-hero { min-height: 680px; }
  .proj-hero-inner { width: min(100% - 28px, 1180px); padding-bottom: 54px; }
  .dev-block { flex-direction: column; gap: 16px; padding: 24px; text-align: center; }
  .dev-logo { width: 120px; margin: 0 auto; }
  .proj-hero-inner h1 { font-size: clamp(2.15rem, 10vw, 3.35rem); }
  .proj-hero-meta { gap: 8px; }
  .proj-hero-badge { max-width: 100%; font-size: 0.8rem; padding: 7px 10px; }
  .unit-types-grid { grid-template-columns: 1fr 1fr; }
  .amenity-cats { grid-template-columns: 1fr 1fr; }
  .unit-plan-grid { grid-template-columns: 1fr; }
  .plan-card-drawing { min-height: 210px; }
  .location-diagram { min-height: 280px; }
  .invest-developer { flex-direction: column; gap: 16px; padding: 24px; }
  .invest-dev-logo { width: 100px; }
  .basics-table th { width: 44%; }
  .float-btns {
    right: 14px;
    bottom: 14px;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  body.float-visible .float-btns {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .float-btns .float-btn.whatsapp,
  .float-btns .float-btn.facebook { display: none !important; }
  .float-btn {
    width: 52px;
    height: 52px;
  }
  .float-btn svg { width: 26px; height: 26px; }
  .contact-toast {
    right: 14px;
    bottom: 174px;
  }
  .image-lightbox { padding: 24px 14px 70px; }
  .lightbox-arrow { width: 42px; height: 58px; font-size: 2.4rem; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

@media (max-width: 430px) {
  .lang { width: 76px; height: 32px; }
  .menu-btn { width: 38px; height: 34px; }
  .hero { min-height: 640px; }
  .hero-meta { gap: 6px; }
  .metric { padding: 5px 9px; }
  .trust-grid,
  .unit-types-grid,
  .amenity-cats,
  .spec-grid { grid-template-columns: 1fr; }
  .trust-stat { border-right: 0; }
  .proj-gallery { grid-template-columns: 1fr; }
  .proj-gallery a:first-child { grid-column: auto; min-height: 260px; }
  .basics-table th,
  .basics-table td {
    display: block;
    width: 100%;
  }
  .basics-table th { padding-bottom: 4px; }
  .basics-table td { padding-top: 4px; }
  .plan-viewer-stage { padding: 18px 38px; }
  .plan-viewer-arrow { width: 36px; height: 36px; }
}

/* New YAGE group, about, and contact page sections */
.profile-split,
.founder-grid,
.contact-page-grid,
.contact-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: 48px;
  align-items: center;
}
/* YAGE Group section — images on top, text below */
.group-proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.group-proof-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch;
}
.group-proof-media img,
.profile-image img,
.contact-visual img,
.founder-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}
.group-proof-media img {
  aspect-ratio: 3 / 2;
  object-position: center top;
}
.group-proof > div:not(.group-proof-media) {
  max-width: 760px;
}
.proof-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.proof-list span {
  padding: 14px 16px;
  border-left: 3px solid var(--red);
  background: var(--bg);
  font-weight: 750;
}
.profile-image img { aspect-ratio: 1.4; }
.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 26px;
  border: 1px solid var(--line);
  background: var(--line);
}
.profile-stats div {
  background: var(--paper);
  padding: 20px;
}
.profile-stats strong {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  color: var(--red);
}
.profile-stats span {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.founder-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  align-items: start;
  gap: 36px;
}
.founder-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--bg);
  min-width: 0;
  overflow: hidden;
}
.founder-card > div { min-width: 0; }
.founder-card h2 {
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  line-height: 1.25;
  margin-bottom: 14px;
  max-width: 100%;
}
.founder-card p { font-size: 0.92rem; line-height: 1.7; color: var(--muted); }
.founder-card img { aspect-ratio: 1; }
.ecosystem-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  min-width: 0;
  overflow: hidden;
}
.ecosystem-list .eyebrow {
  background: var(--bg);
  padding: 22px 22px 0;
  margin: 0;
}
.ecosystem-item {
  display: grid;
  gap: 8px;
  background: var(--bg);
  padding: 22px;
}
.ecosystem-item strong { font-size: 1.05rem; }
.ecosystem-item span { color: var(--muted); line-height: 1.7; }
/* Photo Gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 40px;
}
.photo-gallery-item {
  overflow: hidden;
  border-radius: 4px;
  background: var(--line);
  aspect-ratio: 1;
}
.photo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.photo-gallery-item:hover img { transform: scale(1.04); }
@media (max-width: 900px) {
  .photo-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .photo-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* Vision & Mission */
.vm-section {
  position: relative;
  overflow: hidden;
}
.vm-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  z-index: 0;
}
.vm-section .wrap { position: relative; z-index: 1; }
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border: 1px solid var(--line);
  background: var(--line);
  margin-top: 40px;
}
.vm-card {
  background: var(--paper);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.vm-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
}
.vm-card p { color: var(--muted); line-height: 1.8; margin: 0; }
.vm-card p + p { margin-top: 14px; }
.vm-card strong { color: var(--ink); font-weight: 700; }
@media (max-width: 700px) {
  .vm-grid { grid-template-columns: 1fr; }
  .vm-card { padding: 28px 22px; }
}
.contact-hero {
  background:
    linear-gradient(90deg, rgba(250,248,243,0.94), rgba(250,248,243,0.64)),
    url("assets/yage-story/contact-us.jpg") center / cover no-repeat;
}
.contact-page-grid { align-items: start; }
.contact-visual img { aspect-ratio: 0.92; }
.contact-method-list {
  display: grid;
  gap: 1px;
  margin-top: 26px;
  border: 1px solid var(--line);
  background: var(--line);
}
.contact-method-list a,
.contact-method-list button,
.contact-method-list > div,
.office-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--paper);
  color: var(--ink);
}
.contact-method-list .method-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: 50%;
  padding: 0;
}
.contact-method-list .method-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--ink);
}
.contact-method-list .method-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  background: none;
}
.contact-method-list button {
  width: 100%;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.contact-method-list button:hover,
.contact-method-list a:hover {
  background: var(--bg);
}
.contact-method-list span,
.office-card span,
.contact-form span {
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-method-list strong {
  font-size: 1.18rem;
  overflow-wrap: anywhere;
}
.office-card {
  margin-top: 18px;
  border: 1px solid var(--line);
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.office-card p { margin: 0; line-height: 1.6; font-size: 0.9rem; }
.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.contact-form label { display: grid; gap: 8px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 14px 16px;
  font: inherit;
  border-radius: 0;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(181,43,34,0.22);
  border-color: var(--red);
}
@media (max-width: 980px) {
  .profile-split,
  .founder-grid,
  .contact-page-grid,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
  .group-proof-media { grid-template-columns: 1fr 1fr; }
  .group-proof > div:not(.group-proof-media) { max-width: 100%; }
  .founder-card { grid-template-columns: 140px 1fr; }
  .founder-card h2 { font-size: 1.2rem; }
  .profile-stats { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .group-proof-media { grid-template-columns: 1fr; }
  .founder-card { grid-template-columns: 1fr; }
  .founder-card img { aspect-ratio: 4/3; max-width: 200px; }
}
