:root {
  --ink: #3f3f3f;
  --ink-deep: #292929;
  --muted: #77736d;
  --cream: #f7f3ec;
  --cream-2: #fbf8f2;
  --paper: #fffdf9;
  --gold: #d8bb8d;
  --gold-deep: #a98a55;
  --gold-dark: #8c7146;
  --line: #dfd4c4;
  --white: #fff;
  --shadow: 0 24px 70px rgba(49, 43, 35, .14);
  --shell: min(1200px, calc(100% - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "IBM Plex Sans Thai", sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
section[id], footer[id] { scroll-margin-top: 0; }
::selection { color: var(--ink-deep); background: var(--gold); }

.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 999; left: 18px; top: -80px; padding: 11px 16px; border-radius: 999px; background: var(--ink-deep); color: #fff; }
.skip-link:focus { top: 18px; }
.overline { margin: 0; font-family: Manrope, sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .22em; color: rgba(255,255,255,.85); }
.overline.dark { color: var(--gold-deep); }

.site-header { position: absolute; z-index: 80; top: 0; left: 0; right: 0; height: 82px; padding: 0 5vw; display: flex; align-items: center; gap: 40px; transition: background .25s ease, box-shadow .25s ease, height .25s ease; }
.site-header.scrolled, .site-header.menu-open { height: 72px; background: rgba(247,243,236,.9); box-shadow: 0 1px 0 rgba(63,63,63,.1); backdrop-filter: blur(18px); }
.site-brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
.site-brand img { width: 150px; height: 48px; object-fit: contain; object-position: left center; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(20px, 2.7vw, 42px); }
.site-nav a, .site-nav button { position: relative; border: 0; padding: 9px 0; background: transparent; color: var(--ink-deep); font-size: 14px; font-weight: 600; }
.site-nav a::after, .site-nav button::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--gold-deep); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav button:hover::after, .site-nav button:focus-visible::after { right: 0; }
.menu-button { display: none; width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 50%; background: rgba(247,243,236,.82); }
.menu-button span { display: block; width: 20px; height: 2px; margin: 5px auto; border-radius: 99px; background: var(--ink-deep); transition: transform .2s; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.hero { min-height: 100svh; height: max(760px, 100svh); position: relative; isolation: isolate; overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -3; }
.hero-overlay { position: absolute; inset: 0; z-index: -2; background: rgba(47, 39, 29, .05); }
.hero-card { position: absolute; left: 6.2vw; top: 52%; transform: translateY(-46%); width: min(560px, calc(100% - 48px)); padding: 38px 40px 32px; border: 1px solid rgba(255,255,255,.62); border-radius: 34px; background: rgba(244,237,226,.6); box-shadow: 0 30px 80px rgba(53,42,27,.18); backdrop-filter: blur(24px) saturate(1.12); }
.hero-card .overline { color: var(--gold-dark); }
.hero-card h1 { margin: 12px 0 0; font-size: clamp(48px, 5.3vw, 76px); line-height: 1; letter-spacing: -.055em; color: var(--white); text-shadow: 0 2px 20px rgba(49,40,29,.16); }
.hero-subtitle { margin: 9px 0 24px; color: var(--white); font-size: clamp(20px, 2vw, 29px); font-weight: 500; }
.hero-form { display: grid; grid-template-columns: 1.45fr .7fr; gap: 10px; }
.hero-form label { min-width: 0; position: relative; display: block; }
.hero-form label span { position: absolute; left: 15px; top: 8px; color: var(--muted); font-size: 11px; font-weight: 600; pointer-events: none; }
.hero-form input { width: 100%; height: 62px; border: 1px solid rgba(255,255,255,.72); border-radius: 15px; padding: 25px 15px 7px; outline: none; background: rgba(255,255,255,.91); }
.hero-form input:focus { border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(169,138,85,.14); }
.primary-button { grid-column: 1 / -1; height: 56px; border: 0; border-radius: 15px; background: var(--ink-deep); color: #fff; font-size: 18px; font-weight: 700; box-shadow: 0 14px 28px rgba(31,31,31,.18); transition: transform .18s ease, background .18s ease; }
.primary-button:hover { transform: translateY(-2px); background: #1e1e1e; }
.secondary-action { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding-bottom: 3px; border-bottom: 1px solid rgba(255,255,255,.72); color: #fff; font-weight: 600; }
.hero-caption { position: absolute; left: 6.2vw; bottom: 28px; display: grid; gap: 1px; color: #fff; text-shadow: 0 2px 14px rgba(35,30,24,.22); }
.hero-caption span { font-family: Manrope, sans-serif; font-size: 10px; letter-spacing: .22em; }
.hero-caption strong { font-size: 13px; font-weight: 500; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 30px; height: 46px; border: 1px solid rgba(255,255,255,.72); border-radius: 99px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 99px; background: #fff; transform: translateX(-50%); animation: scroll-cue 1.8s ease infinite; }
@keyframes scroll-cue { 0%,100% { opacity: .3; transform: translate(-50%, 0); } 45% { opacity: 1; } 70% { opacity: .2; transform: translate(-50%, 17px); } }

.market-section { min-height: 318px; padding: 27px max(5.6vw, calc((100vw - 1200px)/2)) 31px; background: var(--cream); }
.market-heading { max-width: 1050px; }
.market-heading .overline { position: relative; width: max-content; padding-right: 94px; }
.market-heading .overline::after { content: ""; position: absolute; right: 0; top: 50%; width: 76px; height: 1px; background: var(--gold); }
.market-heading h2 { margin: 24px 0 0; font-size: clamp(68px, 9.8vw, 106px); line-height: .88; letter-spacing: -.064em; color: var(--ink-deep); }
.market-heading h2 span { color: var(--gold-deep); }
.market-metrics { margin-top: 45px; display: grid; grid-template-columns: repeat(4, 1fr); }
.market-metrics article { min-width: 0; padding: 0 clamp(14px, 2.7vw, 40px); border-right: 1px solid var(--line); text-align: center; }
.market-metrics article:first-child { padding-left: 0; }
.market-metrics article:last-child { border-right: 0; }
.market-metrics strong { display: block; color: var(--gold-deep); font-family: Manrope, "IBM Plex Sans Thai", sans-serif; font-size: clamp(31px, 3.7vw, 44px); font-weight: 700; line-height: 1; letter-spacing: -.035em; }
.market-metrics article:nth-child(2) strong { color: #dc7649; }
.market-metrics span { display: block; margin-top: 9px; color: var(--ink); font-size: clamp(14px, 1.62vw, 18px); line-height: 1.2; }

.featured-section { height: auto; min-height: 460px; display: grid; grid-template-columns: 34.1% 65.9%; background: var(--cream-2); }
.featured-copy { padding: 48px 48px 39px max(5.6vw, calc((100vw - 1200px)/2)); display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; }
.featured-copy .overline { position: relative; width: max-content; padding-right: 91px; }
.featured-copy .overline::after { content: ""; position: absolute; right: 0; top: 50%; width: 70px; height: 1px; background: var(--gold); }
.editorial-number { margin: 24px 0 6px; color: #d9bc8c; font-family: Manrope, sans-serif; font-size: 94px; font-weight: 500; line-height: .82; letter-spacing: -.065em; }
.featured-copy h2 { margin: 11px 0 0; white-space: normal; max-width: 100%; font-size: clamp(30px, 3vw, 36px); line-height: 1.05; letter-spacing: -.04em; }
.featured-copy > p:not(.overline) { margin: 7px 0 29px; color: var(--muted); font-size: clamp(18px, 1.9vw, 23px); }
.featured-copy .featured-specs { width: auto; margin: 0 0 35px; padding-top: 15px; display: flex; align-items: center; border-top: 1px solid var(--line); }
.featured-specs div { padding: 0 14px; border-right: 1px solid var(--line); }
.featured-specs div:first-child { padding-left: 0; }
.featured-specs div:last-child { padding-right: 0; border-right: 0; }
.featured-specs dd { margin: 0; white-space: nowrap; font-size: 15px; font-weight: 500; }
.outline-button { min-width: 255px; min-height: 50px; padding: 0 24px; border: 1px solid var(--gold-deep); border-radius: 0; background: transparent; color: var(--ink); font-weight: 650; transition: background .18s ease, color .18s ease, transform .18s ease; }
.outline-button span { display: inline-block; margin-left: 14px; }
.outline-button:hover { transform: translateY(-2px); background: var(--gold-deep); color: #fff; }
.featured-visual { position: relative; min-height: 460px; overflow: hidden; background: #e9e2d8; }
.featured-visual > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: opacity .25s ease, transform .65s ease; }
.featured-visual.is-changing > img { opacity: .25; transform: scale(1.02); }
.featured-controls { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; min-height: 67px; padding: 0 30px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; background: rgba(247,243,236,.92); backdrop-filter: blur(12px); }
.featured-controls > span { position: absolute; right: 300px; color: var(--muted); font-family: Manrope, sans-serif; font-size: 12px; }
.featured-controls > span::after { content: ""; position: absolute; left: 72px; top: 50%; width: 92px; height: 1px; background: var(--gold-deep); }
.featured-controls b { color: var(--ink); }
.featured-controls button { width: 34px; height: 42px; border: 0; border-radius: 0; background: transparent; color: var(--ink); font-size: 20px; }
.featured-controls button:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

.team-section { position: relative; min-height: 500px; height: 500px; padding: 53px max(5.6vw, calc((100vw - 1200px)/2)) 0; display: block; overflow: hidden; background: var(--cream); }
.team-section::after { content: ""; position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; height: 137px; background: #f0efeb; }
.team-copy { position: relative; z-index: 2; width: 51%; padding: 0; }
.team-copy .overline { position: relative; width: max-content; padding-right: 94px; }
.team-copy .overline::after { content: ""; position: absolute; right: 0; top: 50%; width: 76px; height: 1px; background: var(--gold); }
.team-copy h2 { margin: 40px 0 17px; white-space: nowrap; font-size: clamp(48px, 5.65vw, 68px); line-height: .94; letter-spacing: -.058em; color: var(--ink-deep); }
.team-copy h2 span { color: var(--gold-deep); }
.team-copy > p:not(.overline) { max-width: 560px; margin: 0 0 34px; color: var(--ink); font-size: clamp(16px, 1.75vw, 20px); }
.team-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.team-actions > a { font-weight: 600; border-bottom: 1px solid var(--gold-deep); }
.team-photo { position: absolute; z-index: 1; right: 3.5%; bottom: -1px; width: 60.5%; height: 460px; margin: 0; overflow: visible; }
.team-photo img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }

.site-footer { position: relative; overflow: hidden; padding: 76px max(5vw, calc((100vw - 1200px)/2)) 28px; background: #282622; color: var(--cream); }
.site-footer::before { content: ""; position: absolute; width: 620px; height: 620px; right: -210px; top: -330px; border-radius: 50%; background: radial-gradient(circle, rgba(216,187,141,.18), transparent 68%); pointer-events: none; }
.footer-shell { position: relative; z-index: 1; width: 100%; max-width: 1200px; margin: 0 auto; }
.footer-main { padding-bottom: 66px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); gap: clamp(44px, 7vw, 96px); align-items: center; }
.footer-copy .overline { color: var(--gold); }
.footer-copy h2 { margin: 15px 0 18px; color: #fff; font-size: clamp(48px, 5.4vw, 76px); line-height: .98; letter-spacing: -.055em; }
.footer-copy h2 span { color: var(--gold); }
.footer-lead { max-width: 580px; margin: 0; color: rgba(255,255,255,.63); font-size: 17px; }
.footer-actions { max-width: 610px; margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.footer-action { min-width: 0; min-height: 78px; padding: 14px 18px; display: grid; align-content: center; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.footer-action small { font-size: 12px; line-height: 1.2; opacity: .68; }
.footer-action strong { overflow: hidden; font-family: Manrope, "IBM Plex Sans Thai", sans-serif; font-size: clamp(16px, 1.65vw, 21px); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.footer-action.primary { border-color: var(--gold); background: var(--gold); color: var(--ink-deep); }
.footer-action.secondary { background: rgba(255,255,255,.04); color: #fff; }
.footer-action:hover { transform: translateY(-3px); }
.footer-action.secondary:hover { border-color: var(--gold); background: rgba(216,187,141,.1); }
.footer-line-card { padding: 26px; display: grid; grid-template-columns: 1fr 168px; gap: 24px; align-items: center; border: 1px solid rgba(216,187,141,.56); border-radius: 30px; background: var(--cream-2); color: var(--ink-deep); box-shadow: 0 28px 70px rgba(0,0,0,.2); }
.footer-card-kicker { color: var(--gold-dark); font-family: Manrope, sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.footer-line-copy h3 { margin: 10px 0 8px; font-size: clamp(27px, 2.8vw, 38px); line-height: 1.04; letter-spacing: -.045em; }
.footer-line-copy > p { margin: 0; color: var(--muted); font-size: 15px; }
.footer-availability { margin-top: 21px; display: flex; align-items: center; gap: 8px; color: var(--gold-dark); font-size: 13px; font-weight: 600; }
.footer-availability i { width: 8px; height: 8px; border-radius: 50%; background: #63a47b; box-shadow: 0 0 0 4px rgba(99,164,123,.12); }
.footer-qr-wrap { padding: 10px 10px 11px; display: grid; justify-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.footer-qr-wrap img { width: 148px; border-radius: 13px; }
.footer-qr-wrap span { color: var(--muted); font-size: 11px; }
.footer-bottom { padding-top: 24px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: clamp(22px, 4vw, 54px); border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.48); font-size: 12px; }
.footer-brand-mini { min-width: 0; display: flex; align-items: center; gap: 14px; }
.footer-brand-mini > span { width: 165px; flex: 0 0 auto; padding: 7px 11px; display: block; border-radius: 12px; background: var(--cream-2); }
.footer-brand-mini img { width: 100%; height: 42px; object-fit: contain; object-position: left center; }
.footer-brand-mini p { margin: 0; font-family: Manrope, sans-serif; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.footer-bottom nav { display: flex; align-items: center; gap: 22px; }
.footer-bottom nav button { border: 0; padding: 0; background: transparent; color: inherit; }
.footer-bottom a:hover, .footer-bottom button:hover { color: var(--gold); }

.ai-fab { position: fixed; z-index: 74; right: 22px; bottom: 22px; min-height: 54px; padding: 7px 17px 7px 8px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; background: #c5a269; color: #fff; box-shadow: 0 18px 42px rgba(31,31,31,.24); }
.ai-fab > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #c5a269; font-family: Manrope, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: -1px; }
.ai-fab b { font-size: 14px; }
.ai-panel { position: fixed; z-index: 76; right: 22px; bottom: 88px; width: min(390px, calc(100% - 28px)); min-height: 470px; padding: 18px; display: grid; grid-template-rows: auto 1fr auto auto; gap: 14px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255,253,249,.95); box-shadow: 0 26px 80px rgba(31,31,31,.25); backdrop-filter: blur(18px); opacity: 0; visibility: hidden; transform: translateY(14px) scale(.98); transform-origin: right bottom; transition: .2s ease; }
.ai-panel.open { opacity: 1; visibility: visible; transform: none; }
.ai-panel header { display: flex; justify-content: space-between; gap: 20px; }
.ai-panel header > div { display: flex; align-items: center; gap: 10px; }
.ai-panel header > div > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); }
.ai-panel header p { margin: 0; display: grid; }
.ai-panel header small { color: var(--muted); }
.ai-panel header button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--cream); font-size: 23px; }
.ai-messages { padding: 12px 2px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.ai-message, .user-message { max-width: 88%; margin: 0; padding: 12px 14px; border-radius: 17px 17px 17px 4px; background: var(--cream); }
.user-message { align-self: flex-end; border-radius: 17px 17px 4px 17px; background: var(--ink); color: #fff; }
.ai-quick { display: flex; gap: 6px; flex-wrap: wrap; }
.ai-quick button { border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; background: #fff; font-size: 13px; }
.ai-form { display: grid; grid-template-columns: 1fr 44px; gap: 7px; }
.ai-form input { min-width: 0; height: 46px; border: 1px solid var(--line); border-radius: 14px; padding: 0 13px; background: #fff; outline: none; }
.ai-form button { border: 0; border-radius: 14px; background: var(--ink-deep); color: #fff; font-size: 18px; }

.owner-dialog { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: clamp(14px, 3vw, 42px); border: 0; background: rgba(33,29,24,.58); overflow: hidden; }
.owner-dialog::backdrop { background: rgba(33,29,24,.55); backdrop-filter: blur(12px); }
.owner-dialog[open] { display: grid; place-items: center; animation: dialog-in .2s ease both; }
@keyframes dialog-in { from { opacity: 0; } to { opacity: 1; } }
.owner-form { width: min(980px, 100%); max-height: 100%; margin: 0 auto; padding: 30px 42px 24px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid rgba(255,255,255,.72); border-radius: 32px; background: rgba(255,253,249,.97); box-shadow: 0 32px 110px rgba(26,22,18,.32); }
.form-header { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.form-header > img { width: 190px; }
.form-close { width: 46px; height: 46px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); font-size: 28px; line-height: 1; }
.form-close:hover { background: var(--cream); }
.form-title-row { margin-top: 15px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.form-title-row h2 { margin: 6px 0 2px; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.055em; }
.form-title-row > div > p:last-child { margin: 0; color: var(--muted); font-size: 17px; }
.time-note { flex: 0 0 auto; margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.form-steps { list-style: none; margin: 31px 0 35px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.form-steps li { position: relative; display: grid; justify-items: center; gap: 7px; color: #aaa39a; font-size: 14px; }
.form-steps li:not(:last-child)::after { content: ""; position: absolute; z-index: 0; left: calc(50% + 25px); right: calc(-50% + 25px); top: 20px; height: 1px; background: var(--line); }
.form-steps li.done::after { background: var(--gold-deep); }
.form-steps span { position: relative; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); font-family: Manrope, sans-serif; font-weight: 700; }
.form-steps li.active, .form-steps li.done { color: var(--gold-dark); }
.form-steps li.active span, .form-steps li.done span { border-color: var(--gold-deep); background: var(--gold-deep); color: #fff; }
.form-alert { margin: -14px 0 20px; padding: 12px 14px; border: 1px solid #e8b5a9; border-radius: 12px; background: #fff0ec; color: #8a4032; }
.form-screen { animation: form-screen-in .25s ease both; }
@keyframes form-screen-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.field { min-width: 0; display: grid; gap: 7px; }
.field.full { margin-bottom: 17px; }
.field label, .choice-field legend { color: #847f78; font-size: 15px; font-weight: 600; }
.field em { color: #c15943; font-style: normal; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--cream-2); outline: 0; transition: border-color .15s, box-shadow .15s; }
.field input, .field select { height: 58px; padding: 0 16px; }
.field textarea { padding: 15px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(169,138,85,.13); }
.field input:invalid:not(:placeholder-shown), .field select:invalid:not(:focus) { border-color: #d58d7d; }
.field small { color: #aaa39a; font-size: 12px; }
.form-grid { display: grid; gap: 17px; margin-bottom: 17px; }
.form-grid.two { grid-template-columns: repeat(2, 1fr); }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
.choice-field { margin: 0 0 19px; padding: 0; border: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice-field legend { grid-column: 1 / -1; margin-bottom: 7px; }
.choice-field label { display: block; }
.choice-field input { position: absolute; opacity: 0; pointer-events: none; }
.choice-field span { height: 58px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 16px; background: var(--cream-2); color: var(--muted); font-weight: 600; }
.choice-field input:checked + span { border-color: var(--gold-deep); background: rgba(216,187,141,.22); color: var(--ink); box-shadow: inset 0 0 0 1px var(--gold-deep); }
.time-choice { grid-template-columns: repeat(3, 1fr); }
.privacy-note { margin-top: 22px; padding: 16px 18px; display: flex; align-items: center; gap: 12px; border-radius: 16px; background: rgba(216,187,141,.16); }
.privacy-note > span { color: var(--gold-deep); }
.privacy-note p { margin: 0; display: grid; }
.privacy-note small { color: var(--muted); }
.listing-summary { margin-bottom: 20px; padding: 14px; display: grid; grid-template-columns: 114px 1fr auto; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--cream-2); }
.listing-summary img { width: 114px; height: 86px; object-fit: cover; border-radius: 13px; }
.listing-summary h3 { margin: 0; }
.listing-summary p { margin: 3px 0; color: var(--muted); }
.listing-summary strong { color: var(--gold-dark); }
.listing-summary button { border: 1px solid var(--gold-deep); border-radius: 999px; padding: 9px 13px; background: transparent; color: var(--gold-dark); }
.upload-zone { min-height: 250px; padding: 26px; display: grid; place-items: center; align-content: center; gap: 7px; border: 1.5px dashed var(--gold-deep); border-radius: 22px; background: var(--cream-2); text-align: center; cursor: pointer; transition: background .18s, transform .18s; }
.upload-zone.dragging { background: rgba(216,187,141,.22); transform: scale(.995); }
.upload-zone .upload-icon { width: 54px; height: 54px; display: grid; place-items: center; border: 2px solid var(--gold-deep); border-radius: 50%; color: var(--gold-deep); font-size: 29px; }
.upload-zone strong { margin-top: 4px; color: var(--gold-dark); font-size: 24px; }
.upload-zone > span:not(.upload-icon), .upload-zone small { color: var(--muted); }
.upload-zone b { margin: 9px 0 2px; padding: 10px 28px; border-radius: 999px; background: var(--gold-deep); color: #fff; }
.photo-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.photo-card, .add-photo-tile { position: relative; min-height: 142px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--cream-2); }
.photo-card img { width: 100%; height: 142px; object-fit: cover; }
.photo-card .cover-badge { position: absolute; left: 8px; top: 8px; padding: 5px 9px; border-radius: 999px; background: var(--gold-deep); color: #fff; font-size: 11px; }
.photo-card .remove-photo { position: absolute; right: 7px; top: 7px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); font-size: 18px; }
.photo-card .set-cover { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 6px 8px; border: 0; border-radius: 9px; background: rgba(42,42,42,.82); color: #fff; font-size: 11px; opacity: 0; transition: opacity .15s; }
.photo-card:hover .set-cover, .photo-card:focus-within .set-cover { opacity: 1; }
.add-photo-tile { display: grid; place-items: center; align-content: center; gap: 5px; border-style: dashed; color: var(--muted); }
.add-photo-tile span { font-size: 30px; color: var(--gold-deep); }
.photo-advice { margin: 13px 0 20px; color: var(--muted); text-align: center; font-size: 13px; }
.consent { padding: 14px 16px; display: flex; align-items: center; gap: 10px; border-radius: 14px; background: var(--cream-2); }
.consent input { width: 19px; height: 19px; accent-color: var(--gold-deep); }
.form-footer { position: sticky; z-index: 3; bottom: -24px; margin: 30px -42px -24px; padding: 17px 42px 20px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; border-top: 1px solid var(--line); background: rgba(255,253,249,.95); backdrop-filter: blur(14px); }
.back-button, .next-button { min-height: 50px; border-radius: 999px; padding: 0 25px; font-weight: 650; }
.back-button { border: 1px solid var(--gold-deep); background: transparent; }
.next-button { border: 0; background: var(--ink-deep); color: #fff; }
.draft-status { justify-self: center; color: #aaa39a; font-size: 12px; }
.form-success { padding: 64px 20px 80px; text-align: center; }
.form-success > span { width: 74px; height: 74px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-deep); color: #fff; font-size: 36px; }
.form-success h2 { margin: 8px 0; font-size: clamp(34px, 4vw, 54px); }
.form-success > p:not(.overline) { max-width: 590px; margin: 0 auto; color: var(--muted); }
.form-success div { margin-top: 25px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.form-success a { padding: 11px 18px; border: 1px solid var(--gold-deep); border-radius: 999px; }

@media (max-width: 1020px) {
  :root { --shell: min(100% - 40px, 900px); }
  .site-header { padding-inline: 24px; }
  .site-brand img { width: 140px; }
  .site-nav { gap: 20px; }
  .hero-card { left: 4vw; width: min(520px, calc(100% - 40px)); }
  .market-metrics { grid-template-columns: repeat(4, 1fr); }
  .market-metrics article:nth-child(2) { border-right: 1px solid var(--line); }
  .market-metrics article:nth-child(-n+2) { border-bottom: 0; }
  .market-metrics article:nth-child(3) { padding-left: clamp(14px, 2.7vw, 40px); }
  .featured-section { grid-template-columns: 34.1% 65.9%; }
  .team-section { padding-top: 53px; }
  .team-copy { width: 51%; padding-bottom: 0; }
  .team-photo { right: 3.5%; width: 60.5%; height: 460px; }
  .footer-main { grid-template-columns: 1fr; gap: 42px; padding-bottom: 56px; }
  .footer-copy { max-width: 760px; }
  .footer-line-card { max-width: 720px; }
}

@media (max-width: 760px) {
  .site-header { height: 68px; padding: 0 15px; }
  .site-header.scrolled, .site-header.menu-open { height: 68px; }
  .site-brand img { width: 124px; height: 40px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; left: 12px; right: 12px; top: 74px; margin: 0; padding: 16px; display: grid; gap: 4px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,253,249,.97); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .18s; }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a, .site-nav button { width: 100%; padding: 12px; text-align: left; }
  .site-nav a::after, .site-nav button::after { display: none; }
  .hero { height: auto; min-height: 820px; }
  .hero-image { object-position: 61% center; }
  .hero-overlay { background: rgba(47,39,29,.12); }
  .hero-card { left: 12px; right: 12px; top: auto; bottom: 82px; width: auto; padding: 26px 20px 22px; border-radius: 26px; transform: none; }
  .hero-card h1 { font-size: clamp(42px, 12vw, 59px); }
  .hero-subtitle { font-size: 19px; }
  .hero-form { grid-template-columns: 1fr; }
  .primary-button { grid-column: auto; }
  .hero-caption, .scroll-cue { display: none; }
  .market-section { padding: 72px 20px; }
  .market-heading h2 { font-size: 48px; line-height: .94; }
  .market-heading h2 span { display: block; }
  .market-metrics { margin-top: 42px; grid-template-columns: 1fr; }
  .market-metrics article { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .market-metrics article:last-child { border-bottom: 0; }
  .featured-section { height: auto; min-height: 0; grid-template-columns: 1fr; }
  .featured-copy { padding: 64px 22px 48px; }
  .featured-copy h2 { white-space: normal; }
  .featured-visual { min-height: 560px; }
  .team-section { height: auto; min-height: 820px; padding: 64px 20px 0; }
  .team-section::after { height: 170px; }
  .team-copy { width: 100%; }
  .team-copy h2 { font-size: clamp(46px, 14vw, 70px); }
  .team-copy h2 { white-space: normal; }
  .team-photo { right: -20px; bottom: 0; width: calc(100% + 40px); height: 440px; max-height: 630px; margin: 0; }
  .team-photo img { object-position: center bottom; }
  .site-footer { padding: 58px 20px 24px; text-align: left; }
  .footer-main { gap: 34px; padding-bottom: 48px; }
  .footer-copy h2 { font-size: clamp(43px, 12vw, 58px); }
  .footer-lead { font-size: 16px; }
  .footer-actions { grid-template-columns: 1fr; }
  .footer-line-card { padding: 22px; grid-template-columns: 1fr; gap: 24px; }
  .footer-line-copy h3 { font-size: 31px; }
  .footer-qr-wrap { width: 174px; justify-self: start; }
  .footer-bottom { grid-template-columns: 1fr; gap: 18px; }
  .footer-bottom nav { flex-wrap: wrap; justify-content: flex-start; }
  .ai-fab b { display: none; }
  .ai-fab { right: 14px; bottom: 14px; padding: 7px; }
  .ai-panel { right: 14px; bottom: 78px; }
  .owner-dialog { padding: 0; }
  .owner-form { width: 100%; height: 100%; max-height: none; padding: 20px 17px 18px; border-radius: 0; }
  .form-header > img { width: 155px; }
  .form-title-row { display: block; }
  .time-note { margin-top: 8px; }
  .form-steps { margin: 26px 0 30px; }
  .form-steps b { font-size: 12px; }
  .form-grid.two, .form-grid.three { grid-template-columns: 1fr; }
  .time-choice { grid-template-columns: 1fr; }
  .listing-summary { grid-template-columns: 82px 1fr; }
  .listing-summary img { width: 82px; height: 72px; }
  .listing-summary button { grid-column: 1 / -1; }
  .upload-zone { min-height: 220px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .form-footer { bottom: -18px; margin: 26px -17px -18px; padding: 14px 17px calc(16px + env(safe-area-inset-bottom)); grid-template-columns: auto 1fr; }
  .draft-status { display: none; }
  .next-button { margin-left: auto; }
}

@media (max-width: 430px) {
  .hero { min-height: 760px; }
  .hero-card { bottom: 28px; }
  .hero-form label:nth-child(2) { display: none; }
  .featured-visual { min-height: 450px; }
  .featured-controls { min-height: 64px; }
  .form-title-row h2 { font-size: 34px; }
  .owner-form { padding-inline: 14px; }
  .form-footer { margin-inline: -14px; padding-inline: 14px; }
  .back-button, .next-button { min-height: 48px; padding-inline: 17px; font-size: 14px; }
}

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

/* Exact approved contact/footer artwork. The visible layer stays identical to the supplied reference. */
.site-footer.reference-footer {
  position: relative;
  z-index: 75;
  overflow: hidden;
  padding: 0;
  background: #f8f4ec;
  color: inherit;
  line-height: normal;
  text-align: initial;
}
.site-footer.reference-footer::before { display: none; }
.footer-reference-frame { position: relative; width: min(100% - 32px, 980px); margin: 48px auto; overflow: hidden; border-radius: 24px; box-shadow: 0 18px 50px rgba(89,64,26,.12); }
.footer-reference-art { display: block; width: 100%; height: auto; }
.footer-hotspot { position: absolute; z-index: 2; display: block; border-radius: 18px; }
.footer-hotspot:focus-visible { outline: 3px solid #9f7c3f; outline-offset: -4px; }
.footer-hotspot-phone { left: 4.4%; top: 64.3%; width: 29.2%; height: 14.7%; }
.footer-hotspot-facebook { left: 34.1%; top: 64.3%; width: 26.1%; height: 14.7%; }
.footer-hotspot-line { left: 62.1%; top: 11.4%; width: 33.4%; height: 66.4%; border-radius: 32px; }
.footer-reference-nav { position: absolute; inset: 0; pointer-events: none; }
.footer-reference-nav .footer-hotspot { pointer-events: auto; border-radius: 0; }
.footer-hotspot-home { left: 57.1%; top: 89.1%; width: 10.8%; height: 7.4%; }
.footer-hotspot-properties { left: 67.9%; top: 89.1%; width: 15.5%; height: 7.4%; }
.footer-hotspot-contact { left: 83.4%; top: 89.1%; width: 13.3%; height: 7.4%; }

@media (max-width: 760px) {
  .site-footer.reference-footer { padding: 0; text-align: initial; }
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ai-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: -2px 0 10px; }
.ai-actions a, .ai-actions button { padding: 8px 14px; border: 1px solid var(--gold, #c99b4a); border-radius: 999px; background: #fff; color: #7b5a22; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; }

.featured-note { position: absolute; z-index: 2; left: 18px; top: 18px; padding: 5px 12px; border-radius: 999px; background: rgba(255,253,249,.88); color: #7b5a22; font-size: 12px; font-weight: 600; }
@media (max-width: 760px) { .footer-reference-frame { width: calc(100% - 24px); margin: 28px auto; border-radius: 16px; } }

/* ── ส่วนติดต่อท้ายเว็บ (HTML แทนรูปภาพทั้งแผ่น) · เต็มจอ ── */
.contact-footer { position: relative; z-index: 75; padding: 56px 0 0; background: linear-gradient(115deg, #fbf8f2 0%, #f7f0e4 55%, #efe3cf 100%); color: var(--ink); }
.contact-inner { width: var(--shell); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; }
.contact-logo { width: 170px; height: auto; margin-bottom: 22px; }
.contact-kicker { margin: 0; font-family: Manrope, sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .28em; color: var(--gold-deep); }
.contact-kicker::before { content: ""; display: block; width: 44px; height: 1px; margin-bottom: 14px; background: var(--gold-deep); }
.contact-footer h2 { margin: 6px 0 2px; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; color: var(--ink-deep); letter-spacing: -.02em; }
.contact-sub { margin: 0 0 22px; color: var(--muted); font-size: 16px; }
.contact-cards { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-card { min-width: 210px; padding: 12px 18px 12px 12px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--gold); border-radius: 14px; background: rgba(255,253,249,.75); transition: background .2s, transform .2s; }
.contact-card:hover { background: #fff; transform: translateY(-2px); }
.contact-card small { display: block; color: var(--muted); font-size: 12px; line-height: 1.2; }
.contact-card b { display: block; font-size: 15px; color: var(--ink-deep); }
.contact-icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-deep); font-weight: 800; }
.contact-card-line .contact-icon { border-color: #06c755; background: #06c755; color: #fff; font-family: Manrope, sans-serif; }
.contact-qr { width: 196px; padding: 16px 16px 18px; display: grid; justify-items: center; gap: 6px; border-radius: 20px; background: rgba(255,253,249,.92); box-shadow: 0 14px 40px rgba(89,64,26,.12); }
.contact-qr-badge { padding: 4px 16px; border-radius: 999px; background: linear-gradient(135deg, #cfae78, #a98a55); color: #fff; font-family: Manrope, sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.contact-qr-note { color: var(--muted); font-size: 13px; }
.contact-qr img { width: 150px; height: 150px; margin-top: 4px; }
.contact-bottom { width: var(--shell); margin: 44px auto 0; padding: 18px 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--gold); color: var(--muted); font-size: 13px; }
.contact-bottom nav { display: flex; gap: 26px; flex-wrap: wrap; }
.contact-bottom nav a { font-family: Manrope, sans-serif; font-size: 11px; letter-spacing: .18em; color: var(--ink); }
.contact-bottom nav a:hover { color: var(--gold-deep); }
@media (max-width: 760px) {
  .contact-footer { padding-top: 40px; }
  .contact-inner { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 28px; }
  .contact-logo { width: 140px; }
  .contact-card { min-width: 0; flex: 1 1 100%; }
  .contact-qr { justify-self: center; }
  .contact-bottom { width: calc(100% - 32px); justify-content: center; text-align: center; }
  .contact-bottom nav { justify-content: center; gap: 18px; }
}
