/* PANARA — Private Wellness Living
   โทน: เขียวป่า ขาวครีม น้ำตาลไม้ / ฟอนต์เดียว Noto Sans Thai / ไอคอนเส้น 1.5px */
:root {
  --paper: #f7f4ee;
  --paper-2: #eee9df;
  --white: #fff;
  --green: #2e4436;
  --green-deep: #1f3027;
  --sage: #8da89c;
  --sage-soft: #dfe7e2;
  --wood: #7d5f42;
  --wood-soft: #c9b39a;
  --ink: #1f2a24;
  --muted: #56615a;
  --line: #ddd5c6;
  --ok: #2f6b45;
  --warn: #8a5a12;
  --err: #a8321f;
  --r: 4px;
  --wrap: 1180px;
  --gut: 20px;
  --shadow: 0 1px 2px rgba(31, 42, 36, .05), 0 10px 30px -12px rgba(31, 42, 36, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: 'Noto Sans Thai', system-ui, sans-serif; font-size: 17px; line-height: 1.75; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--green); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.35; font-weight: 400; color: var(--green-deep); text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--green); color: #fff; padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--wood); outline-offset: 3px; }
.i { width: 20px; height: 20px; flex: none; display: block; }
.i-brand { width: 20px; height: 20px; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.mt { margin-top: 36px; }
.muted { color: var(--muted); }

/* ---------- ปุ่ม ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 24px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 400; font-size: 16px; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .15s; white-space: nowrap;
}
.btn .i { width: 18px; height: 18px; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost { border-color: var(--green); color: var(--green); background: transparent; }
.btn-ghost:hover { background: var(--green); color: #fff; }
.btn-light { background: #fff; color: var(--green-deep); }
.btn-light:hover { background: var(--paper-2); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); }
.btn-line { background: #06c755; color: #fff; }
.btn-line:hover { background: #05b04b; }
.btn-sm { min-height: 40px; padding: 6px 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .cta-row { justify-content: center; }
.link-more { display: inline-flex; align-items: center; gap: 8px; color: var(--wood); font-size: 15px; letter-spacing: .06em; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-more .i { width: 16px; height: 16px; transition: transform .2s; }
a:hover .link-more .i, .link-more:hover .i { transform: translateX(3px); }

/* ---------- หัวเว็บ ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(247, 244, 238, .96); border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); backdrop-filter: saturate(1.2) blur(8px); }
.header-in { display: flex; align-items: center; gap: 12px; height: 72px; }
.brand { display: block; margin-right: auto; }
.brand img { height: 44px; width: auto; }
.brand .logo-light { display: none; }
.site-header.over-hero { position: fixed; left: 0; right: 0; background: transparent; }
.site-header.over-hero:not(.is-scrolled):not(.is-open) .logo-dark { display: none; }
.site-header.over-hero:not(.is-scrolled):not(.is-open) .logo-light { display: block; }
.site-header.over-hero:not(.is-scrolled):not(.is-open) .nav-toggle,
.site-header.over-hero:not(.is-scrolled):not(.is-open) .lang-mini { color: #fff; border-color: rgba(255, 255, 255, .6); }
.site-header.over-hero.is-scrolled, .site-header.over-hero.is-open { background: rgba(247, 244, 238, .97); }
.nav-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--green); cursor: pointer; }
.nav-toggle .i-close { display: none; }
.is-open .nav-toggle .i-open { display: none; }
.is-open .nav-toggle .i-close { display: block; }
.lang-mini { display: inline-grid; place-items: center; min-width: 48px; height: 48px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; letter-spacing: .1em; text-decoration: none; color: var(--green); }
.nav { position: fixed; inset: 72px 0 0 0; background: var(--paper); display: flex; flex-direction: column; padding: 16px var(--gut) 120px; gap: 2px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; overflow-y: auto; }
.is-open .nav { opacity: 1; transform: none; visibility: visible; }
.nav-link { display: block; padding: 14px 4px; font-size: 20px; color: var(--green-deep); text-decoration: none; border-bottom: 1px solid var(--line); }
.nav-link[aria-current="page"] { color: var(--wood); }
.nav-lang { display: inline-flex; align-items: center; gap: 10px; padding: 16px 4px; color: var(--green); text-decoration: none; }
.nav-cta { margin-top: 12px; }
body.nav-lock { overflow: hidden; }
@media (min-width: 1080px) {
  .nav-toggle, .lang-mini { display: none; }
  .nav { position: static; flex-direction: row; align-items: center; gap: 4px; padding: 0; background: none; opacity: 1; transform: none; visibility: visible; overflow: visible; }
  .nav-link { padding: 8px 12px; font-size: 15px; border: 0; letter-spacing: .03em; position: relative; }
  .nav-link::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .25s var(--ease); }
  .nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
  .nav-lang { padding: 8px 12px; font-size: 14px; gap: 6px; }
  .nav-lang .i { width: 16px; height: 16px; }
  .nav-cta { margin: 0 0 0 8px; }
  .site-header.over-hero:not(.is-scrolled) .nav-link, .site-header.over-hero:not(.is-scrolled) .nav-lang { color: #fff; }
  .site-header.over-hero:not(.is-scrolled) .nav-cta { background: #fff; color: var(--green-deep); }
  .brand img { height: 52px; }
  .header-in { height: 84px; }
}

/* ---------- แบนเนอร์ ---------- */
.hero { position: relative; height: min(70vh, 640px); min-height: 440px; background: var(--green-deep); overflow: hidden; color: #fff; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50%) 50%; transform: translateY(var(--par, 0)) scale(1.06); will-change: transform; }
.slide-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 30, 24, .55) 0%, rgba(20, 30, 24, 0) 28%, rgba(20, 30, 24, 0) 45%, rgba(20, 30, 24, .72) 100%); }
.slide-text { position: absolute; left: 0; right: 0; bottom: 64px; }
.slide-title { font-size: clamp(28px, 6.4vw, 60px); line-height: 1.25; font-weight: 300; max-width: 16ch; margin-bottom: 10px; text-wrap: balance; text-shadow: 0 1px 18px rgba(0, 0, 0, .25); }
.slide-sub { font-size: clamp(16px, 2vw, 19px); max-width: 46ch; margin-bottom: 22px; opacity: .95; }
.slider-ui { position: absolute; right: var(--gut); bottom: 16px; display: flex; align-items: center; gap: 8px; z-index: 2; }
.sl-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .55); background: rgba(0, 0, 0, .12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.sl-btn:hover { background: rgba(255, 255, 255, .15); }
.dots { display: flex; gap: 2px; }
.dots button { width: 28px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.dots button::after { content: ''; position: absolute; left: 4px; right: 4px; top: 21px; height: 2px; background: rgba(255, 255, 255, .45); transition: background-color .3s; }
.dots button[aria-current="true"]::after { background: #fff; }
@media (min-width: 768px) {
  .hero { height: 100vh; height: 100svh; max-height: 980px; min-height: 560px; }
  .slide-text { bottom: 96px; }
}

/* ---------- section ---------- */
.sec { padding: 72px 0; }
.sec-tight { padding: 40px 0 64px; }
.sec-soft { background: var(--paper-2); }
.sec-sage { background: var(--sage-soft); }
.sec-green { background: var(--green); color: #e9eee9; }
.sec-green h2, .sec-green h3 { color: #fff; }
@media (min-width: 1024px) { .sec { padding: 112px 0; } .sec-tight { padding: 56px 0 96px; } }
.kicker { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--wood); margin-bottom: 14px; }
.kicker.light { color: var(--wood-soft); }
.hero .kicker.light { color: #efe6d8; }
.sec-head { margin-bottom: 36px; max-width: 760px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 4.4vw, 44px); }
.sec-sub { color: var(--muted); margin-top: 12px; font-size: 17px; }
.h-md { font-size: clamp(22px, 3vw, 28px); margin-bottom: 18px; }
.h-sm { font-size: 20px; margin: 32px 0 14px; }
.lead { font-size: clamp(17px, 2vw, 19px); color: var(--ink); }
.lead p { margin-bottom: .8em; }
.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.1em; }

/* intro + stats */
.intro-grid { display: grid; gap: 40px; align-items: center; }
.intro h1 { font-size: clamp(30px, 5vw, 50px); font-weight: 300; margin-bottom: 22px; }
.intro .lead { margin-bottom: 22px; }
.intro-img img { width: 100%; }
@media (min-width: 900px) { .intro-grid { grid-template-columns: 1fr 1.05fr; gap: 72px; } }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); margin: 56px 0 0; border-top: 1px solid var(--line); }
.stats > div { padding: 22px 8px 4px 0; display: flex; flex-direction: column-reverse; gap: 2px; }
.stats dt { font-size: 14px; color: var(--muted); letter-spacing: .04em; }
.stats dd { margin: 0; color: var(--green-deep); }
.stats strong { font-size: clamp(26px, 4vw, 38px); font-weight: 300; }
.stats dd span { font-size: 15px; color: var(--muted); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } .stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); } }

/* features */
.feat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feat { background: var(--paper); padding: 22px 18px; border-radius: var(--r); }
.sec-soft .feat { background: var(--paper); }
.feat-i { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--sage); color: var(--green); margin-bottom: 14px; }
.feat-i .i { width: 22px; height: 22px; }
.feat h3 { font-size: 18px; margin-bottom: 6px; }
.feat p { font-size: 15px; color: var(--muted); line-height: 1.7; }
@media (min-width: 480px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .feat-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } .feat { padding: 30px 24px; } }
@media (max-width: 400px) { .feat { padding: 18px 14px; } .feat h3 { font-size: 16px; } .feat p { font-size: 14px; } }

/* villa cards */
.villa-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 768px) { .villa-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
.villa-card { background: var(--white); border-radius: var(--r); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
@media (hover: hover) { .villa-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); } }
.villa-link { display: block; color: inherit; text-decoration: none; }
.villa-img { position: relative; background: var(--paper-2); }
.villa-img img { width: 100%; height: 100%; }
.villa-img .badge { position: absolute; left: 14px; top: 14px; }
.villa-body { padding: 22px 22px 26px; }
.villa-plot { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--wood); margin-bottom: 6px; }
.villa-body h3 { font-size: 22px; margin-bottom: 14px; }
.villa-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 16px 0 14px; }
.villa-price strong { font-size: 24px; font-weight: 400; color: var(--green-deep); }
.villa-price span { font-size: 14px; color: var(--muted); }
.badge { display: inline-block; white-space: nowrap; padding: 3px 12px; border-radius: 999px; font-size: 13px; letter-spacing: .04em; line-height: 1.6; background: #fff; color: var(--green-deep); vertical-align: middle; }
.badge-available { background: var(--green); color: #fff; }
.badge-reserved { background: #f3e6cf; color: var(--warn); }
.badge-sold { background: #e9e4dc; color: #5e544a; }
.badge-soon { background: var(--sage-soft); color: var(--green-deep); }

.specs { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; }
.specs > div { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; }
.specs .i { grid-row: span 2; color: var(--wood); width: 22px; height: 22px; }
.specs dt { font-size: 13px; color: var(--muted); line-height: 1.4; }
.specs dd { margin: 0; font-size: 16px; line-height: 1.4; color: var(--green-deep); }
.specs.compact { gap: 8px 16px; }
.specs.compact > div { grid-template-columns: auto auto; }
.specs.compact .i { grid-row: auto; width: 18px; height: 18px; }
.specs.compact dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.specs.compact dd { font-size: 15px; color: var(--ink); }

/* quote band */
.quote-band { background: var(--green-deep); color: #fff; }
.quote-img img { width: 100%; }
.quote-band .wrap { padding-top: 56px; padding-bottom: 64px; }
.quote { font-size: clamp(22px, 3.4vw, 34px); line-height: 1.55; font-weight: 300; margin: 0; }

/* masonry gallery — ไม่ครอป ใช้สัดส่วนจริงของไฟล์ */
.masonry { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 10px; }
.m-item { break-inside: avoid; margin-bottom: 10px; }
.m-item figure { margin: 0; }
.m-item a { display: block; cursor: zoom-in; }
.m-item img { width: 100%; transition: opacity .25s; }
.m-item a:hover img { opacity: .9; }
.m-item figcaption { font-size: 14px; color: var(--muted); padding: 6px 2px 4px; line-height: 1.5; }
@media (min-width: 480px) { .masonry { columns: 3; } }
@media (min-width: 1024px) { .masonry { columns: 4; column-gap: 16px; } .m-item { margin-bottom: 16px; } .masonry.grid-even { columns: 3; } }
.masonry.wide { columns: 1; }
@media (min-width: 640px) { .masonry.wide { columns: 2; } }
.gal-group { margin-top: 40px; }
.gal-group:first-of-type { margin-top: 24px; }
.gal-group:not([hidden]) ~ .gal-group:not([hidden]) { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.gal-set { font-size: clamp(26px, 4vw, 36px); font-weight: 300; margin-bottom: 8px; }
.gal-sub { font-size: 17px; color: var(--wood); font-weight: 500; margin: 28px 0 14px; }

/* concept */
.concept h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 300; margin-bottom: 22px; }

/* location */
.loc-grid { display: grid; gap: 40px; align-items: center; }
.loc-grid h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 24px; }
@media (min-width: 900px) { .loc-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.nearby { list-style: none; margin: 0 0 28px; padding: 0; }
.nearby li { display: grid; grid-template-columns: 22px 78px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.nearby.light li { border-color: rgba(255, 255, 255, .18); }
.nearby .i { color: var(--wood); }
.nearby.light .i { color: var(--wood-soft); }
.nb-min { font-size: 14px; white-space: nowrap; }
.nb-min strong { font-size: 22px; font-weight: 300; }
.nb-place { line-height: 1.5; }
.loc-page { display: grid; gap: 40px; }
@media (min-width: 960px) { .loc-page { grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; } }
.map-img, .plan-img { margin: 0; }
.map-img a, .plan-img a { display: block; cursor: zoom-in; }
.addr { display: flex; gap: 10px; color: var(--muted); margin: 0 0 22px; }
.addr .i { color: var(--wood); margin-top: 4px; }

/* page hero */
.page-hero { padding: 36px 0 28px; }
.page-hero h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 300; margin-bottom: 14px; }
.page-lead { color: var(--muted); font-size: 18px; max-width: 64ch; }
@media (min-width: 1024px) { .page-hero { padding: 64px 0 36px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.search { position: relative; flex: 1 1 260px; }
.search .search-i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input, .sel select, .field input, .field select, .field textarea {
  width: 100%; min-height: 48px; font-size: 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 10px 14px; color: var(--ink);
}
.search input { padding-left: 44px; border-radius: 999px; }
.sel select { border-radius: 999px; padding-right: 36px; min-width: 160px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-size: 15px; cursor: pointer; }
.chip.is-on, .chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.count { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.empty { padding: 40px 0; text-align: center; color: var(--muted); }
.group-intro h2 { font-size: 24px; margin-bottom: 10px; }
.group-intro { color: var(--muted); }

/* price table */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border-radius: var(--r); }
.price-table, .room-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.price-table th, .price-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: top; }
.price-table thead th { font-size: 13px; letter-spacing: .08em; color: var(--muted); font-weight: 400; background: var(--paper); }
.price-table tbody th a { font-size: 18px; color: var(--green-deep); }
.price-table small, .price-table .tp small { display: block; color: var(--muted); font-size: 13px; white-space: normal; max-width: 26ch; }
.price-table .tp strong { font-size: 17px; font-weight: 600; color: var(--green-deep); }
/* มือถือ: ตารางกลายเป็นการ์ด ไม่ต้องเลื่อนซ้ายขวา */
@media (max-width: 720px) {
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: 100%; }
  .price-table tr { padding: 16px; border-bottom: 1px solid var(--line); }
  .price-table th, .price-table td { border: 0; padding: 4px 0; white-space: normal; }
  .price-table td { display: grid; grid-template-columns: 40% 1fr; gap: 8px; }
  .price-table td::before { content: attr(data-label); color: var(--muted); font-size: 13px; }
}

/* payment roadmap */
.roadmap { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 0; max-width: 980px; position: relative; }
.roadmap li { position: relative; display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; padding: 0 0 22px 0; }
.roadmap li::before { content: ''; position: absolute; left: 25px; top: 34px; bottom: -2px; width: 1px; background: var(--green); opacity: .35; }
.roadmap li:last-child::before { display: none; }
.rm-n { grid-row: span 3; width: 52px; height: 52px; border-radius: 999px; border: 1px solid var(--green); display: grid; place-items: center; font-size: 15px; background: var(--sage-soft); color: var(--green); }
.rm-pct { font-size: 26px; font-weight: 300; line-height: 1.2; color: var(--green-deep); }
.roadmap strong { font-weight: 600; line-height: 1.5; color: var(--ink); }
.rm-note { font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (min-width: 900px) {
  .roadmap { grid-template-columns: repeat(var(--n, 7), 1fr); gap: 12px; }
  .roadmap li { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 0; }
  .roadmap li::before { left: calc(50% + 30px); right: calc(-50% + 30px); top: 26px; bottom: auto; width: auto; height: 1px; }
  .rm-n { grid-row: auto; margin-bottom: 14px; }
}
.pay-notes { list-style: none; padding: 0; margin: 36px auto 0; max-width: 760px; display: grid; gap: 10px; }
.pay-notes li, .ticks li { display: flex; gap: 10px; }
.pay-notes .i, .ticks .i { color: var(--green); margin-top: 5px; width: 18px; height: 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }

/* villa detail */
.villa-hero .kicker .badge { margin-left: 8px; letter-spacing: .04em; text-transform: none; }
.vh-grid { display: grid; gap: 20px; align-items: end; }
.vh-loc { display: flex; gap: 8px; color: var(--muted); margin: 0; }
.vh-loc .i { color: var(--wood); margin-top: 5px; }
.vh-price { display: grid; gap: 2px; }
.vh-price > span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--wood); }
.vh-price strong { font-size: clamp(28px, 4vw, 38px); font-weight: 300; color: var(--green-deep); line-height: 1.3; }
.vh-price small { color: var(--muted); font-size: 14px; }
@media (min-width: 900px) { .vh-grid { grid-template-columns: 1fr auto; } .vh-price { text-align: right; } }
.villa-gallery .wrap { display: grid; gap: 10px; }
.vg-main { margin: 0; background: var(--paper-2); max-height: 78vh; display: grid; place-items: center; overflow: hidden; }
.vg-main img { width: 100%; height: 100%; object-fit: contain; }
.vg-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.vg-thumbs button { padding: 0; border: 1px solid transparent; background: var(--paper-2); cursor: pointer; aspect-ratio: 3 / 2; display: grid; place-items: center; overflow: hidden; border-radius: 2px; }
.vg-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.vg-thumbs button[aria-current="true"] { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.villa-grid-2 { display: grid; gap: 36px; }
.villa-desc .specs { padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 28px; }
@media (min-width: 960px) { .villa-grid-2 { grid-template-columns: 1fr 340px; gap: 64px; } .villa-aside { position: sticky; top: 108px; align-self: start; } }
.aside-card { background: #fff; padding: 26px 22px; border-radius: var(--r); display: grid; gap: 10px; }
.aside-k { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--wood); margin: 0; }
.aside-price { font-size: 26px; font-weight: 300; color: var(--green-deep); margin: 0 0 8px; }
.plan-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .plan-grid { grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; } }
.room-table { background: #fff; border-radius: var(--r); overflow: hidden; }
.room-table th, .room-table td { padding: 10px 16px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.room-table td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.room-table thead th { font-size: 13px; color: var(--muted); background: var(--paper); }
.room-table thead th:last-child { text-align: right; }
.room-table tfoot th, .room-table tfoot td { font-weight: 600; color: var(--green-deep); border-bottom: 0; }
.rn { display: inline-block; min-width: 26px; color: var(--wood); font-size: 13px; }

/* about */
.about-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: start; } }
.about-img { margin: 0; }
.closing { font-size: 20px; color: var(--green-deep); border-top: 1px solid var(--line); padding-top: 22px; margin-top: 28px; }
.partners { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.partners li > * { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 22px; background: #fff; border-radius: var(--r); width: 240px; color: inherit; text-decoration: none; }
.pt-logo { width: 120px; }
.partners strong { font-weight: 600; }
.partners span { font-size: 14px; color: var(--muted); }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 2px; cursor: pointer; font-size: 18px; color: var(--green-deep); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-i { transition: transform .25s var(--ease); color: var(--wood); margin-top: 5px; }
.faq-item[open] .faq-i { transform: rotate(45deg); }
.faq-a { padding: 0 2px 22px; color: var(--muted); max-width: 68ch; }

/* cta band */
.cta-band { background: var(--green); color: #e9eee9; padding: 80px 0; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 4.4vw, 44px); font-weight: 300; margin-bottom: 14px; }
.cta-text { margin-bottom: 28px; opacity: .9; }

/* contact */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; } }
.form-card { background: #fff; padding: 26px 20px; border-radius: var(--r); }
@media (min-width: 768px) { .form-card { padding: 40px; } }
.fields { display: grid; gap: 16px; margin: 20px 0; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .field.full { grid-column: 1 / -1; } }
.field label { display: block; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field.has-err input, .field.has-err textarea, .field.has-err select { border-color: var(--err); background: #fff8f6; }
.field-radio { border: 0; padding: 0; margin: 0; min-width: 0; }
.field-radio legend { font-size: 15px; margin-bottom: 6px; padding: 0; color: var(--ink); }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radio { position: relative; display: inline-flex; }
.radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.radio span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 15px; transition: background-color .2s, border-color .2s, color .2s; }
.radio input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.radio input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.field-radio.has-err .radio span { border-color: var(--err); }
.field-err { color: var(--err); font-size: 14px; margin: 6px 0 0; min-height: 0; }
.field-err:empty { display: none; }
.req { color: var(--err); }
.form-msg:empty { display: none; }
.form-msg.is-err { color: var(--err); background: #fbece8; padding: 10px 14px; border-radius: var(--r); margin: 16px 0 0; }
.consent { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { text-align: center; padding: 28px 8px; }
.form-done:focus { outline: none; }
.done-i { width: 52px; height: 52px; margin: 0 auto 12px; color: var(--ok); }
.form-done h3 { font-size: 22px; margin-bottom: 8px; }
.ch-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ch { display: flex; gap: 14px; align-items: center; padding: 14px 16px; background: #fff; border-radius: var(--r); color: inherit; text-decoration: none; transition: box-shadow .2s; }
.ch:hover { box-shadow: var(--shadow); }
.ch-i { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: var(--sage-soft); color: var(--green); flex: none; }
.ch-line .ch-i { background: #06c755; color: #fff; }
.ch > span:last-child { display: grid; line-height: 1.45; min-width: 0; }
.ch strong { font-weight: 600; font-size: 15px; }
.ch > span:last-child > span { color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
.ch-note { display: flex; gap: 10px; color: var(--muted); margin-top: 18px; }

/* 404 */
.nf-code { font-size: 64px; font-weight: 300; color: var(--wood); margin: 0; }
.nf h1 { margin-bottom: 10px; }
.nf .btn { margin: 6px; }

/* footer */
.site-footer { background: var(--green-deep); color: #cfd8d2; padding: 64px 0 28px; font-size: 15px; }
.site-footer a { color: #e9eee9; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr .7fr 1fr; gap: 56px; } }
.footer-brand img { width: 180px; margin-bottom: 18px; }
.footer-sum { max-width: 44ch; }
.footer-h { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--wood-soft); margin-bottom: 14px; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact .i, .footer-contact .i-brand { width: 18px; height: 18px; margin-top: 5px; color: var(--wood-soft); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; font-size: 13px; color: #9fb0a5; }

/* ปุ่มลอยมือถือ */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 1px; background: var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 16px rgba(31, 42, 36, .08); }
.mobile-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; background: var(--paper); color: var(--green-deep); text-decoration: none; font-size: 15px; }
.mobile-bar .mb-line { background: #06c755; color: #fff; }
.mobile-bar .mb-visit { background: var(--green); color: #fff; flex: 1.5; }
body { padding-bottom: 56px; }
@media (min-width: 1080px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 80; background: rgba(16, 22, 18, .94); display: grid; grid-template-rows: auto 1fr auto; color: #fff; }
.lb-top { display: flex; justify-content: flex-end; padding: 8px; }
.lb-stage { display: grid; place-items: center; padding: 0 8px; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; }
.lb-bar { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 10px 12px 18px; }
.lb-cap { font-size: 15px; text-align: center; flex: 1; }
.lb button { width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }

.preview-bar { position: sticky; top: 0; z-index: 90; background: #8a5a12; color: #fff; text-align: center; padding: 8px 12px; font-size: 14px; }

/* อนิเมชัน: ปรากฏตอนเลื่อนถึง เล่นครั้งเดียว */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s var(--ease) var(--d, 0ms), transform .55s var(--ease) var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .slide-img { transform: none !important; }
}
/* ภาษาไทยไม่ถ่างตัวอักษร (สระลอยจะแยกจากพยัญชนะ) */
html[lang="th"] :is(.kicker, .villa-plot, .aside-k, .vh-price > span, .footer-h, .stats dt) { letter-spacing: .03em; }
@media print { .site-header, .mobile-bar, .cta-band, .slider-ui { display: none; } body { padding: 0; } }

/* พื้นที่กดบนมือถืออย่างน้อย 44px */
.btn-sm { min-height: 44px; }
.crumbs a, .crumbs span[aria-current] { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs { margin-bottom: 16px; }
.footer-links a, .footer-contact a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links, .footer-contact { gap: 0; }
.footer-contact .i, .footer-contact .i-brand { margin-top: 13px; }

/* แบบบ้าน 3 แบบ + ตารางราคาแยกโซน */
@media (min-width: 1024px) { .villa-grid.types { grid-template-columns: repeat(3, 1fr); } }
.villa-price .from { flex-basis: 100%; font-size: 13px; letter-spacing: .06em; }
.zone + .zone { margin-top: 40px; }
.zone-h { font-size: clamp(20px, 2.6vw, 24px); font-weight: 400; margin-bottom: 14px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.zone-h small { font-size: 14px; color: var(--muted); }
.price-table thead th a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.price-table .pt-plot { font-size: 18px; color: var(--green-deep); }
.price-table tr.is-sold th, .price-table tr.is-sold td { color: var(--muted); }
.price-table tr.is-sold .pt-plot, .price-table tr.is-sold .tp strong { color: var(--muted); font-weight: 400; }
.price-notes { margin-top: 24px; }
@media (max-width: 720px) {
  .price-table tr.is-sold { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; }
  .price-table tr.is-sold th, .price-table tr.is-sold td:last-child { width: auto; }
  .price-table tr.is-sold td:not(:last-child) { display: none; }
  .price-table tr.is-sold td:last-child::before { content: none; }
  .price-table tr.is-sold td:last-child { display: block; white-space: nowrap; }
}
.cur-switch { margin: 0 0 20px; }
