:root {
  --cream: #f7f3ed;
  --paper: #fffdf9;
  --taupe: #eae3d8;
  --ink: #453c33;
  --muted: #766a5f;
  --brown: #5c493c;
  --sand: #e4cdb0;
  --line: #d9cfc2;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --thai: 'Kanit', 'Noto Sans Thai', sans-serif;
  --sans: 'Manrope', var(--thai);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

html[lang="th"] {
  --serif: var(--thai);
  --sans: var(--thai);
}

html[lang="th"] body {
  font-family: var(--thai);
  font-weight: 400;
  line-height: 1.8;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

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

button {
  color: inherit;
}

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

button img {
  width: 100%;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 400;
}

p + p {
  margin-top: 16px;
}

button {
  border: 0;
  background: none;
}

button:disabled {
  cursor: wait;
  opacity: .65;
}

[hidden] {
  display: none !important;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #bb8e5d;
  outline-offset: 5px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #a87e53;
  outline-offset: 2px;
}

.wrap {
  width: min(1240px, calc(100% - 104px));
  margin-inline: auto;
}

.section-space {
  padding: 112px 0;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 22px;
  color: #8b7159;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  min-height: 52px;
  padding: 13px 25px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  border: 1px solid transparent;
  transition: background .2s, color .2s, transform .2s;
}

.btn span {
  font-size: 22px;
  font-weight: 400;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brown);
  color: #fff9f0;
}

.btn-primary:hover {
  background: #79604b;
}

.btn-sand {
  background: var(--sand);
  color: #45382d;
}

.btn-sand:hover {
  background: #f0ddc4;
}

.btn-outline {
  border-color: #ab9783;
  background: transparent;
}

.btn-outline:hover {
  background: var(--taupe);
}

.btn-ghost {
  border-color: #8c796a;
  color: var(--cream);
}

.btn-ghost:hover {
  background: #6b5849;
}

.text-link {
  padding: 0 0 7px;
  border-bottom: 1px solid #ac9480;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}

.text-link span {
  font-size: 23px;
  line-height: 1;
}

.text-link:hover {
  color: #a6794e;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: white;
  padding: 10px;
}

.skip-link:focus {
  top: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 243, 237, .97);
  border-bottom: 1px solid rgba(69, 60, 51, .1);
}

.header-row {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-align: center;
  width: max-content;
  line-height: 1;
}

.brand strong {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: 4px;
}

.brand small {
  font-size: 10px;
  letter-spacing: 3.5px;
  margin-top: 10px;
}

.nav-links {
  display: flex;
  gap: 35px;
  align-items: center;
  font-size: 15px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-links a {
  padding: 12px 0;
  position: relative;
  white-space: nowrap;
}

.nav-links a:after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brown);
  transition: width .2s;
}

.nav-links a:hover:after {
  width: 100%;
}

.nav-cta {
  font-size: 14px;
  min-height: 43px;
  padding: 9px 19px;
  gap: 24px;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
}

.burger span {
  height: 1px;
  width: 25px;
  display: block;
  background: var(--ink);
  margin: 7px 0;
}

.mobile-menu {
  padding: 10px 26px 24px;
  border-top: 1px solid var(--line);
}

.mobile-menu a {
  display: block;
  padding: 10px 0;
}

.hero {
  height: 710px;
  min-height: 610px;
  max-height: calc(100svh - 90px);
  position: relative;
  overflow: hidden;
  background: #4f5443;
  color: #fff9f0;
}

.hero-slides,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  object-fit: cover;
  object-position: center 52%;
  opacity: 0;
  transition: opacity 1s;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(24, 29, 20, .67), rgba(27, 32, 24, .22) 58%, rgba(32, 32, 22, .04)), linear-gradient(0deg, rgba(27, 31, 22, .4), transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 82px;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 2.5px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-eyebrow > span {
  display: inline-block;
  width: 35px;
  height: 1px;
  background: #d4bea1;
}

.hero h1 {
  font-family: var(--serif);
  font-size: 107px;
  line-height: .91;
  letter-spacing: -2px;
}

.hero h1 em {
  font-weight: 400;
  color: #f0dbc2;
}

.hero-sub {
  font-size: 25px;
  font-weight: 300;
  margin-top: 30px;
  letter-spacing: .2px;
}

.hero-description {
  font-size: 15px;
  line-height: 1.9;
  color: #e9e6dd;
  margin-top: 12px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 29px;
}

.hero-text-link {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-text-link span {
  font-size: 25px;
}

.hero-bottom {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-place {
  font-size: 11px;
  letter-spacing: 2px;
}

.hero-pagination {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}

.hero-dots {
  display: flex;
  gap: 5px;
}

.hero-dot {
  width: 29px;
  height: 24px;
  position: relative;
  padding: 0;
}

.hero-dot:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 11px;
  height: 2px;
  background: #ffffff50;
}

.hero-dot.active:after {
  background: #e4cdb0;
}

.facts-bar {
  background: #eee7dc;
  border-bottom: 1px solid #e2d8ca;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 34px 0;
}

.hero-stat {
  border-right: 1px solid #d6caba;
  padding: 0 20px;
  text-align: center;
}

.hero-stat:first-child {
  padding-left: 0;
}

.hero-stat:last-child {
  border-right: 0;
  padding-right: 0;
}

.hero-stat b {
  font-family: var(--serif);
  font-size: clamp(29px, 2.45vw, 36px);
  font-weight: 500;
  line-height: 1.1;
  display: block;
  white-space: nowrap;
}

.hero-stat b span {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 1.3px;
  margin-left: 4px;
}

.hero-stat small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

h2 {
  font-family: var(--sans);
  font-size: 38px;
  line-height: 1.65;
  letter-spacing: -1.2px;
  font-weight: 400;
}

h2 em {
  font-style: normal;
  color: #8c735c;
  font-weight: 300;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-photo {
  position: relative;
  padding-bottom: 28px;
}

.about-photo > img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: 50% 40%;
  background: #e9e4db;
}

.image-index {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 11px;
  letter-spacing: 2px;
  color: #8b7966;
}

.photo-seal {
  position: absolute;
  bottom: 72px;
  right: -36px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #e6d5bd;
  box-shadow: 0 0 0 7px var(--cream);
  font-size: 12px;
  letter-spacing: 2px;
  line-height: 1.7;
  text-align: center;
}

.photo-seal em {
  font-family: var(--serif);
  font-size: 34px;
  letter-spacing: 0;
}

.about-copy .lead {
  font-size: 21px;
  line-height: 1.7;
  color: var(--brown);
  margin: 27px 0 20px;
}

.about-copy > p:not(.lead) {
  font-size: 16px;
  color: var(--muted);
  line-height: 2;
}

.about-note {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 19px;
  font-size: 14px;
}

.about-note > span:first-child {
  font-size: 33px;
  color: #9e7954;
}

.about-copy > .text-link {
  margin-top: 28px;
}

.section-taupe {
  background: var(--taupe);
}

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

.section-head > p {
  max-width: 395px;
  color: var(--muted);
  font-size: 15px;
  padding-bottom: 10px;
}

.amenity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  border-top: 1px solid #cec1b2;
  border-bottom: 1px solid #cec1b2;
  padding: 21px 0;
  margin: 37px 0 36px;
  font-size: 14px;
}

.amenity-list span:before {
  content: '✧';
  margin-right: 10px;
  color: #9a7955;
}

.gallery-tabs {
  display: flex;
  gap: 30px;
  margin-bottom: 23px;
  overflow-x: auto;
}

.filter-btn {
  white-space: nowrap;
  padding: 9px 0;
  border-bottom: 1px solid transparent;
  font-size: 15px;
  color: #82756a;
}

.filter-btn.active {
  color: var(--brown);
  border-color: var(--brown);
}

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

.gallery-image {
  position: relative;
  padding: 0;
  overflow: hidden;
  text-align: left;
  background: #cabfaf;
}

.gallery-main {
  grid-row: span 2;
}

.gallery-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform .6s;
}

.gallery-image:hover img {
  transform: scale(1.035);
}

.gallery-image:after {
  content: '';
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, #26261ab0);
}

.gallery-image > span {
  position: absolute;
  z-index: 1;
  bottom: 20px;
  left: 25px;
  right: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--serif);
  color: #fff9f0;
  font-size: 28px;
  font-weight: 400;
}

.gallery-image > span b {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 400;
}

.gallery-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
}

.gallery-foot > p {
  font-size: 13px;
  color: var(--muted);
}

.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 36px;
  margin: 34px 0 38px;
  overflow-x: auto;
}

.tab-btn {
  padding: 12px 0 16px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--muted);
}

.tab-btn.active {
  border-color: var(--brown);
  color: var(--brown);
  font-weight: 700;
}

.residence-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: #eee7dc;
}

.residence-image {
  position: relative;
  min-width: 0;
}

.residence-image > img {
  height: 100%;
  min-height: 500px;
  width: 100%;
  object-fit: cover;
}

.residence-image > span {
  position: absolute;
  bottom: 20px;
  left: 25px;
  color: white;
  background: #4d3f32bd;
  padding: 5px 12px;
  font-size: 11px;
  letter-spacing: 2px;
}

.residence-copy {
  padding: 40px 45px;
}

.residence-copy .eyebrow {
  font-size: 11px;
  margin-bottom: 12px;
}

.residence-copy h3 {
  font-family: var(--serif);
  font-size: 49px;
  line-height: 1.15;
}

.residence-copy h4 {
  font-size: 17px;
  font-weight: 400;
  margin: 14px 0 12px;
}

.residence-copy > p {
  font-size: 14px;
  color: var(--muted);
}

.plan-preview {
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid #d5c8b8;
  margin: 24px 0;
  padding-top: 22px;
}

.plan-preview > button {
  width: 120px;
  background: white;
  padding: 0;
  flex-shrink: 0;
}

.plan-preview img {
  height: 94px;
  object-fit: contain;
}

.plan-preview b {
  display: block;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 8px;
}

.plan-preview .text-link {
  font-size: 13px;
  gap: 20px;
}

.residence-copy > .btn {
  width: 100%;
}

.floor-plan-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin-top: 38px;
  border: 1px solid var(--line);
  padding: 27px 35px;
}

.floor-plan-strip .eyebrow {
  font-size: 11px;
  margin-bottom: 8px;
}

.floor-plan-strip h3 {
  font-size: 21px;
  font-weight: 400;
}

.floor-plan-strip p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 5px;
}

.coastal-banner {
  height: 470px;
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--cream);
  overflow: hidden;
}

.coastal-banner > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coastal-banner:after {
  content: '';
  position: absolute;
  inset: 0;
  background: #22271cb5;
}

.coastal-banner > div {
  position: relative;
  z-index: 1;
  padding: 25px;
}

.coastal-banner .eyebrow {
  color: #e1c9ab;
  font-size: 12px;
}

.coastal-banner p {
  font-family: var(--serif);
  font-size: 57px;
  line-height: 1.12;
}

.coastal-banner p em {
  color: #dbc5a9;
}

.coastal-banner .btn {
  margin-top: 28px;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.location-grid h2 {
  font-size: 35px;
}

.location-grid > div > p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 20px;
}

.location-list {
  margin: 28px 0;
}

.location-list > div {
  display: flex;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.location-list > div > span:first-child {
  font-size: 13px;
  color: #967a5a;
}

.location-list > div > span:last-child {
  margin-left: auto;
  font-size: 24px;
  color: #a48d73;
}

.location-list strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
}

.location-list small {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.location-visual {
  background: var(--taupe);
}

.location-map {
  display: block;
  width: 100%;
  height: 750px;
  border: 0;
}

.faq-section {
  background: #efe9df;
  padding: 80px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
}

.faq-grid > div > p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 14px;
}

.faq-grid details {
  border-bottom: 1px solid #d5c9b9;
}

.faq-grid summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  cursor: pointer;
  padding: 21px 0;
  font-size: 16px;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid summary span {
  font-family: var(--sans);
  font-size: 23px;
  font-weight: 400;
  color: #947c64;
  flex-shrink: 0;
}

.faq-grid details[open] summary span {
  transform: rotate(45deg);
}

.faq-grid details > p {
  font-size: 15px;
  color: var(--muted);
  padding: 0 35px 20px 0;
}

.section-dark {
  background: #493c31;
  color: var(--cream);
}

.section-dark .eyebrow {
  color: #ceb391;
}

.section-dark h2 em {
  color: #d8c1a2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 95px;
}

.contact-info > p {
  font-size: 15px;
  color: #d0c5b8;
  margin-top: 22px;
}

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

.contact-actions .btn {
  font-size: 14px;
  gap: 20px;
  padding: 12px 20px;
}

.contact-phones {
  border-top: 1px solid #75614e;
  margin-top: 37px;
  padding-top: 23px;
}

.contact-phones > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 13px;
}

.contact-phones span {
  font-size: 13px;
  color: #c5b6a3;
}

.contact-phones a {
  font-size: 19px;
  font-weight: 400;
  letter-spacing: .4px;
}

.contact-phones a:hover {
  color: var(--sand);
}

.office-block {
  margin-top: 32px;
}

.office-block .eyebrow {
  font-size: 12px;
  margin-bottom: 14px;
}

.office-block p {
  max-width: 375px;
  font-size: 14px;
  color: #d0c5b8;
}

.office-block p + p {
  margin-top: 8px;
}

.office-block > a {
  display: block;
  font-size: 15px;
  margin-top: 11px;
}

.office-block .office-link {
  font-size: 13px;
  color: #d9c1a2;
}

.form-card {
  background: var(--cream);
  padding: 40px;
  color: var(--ink);
  align-self: start;
}

.form-card .eyebrow {
  font-size: 12px;
  color: #9d7f5d;
  margin-bottom: 13px;
}

.form-card h3 {
  font-size: 27px;
  font-weight: 400;
}

.form-card .sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 9px;
}

.lead-form {
  margin-top: 27px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 18px;
  position: relative;
}

.lead-form > label {
  font-size: 13px;
  display: block;
}

.lead-form label > span {
  color: #866443;
}

.lead-form input:not([type=checkbox]),
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid #d6cbbd;
  background: #fcfaf6;
  border-radius: 0;
  padding: 11px 12px;
  color: var(--ink);
  font-size: 15px;
  min-height: 46px;
  margin-top: 6px;
}

.lead-form textarea {
  resize: vertical;
  min-height: 91px;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #9a8b7c;
}

.full-width {
  grid-column: 1 / -1;
}

.lead-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.8;
  font-size: 12px;
}

.consent input {
  margin: 3px 0 0;
  width: 15px;
  height: 15px;
  accent-color: var(--brown);
  flex-shrink: 0;
}

.consent a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lead-form .consent span {
  color: var(--muted);
}

.lead-form .btn {
  font-size: 14px;
  gap: 40px;
  margin-top: 4px;
}

.form-feedback {
  font-size: 15px;
  margin: 0;
  color: #3c674c;
}

.form-feedback:empty {
  display: none;
}

.form-feedback.error {
  color: #a03b29;
}

.honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 15px;
}

.privacy-note summary {
  cursor: pointer;
}

.privacy-note p {
  margin-top: 8px;
}

.site-footer {
  padding: 47px 0 27px;
  background: #f7f3ed;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-top > p {
  font-size: 13px;
  text-align: center;
  color: var(--muted);
  line-height: 1.8;
}

.footer-top b {
  font-weight: 500;
}

.footer-top .brand strong {
  font-size: 32px;
}

.footer-top .text-link {
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 20px;
}

.footer-bottom p {
  font-size: 11px;
  color: #8b7c6a;
  line-height: 1.8;
  max-width: 490px;
  margin: 0;
}

.footer-bottom p:last-child {
  text-align: right;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: flex;
  gap: 9px;
  align-items: center;
  z-index: 25;
  color: #fff9ef;
  background: #5b6147;
  border: 1px solid #ffffff30;
  box-shadow: 0 4px 20px #0002;
  border-radius: 30px;
  padding: 13px 19px;
  font-size: 14px;
}

.floating-whatsapp:hover {
  background: #424d31;
}

.lightbox {
  padding: 0;
  width: min(1400px, 96vw);
  height: 92svh;
  max-width: 96vw;
  max-height: 94svh;
  border: 1px solid #cbbba8;
  background: var(--cream);
  color: var(--ink);
  overflow: hidden;
}

.lightbox::backdrop {
  background: #211a15d9;
}

.lightbox[open] {
  display: flex;
  flex-direction: column;
}

.lightbox-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.lightbox-toolbar strong {
  font-size: 15px;
  display: block;
}

.lightbox-toolbar > div > span {
  font-size: 13px;
  color: var(--muted);
}

.lightbox-controls {
  display: flex;
  gap: 6px;
  align-items: center;
}

.lightbox button {
  height: 40px;
  min-width: 40px;
  border: 1px solid var(--line);
  font-size: 25px;
}

.lightbox #zoomReset {
  font-size: 14px;
  padding: 0 10px;
}

.lightbox #lightboxClose {
  background: var(--brown);
  color: white;
  margin-left: 7px;
}

.lightbox-stage {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  align-items: safe center;
  justify-content: safe center;
  background: #e6dfd5;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  flex-shrink: 0;
}

.lightbox-stage.zoomed {
  display: block;
  cursor: grab;
}

.lightbox-stage.zoomed img {
  max-width: none;
  max-height: none;
  margin: 0 auto;
  object-fit: contain;
}

.lightbox-stage.dragging {
  cursor: grabbing;
}

.lightbox-bottom {
  padding: 10px 18px;
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.lightbox-bottom button {
  width: 45px;
  font-size: 23px;
}

@media (min-width: 1600px) {
  .hero {
    height: 800px;
  }
  
  .hero-content {
    padding-top: 115px;
  }
  
  .hero h1 {
    font-size: 121px;
  }
}

@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  
  .nav-links {
    gap: 23px;
  }
  
  .about-grid,
  .location-grid,
  .contact-grid {
    gap: 50px;
  }
  
  .about-photo > img {
    height: 530px;
  }
  
  .residence-copy {
    padding: 32px;
  }
  
  .residence-copy h3 {
    font-size: 42px;
  }
  
  .form-card {
    padding: 30px;
  }
  
  .hero h1 {
    font-size: 97px;
  }
  
  .section-space {
    padding: 85px 0;
  }
  
  .gallery-grid {
    grid-template-rows: 190px 190px;
  }
  
  .hero-stat {
    padding: 0 15px;
  }
  
  .hero-stat b {
    font-size: 32px;
  }
  
  .hero-stat b span {
    font-size: 11px;
  }
  
  .hero-stat small {
    font-size: 12px;
  }
  
  .faq-grid {
    gap: 40px;
  }
}

@media (max-width: 800px) {
  html {
    scroll-padding-top: 82px;
  }
  
  .wrap {
    width: calc(100% - 44px);
  }
  
  .header-row {
    height: 75px;
    gap: 16px;
  }
  
  .brand strong {
    font-size: 32px;
  }
  
  .brand small {
    font-size: 9px;
    letter-spacing: 2.5px;
    margin-top: 7px;
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-cta {
    margin-left: auto;
    font-size: 13px;
    min-height: 40px;
    gap: 15px;
    padding: 9px 14px;
  }
  
  .burger {
    display: block;
  }
  
  .hero {
    height: 680px;
    max-height: none;
    min-height: 0;
  }
  
  .hero-content {
    padding-top: 90px;
  }
  
  .hero h1 {
    font-size: 91px;
  }
  
  .hero-slide {
    object-position: 60% center;
  }
  
  .hero-sub {
    font-size: 24px;
  }
  
  .hero-eyebrow {
    font-size: 11px;
    letter-spacing: 1.8px;
  }
  
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    row-gap: 28px;
    padding: 30px 0;
  }
  
  .hero-stat:nth-child(2) {
    border-right: 0;
  }
  
  .hero-stat:first-child,
  .hero-stat:last-child {
    padding: 0 15px;
  }
  
  .section-space {
    padding: 68px 0;
  }
  
  .about-grid,
  .location-grid,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  
  .about-photo {
    max-width: 520px;
    width: calc(100% - 24px);
    margin: auto;
  }
  
  .about-photo > img {
    height: 530px;
  }
  
  .photo-seal {
    right: -23px;
    width: 110px;
    height: 110px;
  }
  
  .photo-seal em {
    font-size: 29px;
  }
  
  .about-copy {
    max-width: 600px;
  }
  
  h2 {
    font-size: 33px;
    letter-spacing: -.8px;
  }
  
  .section-head {
    gap: 23px;
    align-items: flex-start;
    flex-direction: column;
  }
  
  .section-head > p {
    font-size: 15px;
  }
  
  .amenity-list {
    font-size: 13px;
    gap: 12px 22px;
    margin-top: 25px;
  }
  
  .gallery-grid {
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 160px 160px;
    gap: 12px;
  }
  
  .gallery-image > span {
    font-size: 24px;
    left: 17px;
    right: 17px;
    bottom: 14px;
  }
  
  .gallery-tabs {
    gap: 24px;
  }
  
  .tabs {
    gap: 26px;
  }
  
  .residence-panel {
    grid-template-columns: 1fr;
  }
  
  .residence-image > img {
    height: 370px;
    min-height: 0;
  }
  
  .residence-copy {
    padding: 32px;
  }
  
  .residence-copy > p {
    font-size: 15px;
  }
  
  .residence-copy h3 {
    font-size: 48px;
  }
  
  .plan-preview > button {
    width: 140px;
  }
  
  .plan-preview img {
    height: 105px;
  }
  
  .residence-copy > .btn {
    width: auto;
    min-width: 280px;
  }
  
  .floor-plan-strip {
    padding: 23px;
    gap: 20px;
    align-items: flex-start;
    flex-direction: column;
  }
  
  .coastal-banner {
    height: 380px;
  }
  
  .coastal-banner p {
    font-size: 47px;
  }
  
  .location-map {
    height: 420px;
  }
  
  .location-grid h2 {
    font-size: 33px;
  }
  
  .faq-grid {
    gap: 20px;
  }
  
  .contact-grid {
    gap: 42px;
  }
  
  .contact-info h2 {
    font-size: 37px;
  }
  
  .form-card {
    padding: 32px;
  }
  
  .footer-top {
    flex-wrap: wrap;
  }
  
  .footer-top > p {
    text-align: left;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-bottom p:last-child {
    text-align: left;
  }
  
  .floating-whatsapp {
    bottom: 16px;
    right: 15px;
  }
  
  .lightbox {
    height: 94svh;
  }
  
  .lightbox-toolbar {
    padding: 10px;
    gap: 8px;
  }
  
  .lightbox-toolbar strong {
    font-size: 13px;
    max-width: 200px;
  }
  
  .lightbox-controls {
    gap: 3px;
  }
  
  .lightbox button {
    min-width: 36px;
    height: 40px;
  }
  
  .lightbox-bottom {
    padding: 8px;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 655px;
  }
  
  .hero-content {
    padding-top: 76px;
  }
  
  .hero h1 {
    font-size: 81px;
  }
  
  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
    gap: 10px;
  }
  
  .hero-eyebrow > span {
    width: 10px;
  }
  
  .hero-sub {
    font-size: 22px;
  }
  
  .hero-description {
    font-size: 14px;
  }
  
  .hero-btns {
    gap: 23px;
    align-items: center;
  }
  
  .hero-btns .btn {
    font-size: 14px;
    padding: 13px 18px;
    gap: 20px;
  }
  
  .hero-text-link {
    font-size: 13px;
    gap: 10px;
  }
  
  .hero-place {
    font-size: 9px;
    letter-spacing: 1px;
    max-width: 200px;
  }
  
  .hero-pagination {
    gap: 9px;
  }
  
  .hero-dot {
    width: 22px;
  }
  
  .hero-bottom {
    bottom: 24px;
  }
  
  .hero-stat b {
    font-size: 31px;
  }
  
  .hero-stat b span {
    display: block;
    margin: 5px 0 0;
    font-size: 10px;
  }
  
  .hero-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .hero-stat small {
    font-size: 11px;
    margin-top: 7px;
  }
  
  .hero-stat b:not(:has(span)) {
    font-size: 30px;
  }
  
  .hero-stat:nth-child(3),
  .hero-stat:nth-child(4) {
    padding-top: 4px;
  }
  
  .nav-cta {
    font-size: 12px;
    padding: 8px 10px;
    gap: 12px;
  }
  
  .nav-cta span {
    font-size: 18px;
  }
  
  .header-row {
    gap: 8px;
  }
  
  .brand strong {
    font-size: 28px;
    letter-spacing: 3px;
  }
  
  .brand small {
    font-size: 8px;
    letter-spacing: 2.2px;
  }
  
  .burger {
    width: 34px;
    padding: 5px;
  }
  
  .about-photo > img {
    height: 435px;
  }
  
  .about-grid {
    gap: 36px;
  }
  
  .about-copy .lead {
    font-size: 20px;
  }
  
  .about-copy > p:not(.lead) {
    font-size: 15px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 270px 160px;
    gap: 10px;
  }
  
  .gallery-main {
    grid-column: span 2;
    grid-row: auto;
  }
  
  .gallery-image > span {
    font-size: 20px;
    left: 12px;
    right: 12px;
  }
  
  .gallery-main > span {
    font-size: 29px;
    left: 20px;
    right: 20px;
  }
  
  .gallery-image > span b {
    font-size: 18px;
  }
  
  .gallery-tabs {
    gap: 22px;
  }
  
  .filter-btn {
    font-size: 14px;
  }
  
  .gallery-foot {
    align-items: flex-start;
    gap: 14px;
  }
  
  .gallery-foot p {
    font-size: 11px;
    max-width: 190px;
  }
  
  .gallery-foot .text-link {
    font-size: 13px;
    white-space: nowrap;
    gap: 15px;
  }
  
  .residence-image > img {
    height: 280px;
  }
  
  .residence-copy {
    padding: 26px;
  }
  
  .residence-copy > .btn {
    min-width: 0;
    width: 100%;
  }
  
  .plan-preview {
    gap: 20px;
  }
  
  .plan-preview > button {
    width: 110px;
  }
  
  .residence-copy h3 {
    font-size: 41px;
  }
  
  .coastal-banner p {
    font-size: 39px;
  }
  
  .location-map {
    height: 340px;
  }
  
  .faq-grid summary {
    font-size: 15px;
  }
  
  .form-card {
    padding: 26px 22px;
  }
  
  .form-card h3 {
    font-size: 25px;
  }
  
  .lead-form {
    gap: 16px 13px;
  }
  
  .lead-form input:not([type=checkbox]),
  .lead-form select,
  .lead-form textarea {
    font-size: 19px;
    padding: 10px;
    min-height: 46px;
  }
  
  .lead-form .consent {
    font-size: 13px;
  }
  
  .contact-phones a {
    font-size: 18px;
  }
  
  .contact-info h2 {
    font-size: 33px;
  }
  
  .contact-actions .btn {
    padding: 11px 17px;
    font-size: 13px;
  }
  
  .footer-top {
    gap: 22px;
  }
  
  .footer-top > p {
    font-size: 12px;
  }
  
  .footer-top > .text-link {
    margin-left: auto;
  }
  
  .site-footer {
    padding-bottom: 80px;
  }
  
  .floating-whatsapp {
    padding: 12px 14px;
    font-size: 13px;
  }
  
  .lightbox-toolbar strong {
    max-width: 130px;
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  
  .lightbox-toolbar > div > span {
    font-size: 12px;
  }
  
  .lightbox-controls {
    gap: 2px;
  }
  
  .lightbox button {
    min-width: 32px;
  }
  
  .lightbox #lightboxClose {
    margin-left: 2px;
  }
  
  .lightbox #zoomReset {
    padding: 0 6px;
    font-size: 12px;
  }
}

/* Keep the budget selector square to match the other form fields. */
#leadForm #budget {
  border-radius: 0;
  background: #fcfaf6;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

/* Gallery cards no longer carry captions, so keep the source images unobscured. */
.gallery-image:after {
  display: none;
}

/* The architecture photo is now presented cleanly without labels or badges. */
.about-photo {
  padding-bottom: 0;
}

/* Fit the supplied logo and its transparent margins within the existing header. */
.site-header .brand-logo {
  width: 200px;
  height: 60px;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.footer-top .brand-logo {
  width: 200px;
  height: 60px;
  flex-shrink: 0;
  overflow: hidden;
}

@media (max-width: 800px) {
  .site-header .brand-logo {
    width: 165px;
    height: 51px;
  }
}

@media (max-width: 480px) {
  .site-header .brand-logo {
    width: 140px;
    height: 44px;
  }
}

/* Contact layout adapted from the sample, using the site's cream and brown palette. */
#contact .contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: start;
}

#contact .contact-info,
#contact .form-card {
  min-width: 0;
}

#contact .contact-info h2 em {
  display: block;
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: 0;
  margin-top: 12px;
}

#contact .contact-info > p {
  max-width: 490px;
}

#contact .cinfo-blocks {
  margin-top: 34px;
  border-top: 1px solid #75614e;
}

#contact .cinfo-block {
  padding: 21px 0;
  border-bottom: 1px solid #75614e;
  font-size: 14px;
  color: #e2d7c9;
}

#contact .cinfo-block h3 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--sand);
  margin-bottom: 10px;
}

#contact .cinfo-block p + p {
  margin-top: 8px;
}

#contact .contact-phone-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

#contact .contact-phone-row span {
  font-size: 13px;
  color: #d0c5b8;
}

#contact .contact-phone-row a {
  font-size: 18px;
  white-space: nowrap;
}

#contact .cinfo-block a {
  overflow-wrap: anywhere;
}

#contact .cinfo-block a:hover,
#contact .contact-channels a:hover {
  color: var(--sand);
}

#contact .contact-office-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

#contact .contact-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 25px;
  font-size: 12px;
}

#contact .contact-channels a {
  padding: 6px 0;
  border-bottom: 1px solid #8c796a;
}

#contact .form-card {
  border-top: 3px solid var(--sand);
}

#contact .form-card .sub {
  font-size: 13px;
  line-height: 1.9;
}

#contact .lead-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
}

#contact .lead-form > label {
  min-width: 0;
}

@media (max-width: 1100px) {
  #contact .contact-grid {
    gap: 40px;
  }
  
  #contact .contact-info h2 em {
    font-size: 38px;
  }
}

@media (max-width: 800px) {
  #contact .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }
  
  #contact .contact-info > p {
    max-width: 600px;
  }
}

@media (max-width: 480px) {
  #contact .contact-info h2 em {
    font-size: 35px;
  }
  
  #contact .lead-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
  }
  
  #contact .contact-phone-row a {
    font-size: 18px;
  }
}

/* Keep the lightbox controls in the upper-right corner of the frame. */
.lightbox-toolbar {
  position: relative;
  justify-content: space-between;
}

.lightbox-controls {
  position: static;
  transform: none;
}

@media (max-width: 480px) {
  .lightbox-toolbar strong {
    max-width: 96px;
  }
  
  .lightbox-controls {
    gap: 3px;
  }
}

/* The embedded map is the location action; remove the redundant search link. */
#location .location-grid > div:first-child > a.text-link {
  display: none;
}

/* Keep the email label and address on one line in the contact details. */
#contact .cinfo-block:nth-child(2) {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: nowrap;
}

#contact .cinfo-block:nth-child(2) h3 {
  margin-bottom: 0;
  flex-shrink: 0;
}

#contact .cinfo-block:nth-child(2) a {
  white-space: nowrap;
}

/* Floor plans have their own section and navigation entry. */
#offers .floor-plan-strip {
  display: none;
}

.floor-plan-section {
  background: var(--taupe);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.floor-plan-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}

.floor-plan-content h2 {
  font-size: 38px;
}

.floor-plan-content h2 em {
  font-size: .9em;
}

.floor-plan-content p {
  max-width: 540px;
  color: var(--muted);
  font-size: 15px;
  margin-top: 20px;
}

.floor-plan-content > .btn {
  flex-shrink: 0;
  min-width: 220px;
}

@media (max-width: 800px) {
  .floor-plan-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }
  
  .floor-plan-content h2 {
    font-size: 33px;
  }
  
  .floor-plan-content > .btn {
    width: 100%;
  }
}

/* Show the first floor plan as a clickable preview in its dedicated section. */
.floor-plan-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  align-items: center;
  gap: 64px;
}

.floor-plan-copy {
  min-width: 0;
}

.floor-plan-copy p {
  max-width: 540px;
}

.floor-plan-action {
  margin-top: 28px;
  min-width: 220px;
}

.floor-plan-preview {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.floor-plan-preview img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: contain;
  background: #fff;
  transition: transform .5s ease;
}

.floor-plan-preview:hover img,
.floor-plan-preview:focus-visible img {
  transform: scale(1.025);
}

.floor-plan-preview span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(71, 55, 45, .9);
  color: #fff;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.1;
}

.floor-plan-preview span b {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 400;
}

@media (max-width: 800px) {
  .floor-plan-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  
  .floor-plan-action {
    width: 100%;
  }
  
  .floor-plan-preview img {
    height: 300px;
  }
}

/* Language switcher kept compact so it does not enlarge the navigation bar. */
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .5px;
}

.language-switcher button {
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 13px;
  line-height: 1;
  opacity: .65;
}

.language-switcher button.active {
  color: var(--brown);
  font-weight: 700;
  opacity: 1;
}

.language-switcher button:hover,
.language-switcher button:focus-visible {
  color: var(--brown);
  opacity: 1;
}

.mobile-language {
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 14px;
}

@media (max-width: 1100px) and (min-width: 801px) {
  .header-language {
    margin-left: auto;
  }
  
  .nav-links {
    gap: 20px;
  }
  
  .language-switcher {
    font-size: 12px;
  }
}

@media (max-width: 800px) {
  .header-language {
    display: none;
  }
  
  .mobile-language {
    display: flex;
  }
}

/* Tighten the selected section headings while keeping Thai glyphs readable. */
.about-copy h2,
#gallery .section-head h2,
#offers .section-head h2,
#floor-plan h2,
#location h2 {
  line-height: 1.26;
}

.unit-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 10px 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.unit-size {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}

.unit-price-label {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

.unit-price {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .2px;
  color: var(--ink);
}

@media (max-width: 480px) {
  .unit-size {
    font-size: 15px;
  }
  
  .unit-price {
    font-size: 20px;
  }
}

.nav-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background .25s, color .25s, transform .25s, box-shadow .25s;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 249, 240, .24) 48%, transparent 76%);
  transform: translateX(-125%);
  transition: transform .65s ease;
}

.nav-cta::before {
  animation: navCtaShine 3.2s ease-in-out infinite;
}

@keyframes navCtaShine {
  0%,
  22% {
    transform: translateX(-125%);
  }
  62%,
  100% {
    transform: translateX(125%);
  }
}

.nav-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(69, 60, 51, .2);
}

.nav-cta:hover::before {
  transform: translateX(125%);
}

.nav-cta span {
  display: inline-block;
  transition: transform .3s ease;
}

.nav-cta:hover span {
  transform: translate(4px, -4px);
}

.nav-cta:active {
  transform: translateY(-1px) scale(.98);
}

@media (prefers-reduced-motion: reduce) {
  .nav-cta,
  .nav-cta::before,
  .nav-cta span {
    transition: none;
    animation: none;
  }
  
  .nav-cta:hover {
    transform: none;
  }
}

/* Lucean Bay PHP migration: keep the template structure, replace the visual system. */
:root {
  --cream: #eaf5ff;
  --paper: #f7fbff;
  --taupe: #d9eafb;
  --ink: #071b3a;
  --muted: #466080;
  --brown: #0a326f;
  --sand: #d9ba6d;
  --line: rgba(27, 67, 126, .2);
}

body {
  background: linear-gradient(180deg, #eaf5ff 0%, #d8ebfb 56%, #07306f 100%);
  color: var(--ink);
}

.site-header {
  background: linear-gradient(90deg, #061329, #112947 52%, #061329);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  color: #f7fbff;
}

.nav-links a:after {
  background: var(--sand);
}

.burger span {
  background: #f7fbff;
}

.site-header .brand-logo {
  width: 236px;
  height: 80px;
  overflow: visible;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: brightness(0) invert(1);
}

.footer-top .brand-logo {
  width: 210px;
  height: 116px;
  overflow: visible;
}

.footer-top .brand-logo img {
  object-fit: contain;
}

.hero {
  height: 760px;
  min-height: 650px;
  background: #061329;
  color: #fff;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(2, 11, 28, .83), rgba(8, 31, 64, .52) 47%, rgba(8, 31, 64, .1)), linear-gradient(0deg, rgba(2, 11, 28, .58), transparent 50%);
}

.hero-content {
  padding-top: 96px;
}

.hero h1 {
  font-size: clamp(72px, 9vw, 132px);
  line-height: .9;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero h1 em {
  color: #fff;
}

.hero-location-title {
  font-family: var(--serif);
  font-size: clamp(34px, 3.2vw, 50px);
  font-weight: 400;
  line-height: 1;
  margin-top: 12px;
  color: #fff;
}

.hero-sub {
  font-size: clamp(22px, 2.2vw, 34px);
  max-width: 720px;
  margin-top: 24px;
}

.hero-description {
  font-size: 19px;
  line-height: 1.65;
  max-width: 680px;
  color: #f0f6ff;
}

.facts-bar {
  background: #061329;
  color: #f7fbff;
  border-color: rgba(255, 255, 255, .12);
}

.hero-stat {
  border-color: rgba(255, 255, 255, .16);
}

.hero-stat small {
  color: #c7d7ea;
}

.hero-stat b {
  color: #fff;
}

.section-taupe,
.floor-plan-section,
.faq-section {
  background: linear-gradient(180deg, #eaf5ff, #d9eafb);
}

.eyebrow {
  color: #b89143;
  letter-spacing: 4.2px;
}

h2 em {
  color: #0d54a0;
}

.btn-primary {
  background: linear-gradient(135deg, #0a326f, #0c58a7);
  color: #fff;
}

.btn-primary:hover {
  background: #0d4d96;
}

.btn-sand {
  background: linear-gradient(135deg, #f0d889, #c79a35);
  color: #071b3a;
}

.btn-outline {
  border-color: #5f7ea8;
  color: #0a326f;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}

#about {
  background: #061329;
  color: #fff;
}

#about .about-photo {
  background: #061329 url('../../Pic/Hero/1.jpg') center/cover no-repeat;
}

#about .about-photo:after {
  background: linear-gradient(90deg, rgba(2, 11, 28, .86), rgba(7, 28, 60, .62) 42%, rgba(7, 28, 60, .1));
}

#about .about-copy .eyebrow,
#about .about-note > span:first-child,
#about .about-copy > .text-link {
  color: #e7c875;
  border-color: #e7c875;
}

#contact.section-dark {
  background: linear-gradient(135deg, #061329 0%, #073a78 62%, #061329 100%);
  color: #fff;
}

#contact .form-card {
  background: #eaf5ff;
  color: #071b3a;
  border-top-color: var(--sand);
}

#contact .cinfo-block,
#contact .cinfo-blocks {
  border-color: rgba(255, 255, 255, .22);
}

#contact .cinfo-block h3 {
  color: #e7c875;
}

.site-footer {
  background: #061329;
  color: #fff;
}

.footer-top > p,
.footer-bottom p {
  color: #d7e5f4;
}

.footer-bottom {
  border-color: rgba(255, 255, 255, .14);
}

.floating-whatsapp {
  background: #12b56f;
  color: white;
  border: 0;
}

.floating-whatsapp:hover {
  background: #0e9f61;
}

.language-switcher button.active {
  color: #e7c875;
}

@media (max-width: 800px) {
  .site-header .brand-logo {
    width: 166px;
    height: 64px;
  }
  
  .hero {
    height: 690px;
  }
  
  .hero-content {
    padding-top: 86px;
  }
  
  .hero h1 {
    font-size: clamp(52px, 14vw, 86px);
    white-space: nowrap;
  }
  
  .hero-description {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .site-header .brand-logo {
    width: 142px;
    height: 56px;
  }
  
  .hero h1 {
    font-size: clamp(42px, 13vw, 64px);
  }
  
  .hero-sub {
    font-size: 20px;
  }
  
  .hero-description {
    font-size: 15px;
  }
}

#location .location-grid {
  align-items: start;
}

.location-access-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1240px, calc(100% - 104px));
  gap: 28px 34px;
  margin: 35px auto 0;
}

.location-access-grid article {
  min-width: 0;
  border-top: 1px solid rgba(10, 50, 111, .24);
  padding-top: 20px;
}

.location-access-grid h3 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .4px;
  line-height: 1.25;
  text-transform: uppercase;
  color: #071b3a;
  margin-bottom: 18px;
}

.location-access-grid dl {
  margin: 0;
}

.location-access-grid div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  margin-top: 7px;
}

.location-access-grid dt,
.location-access-grid dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}

.location-access-grid dt {
  color: #234db4;
  overflow-wrap: anywhere;
}

.location-access-grid dd {
  color: #071b3a;
  font-weight: 700;
  white-space: nowrap;
}

.location-note {
  width: min(1240px, calc(100% - 104px));
  margin: 36px auto 0;
  text-align: center;
  color: #425f8c;
  font-size: 13px;
}

.map-directions {
  width: 100%;
  margin-top: 14px;
  gap: 18px;
}

#location .location-grid h2 {
  font-family: var(--serif);
  font-size: clamp(54px, 5.5vw, 82px);
  line-height: .95;
  letter-spacing: 0;
  text-transform: uppercase;
}

#location .location-grid h2 em {
  color: #5b77d6;
  font-style: italic;
}

#location .location-grid > div:first-child > p {
  max-width: 560px;
  color: #071b3a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .4px;
  line-height: 1.75;
  text-transform: uppercase;
}

.location-timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding-left: 34px;
}

.location-timeline:before {
  content: '';
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 12px;
  width: 1px;
  background: rgba(10, 50, 111, .28);
}

.location-timeline > div {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  border: 0;
  padding: 13px 0 18px;
}

.location-timeline > div:before {
  content: '';
  position: absolute;
  left: -33px;
  top: 24px;
  width: 22px;
  height: 22px;
  border: 1px solid #071b3a;
  border-radius: 50%;
  background: radial-gradient(circle, #071b3a 0 2px, transparent 3px), #eaf5ff;
  box-shadow: 0 0 0 5px #eaf5ff;
}

.location-timeline > div > span:first-child {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: #071b3a;
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
}

.location-timeline > div > span:first-child small {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.location-timeline p {
  margin: 0;
}

.location-timeline strong {
  color: #071b3a;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
}

@media (max-width: 1100px) {
  .location-access-grid {
    width: calc(100% - 64px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 36px;
  }
  
  .location-note {
    width: calc(100% - 64px);
  }
}

@media (max-width: 800px) {
  .location-access-grid {
    width: calc(100% - 44px);
    margin-top: 32px;
  }
  
  .location-note {
    width: calc(100% - 44px);
  }
  
  #location .location-grid h2 {
    font-size: clamp(42px, 11vw, 62px);
  }
}

@media (max-width: 560px) {
  .location-access-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  
  .access-icon {
    margin-inline: 0 auto;
  }
  
  .location-access-grid h3 {
    margin-bottom: 16px;
  }
  
  .location-access-grid dt,
  .location-access-grid dd {
    font-size: 13px;
  }
  
  .location-timeline {
    padding-left: 28px;
  }
  
  .location-timeline > div {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px;
  }
  
  .location-timeline > div > span:first-child {
    font-size: 32px;
  }
  
  .location-timeline strong {
    font-size: 19px;
  }
}

@media (max-width: 800px) {
  .site-footer .footer-top {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .site-footer .footer-top .brand-logo {
    margin-inline: auto;
  }
  
  .site-footer .footer-top > p {
    text-align: center;
  }
  
  .site-footer .footer-top > .text-link {
    margin-inline: auto;
  }
}

/* Present the About section as a wide banner with the project story on the left. */
#about {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  background: #384038;
  color: var(--cream);
}

#about.section-space {
  padding: 0;
}

#about .about-grid {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  min-height: 700px;
}

#about .about-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: #384038 url('../../soondri-wongamat-banner.webp') center / cover no-repeat;
  overflow: hidden;
}

#about .about-photo > img {
  display: block;
  width: 100%;
  min-width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  background: #384038;
}

#about .about-photo:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 25, 22, .83) 0%, rgba(20, 25, 22, .65) 30%, rgba(20, 25, 22, .2) 62%, rgba(20, 25, 22, .12) 100%);
}

#about .about-copy {
  position: relative;
  z-index: 1;
  width: min(530px, 52%);
  padding: 104px 0 96px max(52px, calc((100vw - 1240px) / 2));
  color: var(--cream);
}

#about .about-copy .eyebrow {
  color: #e1c9ab;
}

#about .about-copy h2 em {
  color: #ead4b6;
}

#about .about-copy .lead {
  color: #fff9f0;
}

#about .about-copy > p:not(.lead) {
  color: rgba(255, 249, 240, .82);
}

#about .about-note {
  border-color: rgba(255, 249, 240, .35);
}

#about .about-note > span:first-child {
  color: #e4cdb0;
}

#about .about-copy > .text-link {
  color: #fff9f0;
  border-color: #e4cdb0;
}

@media (min-width: 801px) {
  #about {
    min-height: clamp(700px, calc(100svh - 90px), 920px);
  }
  
  #about .about-grid {
    min-height: inherit;
  }
  
  #about .about-copy {
    width: min(582px, 54vw);
    padding-top: clamp(104px, 10vh, 150px);
    padding-bottom: clamp(96px, 9vh, 136px);
    padding-left: clamp(52px, calc((100vw - 1240px) / 2), 120px);
  }
}

@media (max-width: 800px) {
  #about {
    min-height: 760px;
  }
  
  #about .about-grid {
    min-height: 760px;
  }
  
  #about .about-copy {
    width: auto;
    padding: 76px 22px 72px;
  }
  
  #about .about-photo > img {
    object-position: 72% center;
  }
  
  #about .about-photo:after {
    background: linear-gradient(90deg, rgba(16, 20, 17, .9) 0%, rgba(16, 20, 17, .66) 43%, rgba(16, 20, 17, .18) 100%);
  }
}

/* Frame the FAQ feature image beneath the introductory copy. */
.faq-grid > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.faq-feature-image {
  position: relative;
  width: min(100%, 370px);
  margin: 34px 0 0;
  padding: 9px;
  background: var(--paper);
  border: 1px solid #cdbca8;
  box-shadow: 0 16px 34px rgba(69, 60, 51, .16);
}

.faq-feature-image:before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(172, 137, 99, .45);
  pointer-events: none;
}

.faq-feature-image img {
  display: block;
  width: 100%;
  height: 350px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 35%;
  filter: saturate(.86) contrast(1.02);
}

.faq-feature-image figcaption {
  padding: 12px 8px 4px;
  color: var(--brown);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2.6px;
}

@media (max-width: 800px) {
  .faq-feature-image {
    width: min(100%, 430px);
    margin-top: 28px;
  }
  
  .faq-feature-image img {
    height: min(410px, calc(100vw - 66px));
  }
}

/* Keep the two-line FAQ and contact headings compact and easy to scan. */
.faq-grid h2,
#contact-title {
  line-height: 1.1;
}

/* Place the FAQ introduction above the questions on the right, with the image on the left. */
.faq-grid {
  align-items: stretch;
}

.faq-grid > div:first-child {
  display: block;
}

.faq-content {
  grid-column: 2;
  grid-row: 1;
}

.faq-media {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  align-self: stretch;
}

.faq-intro > p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 14px;
}

.faq-list {
  margin-top: 28px;
}

.faq-media .faq-feature-image {
  width: min(100%, 430px);
  height: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.faq-media .faq-feature-image:before {
  display: none;
}

.faq-media .faq-feature-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 450px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 50% 35%;
  filter: saturate(.86) contrast(1.02);
}

.faq-media .faq-feature-image figcaption {
  display: none;
}

@media (max-width: 800px) {
  .faq-content {
    grid-column: 1;
    grid-row: 1;
  }
  
  .faq-media {
    grid-column: 1;
    grid-row: 2;
  }
  
  .faq-media .faq-feature-image {
    width: min(100%, 350px);
  }
  
  .faq-media .faq-feature-image img {
    height: min(350px, calc(100vw - 44px));
  }
}

/* Final polish from the marked browser comments. */
#gallery .section-head h2,
#offers .section-head h2,
#floor-plan h2,
#location h2,
#faq .faq-intro h2 {
  font-family: var(--serif);
  letter-spacing: 0;
  line-height: 1.04;
}

#gallery .amenity-list {
  justify-content: center;
  text-align: center;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.35;
}

#faq .faq-intro > p,
#faq .faq-list summary {
  line-height: 1.1;
}

#faq .faq-list details > p {
  line-height: 1.25;
}

@media (min-width: 801px) {
  #about .about-grid {
    --about-copy-offset: max(82px, calc((100vw - 1240px) / 2 + 30px));
  }
  
  #about .about-copy {
    width: min(582px, calc(100% - var(--about-copy-offset) - 52px));
    margin-left: var(--about-copy-offset);
    padding-left: 0;
  }
}

@media (max-width: 800px) {
  #gallery .amenity-list {
    font-size: 18px;
  }
}

#contact .cinfo-blocks .cinfo-block:nth-child(2) {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

#contact .cinfo-blocks .cinfo-block:nth-child(2) h3 {
  margin: 0;
}

#contact .cinfo-blocks .cinfo-block:nth-child(2) a {
  margin-left: auto;
  font-size: 18px;
  line-height: 1.4;
  text-align: right;
}

.footer-bottom p:last-child {
  max-width: 560px;
}

@media (max-width: 1180px) and (min-width: 801px) {
  .header-row {
    gap: 14px;
  }

  .site-header .brand-logo {
    width: 176px;
    height: 64px;
  }

  .nav-links {
    gap: 14px;
    font-size: 13px;
    line-height: 1;
    flex: 0 1 auto;
  }

  .nav-links a {
    padding-block: 10px;
  }

  .header-language {
    margin-left: 0;
  }

  .language-switcher,
  .language-switcher button {
    font-size: 11px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 8px 13px;
    gap: 14px;
    font-size: 12px;
    white-space: nowrap;
  }
}

.facts-bar .hero-stat b {
  font-family: var(--serif);
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .facts-bar .hero-stat b {
    font-size: clamp(20px, 2.15vw, 24px);
  }
}

@media (max-width: 800px) {
  .facts-bar .hero-stat b {
    font-size: clamp(22px, 4.6vw, 30px);
  }
}

@media (max-width: 900px) and (min-width: 641px) {
  .facts-bar .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }

  .facts-bar .hero-stat:nth-child(2) {
    border-right: 0;
  }

  .facts-bar .hero-stat:nth-child(3),
  .facts-bar .hero-stat:nth-child(4) {
    padding-top: 4px;
  }

  .facts-bar .hero-stat b {
    font-size: clamp(25px, 3.4vw, 30px);
  }
}

@media (max-width: 640px) {
  .facts-bar .hero-stats {
    grid-template-columns: 1fr;
    row-gap: 0;
    padding: 22px 0;
  }

  .facts-bar .hero-stat,
  .facts-bar .hero-stat:first-child,
  .facts-bar .hero-stat:last-child {
    min-width: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    padding: 17px 0;
  }

  .facts-bar .hero-stat:last-child {
    border-bottom: 0;
  }

  .facts-bar .hero-stat b {
    font-size: clamp(24px, 7vw, 30px);
  }

  .facts-bar .hero-stat small {
    max-width: 100%;
    line-height: 1.45;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .facts-bar .hero-stat b {
    font-size: clamp(22px, 7vw, 28px);
  }
}

html[lang="th"] body,
html[lang="th"] body * {
  letter-spacing: 0 !important;
}

/* ===== Fix: WhatsApp floating button icon ===== */
.floating-whatsapp {
  white-space: nowrap;
  line-height: 1;
}

.floating-whatsapp > svg,
.floating-whatsapp > img,
.floating-whatsapp > i,
.floating-whatsapp .wa-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  max-width: none;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  margin: 0;
}

@media (max-width: 800px) {
  .floating-whatsapp > svg,
  .floating-whatsapp > img,
  .floating-whatsapp > i,
  .floating-whatsapp .wa-icon {
    flex-basis: 22px;
    width: 22px;
    height: 22px;
  }
}

/* ===== Success popup after lead form ===== */
.success-dialog {
  width: min(420px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(2, 12, 32, .45);
  overflow: hidden;
}

.success-dialog::backdrop {
  background: rgba(3, 12, 30, .72);
  backdrop-filter: blur(2px);
}

.success-dialog[open] {
  animation: successPop .25s ease-out;
}

@keyframes successPop {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

.success-dialog-body {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 34px 28px 28px;
  text-align: center;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #12b56f;
  color: #fff;
}

.success-dialog h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  color: var(--brown);
}

.success-dialog p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.success-dialog .btn {
  gap: 0;
  min-width: 140px;
  margin-top: 6px;
  cursor: pointer;
}

/* ===== Project information section ===== */
.project-info {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-info-head {
  margin-bottom: 44px;
}

.project-info-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: start;
}

.spec-list {
  margin: 0;
}

.spec-list > div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.spec-list > div:last-child {
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}

.spec-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

.spec-list dd p + p {
  margin-top: 4px;
}

.project-info-side h3,
.facility-heading {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

.project-info-side ul,
.facility-level ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.unit-sizes {
  margin-bottom: 36px !important;
}

.unit-sizes li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.unit-sizes li:last-child {
  border-bottom: 1px solid var(--line);
}

.unit-sizes b {
  font-weight: 600;
  color: var(--brown);
  white-space: nowrap;
}

.unit-sizes small {
  font-size: 12px;
  font-weight: 500;
}

.project-highlights li {
  position: relative;
  padding: 9px 0 9px 22px;
  font-size: 15px;
  line-height: 1.55;
}

.project-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c79a35;
}

.facility-heading {
  margin-top: 64px;
}

.facility-levels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.facility-level {
  padding: 26px 22px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.facility-level .eyebrow {
  margin-bottom: 8px;
  font-size: 12px;
}

.facility-level h4 {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.35;
  color: var(--brown);
}

.facility-level li {
  padding: 5px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}

@media (max-width: 1100px) {
  .facility-levels { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .project-info-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 600px) {
  .spec-list > div { grid-template-columns: 1fr; gap: 6px; }
  .facility-levels { grid-template-columns: 1fr; }
}
