:root {
  --forest: #113d25;
  --forest-2: #1d5133;
  --gold: #c39b4c;
  --ink: #172026;
  --muted: #65706a;
  --paper: #fbfaf6;
  --line: #e4ded2;
  --available: #2d6b3f;
  --reserved: #c53e3e;
  --rented: #767676;
  --shadow: 0 18px 48px rgba(23, 32, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans Thai", "Leelawadee UI", "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select,
input {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-right: auto;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--forest);
}

.brand span {
  font-size: 26px;
}

.brand small {
  font-size: 15px;
  color: var(--gold);
}

.brand-logo {
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
}

.brand-logo img {
  width: 104px;
  height: 76px;
  object-fit: contain;
  border-radius: 4px;
}

nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 15px;
}

nav a:hover {
  color: var(--forest);
}

.admin-open,
.button,
.filter,
.icon-button {
  border: 0;
  cursor: pointer;
}

.admin-open {
  padding: 9px 15px;
  color: white;
  background: var(--ink);
  border-radius: 6px;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 64px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 24, 18, 0.76), rgba(11, 24, 18, 0.22) 54%, rgba(11, 24, 18, 0.08));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, 92vw);
  padding: 0 clamp(20px, 5vw, 72px) clamp(40px, 8vw, 96px);
  color: white;
}

.hero-copy p {
  margin: 0 0 12px;
  font-size: clamp(18px, 2.2vw, 25px);
  color: #f3d99d;
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 5.8vw, 74px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover,
.admin-open:hover,
.filter:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(23, 32, 38, 0.14);
}

.button.compact {
  min-height: 42px;
  padding: 9px 14px;
}

.button.primary {
  color: white;
  background: var(--forest);
}

.button.ghost {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.button.ghost.dark {
  color: var(--ink);
  border-color: var(--line);
  background: white;
}

.button.line {
  color: white;
  background: #06c755;
}

.button.share {
  color: var(--forest);
  border: 1px solid rgba(195, 155, 76, 0.45);
  background: rgba(255, 255, 255, 0.88);
}

.button.share:hover {
  border-color: rgba(195, 155, 76, 0.72);
  background: #fff8e6;
}

.button.share.dark {
  color: white;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(20, 79, 51, 0.96);
}

.button.share.subtle {
  color: var(--forest);
  border-color: rgba(20, 79, 51, 0.18);
  background: #f7f3ea;
}

.map-button {
  gap: 10px;
  white-space: nowrap;
}

.map-logo {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #4285f4;
  background: white;
  border-radius: 50%;
  font-weight: 900;
  box-shadow: inset 0 0 0 2px #34a853;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: white;
}

.status-strip div {
  padding: 24px clamp(16px, 3vw, 42px);
  border-right: 1px solid var(--line);
}

.status-strip strong {
  display: block;
  color: var(--forest);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.status-strip span {
  color: var(--muted);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0;
}

.intro {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: start;
}

.intro-title {
  max-width: 780px;
  font-size: clamp(28px, 3.15vw, 40px);
}

.location-brief {
  padding-top: 0;
}

.location-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  color: white;
  background: var(--forest);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.location-title {
  white-space: nowrap;
  font-size: clamp(28px, 3vw, 40px);
}

.location-card p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: #e1e9e3;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(300px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.info-grid article {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: white;
  background: var(--forest-2);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.info-grid strong,
.info-grid small {
  display: block;
}

.info-grid strong {
  font-size: 16px;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: normal;
}

.info-grid small {
  color: var(--muted);
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: normal;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

h2,
h3 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0;
  font-weight: 800;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  font-size: 24px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
}

.updated-badge {
  display: inline-flex;
  margin: 14px 0 0;
  padding: 7px 12px;
  color: #5a4d2a;
  background: #fff4d8;
  border: 1px solid #efd38a;
  border-radius: 999px;
  font-weight: 800;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot.available {
  background: var(--available);
}

.dot.reserved {
  background: var(--reserved);
}

.dot.rented {
  background: var(--rented);
}

.availability-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: stretch;
}

.site-map {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.72fr 1fr;
  gap: 16px;
  min-height: 720px;
  padding: 28px;
  background: linear-gradient(180deg, #f4efe5, #ffffff);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.road-label {
  position: absolute;
  right: 28px;
  bottom: 16px;
  color: var(--gold);
  font-weight: 900;
}

.unit-column {
  display: grid;
  gap: 10px;
  align-content: stretch;
}

.unit {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  min-height: 70px;
  padding: 12px;
  border: 2px solid transparent;
  border-radius: 7px;
  background: white;
  box-shadow: 0 8px 22px rgba(17, 61, 37, 0.08);
  text-align: left;
}

.unit.gap-before {
  margin-top: 30px;
}

.unit:hover,
.unit.selected {
  border-color: var(--gold);
}

.unit.filtered-out {
  opacity: 0.28;
}

.badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: white;
  border-radius: 50%;
  font-weight: 900;
}

.unit.available .badge {
  background: var(--available);
}

.unit.reserved .badge {
  background: var(--reserved);
}

.unit.rented .badge {
  background: var(--rented);
}

.unit strong {
  display: block;
  color: var(--ink);
}

.unit small {
  color: var(--muted);
}

.driveway {
  display: grid;
  align-content: space-between;
  justify-items: center;
  padding: 32px 12px;
  color: white;
  background: linear-gradient(180deg, #33383a, #151a1d);
  border-radius: 8px;
  text-align: center;
  font-weight: 800;
}

.entry-exit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  width: min(150px, 100%);
  color: var(--ink);
  background: #f3d99d;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.unit-panel,
.detail-grid article,
.admin-modal,
.selected-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.unit-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
}

.selected-card {
  padding: 22px;
}

.selected-card .status-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  color: white;
  font-weight: 800;
}

.status-pill.available {
  background: var(--available);
}

.status-pill.reserved {
  background: var(--reserved);
}

.status-pill.rented {
  background: var(--rented);
}

.quick-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.filter {
  min-height: 42px;
  padding: 9px 10px;
  color: var(--ink);
  background: #f2efe7;
  border-radius: 6px;
  font-weight: 700;
}

.filter.active {
  color: white;
  background: var(--forest);
}

.price-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.price-summary article {
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(23, 32, 38, 0.07);
}

.price-summary span,
.price-summary strong,
.price-summary small {
  display: block;
}

.price-summary span {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

.price-summary strong {
  margin-top: 4px;
  color: var(--forest);
  font-size: 24px;
  line-height: 1.2;
}

.price-summary small {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  max-height: 430px;
  overflow-y: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

th,
td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--forest);
  background: #f4efe5;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.detail-grid article {
  padding: 24px;
}

ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

li + li {
  margin-top: 8px;
}

.reference-plan {
  margin: 28px 0 0;
}

.reference-plan img,
.gallery figure img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
}

figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.gallery figure {
  margin: 0;
}

.promo-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 14px;
  margin-top: 22px;
}

.promo-thumb {
  display: grid;
  gap: 8px;
  padding: 8px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 10px 24px rgba(23, 32, 38, 0.08);
}

.promo-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
}

.promo-thumb span {
  font-weight: 800;
}

.compact-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-thumb {
  min-width: 0;
}

.gallery-thumb img {
  aspect-ratio: 4 / 3;
  max-height: 150px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--forest);
  font-weight: 900;
}

.faq-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.lightbox-dialog {
  width: min(1120px, calc(100% - 28px));
  max-height: calc(100vh - 32px);
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.lightbox-dialog::backdrop {
  background: rgba(17, 25, 29, 0.72);
}

.lightbox-dialog img {
  width: 100%;
  max-height: calc(100vh - 76px);
  object-fit: contain;
  border-radius: 6px;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 56px clamp(20px, 5vw, 72px);
  color: white;
  background: var(--ink);
}

.contact p:not(.eyebrow) {
  max-width: 760px;
  color: #d8ded9;
}

.sticky-contact {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 30;
  display: none;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 8px;
  padding: 8px;
  background: rgba(251, 250, 246, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.sticky-contact a {
  display: grid;
  place-items: center;
  min-height: 42px;
  color: white;
  background: var(--forest);
  border-radius: 6px;
  font-weight: 900;
}

.sticky-contact a:nth-child(2) {
  background: #06c755;
}

.sticky-contact a:nth-child(3) {
  color: var(--ink);
  background: #f3d99d;
}

.admin-dialog {
  width: min(980px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-dialog::backdrop {
  background: rgba(17, 25, 29, 0.56);
}

.admin-modal {
  padding: 22px;
}

.admin-modal header,
.admin-modal footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.icon-button {
  width: 40px;
  height: 40px;
  color: white;
  background: var(--ink);
  border-radius: 50%;
  font-size: 25px;
  line-height: 1;
}

.admin-note {
  margin: 18px 0;
  padding: 12px 14px;
  color: #5a4d2a;
  background: #fff4d8;
  border: 1px solid #efd38a;
  border-radius: 6px;
}

.password-field {
  display: grid;
  gap: 8px;
  margin: 18px 0 8px;
  font-weight: 800;
}

.password-field input {
  min-height: 48px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 20px;
}

.login-error {
  margin: 8px 0 0;
  color: #b42318;
  font-weight: 800;
}

.admin-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: 58vh;
  overflow: auto;
  padding-right: 4px;
}

.admin-row {
  display: grid;
  grid-template-columns: 56px 1fr 120px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.admin-row strong {
  color: var(--forest);
}

.admin-row input,
.admin-row select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
}

.admin-modal footer {
  margin-top: 18px;
}

.home-page {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(247, 244, 236, 0.96) 520px),
    #f7f4ec;
}

.home-topbar .brand span {
  letter-spacing: 0.02em;
}

.home-hero {
  position: relative;
  width: min(1680px, calc(100% - 72px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 116px) 0 46px;
  display: grid;
  grid-template-columns: minmax(520px, 0.92fr) minmax(520px, 1.08fr);
  gap: clamp(42px, 6vw, 108px);
  align-items: center;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 30px -36px 0;
  z-index: -1;
  border: 1px solid rgba(195, 155, 76, 0.18);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.24)),
    radial-gradient(circle at 80% 26%, rgba(195, 155, 76, 0.13), transparent 34%);
}

.home-hero-copy h1 {
  max-width: 920px;
  margin: 0;
  color: var(--forest);
  font-size: clamp(34px, 3.35vw, 58px);
  line-height: 1.12;
  font-weight: 900;
}

.home-hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 21px);
}

.home-location-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.home-location-pills span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 12px;
  color: #4f5a53;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.home-hero-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ink);
  box-shadow: 0 28px 80px rgba(23, 32, 38, 0.18);
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.home-hero-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 170px;
  padding: 16px;
  color: white;
  background: rgba(17, 61, 37, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.home-hero-badge strong,
.home-hero-badge span {
  display: block;
}

.home-hero-badge strong {
  font-size: 46px;
  line-height: 1;
}

.home-hero-badge span {
  margin-top: 6px;
  color: #edf4ef;
  font-weight: 800;
}

.home-hero-panel {
  position: absolute;
  left: 18px;
  top: 18px;
  width: min(320px, calc(100% - 36px));
  padding: 16px;
  color: white;
  background: rgba(23, 32, 38, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.home-hero-panel span,
.home-hero-panel strong,
.home-hero-panel small {
  display: block;
}

.home-hero-panel span {
  color: #f3d99d;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-hero-panel strong {
  margin-top: 4px;
  font-size: 22px;
}

.home-hero-panel small {
  margin-top: 4px;
  color: #dbe3dd;
}

.home-service-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1680px, calc(100% - 72px));
  margin: 0 auto 20px;
  overflow: hidden;
  background: #172026;
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(23, 32, 38, 0.16);
}

.home-service-strip article {
  min-height: 132px;
  padding: 22px 24px;
  color: white;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.home-service-strip article:last-child {
  border-right: 0;
}

.home-service-strip span,
.home-service-strip strong,
.home-service-strip small {
  display: block;
}

.home-service-strip span {
  color: var(--gold);
  font-weight: 900;
}

.home-service-strip strong {
  margin-top: 12px;
  font-size: 22px;
}

.home-service-strip small {
  margin-top: 8px;
  color: #cfd8d2;
}

.home-service-strip b {
  color: #f3d99d;
  font-weight: 900;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(1680px, calc(100% - 72px));
  margin: 0 auto;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(23, 32, 38, 0.08);
}

.home-stats div {
  min-height: 116px;
  padding: 20px 22px;
  border-right: 1px solid var(--line);
}

.home-stats div:last-child {
  border-right: 0;
}

.home-stats strong,
.home-stats span {
  display: block;
}

.home-stats strong {
  color: var(--forest);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1;
}

.home-stats span {
  margin-top: 8px;
  color: var(--muted);
}

.project-directory {
  width: min(1680px, calc(100% - 72px));
  padding-top: 76px;
}

.home-note {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

.project-toolbar {
  display: grid;
  grid-template-columns: minmax(300px, 1.05fr) minmax(160px, 0.52fr) minmax(180px, 0.56fr) minmax(180px, 0.56fr) minmax(360px, 1fr);
  gap: 10px;
  margin-bottom: 22px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(250, 247, 239, 0.78)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(195, 155, 76, 0.28);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(23, 32, 38, 0.08);
}

.project-search {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 0 16px;
  color: var(--muted);
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.project-search input {
  width: 100%;
  min-height: 44px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.project-search input::placeholder {
  color: var(--muted);
}

.project-search::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-right: 10px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  box-shadow: 7px 7px 0 -5px var(--gold);
}

.project-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.project-sort,
.project-select-filter {
  display: grid;
  gap: 5px;
  align-self: stretch;
  padding: 7px 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.project-sort span,
.project-select-filter span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.project-sort select,
.project-select-filter select {
  width: 100%;
  min-height: 28px;
  color: var(--forest);
  background: transparent;
  border: 0;
  outline: 0;
  font-weight: 900;
}

.project-filter-pills button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 7px 12px;
  color: var(--muted);
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.project-filter-pills button:hover {
  color: var(--forest);
  border-color: rgba(17, 61, 37, 0.28);
  transform: translateY(-1px);
}

.project-filter-pills .active {
  color: white;
  background: var(--forest);
  border-color: var(--forest);
}

.price-filter-panel {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(100px, 0.55fr) minmax(140px, 0.68fr) minmax(140px, 0.68fr) minmax(240px, 1.15fr) auto auto;
  gap: 8px;
  align-items: end;
  padding: 10px;
  background: #fbfaf6;
  border: 1px solid rgba(228, 222, 210, 0.86);
  border-radius: 6px;
}

.price-filter-panel > div:first-child,
.price-filter-panel label {
  display: grid;
  gap: 4px;
}

.filter-label,
.price-filter-panel label span {
  color: var(--forest);
  font-weight: 900;
}

.price-filter-panel small {
  color: var(--muted);
}

.price-filter-panel input {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: 0;
}

.price-filter-panel input:focus,
.project-search:focus-within,
.project-sort:focus-within,
.project-select-filter:focus-within {
  border-color: rgba(195, 155, 76, 0.72);
  box-shadow: 0 0 0 4px rgba(195, 155, 76, 0.14);
}

.price-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.price-shortcuts button {
  min-height: 32px;
  padding: 5px 10px;
  color: var(--forest);
  background: #f6f2e9;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.price-shortcuts button:hover,
.price-shortcuts button.active {
  color: white;
  background: var(--forest);
  border-color: var(--forest);
  transform: translateY(-1px);
}

.active-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 14px;
}

.active-filter-chips[hidden] {
  display: none;
}

.active-filter-chips span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  color: var(--forest);
  background: rgba(246, 242, 233, 0.9);
  border: 1px solid rgba(195, 155, 76, 0.28);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.filter-result {
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 800;
}

.project-empty-state {
  margin-top: 16px;
  padding: 28px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(20, 79, 51, 0.08), rgba(195, 155, 76, 0.1)),
    #fff;
  border: 1px solid rgba(195, 155, 76, 0.28);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(23, 32, 38, 0.06);
}

.project-empty-state[hidden] {
  display: none;
}

.project-empty-state strong {
  display: block;
  color: var(--forest);
  font-size: 22px;
}

.project-empty-state p {
  margin: 6px auto 16px;
  max-width: 520px;
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.project-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 239, 0.96)),
    white;
  border: 1px solid rgba(195, 155, 76, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(23, 32, 38, 0.1);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
  isolation: isolate;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(201, 159, 80, 0.78), transparent);
  opacity: 0;
  transition: opacity 260ms ease;
  z-index: 3;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(195, 155, 76, 0.58);
  box-shadow: 0 28px 72px rgba(23, 32, 38, 0.16);
}

.project-card:hover::before {
  opacity: 1;
}

.project-card.featured {
  grid-template-columns: 1fr;
}

.project-image {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: #e8e1d5;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-status {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 12px;
  color: white;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(7, 18, 22, 0.2);
  transition: transform 220ms ease, background 220ms ease;
}

.project-status.available {
  background: rgba(45, 119, 71, 0.92);
}

.project-status.coming {
  color: #11191d;
  background: rgba(229, 201, 136, 0.95);
}

.project-cover-wrap {
  position: relative;
  overflow: hidden;
}

.project-cover {
  display: grid;
  align-content: end;
  min-height: 255px;
  height: 255px;
  padding: 26px;
  color: white;
  background-position: center;
  background-size: cover;
  text-align: left;
  isolation: isolate;
  transition: filter 260ms ease;
}

.project-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 25, 29, 0.04), rgba(17, 25, 29, 0.82)),
    linear-gradient(135deg, rgba(195, 155, 76, 0.16), transparent 42%);
  transition: opacity 220ms ease;
}

.project-card:hover .project-cover::after {
  opacity: 0.7;
}

.project-card:hover .project-cover {
  filter: saturate(1.08) contrast(1.04);
}

.project-card:hover .project-status {
  transform: translateY(-1px);
}

.project-share-button {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 6px 13px;
  color: white;
  background: rgba(13, 28, 28, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(4, 14, 16, 0.22);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.project-share-button:hover,
.project-share-button:focus-visible {
  background: rgba(20, 79, 51, 0.9);
  border-color: rgba(229, 201, 136, 0.72);
  box-shadow: 0 16px 32px rgba(4, 14, 16, 0.28);
  transform: translateY(-1px);
}

.project-share-button.is-copied {
  color: #112024;
  background: rgba(244, 220, 158, 0.95);
  border-color: rgba(244, 220, 158, 0.95);
}

.storix-cover {
  background:
    linear-gradient(105deg, rgba(14, 43, 32, 0.92), rgba(12, 23, 24, 0.78)),
    url("assets/storix-sriwara/hero-daylight.jpeg"),
    #113d25;
  background-position: center 44%;
  background-size: cover;
}

.ramindra-cover {
  background:
    linear-gradient(105deg, rgba(13, 38, 31, 0.9), rgba(12, 22, 23, 0.78)),
    url("assets/bizspace-ramindra/warehouse-front.jpeg"),
    #172026;
  background-position: center 52%;
  background-size: cover;
}

.phatthanakan-cover {
  background:
    linear-gradient(105deg, rgba(18, 50, 37, 0.92), rgba(12, 22, 23, 0.82)),
    url("assets/storix-phatthanakan32-1/hero.jpeg"),
    #113d25;
  background-position: center 48%;
  background-size: cover;
}

.phatthanakan-hero {
  background:
    linear-gradient(105deg, rgba(13, 38, 31, 0.9), rgba(12, 22, 23, 0.78)),
    url("assets/storix-phatthanakan32-1/hero.jpeg"),
    #172026;
  background-position: center 48%;
  background-size: cover;
}

.bizspace-hero {
  background:
    linear-gradient(105deg, rgba(13, 39, 31, 0.9), rgba(15, 23, 27, 0.76)),
    radial-gradient(circle at 72% 34%, rgba(202, 160, 88, 0.2), transparent 32%),
    linear-gradient(135deg, #0f3f2a, #101820);
}

.bizspace-hero::after {
  background: linear-gradient(90deg, rgba(10, 18, 20, 0.78), rgba(10, 18, 20, 0.18));
}

.bizspace-hero-visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center end;
  gap: 10px;
  padding: 0 clamp(32px, 9vw, 140px);
  color: rgba(255, 255, 255, 0.88);
  text-align: right;
  z-index: 0;
}

.bizspace-hero-visual span {
  color: var(--gold);
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bizspace-hero-visual strong {
  font-size: clamp(2.2rem, 6vw, 5.8rem);
  line-height: 0.95;
  max-width: 650px;
}

.bizspace-hero-visual small {
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 700;
}

.bizspace-page .ramindra-site-map {
  grid-template-columns: minmax(120px, 0.68fr) minmax(0, 1fr);
  min-height: 640px;
}

.bizspace-page .ramindra-site-map .unit-column.left {
  display: none;
}

.bizspace-page .ramindra-site-map .driveway {
  order: 1;
  align-content: start;
  gap: clamp(34px, 7vw, 96px);
}

.bizspace-page .ramindra-site-map .unit-column.right {
  order: 2;
}

.bizspace-page .ramindra-site-map .unit {
  min-height: 82px;
}

.bizspace-page .ramindra-site-map .unit.wide-unit {
  min-height: 112px;
  padding-block: 16px;
}

.bizspace-page .ramindra-site-map .unit.wide-unit .badge {
  width: 50px;
  height: 50px;
}

.bizspace-page .reference-plan img {
  object-position: center top;
}

.empty-project-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 79, 51, 0.08), rgba(201, 159, 80, 0.08)),
    var(--surface);
  min-height: 260px;
  padding: clamp(28px, 5vw, 60px);
  display: grid;
  align-content: center;
  box-shadow: var(--shadow);
}

.empty-project-state h3 {
  margin: 4px 0 10px;
  font-size: clamp(1.55rem, 3vw, 2.6rem);
}

.empty-project-state p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

.admin-empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(247, 244, 236, 0.7);
}

.admin-empty strong {
  display: block;
  color: var(--green);
  margin-bottom: 6px;
}

.admin-empty p {
  margin: 0;
  color: var(--muted);
}

.project-cover-brand,
.project-cover strong,
.project-cover small {
  position: relative;
  z-index: 1;
  display: block;
}

.project-cover-brand {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-cover strong {
  margin-top: 6px;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.project-cover small {
  margin-top: 8px;
  color: #f3d99d;
  font-size: 15px;
  font-weight: 800;
}

.project-content {
  display: grid;
  min-width: 0;
  gap: 14px;
  align-content: start;
  grid-template-rows: auto auto auto auto auto 1fr;
  padding: 22px;
}

.project-content > div,
.project-facts,
.project-facts div {
  min-width: 0;
}

.project-content h3 {
  color: var(--forest);
  font-size: clamp(22px, 2.2vw, 28px);
}

.project-content p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
}

.project-card-compact .project-content p:not(.eyebrow) {
  min-height: 28px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.project-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.project-metrics span {
  min-height: 68px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(246, 242, 233, 0.84)),
    #f6f2e9;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
}

.project-metrics strong {
  display: block;
  color: var(--forest);
  font-size: 26px;
  line-height: 1;
}

.project-metrics.muted strong {
  color: var(--muted);
}

.availability-bar {
  display: flex;
  min-height: 16px;
  overflow: hidden;
  background: #ece6da;
  border-radius: 999px;
}

.availability-caption {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.availability-caption strong {
  color: var(--forest);
  font-size: 18px;
}

.availability-caption.muted strong {
  color: var(--muted);
}

.project-actions {
  align-self: end;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 10px;
  margin-top: 2px;
}

.project-actions .button {
  width: 100%;
  min-height: 46px;
  padding-inline: 12px;
}

.button.line.subtle {
  color: #fff;
  background: linear-gradient(135deg, #0fbf61, #0a9f50);
  border-color: rgba(15, 191, 97, 0.9);
  box-shadow: 0 12px 28px rgba(10, 159, 80, 0.16);
}

.button.line.subtle:hover {
  background: linear-gradient(135deg, #16cd6f, #0a944c);
}

.button.is-copied,
.button.line.subtle.is-copied {
  color: #112024;
  background: var(--gold-soft);
  border-color: rgba(195, 155, 76, 0.72);
}

.availability-bar .bar {
  flex: var(--size) 1 0;
}

.availability-bar .available {
  background: var(--available);
}

.availability-bar .reserved {
  background: var(--reserved);
}

.availability-bar .pending {
  background: repeating-linear-gradient(90deg, rgba(195, 155, 76, 0.28) 0 12px, rgba(195, 155, 76, 0.09) 12px 24px);
}

.availability-bar.empty::before {
  content: "";
  width: 100%;
  background: repeating-linear-gradient(90deg, #dcd4c4 0 12px, #ece6da 12px 24px);
}

.project-facts {
  display: grid;
  gap: 8px;
  margin: 0;
}

.project-facts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.project-facts dt {
  color: var(--muted);
}

.project-facts dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  text-align: right;
  overflow-wrap: anywhere;
}

.availability-overview {
  width: min(1680px, calc(100% - 72px));
  padding-top: 0;
}

.overview-list {
  display: grid;
  gap: 10px;
}

.overview-row {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(320px, 1.1fr) 150px 210px;
  gap: 16px;
  align-items: center;
  min-height: 74px;
  padding: 16px 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.overview-row:not(.disabled):hover {
  border-color: var(--gold);
}

.overview-row.disabled {
  color: var(--muted);
  background: #f2eee5;
}

.overview-name,
.overview-number {
  color: var(--forest);
  font-weight: 900;
}

.overview-location,
.overview-price {
  color: var(--muted);
}

.home-contact {
  margin-top: 20px;
}

.has-reveal .reveal-on-scroll,
.has-reveal .home-service-strip article,
.has-reveal .home-stats div,
.has-reveal .overview-row {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.has-reveal .reveal-on-scroll.is-visible,
.has-reveal .home-service-strip article.is-visible,
.has-reveal .home-stats div.is-visible,
.has-reveal .overview-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 920px) {
  .topbar {
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .status-strip,
  .intro,
  .location-card,
  .availability-grid,
  .detail-grid,
  .gallery-grid,
  .promo-gallery,
  .price-summary,
  .contact {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }

  .location-title {
    white-space: normal;
  }

  .status-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-map {
    grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
    gap: 10px;
    min-height: auto;
  }

  .driveway {
    min-height: auto;
    padding: 24px 8px;
  }

  .contact-actions {
    width: 100%;
  }

  .contact-actions .button {
    flex: 1 1 170px;
  }

  .admin-list {
    grid-template-columns: 1fr;
  }

  body {
    padding-bottom: 76px;
  }

  .sticky-contact {
    display: grid;
  }

  .home-hero,
  .home-service-strip,
  .project-toolbar,
  .price-filter-panel,
  .project-card.featured,
  .project-grid,
  .overview-row {
    grid-template-columns: 1fr;
  }

  .home-hero,
  .home-service-strip,
  .home-stats,
  .project-directory,
  .availability-overview {
    width: min(100% - 40px, 1180px);
  }

  .home-hero::before {
    inset: 20px -12px 0;
  }

  .project-filter-pills {
    justify-content: flex-start;
  }

  .price-filter-panel {
    align-items: stretch;
  }

  .home-service-strip article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .home-service-strip article:last-child {
    border-bottom: 0;
  }

  .home-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-stats div:nth-child(2n) {
    border-right: 0;
  }

  .home-stats div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .home-stats div:nth-child(5) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .home-hero-media,
  .home-hero-media img {
    min-height: 340px;
  }
}

@media (max-width: 560px) {
  .topbar {
    gap: 8px;
    padding: 8px 14px;
  }

  .brand small {
    display: none;
  }

  .brand-logo img {
    width: 66px;
    height: 50px;
  }

  nav {
    gap: 16px;
    font-size: 14px;
  }

  .hero {
    min-height: 620px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(11, 24, 18, 0.08), rgba(11, 24, 18, 0.82));
  }

  .hero-copy {
    padding-bottom: 36px;
  }

  .status-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .status-strip div {
    min-height: 118px;
    padding: 20px 18px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .status-strip strong {
    font-size: 44px;
  }

  .status-strip span {
    display: block;
    font-size: 16px;
    line-height: 1.25;
  }

  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .info-grid article {
    display: block;
    min-height: 112px;
    padding: 10px;
  }

  .info-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 8px;
    font-size: 9px;
  }

  .info-grid strong {
    font-size: 12.5px;
    line-height: 1.32;
    word-break: normal;
    overflow-wrap: normal;
  }

  .info-grid small {
    margin-top: 8px;
    font-size: 10.5px;
    line-height: 1.35;
    word-break: normal;
    overflow-wrap: normal;
  }

  .section {
    width: min(100% - 20px, 1180px);
    padding: 34px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 16px;
  }

  .section-head h2 {
    font-size: 32px;
    line-height: 1.08;
  }

  .home-note {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.45;
  }

  .legend {
    margin-top: 14px;
  }

  .price-summary {
    grid-template-columns: 1fr;
  }

  .price-summary article {
    padding: 14px;
  }

  .price-summary strong {
    font-size: 20px;
  }

  .table-wrap {
    max-height: none;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  table,
  thead,
  tbody,
  tr,
  td {
    display: block;
  }

  table {
    min-width: 0;
  }

  thead {
    display: none;
  }

  tbody {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  tr {
    padding: 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(23, 32, 38, 0.06);
  }

  td {
    padding: 0;
    border: 0;
  }

  td + td {
    margin-top: 8px;
  }

  td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
  }

  td:first-child::before {
    display: none;
  }

  td:first-child strong {
    color: var(--forest);
    font-size: 24px;
  }

  td:nth-child(2) {
    font-size: 12px;
    line-height: 1.25;
  }

  td:nth-child(3) {
    font-size: 13px;
  }

  td:nth-child(3) strong {
    font-size: 18px;
  }

  td:nth-child(4) .status-pill {
    min-height: 24px;
    padding: 3px 8px;
    font-size: 11px;
  }

  .site-map {
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
    gap: 6px;
    padding: 8px;
  }

  .unit {
    display: block;
    min-height: 62px;
    padding: 7px 4px;
    text-align: center;
  }

  .badge {
    width: 34px;
    height: 34px;
    margin: 0 auto 5px;
    font-size: 14px;
  }

  .unit strong {
    font-size: 11px;
    line-height: 1.2;
  }

  .unit small {
    display: block;
    font-size: 10px;
    line-height: 1.2;
  }

  .driveway {
    padding: 16px 4px;
    font-size: 11px;
    line-height: 1.25;
  }

  .driveway > span:nth-child(2) {
    writing-mode: vertical-rl;
    text-orientation: mixed;
  }

  .entry-exit {
    min-height: 30px;
    width: 44px;
    padding: 4px;
    font-size: 10px;
    line-height: 1.1;
  }

  .unit.gap-before {
    margin-top: 16px;
  }

  .admin-row {
    grid-template-columns: 48px 1fr;
  }

  .admin-row select {
    grid-column: 1 / -1;
  }

  .home-hero {
    width: min(100% - 20px, 1220px);
    padding-top: 24px;
  }

  .home-hero-copy h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  .home-hero-copy > p:not(.eyebrow) {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.45;
  }

  .home-location-pills {
    gap: 6px;
    margin-top: 16px;
  }

  .home-location-pills span {
    min-height: 28px;
    padding: 4px 9px;
    font-size: 12px;
  }

  .home-hero-media,
  .home-hero-media img {
    min-height: 210px;
  }

  .home-hero-badge {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    padding: 12px;
  }

  .home-hero-badge strong {
    font-size: 34px;
  }

  .home-hero-badge span {
    font-size: 13px;
  }

  .home-hero-panel {
    left: 12px;
    top: 12px;
    padding: 12px;
  }

  .home-hero-panel strong {
    font-size: 18px;
  }

  .home-stats {
    width: min(100% - 20px, 1220px);
  }

  .home-service-strip,
  .project-directory,
  .availability-overview {
    width: min(100% - 20px, 1220px);
  }

  .home-service-strip article {
    min-height: auto;
    padding: 14px;
  }

  .home-service-strip strong {
    margin-top: 8px;
    font-size: 18px;
  }

  .home-service-strip small {
    margin-top: 5px;
    font-size: 13px;
  }

  .project-directory {
    padding-top: 42px;
  }

  .project-toolbar {
    gap: 7px;
    margin-bottom: 12px;
    padding: 8px;
  }

  .project-search {
    min-height: 40px;
    padding: 0 12px;
  }

  .project-search input {
    min-height: 38px;
    font-size: 14px;
  }

  .project-sort,
  .project-select-filter {
    gap: 2px;
    padding: 6px 10px;
  }

  .project-sort span,
  .project-select-filter span {
    display: none;
  }

  .project-sort select,
  .project-select-filter select {
    min-height: 34px;
    font-size: 15px;
  }

  .active-filter-chips {
    margin: -2px 0 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .active-filter-chips span {
    flex: 0 0 auto;
    font-size: 12px;
  }

  .project-filter-pills {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .project-filter-pills button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 5px 10px;
    font-size: 13px;
  }

  .price-filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
  }

  .price-filter-panel > div:first-child,
  .price-shortcuts {
    grid-column: 1 / -1;
  }

  .price-filter-panel > div:first-child {
    display: none;
  }

  .price-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .price-shortcuts button {
    min-height: 30px;
    padding: 4px 5px;
    font-size: 11px;
  }

  .price-filter-panel input {
    min-height: 36px;
    font-size: 14px;
  }

  .price-filter-panel .button {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 14px;
  }

  .home-stats div {
    min-height: 86px;
    padding: 12px;
  }

  .home-stats strong {
    font-size: 30px;
  }

  .home-stats span {
    margin-top: 5px;
    font-size: 13px;
  }

  .project-grid,
  .project-card.featured {
    gap: 10px;
  }

  .project-image {
    min-height: 150px;
  }

  .project-cover {
    min-height: 140px;
    height: 140px;
    padding: 16px;
  }

  .project-cover-brand {
    font-size: 12px;
  }

  .project-cover strong {
    font-size: 28px;
  }

  .project-cover small {
    margin-top: 5px;
    font-size: 13px;
  }

  .project-status {
    left: 12px;
    top: 12px;
    min-height: 26px;
    padding: 4px 9px;
    font-size: 12px;
  }

  .project-share-button {
    top: 10px;
    right: 10px;
    min-height: 28px;
    padding: 5px 10px;
    font-size: 12px;
  }

  .bizspace-hero-visual {
    place-content: end start;
    padding: 0 22px 28px;
    text-align: left;
    opacity: 0.42;
  }

  .bizspace-hero-visual strong {
    font-size: 42px;
    max-width: 300px;
  }

  .bizspace-hero-visual small {
    font-size: 14px;
  }

  .project-content {
    gap: 10px;
    padding: 14px;
  }

  .project-content h3 {
    font-size: 22px;
  }

  .project-content p:not(.eyebrow) {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.45;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .project-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-metrics span {
    min-height: 52px;
    padding: 8px 7px;
    font-size: 10px;
  }

  .project-metrics strong {
    font-size: 23px;
  }

  .availability-caption {
    font-size: 13px;
  }

  .availability-caption strong {
    font-size: 16px;
  }

  .project-facts div {
    display: flex;
    grid-template-columns: none;
    gap: 10px;
    padding-bottom: 6px;
  }

  .overview-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .project-facts dd {
    text-align: right;
  }

  .project-content .button {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 14px;
  }

  .project-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .project-actions .button {
    min-height: 42px;
  }

  .overview-row {
    min-height: auto;
    padding: 14px;
  }

  .sticky-contact {
    left: 10px;
    right: 10px;
    bottom: 10px;
    gap: 6px;
    padding: 6px;
  }

  .sticky-contact a {
    min-height: 38px;
    font-size: 13px;
  }

  .project-page .hero {
    min-height: 360px;
  }

  .project-page .hero-copy {
    width: min(100% - 28px, 760px);
    padding: 0 0 24px;
  }

  .project-page .hero-copy p {
    margin-bottom: 8px;
    font-size: 16px;
  }

  .project-page .hero h1 {
    font-size: 34px;
    line-height: 1.05;
  }

  .project-page .hero-actions {
    gap: 8px;
    margin-top: 18px;
  }

  .project-page .hero-actions .button {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 14px;
  }

  .project-page .status-strip div {
    min-height: 72px;
    padding: 10px 12px;
  }

  .project-page .status-strip strong {
    font-size: 28px;
  }

  .project-page .status-strip span {
    font-size: 13px;
  }

  .project-page .intro {
    gap: 14px;
  }

  .project-page .intro-title {
    font-size: 28px;
  }

  .project-page .intro p:not(.eyebrow),
  .project-page .location-card p:not(.eyebrow),
  .project-page .contact p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.45;
  }

  .project-page .location-card {
    gap: 16px;
    padding: 18px;
  }

  .project-page .location-title {
    font-size: 25px;
    line-height: 1.15;
  }

  .project-page .location-card .button {
    width: 100%;
    min-height: 42px;
  }

  .project-page .info-grid article {
    min-height: 96px;
  }

  .project-page .availability .section-head h2 {
    font-size: 30px;
  }

  .project-page .updated-badge {
    margin-top: 10px;
    padding: 5px 9px;
    font-size: 12px;
  }

  .project-page .legend {
    gap: 8px;
    font-size: 13px;
  }

  .project-page .availability-grid {
    gap: 14px;
  }

  .project-page .site-map {
    grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
    gap: 4px;
    padding: 6px;
  }

  .project-page .unit-column {
    gap: 5px;
  }

  .project-page .unit {
    min-height: 44px;
    padding: 6px 3px;
  }

  .project-page .badge {
    width: 26px;
    height: 26px;
    font-size: 12px;
    margin-bottom: 3px;
  }

  .project-page .unit strong {
    font-size: 9.5px;
  }

  .project-page .unit small {
    font-size: 8.5px;
  }

  .project-page .unit.gap-before {
    margin-top: 9px;
  }

  .project-page .driveway {
    padding: 10px 2px;
    font-size: 9px;
  }

  .project-page .entry-exit {
    min-height: 26px;
    width: 34px;
    font-size: 8.5px;
  }

  .bizspace-page .ramindra-site-map {
    grid-template-columns: minmax(118px, 0.82fr) minmax(0, 1.18fr);
    gap: 8px;
    min-height: auto;
    padding: 8px;
  }

  .bizspace-page .ramindra-site-map .driveway {
    gap: 42px;
    padding: 14px 8px;
    font-size: 10px;
  }

  .bizspace-page .ramindra-site-map .unit-column.right {
    gap: 8px;
  }

  .bizspace-page .ramindra-site-map .unit {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    min-height: 64px;
    padding: 8px;
    text-align: left;
  }

  .bizspace-page .ramindra-site-map .unit.wide-unit {
    min-height: 86px;
    padding-block: 10px;
  }

  .bizspace-page .ramindra-site-map .badge {
    width: 34px;
    height: 34px;
    margin: 0;
    font-size: 13px;
  }

  .bizspace-page .ramindra-site-map .unit.wide-unit .badge {
    width: 42px;
    height: 42px;
  }

  .bizspace-page .ramindra-site-map .unit strong {
    font-size: 12px;
    line-height: 1.15;
  }

  .bizspace-page .ramindra-site-map .unit small {
    font-size: 10px;
    line-height: 1.25;
  }

  .project-page .unit-panel {
    gap: 10px;
    padding: 12px;
  }

  .project-page .selected-card {
    padding: 14px;
  }

  .project-page .selected-card h3 {
    font-size: 20px;
  }

  .project-page .quick-filters {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .project-page .filter {
    min-height: 36px;
    padding: 7px 6px;
    font-size: 12px;
  }

  .project-page .price-summary {
    gap: 8px;
    margin-top: 16px;
  }

  .project-page .price-summary article {
    padding: 12px;
  }

  .project-page .price-summary strong {
    font-size: 18px;
  }

  .project-page .price-summary small {
    margin-top: 5px;
    font-size: 12px;
  }

  .project-page .detail-grid {
    gap: 10px;
  }

  .project-page .detail-grid article,
  .project-page .faq-list details {
    padding: 14px;
  }

  .project-page .gallery-grid,
  .project-page .promo-gallery {
    gap: 10px;
  }

  .project-page .promo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-page .compact-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-page .gallery-thumb img {
    max-height: 120px;
  }

  .project-page .contact {
    gap: 16px;
    padding: 34px 18px;
  }

  .project-page .contact h2 {
    font-size: 28px;
  }

  .project-page .contact-actions {
    gap: 8px;
    margin-top: 18px;
  }

  .project-page .contact-actions .button {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 14px;
  }
}

.phatthanakan-page .phatthanakan-site-map {
  grid-template-columns: minmax(260px, 0.76fr) minmax(120px, 0.24fr);
  gap: 14px;
  min-height: auto;
  padding: 18px;
  align-items: stretch;
}

.phatthanakan-page .phatthanakan-site-map .unit-column.left {
  order: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  align-content: start;
}

.phatthanakan-page .phatthanakan-site-map .unit-column.right {
  display: none;
}

.phatthanakan-page .phatthanakan-site-map .driveway {
  order: 2;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 18px;
  padding: 18px 10px;
}

.phatthanakan-page .phatthanakan-site-map .driveway > span:nth-child(3) {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.phatthanakan-page .phatthanakan-site-map .unit {
  min-height: 46px;
  padding: 7px 10px;
}

.phatthanakan-page .phatthanakan-site-map .unit.gap-before {
  margin-top: 18px;
}

.phatthanakan-page .phatthanakan-site-map .badge {
  width: 34px;
  height: 34px;
  font-size: 12px;
}

.phatthanakan-page .phatthanakan-site-map .unit strong {
  font-size: 13px;
  line-height: 1.2;
}

.phatthanakan-page .phatthanakan-site-map .unit small {
  font-size: 11px;
  line-height: 1.2;
}

.phatthanakan-page .phatthanakan-site-map .entry-exit {
  width: 100%;
  min-height: 34px;
  padding: 6px 8px;
  font-size: 12px;
}

@media (max-width: 900px) {
  .phatthanakan-page .phatthanakan-site-map {
    grid-template-columns: minmax(0, 1fr) 64px;
    gap: 8px;
    min-height: auto;
    padding: 10px;
  }

  .phatthanakan-page .phatthanakan-site-map .unit-column.left {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .phatthanakan-page .phatthanakan-site-map .unit {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 7px;
    min-height: 46px;
    padding: 7px 6px;
    text-align: left;
  }

  .phatthanakan-page .phatthanakan-site-map .badge {
    width: 30px;
    height: 30px;
    margin: 0;
    font-size: 11px;
  }

  .phatthanakan-page .phatthanakan-site-map .unit strong {
    font-size: 10px;
    line-height: 1.18;
  }

  .phatthanakan-page .phatthanakan-site-map .unit small {
    font-size: 9px;
    line-height: 1.18;
  }

  .phatthanakan-page .phatthanakan-site-map .driveway {
    gap: 18px;
    padding: 10px 4px;
    font-size: 8.5px;
    line-height: 1.15;
  }

  .phatthanakan-page .phatthanakan-site-map .entry-exit {
    width: 52px;
    min-height: 32px;
    padding: 4px;
    font-size: 8px;
  }
}

@media (max-width: 520px) {
  .phatthanakan-page .phatthanakan-site-map {
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 5px;
    padding: 6px;
  }

  .phatthanakan-page .phatthanakan-site-map .unit-column.left {
    gap: 5px;
  }

  .phatthanakan-page .phatthanakan-site-map .unit {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 5px;
    min-height: 44px;
    padding: 5px;
    text-align: left;
  }

  .phatthanakan-page .phatthanakan-site-map .badge {
    width: 28px;
    height: 28px;
    margin: 0;
  }

  .phatthanakan-page .phatthanakan-site-map .unit strong {
    font-size: 9px;
  }

  .phatthanakan-page .phatthanakan-site-map .unit small {
    font-size: 8px;
  }

  .phatthanakan-page .phatthanakan-site-map .unit.gap-before {
    margin-top: 14px;
  }

  .phatthanakan-page .phatthanakan-site-map .driveway {
    padding: 8px 2px;
    font-size: 7.5px;
  }

  .phatthanakan-page .phatthanakan-site-map .entry-exit {
    width: 40px;
    min-height: 30px;
    font-size: 7px;
  }
}
