@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/Sarabun-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/Sarabun-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/Sarabun-Bold.ttf') format('truetype');
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Sarabun', Arial, sans-serif;
}

body {
  background: #f4f7fb;
  color: #1b263b;
  line-height: 1.5;
}

.container {
  width: min(1180px, 94%);
  margin: 0 auto;
  padding: 14px 0;
}

.subtitle {
  color: #5a6984;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  font-weight: 700;
  color: #2a3550;
}

.menu {
  display: flex;
  gap: 18px;
}

.menu a {
  color: #3d4d68;
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-cta {
  text-decoration: none;
  border-radius: 8px;
  padding: 8px 12px;
  background: #3f5f8f;
  color: #fff;
  font-weight: 600;
}

.search-strip {
  background: #fff;
  border: 1px solid #dfe5ef;
  border-radius: 12px;
  padding: 10px;
  display: grid;
  grid-template-columns: 1.3fr repeat(4, auto) auto;
  gap: 8px;
  align-items: center;
}

.search-strip input {
  border: 1px solid #d7dfea;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  color: #1b263b;
}

.chip {
  background: #f3f6fb;
  color: #3f4e69;
  border: 1px solid #d5deec;
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 0.9rem;
}

.search-btn {
  border-radius: 8px;
  border: none;
  padding: 10px 12px;
  background: #3f5f8f;
  color: #fff;
  font-weight: 600;
}

.marketplace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 14px;
  align-items: start;
}

.left-column {
  display: grid;
  gap: 14px;
}

.card {
  background: #fff;
  border: 1px solid #e0e7f1;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(22, 35, 64, 0.06);
}

h1,
h2 {
  margin-bottom: 10px;
  color: #1f2a44;
}

.listing-main h1 {
  font-size: 1.5rem;
}

.hero-kicker {
  display: inline-block;
  background: #f7eee9;
  border: 1px solid #e9c9bb;
  color: #9f4f2f;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  margin-bottom: 8px;
}

.location-line {
  color: #596781;
  font-size: 0.95rem;
}

.form {
  display: grid;
  gap: 10px;
}

.compact-form {
  opacity: 0.9;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  color: #374760;
}

input {
  background: #fff;
  color: #1b263b;
  border: 1px solid #d7dfea;
  border-radius: 8px;
  padding: 9px;
}

button {
  border: none;
  border-radius: 8px;
  background: #3f5f8f;
  color: #fff;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 600;
}

button:hover {
  filter: brightness(1.08);
}

.price-tag {
  font-size: 1.45rem;
  font-weight: 700;
  color: #1f2a44;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.badge {
  background: #f3f6fb;
  color: #38465f;
  border: 1px solid #dbe4f1;
  border-radius: 999px;
  font-size: 0.82rem;
  padding: 5px 10px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.inline-link {
  background: transparent;
  color: #3f5f8f;
  border: 1px solid #c8d4e7;
  padding: 7px 10px;
  font-weight: 600;
  font-size: 0.85rem;
}

ul {
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: #34435e;
}

.result {
  margin-top: 12px;
  padding: 10px;
  border-radius: 8px;
  background: #f9fbff;
  border: 1px solid #dde6f3;
  min-height: 46px;
  color: #33445f;
}

.contact-panel {
  position: sticky;
  top: 12px;
}

.gallery {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gallery img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #d8e2f0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.gallery img:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.internal-panel {
  background: #f9fbff;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 20, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 20;
}

.modal img {
  width: min(100%, 960px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid #354862;
}

.modal.show {
  display: flex;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #3f5f8f;
  border: none;
  border-radius: 8px;
  padding: 8px 10px;
  color: #fff;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(63, 95, 143, 0.92);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.modal-nav.prev {
  left: 16px;
}

.modal-nav.next {
  right: 16px;
}

details {
  margin-top: 8px;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fbfcff;
}

summary {
  cursor: pointer;
  font-weight: 600;
  color: #263550;
}

.faq-list dt {
  font-weight: 700;
  color: #263550;
  margin-top: 14px;
}

.faq-list dd {
  margin: 6px 0 0 0;
  color: #5a6984;
}

@media (max-width: 980px) {
  .search-strip {
    grid-template-columns: 1fr 1fr;
  }

  .marketplace {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    position: static;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .menu {
    display: none;
  }

  .search-strip {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
  }
}

.lang-toggle-btn {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 999;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
}

/* Final presentation layer — keeps the existing lead/gallery application intact. */
:root {
  --ink: #172033;
  --muted: #5f6c80;
  --navy: #203a5f;
  --navy-deep: #142b49;
  --warm: #b8683d;
  --warm-soft: #fff1e8;
  --line: #dce4ed;
  --paper: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  background: linear-gradient(180deg, #f8fafc 0, #eef3f7 100%);
  color: var(--ink);
  line-height: 1.65;
}

a, button, input, select, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(184, 104, 61, .4);
  outline-offset: 3px;
}

.top-nav {
  min-height: 76px;
  padding-inline: 18px;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(32,58,95,.1);
  position: sticky;
  top: 0;
  z-index: 12;
  width: 100%;
  max-width: none;
  backdrop-filter: blur(12px);
}
.top-nav > *:first-child { margin-left: max(0px, calc((100vw - 1180px) / 2)); }
.top-nav > *:last-child { margin-right: max(48px, calc((100vw - 1180px) / 2)); }
.brand { color: var(--navy-deep); font-size: 1.08rem; letter-spacing: .02em; }
.menu a { color: #43536b; font-weight: 600; padding: 12px 4px; }
.menu a:hover { color: var(--warm); }
.nav-cta, .primary-cta { background: var(--warm); color: #fff; box-shadow: 0 10px 25px rgba(184,104,61,.22); }
.nav-cta { padding: 11px 17px; }

.search-strip, .listing-main { display: none; }

.property-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 0;
  padding: 34px 0 26px;
}
.hero-photo-wrap {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: 24px 0 0 24px;
  background: #dfe7ef;
}
.hero-photo-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(transparent, rgba(11,25,43,.55));
}
.hero-photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-label {
  position: absolute; left: 22px; bottom: 22px; z-index: 1;
  padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.92);
  color: var(--navy-deep); font-weight: 700; font-size: .9rem;
}
.hero-content {
  padding: clamp(30px, 4vw, 58px);
  background: var(--navy-deep);
  color: #fff;
  border-radius: 0 24px 24px 0;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-eyebrow, .section-kicker {
  color: #dc976f; text-transform: uppercase; letter-spacing: .11em; font-weight: 700; font-size: .78rem;
}
.hero-content h1 { color: #fff; font-size: clamp(2rem, 3.5vw, 3.35rem); line-height: 1.16; margin: 10px 0 16px; }
.hero-summary { color: #d7e1ee; font-size: 1.05rem; }
.hero-price { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0; }
.hero-price span:first-child { font-size: 1.45rem; font-weight: 700; }
.hero-price span:last-child { align-self: center; color: #ffcfb4; font-weight: 600; }
.hero-facts { display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid rgba(255,255,255,.16); padding: 16px 0; }
.hero-facts div { display: grid; text-align: center; border-right: 1px solid rgba(255,255,255,.14); }
.hero-facts div:last-child { border-right: 0; }
.hero-facts strong { font-size: 1.2rem; }
.hero-facts span { color: #cbd7e6; font-size: .78rem; }
.hero-location { color: #cbd7e6; margin: 16px 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions a { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 19px; border-radius: 9px; text-decoration: none; font-weight: 700; }
.secondary-cta { color: #fff; border: 1px solid rgba(255,255,255,.45); }
.trust-line { color: #aebed1; margin-top: 14px; font-size: .84rem; }

.marketplace { gap: 22px; padding-top: 8px; padding-bottom: 48px; }
.left-column { gap: 22px; }
.card { border: 1px solid rgba(32,58,95,.1); border-radius: 18px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 14px 35px rgba(20,43,73,.07); }
h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); color: var(--navy-deep); }
.section-head { margin-bottom: 16px; }
.gallery { grid-template-columns: 1.45fr 1fr 1fr; grid-auto-rows: 180px; gap: 12px; }
.gallery img { height: 100%; border-radius: 12px; }
.gallery img:first-child { grid-row: span 2; }
.inline-link { min-height: 44px; color: var(--navy); }

.section-intro { margin-bottom: 20px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.value-grid > div { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #f8fafc; }
.value-grid span { color: var(--warm); font-weight: 700; font-size: .78rem; }
.value-grid h3 { color: var(--navy-deep); margin: 8px 0; font-size: 1.08rem; }
.value-grid p, .location-section p { color: var(--muted); }
.location-section { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; background: linear-gradient(135deg,#fff,#f3f7fa); }
.location-points { display: flex; flex-wrap: wrap; gap: 9px; }
.location-points span { padding: 9px 12px; border-radius: 999px; background: #e6edf5; color: var(--navy); font-weight: 600; }

.left-column > article.card:nth-of-type(5) li { margin-block: 3px; }
.faq-list dd { line-height: 1.7; }
.internal-panel { display: none; }
.contact-panel { top: 94px; border-top: 4px solid var(--warm); }
.contact-panel h2 { font-size: 1.45rem; }
.form input, .form select { width: 100%; min-height: 46px; border: 1px solid #cbd6e2; border-radius: 9px; padding: 10px 12px; background: #fff; }
.form button { min-height: 48px; background: var(--warm); }
.result:empty { display: none; }
.lang-toggle-btn { top: 18px; right: 14px; min-width: 48px; min-height: 40px; z-index: 20; border-color: #cbd6e2; color: var(--navy-deep); }

@media (max-width: 980px) {
  .property-hero { grid-template-columns: 1fr; }
  .hero-photo-wrap { min-height: 430px; border-radius: 20px 20px 0 0; }
  .hero-content { border-radius: 0 0 20px 20px; }
  .marketplace { grid-template-columns: 1fr; }
  .contact-panel { position: static; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, 1180px); }
  .top-nav { width: 100%; padding-inline: 14px 64px; min-height: 66px; }
  .top-nav > *:first-child, .top-nav > *:last-child { margin: 0; }
  .top-nav .nav-cta { display: none; }
  .property-hero { padding-top: 16px; width: calc(100% - 20px); }
  .hero-photo-wrap { min-height: 310px; }
  .hero-content { padding: 26px 20px; }
  .hero-content h1 { font-size: 2rem; }
  .hero-facts { grid-template-columns: repeat(5, minmax(0,1fr)); }
  .hero-facts strong { font-size: 1rem; }
  .hero-facts span { font-size: .68rem; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery img:first-child { grid-column: span 2; grid-row: span 2; }
  .location-section { grid-template-columns: 1fr; }
  .card { padding: 20px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
/* Contextual related solution — intentionally compact to preserve the approved property presentation. */
.related-solutions{max-width:1180px;margin:1.5rem auto 3rem;padding:2rem;border:1px solid var(--border,#d9e0e8);border-radius:18px;background:linear-gradient(135deg,#f7fbf8,#eef7f1)}
.related-solutions h2{margin:.3rem 0 .7rem}.related-solutions p{max-width:720px}.related-solutions .primary-cta{display:inline-block;margin-top:.8rem}
@media(max-width:600px){.related-solutions{margin:1rem 1rem 2rem;padding:1.25rem}}
/* Premium Property visual refresh — behavior and verified facts unchanged */
:root{--property-ink:#17324a;--property-teal:#0f766e;--property-blue:#176b87;--property-mint:#dff4ef;--property-sand:#f8f4ec;--property-warm:#d98255;--property-border:#d8e5e3;--property-shadow:0 22px 55px rgba(22,54,72,.13)}
body{background:radial-gradient(circle at 95% 0,#dff5ee 0,transparent 32rem),linear-gradient(180deg,#fbfcfa,#f4f8f6 55%,#fbf6ef);color:var(--property-ink)}
.top-nav{padding:11px 0}.brand{color:var(--property-ink);font-size:1.08rem}.menu a{color:#496478}.nav-cta,.primary-cta{background:linear-gradient(135deg,var(--property-teal),var(--property-blue))!important;box-shadow:0 12px 28px rgba(15,118,110,.22)!important;border-radius:999px!important}.nav-cta:hover,.primary-cta:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(15,118,110,.28)!important}
.property-hero{background:#fff;border:1px solid rgba(15,118,110,.16);border-radius:28px;overflow:hidden;box-shadow:var(--property-shadow);gap:0!important}.hero-photo-wrap{border-radius:0!important;min-height:570px!important}.hero-photo-wrap::after{background:linear-gradient(180deg,transparent 48%,rgba(7,35,47,.52))}.hero-photo-wrap img{transition:transform .7s ease}.property-hero:hover .hero-photo-wrap img{transform:scale(1.018)}.photo-label{background:rgba(7,54,66,.82)!important;border:1px solid rgba(255,255,255,.28);backdrop-filter:blur(10px);border-radius:999px!important}
.hero-content{padding:clamp(1.5rem,4vw,3.1rem)!important;background:linear-gradient(145deg,#fff,#f6fbf9)}.hero-eyebrow{color:var(--property-teal)!important;letter-spacing:.12em}.hero-content h1{color:#14344a!important;font-size:clamp(2rem,3.6vw,3.6rem)!important;line-height:1.12!important}.hero-summary{color:#536d7c!important;font-size:1.08rem!important}.hero-price{background:linear-gradient(135deg,#edf9f5,#e7f3f8)!important;border:1px solid #cce5e0!important;color:var(--property-teal)!important;border-radius:14px!important}.hero-facts div{background:#fff!important;border:1px solid var(--property-border)!important;box-shadow:0 8px 22px rgba(22,54,72,.07);border-radius:14px!important}.hero-facts strong{color:var(--property-blue)!important}.secondary-cta{color:var(--property-teal)!important;border-color:#91c9c0!important;background:#fff!important;border-radius:999px!important}
.card{border:1px solid var(--property-border)!important;border-radius:20px!important;box-shadow:0 12px 35px rgba(22,54,72,.08)!important;background:rgba(255,255,255,.94)!important}.section-kicker,.hero-kicker{color:var(--property-teal)!important}.section-heading h2,.card h2{color:var(--property-ink)!important}
.gallery{gap:14px!important}.gallery img{border:3px solid #fff!important;border-radius:16px!important;box-shadow:0 12px 28px rgba(22,54,72,.13);filter:saturate(.96);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.gallery img:hover,.gallery img:focus{transform:translateY(-3px);border-color:#64b9ac!important;box-shadow:0 18px 36px rgba(15,118,110,.18)}
.contact-panel{border-top:4px solid var(--property-teal)!important;background:linear-gradient(150deg,#fff,#f0faf7)!important}.contact-panel .primary-cta{display:inline-flex;align-items:center;justify-content:center;padding:11px 18px;color:#fff;text-decoration:none}.form label{color:#29495d;font-weight:600}.form input,.form select{border:1px solid #cbdedb!important;background:#fff!important;border-radius:11px!important;min-height:46px}.form input:focus,.form select:focus{outline:3px solid rgba(15,118,110,.14);border-color:var(--property-teal)!important}.form button{background:linear-gradient(135deg,var(--property-teal),var(--property-blue))!important;border-radius:999px!important;min-height:48px;box-shadow:0 12px 25px rgba(15,118,110,.2)}
.related-solutions{background:linear-gradient(135deg,#eaf8f4,#eef5fa)!important;border-color:#c9e4de!important;box-shadow:0 16px 38px rgba(22,54,72,.08)}
@media(max-width:900px){.hero-photo-wrap{min-height:440px!important}.property-hero{border-radius:20px}.hero-content{padding:1.6rem!important}}
@media(max-width:600px){.property-hero{width:calc(100% - 20px)!important;border-radius:18px}.hero-photo-wrap{min-height:300px!important}.hero-content{padding:1.25rem!important}.hero-content h1{font-size:2rem!important}.hero-actions{display:grid!important}.hero-actions a{width:100%}.hero-facts{grid-template-columns:repeat(2,1fr)!important}.gallery{grid-template-columns:1fr 1fr!important;gap:8px!important}.gallery img{border-radius:11px!important}.contact-panel .primary-cta{width:100%}}
