/* ธีรพล โมเดิร์น โฮม — ดำถ่าน + ส้มโลโก้ ตามโปสเตอร์ของบริษัท (Build a Better Tomorrow) */
:root {
  --f9: #0B0C0E;
  --f8: #121417;
  --f7: #1A1D21;
  --f6: #23272C;
  --f5: #30353B;
  --gold-1: #FFD9A8;
  --gold-2: #F7931E;
  --gold-3: #E8650F;
  --gold-4: #A9450A;
  --gold: linear-gradient(105deg, #FFC36E 0%, #F99A2A 28%, #F07A12 55%, #FFB458 75%, #E2620C 100%);
  --orange: #F39A1E;
  --orange-2: #E8620F;
  --sky-1: #F2F2EF;
  --sky-2: #E4E4DF;
  --cream: #FAFAF8;
  --ink: #16181B;
  --mist: #62666C;
  --line-green: #06C755;
  --r-s: 8px;
  --r-m: 18px;
  --r-l: 28px;
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 40px);
  --head: "Kanit", "IBM Plex Sans Thai", "Leelawadee UI", sans-serif;
  --body: "IBM Plex Sans Thai", "Leelawadee UI", "Tahoma", sans-serif;
  --ease: cubic-bezier(.2, .75, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--f8); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.7; overflow-x: clip; }
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--head); margin: 0; line-height: 1.25; }
h2 { font-size: clamp(32px, 4.6vw, 58px); font-weight: 700; letter-spacing: -.005em; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
::selection { background: var(--gold-2); color: var(--f9); }
.wrap { width: min(var(--wrap), 100% - var(--pad) * 2); margin-inline: auto; position: relative; }
.section { position: relative; padding-block: clamp(56px, 7.5vw, 104px); overflow: hidden; isolation: isolate; }
.dark { background: var(--f8); color: #fff; }
.light { background: var(--cream); }
.sky { background: linear-gradient(180deg, var(--sky-1) 0%, #F5FAFD 60%, var(--cream) 100%); }

.sec-head { display: grid; gap: 14px; max-width: 780px; margin-bottom: clamp(28px, 3.5vw, 48px); position: relative; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head > p:not(.eyebrow-pill) { font-size: 18px; max-width: 40em; color: var(--mist); }
.dark .sec-head > p:not(.eyebrow-pill) { color: rgba(255,255,255,.72); }
.sec-head-row { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; }

/* ป้ายหัวข้อ: กรอบทองโค้งแบบโปสเตอร์ */
.eyebrow-pill { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px; border-radius: 999px; font-family: var(--head); font-weight: 500; font-size: 15px; color: var(--gold-1); border: 1.5px solid transparent; background: linear-gradient(var(--f7), var(--f7)) padding-box, var(--gold) border-box; }
.sec-head.center .eyebrow-pill { justify-self: center; }
.eyebrow-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 10px var(--gold-2); }
.dark-pill { color: var(--f6); background: linear-gradient(#fff, #fff) padding-box, var(--gold) border-box; }
.dark-pill::before { background: var(--orange); box-shadow: 0 0 10px rgba(243,154,30,.7); }

/* ตัวหนังสือทอง */
.gold-text { background: var(--gold); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s ease-in-out infinite; filter: drop-shadow(0 4px 18px rgba(232,101,15,.35)); }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ปุ่ม */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; font-family: var(--head); font-weight: 500; font-size: 16.5px; text-decoration: none; cursor: pointer; isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s; }
.btn > span, .btn > img { position: relative; z-index: 1; }
.btn img { width: 26px; height: 26px; border-radius: 50%; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn-lg { min-height: 60px; padding: 0 32px; font-size: 18px; }
.btn-gold { background: var(--gold); background-size: 180% 100%; color: var(--f9); font-weight: 600; box-shadow: 0 12px 34px -12px rgba(232,101,15,.9), inset 0 1px 0 rgba(255,255,255,.6); animation: goldmove 5s ease-in-out infinite; }
@keyframes goldmove { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn-gold:hover { box-shadow: 0 18px 44px -12px rgba(232,101,15,1), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-glass { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255,255,255,.18); }
.btn-forest { background: var(--f7); color: #fff; box-shadow: 0 12px 30px -14px rgba(18,20,23,.8); }
.btn-forest:hover { background: var(--f6); }
.btn-line { background: var(--line-green); color: #fff; box-shadow: 0 12px 30px -12px rgba(6,199,85,.8); }

/* แถบความคืบหน้าและเคอร์เซอร์ */
.progress { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: 3px; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.cursor { position: fixed; z-index: 70; left: 0; top: 0; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1.5px solid var(--gold-2); pointer-events: none; opacity: 0; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, opacity .3s; mix-blend-mode: difference; }
.cursor.on { opacity: 1; }
.cursor.big { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: rgba(247,147,30,.25); }

/* หน้าโหลด */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: radial-gradient(800px 500px at 50% 40%, var(--f6), var(--f9)); transition: opacity .7s, visibility .7s; }
.loader-in { display: grid; gap: 24px; justify-items: center; }
.loader img { width: min(320px, 70vw); animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .7; transform: scale(.98); } }
.loader-bar { width: 180px; height: 2px; background: rgba(255,255,255,.12); overflow: hidden; border-radius: 2px; }
.loader-bar i { display: block; height: 100%; width: 40%; background: var(--gold); animation: load 1s var(--ease) infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.loaded .loader { opacity: 0; visibility: hidden; }

/* เมนูบน */
.nav { position: fixed; z-index: 50; top: 14px; left: 0; right: 0; margin: 0 auto; width: min(1300px, 100% - 24px); display: flex; align-items: center; gap: 26px; padding: 10px 10px 10px 22px; border-radius: 999px; color: #fff; transition: background .4s, box-shadow .4s, translate .5s var(--ease), border-color .4s; border: 1px solid transparent; }
.nav.is-solid { background: rgba(18,20,23,.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: rgba(247,147,30,.22); box-shadow: 0 16px 40px -20px rgba(0,0,0,.7); }
.nav.is-hidden { translate: 0 -150%; }
.nav-logo { margin-right: auto; display: block; }
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { text-decoration: none; font-family: var(--head); font-weight: 400; font-size: 16px; opacity: .85; position: relative; padding: 4px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-links a:hover, .nav-links a.is-active { opacity: 1; }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { min-height: 46px; font-size: 15.5px; }
.nav-burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(247,147,30,.4); background: rgba(18,20,23,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); cursor: pointer; position: relative; }
.nav-burger span { position: absolute; left: 15px; right: 15px; height: 2px; border-radius: 2px; background: var(--gold-1); transition: transform .35s var(--ease), top .35s; }
.nav-burger span:first-child { top: 19px; }
.nav-burger span:last-child { top: 27px; }
.nav-burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 45; background: radial-gradient(600px 500px at 80% 0%, var(--f6), var(--f9)); color: #fff; padding: 110px 28px 40px; display: flex; flex-direction: column; gap: 22px; animation: dIn .45s var(--ease); }
@keyframes dIn { from { opacity: 0; transform: translateY(-12px); } }
.drawer nav { display: grid; }
.drawer nav a { font-family: var(--head); font-size: 30px; font-weight: 500; text-decoration: none; padding: 8px 0; border-bottom: 1px solid rgba(247,147,30,.15); }
.drawer-phone { font-family: var(--head); font-size: 28px; text-decoration: none; font-weight: 600; color: var(--gold-2); }

/* ฮีโร่ */
.hero { position: relative; min-height: 100svh; color: #fff; overflow: hidden; isolation: isolate; display: grid; grid-template-rows: 1fr auto; padding: 120px 0 28px; background: var(--f9); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-img, .hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img img { object-fit: cover; object-position: 50% 46%; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04) translate3d(0,0,0); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
.hero-built { clip-path: inset(100% 0 0 0); }
.no-anim .hero-built { clip-path: none; }
.hero-scan { position: absolute; left: 0; right: 0; top: 100%; height: 3px; background: var(--gold); box-shadow: 0 0 30px 8px rgba(247,147,30,.65), 0 0 90px 20px rgba(247,147,30,.25); opacity: 0; }
.sun { position: absolute; right: -20vmax; top: -30vmax; width: 80vmax; height: 80vmax; pointer-events: none; mix-blend-mode: screen; }
.sun i { position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255,214,170,.18) 0deg 4deg, rgba(255,214,170,0) 4deg 14deg); -webkit-mask: radial-gradient(circle, #000 0%, rgba(0,0,0,.6) 25%, transparent 62%); mask: radial-gradient(circle, #000 0%, rgba(0,0,0,.6) 25%, transparent 62%); animation: spin 90s linear infinite; }
.sun::after { content: ""; position: absolute; inset: 30%; border-radius: 50%; background: radial-gradient(circle, rgba(255,224,190,.75), rgba(255,190,120,.18) 45%, transparent 70%); animation: glow 6s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glow { 50% { opacity: .6; transform: scale(1.08); } }
.clouds i { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.55), rgba(255,255,255,0)); filter: blur(6px); animation: drift linear infinite; }
.clouds i:nth-child(1) { width: 60vw; height: 18vh; top: 6%; left: -60vw; animation-duration: 70s; }
.clouds i:nth-child(2) { width: 42vw; height: 14vh; top: 18%; left: -42vw; animation-duration: 95s; animation-delay: -40s; opacity: .7; }
.clouds i:nth-child(3) { width: 70vw; height: 22vh; top: 2%; left: -70vw; animation-duration: 120s; animation-delay: -80s; opacity: .5; }
@keyframes drift { to { transform: translateX(240vw); } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(10,11,13,.8) 0%, rgba(10,11,13,0) 22%, rgba(10,11,13,0) 40%, rgba(10,11,13,.75) 74%, var(--f8) 100%),
  linear-gradient(90deg, rgba(10,11,13,.82) 0%, rgba(10,11,13,.45) 38%, rgba(10,11,13,0) 70%); }
.petals { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero .petals { z-index: 1; }
.hero-badge { position: absolute; z-index: 2; right: max(var(--pad), (100% - var(--wrap)) / 2); top: 120px; padding: 14px 22px; border-radius: 16px; text-align: center; font-family: var(--head); font-weight: 600; font-size: 17px; line-height: 1.35; color: var(--f9); background: linear-gradient(rgba(255,255,255,.92), rgba(255,255,255,.92)) padding-box, var(--gold) border-box; border: 2px solid transparent; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.hero-copy { align-self: center; display: grid; gap: 22px; z-index: 2; }
.hero-kicker { justify-self: start; display: inline-flex; align-items: center; gap: 12px; font-family: var(--head); font-size: 16px; padding: 8px 18px 8px 12px; border-radius: 999px; background: rgba(10,11,13,.45); border: 1px solid rgba(247,147,30,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: rgba(255,255,255,.9); }
.hero-kicker #heroState { color: var(--gold-1); font-weight: 600; }
.hero-kicker .sep { width: 1px; height: 16px; background: rgba(255,255,255,.3); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold-2); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(247,147,30,.8); } 70% { box-shadow: 0 0 0 12px rgba(247,147,30,0); } 100% { box-shadow: 0 0 0 0 rgba(247,147,30,0); } }
.hero-title { font-size: clamp(44px, 7.4vw, 108px); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; text-shadow: 0 6px 40px rgba(0,0,0,.35); }
.hero-title .ln { display: block; white-space: nowrap; }
.hero-title .gold-text { text-shadow: none; }
.ch { display: inline-block; white-space: pre; }
.hero-lede { max-width: 32em; font-size: clamp(16px, 1.5vw, 20px); color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-stats { z-index: 2; }
.stats-bar { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 22px; overflow: hidden; background: rgba(10,11,13,.5); border: 1px solid rgba(247,147,30,.28); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.stats-bar div { padding: 18px 24px; display: flex; flex-direction: column-reverse; gap: 2px; position: relative; }
.stats-bar div + div::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: rgba(247,147,30,.25); }
.stats-bar dt { font-size: 13.5px; color: rgba(255,255,255,.6); }
.stats-bar dd { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.stats-bar b { font-family: var(--head); font-weight: 700; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stats-bar b.sm { font-size: clamp(20px, 2vw, 28px); }
.stats-bar dd span { font-family: var(--head); color: rgba(255,255,255,.8); }

/* แถบวิ่ง */
.ticker { position: relative; z-index: 3; background: linear-gradient(90deg, var(--f9), var(--f7), var(--f9)); border-block: 1px solid rgba(247,147,30,.3); overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; width: max-content; animation: tick 70s linear infinite; }
.ticker-track span { font-family: var(--head); font-weight: 500; font-size: 20px; white-space: nowrap; padding: 0 26px; display: inline-flex; align-items: center; gap: 26px; color: var(--gold-1); }
.ticker-track span::after { content: "✦"; font-size: 14px; color: var(--orange); }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* แสงเหนือเคลื่อนไหว (พื้นหลังส่วนสีเขียว) */
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: radial-gradient(circle, rgba(120,60,15,.95), transparent 65%); }
.aurora i:nth-child(2) { width: 38vw; height: 38vw; right: -10vw; top: 20%; background: radial-gradient(circle, rgba(232,101,15,.45), transparent 65%); animation-duration: 28s; animation-delay: -8s; }
.aurora i:nth-child(3) { width: 40vw; height: 40vw; left: 30%; bottom: -22vw; background: radial-gradient(circle, rgba(40,44,50,.9), transparent 65%); animation-duration: 32s; animation-delay: -14s; }
@keyframes float { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(6vw, 4vw) scale(1.15); } 100% { transform: translate(-4vw, 6vw) scale(.95); } }
.dark::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(247,147,30,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(247,147,30,.05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 75%); mask: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 75%); animation: gridmove 20s linear infinite; }
@keyframes gridmove { to { background-position: 64px 64px, 64px 64px; } }
.sky-clouds { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sky-clouds i { position: absolute; width: 50vw; height: 20vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,0)); animation: drift 80s linear infinite; left: -50vw; top: 8%; }
.sky-clouds i:nth-child(2) { top: 55%; width: 36vw; height: 14vw; animation-duration: 110s; animation-delay: -55s; }

/* บริการ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1200px; }
.svc { --mx: 50%; --my: 50%; position: relative; padding: clamp(26px, 3vw, 38px); border-radius: var(--r-l); background: radial-gradient(400px circle at var(--mx) var(--my), rgba(247,147,30,.16), transparent 45%), linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(247,147,30,.18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; gap: 12px; align-content: start; transform-style: preserve-3d; transition: border-color .4s, box-shadow .4s; }
.svc:hover { border-color: rgba(247,147,30,.55); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 40px -10px rgba(247,147,30,.25); }
.svc-ic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--gold); box-shadow: 0 12px 26px -10px rgba(232,101,15,.8); margin-bottom: 12px; transform: translateZ(30px); }
.svc-ic svg { width: 34px; height: 34px; fill: none; stroke: var(--f9); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.svc h3 { font-size: 22px; transform: translateZ(20px); }
.svc p { color: rgba(255,255,255,.68); font-size: 16px; }

/* หาบ้านตามงบ */
.finder-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.finder-copy { display: grid; gap: 18px; }
.finder-copy > p:not(.eyebrow-pill) { color: var(--mist); font-size: 18px; max-width: 30em; }
.finder-box { position: relative; background: linear-gradient(160deg, var(--f7), var(--f9)); color: #fff; border-radius: var(--r-l); padding: clamp(26px, 3.5vw, 46px); box-shadow: 0 50px 100px -40px rgba(18,20,23,.8); border: 1px solid rgba(247,147,30,.3); overflow: hidden; }
.finder-box::before { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(247,147,30,.35), transparent 65%); animation: glow 5s ease-in-out infinite; pointer-events: none; }
.finder-label { color: rgba(255,255,255,.65); font-size: 15px; }
.finder-num-row { display: flex; align-items: baseline; gap: 12px; }
.finder-num { font-family: var(--head); font-size: clamp(54px, 7vw, 96px); font-weight: 700; line-height: 1.05; font-variant-numeric: tabular-nums; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.finder-unit { font-family: var(--head); font-size: 22px; }
.range { position: relative; height: 36px; margin: 20px 0 6px; }
.range input { position: absolute; inset: 0; width: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; z-index: 2; }
.range::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.14); }
.range-fill { position: absolute; left: 0; top: 16px; height: 4px; border-radius: 4px; background: var(--gold); width: 20%; box-shadow: 0 0 14px rgba(247,147,30,.7); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 7px solid var(--gold-3); box-shadow: 0 0 0 8px rgba(247,147,30,.22), 0 8px 20px rgba(0,0,0,.45); transition: transform .2s; }
.range input:active::-webkit-slider-thumb { transform: scale(1.15); }
.range input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 7px solid var(--gold-3); box-shadow: 0 0 0 8px rgba(247,147,30,.22); }
.range-scale { display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.5); }
.finder-result { margin: 22px 0 14px; font-size: 18px; position: relative; }
.finder-result b { font-family: var(--head); font-size: 30px; color: var(--gold-2); }
.finder-thumbs { display: flex; flex-wrap: wrap; gap: 8px; min-height: 64px; margin-bottom: 24px; position: relative; }
.finder-thumbs button { width: 64px; height: 64px; padding: 0; border: 2px solid rgba(247,147,30,.3); border-radius: 14px; overflow: hidden; cursor: pointer; flex: none; transition: transform .35s var(--ease), border-color .3s; animation: pop .45s var(--ease) both; }
.finder-thumbs button:hover { transform: translateY(-5px) scale(1.06); border-color: var(--gold-2); }
@keyframes pop { from { opacity: 0; transform: scale(.6); } }
.finder-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.finder-thumbs .more-n { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: rgba(247,147,30,.14); color: var(--gold-1); font-family: var(--head); font-weight: 600; }
.finder-box .btn-forest { background: var(--gold); color: var(--f9); font-weight: 600; }

/* ผลงาน */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.chip { font-family: var(--head); font-size: 15.5px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid rgba(28,31,35,.25); background: #fff; cursor: pointer; transition: all .3s var(--ease); }
.chip:hover { border-color: var(--f6); }
.chip.is-on { background: var(--f7); border-color: var(--f7); color: var(--gold-1); box-shadow: 0 10px 24px -12px rgba(18,20,23,.8); }
.works-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 26px); }
.card { grid-column: span 4; display: flex; flex-direction: column; text-align: left; background: #fff; border: 0; padding: 10px 10px 18px; border-radius: var(--r-l); cursor: pointer; color: inherit; position: relative; box-shadow: 0 20px 50px -30px rgba(18,20,23,.45); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--gold); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; }
.card:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -35px rgba(18,20,23,.6); }
.card:hover::before { opacity: 1; }
.card-media { position: relative; overflow: hidden; border-radius: calc(var(--r-l) - 8px); aspect-ratio: 4 / 3; background: var(--sky-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.08); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%); transform: translateX(-100%); transition: transform 1s var(--ease); }
.card:hover .card-media::after { transform: translateX(100%); }
.card-badges { position: absolute; z-index: 2; left: 12px; top: 12px; display: flex; gap: 6px; }
.badge { font-family: var(--head); font-weight: 500; font-size: 13px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--f7); }
.badge.gold { background: var(--gold); color: var(--f9); }
.card-count { position: absolute; z-index: 2; right: 12px; bottom: 12px; color: #fff; font-size: 13px; background: rgba(10,11,13,.55); padding: 3px 11px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.card-body { padding: 16px 10px 0; display: grid; gap: 2px; }
.card-price { font-family: var(--head); font-size: 28px; font-weight: 700; color: var(--f7); font-variant-numeric: tabular-nums; line-height: 1.2; }
.card-price small { font-size: 15px; font-weight: 400; color: var(--mist); margin-left: 6px; }
.card-spec { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15px; }
.card-place { font-size: 14px; color: var(--mist); display: flex; align-items: center; gap: 6px; }
.card-place::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.card.wide { grid-column: span 8; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); background: linear-gradient(160deg, var(--f7), var(--f9)); color: #fff; padding: 10px; }
.card.wide .card-media { aspect-ratio: auto; min-height: 320px; height: 100%; }
.card.wide .card-body { padding: clamp(18px, 2.4vw, 32px); align-content: end; gap: 8px; }
.card.wide .card-title { font-family: var(--head); color: var(--gold-1); font-size: 16px; }
.card.wide .card-price { font-size: clamp(34px, 3.6vw, 50px); background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card.wide .card-price small { color: rgba(255,255,255,.6); -webkit-text-fill-color: rgba(255,255,255,.6); }
.card.wide .card-place { color: rgba(255,255,255,.65); }
.empty { padding: 36px; border-radius: var(--r-m); background: #fff; max-width: 40em; }
.more { margin-top: 44px; display: flex; justify-content: center; }

/* แบบบ้าน */
.designs { position: relative; overflow: hidden; isolation: isolate; }
.designs-pin { padding-block: clamp(80px, 10vw, 130px); min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.designs-head { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 24px 60px; margin-bottom: clamp(32px, 4vw, 56px); }
.designs-head > div { display: grid; gap: 14px; }
.designs-head > p { color: rgba(255,255,255,.7); font-size: 17px; }
.designs-viewport { overflow: hidden; }
.designs-track { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: max(var(--pad), (100vw - var(--wrap)) / 2); width: max-content; will-change: transform; }
.dcard { width: clamp(300px, 32vw, 500px); flex: none; text-align: left; background: linear-gradient(170deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(247,147,30,.2); border-radius: var(--r-l); overflow: hidden; padding: 10px; cursor: pointer; color: #fff; transition: border-color .4s, transform .5s var(--ease); }
.dcard:hover { border-color: var(--gold-2); transform: translateY(-8px); }
.dcard-media { aspect-ratio: 16 / 11; overflow: hidden; position: relative; border-radius: calc(var(--r-l) - 8px); }
.dcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dcard:hover .dcard-media img { transform: scale(1.07); }
.dcard-code { position: absolute; left: 12px; top: 12px; font-family: var(--head); font-weight: 600; font-size: 15px; padding: 4px 14px; border-radius: 999px; background: var(--gold); color: var(--f9); }
.dcard-body { padding: 18px 12px 12px; display: grid; gap: 4px; }
.dcard-body h3 { font-size: 22px; }
.dcard-style { color: rgba(255,255,255,.6); font-size: 14.5px; }
.dcard-row { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-top: 10px; padding-top: 14px; border-top: 1px solid rgba(247,147,30,.18); }
.dcard-price { font-family: var(--head); font-weight: 700; font-size: 30px; line-height: 1.1; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dcard-price small { display: block; font-size: 13px; font-weight: 400; -webkit-text-fill-color: rgba(255,255,255,.6); }
.dcard-spec { font-size: 14.5px; color: rgba(255,255,255,.78); text-align: right; line-height: 1.5; }
.designs-end { width: clamp(260px, 26vw, 360px); flex: none; display: grid; align-content: center; gap: 18px; padding: 30px; border-radius: var(--r-l); border: 1px dashed rgba(247,147,30,.45); color: #fff; }
.designs-end p { font-family: var(--head); font-size: 26px; font-weight: 600; line-height: 1.35; }
.designs-bar { height: 2px; margin-top: 36px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.designs-bar i { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

/* วิดีโอ */
.tour-in { display: grid; grid-template-columns: auto 1fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.phone-wrap { position: relative; display: grid; place-items: center; padding: 30px; }
.phone { position: relative; z-index: 1; width: clamp(240px, 23vw, 310px); aspect-ratio: 9 / 18.5; border-radius: 46px; padding: 10px; background: linear-gradient(145deg, #2a2e33, #0d0e10); box-shadow: 0 60px 100px -40px rgba(18,20,23,.75), inset 0 0 0 2px rgba(247,147,30,.45); animation: bob 6s ease-in-out infinite; }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; background: #000; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 84px; height: 22px; margin-left: -42px; background: #0d0e10; border-radius: 20px; z-index: 2; }
.ring { position: absolute; inset: 10%; border-radius: 50%; border: 1.5px solid rgba(232,101,15,.45); animation: ripple 4s ease-out infinite; }
.ring.r2 { animation-delay: 2s; }
@keyframes ripple { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.sound { position: absolute; z-index: 3; bottom: 28px; left: 50%; transform: translateX(-50%); border: 0; border-radius: 999px; padding: 8px 18px; background: var(--gold); color: var(--f9); font-family: var(--head); font-weight: 600; font-size: 14px; cursor: pointer; }
.tour-copy { display: grid; gap: 20px; }
.tour-copy > p:not(.eyebrow-pill) { color: var(--mist); font-size: 18px; max-width: 32em; }
.tour-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid rgba(18,20,23,.12); text-decoration: none; font-family: var(--head); font-size: 15.5px; transition: transform .35s var(--ease), box-shadow .35s; }
.social-pill:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -16px rgba(18,20,23,.6); }
.social-pill img { width: 30px; height: 30px; border-radius: 50%; }

/* ขั้นตอน */
.process-in { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 90px); align-items: start; }

.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 14px; }
.steps::before { content: ""; position: absolute; left: 35px; top: 30px; bottom: 30px; width: 2px; background: rgba(255,255,255,.12); }
.steps::after { content: ""; position: absolute; left: 35px; top: 30px; width: 2px; height: calc((100% - 60px) * var(--p, 0)); background: var(--gold); box-shadow: 0 0 14px rgba(247,147,30,.8); }
.step { display: grid; grid-template-columns: 72px 1fr; gap: 22px; padding: 18px 22px 22px 0; position: relative; z-index: 1; border-radius: var(--r-m); }
.step-n { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 26px; background: var(--f7); border: 1.5px solid rgba(247,147,30,.3); color: var(--gold-1); transition: background .5s, color .5s, box-shadow .5s, transform .5s var(--ease); }
.step.is-on .step-n { background: var(--gold); color: var(--f9); box-shadow: 0 0 0 8px rgba(247,147,30,.12), 0 14px 30px -10px rgba(232,101,15,.9); transform: scale(1.05); }
.step h3 { font-size: clamp(21px, 2.2vw, 26px); margin: 16px 0 6px; }
.step p { color: rgba(255,255,255,.68); max-width: 34em; }

/* วันรับกุญแจ */
.moments-marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.moments-track { display: flex; gap: 18px; width: max-content; animation: tick 60s linear infinite; padding-block: 20px; }
.moments-marquee:hover .moments-track { animation-play-state: paused; }
.moments-track figure { margin: 0; width: clamp(240px, 24vw, 340px); aspect-ratio: 4 / 5; border-radius: var(--r-l); overflow: hidden; flex: none; box-shadow: 0 30px 60px -30px rgba(18,20,23,.5); border: 4px solid #fff; transition: transform .5s var(--ease); }
.moments-track figure:nth-child(odd) { transform: rotate(-2deg) translateY(10px); }
.moments-track figure:nth-child(even) { transform: rotate(2deg); }
.moments-track figure:hover { transform: rotate(0) scale(1.04); }
.moments-track img { width: 100%; height: 100%; object-fit: cover; }

/* พื้นที่ */
.area-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.area-col { background: #fff; border-radius: var(--r-l); padding: 26px; box-shadow: 0 30px 60px -40px rgba(18,20,23,.5); }
.area-col h3 { font-size: 20px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1.5px solid rgba(232,101,15,.4); display: flex; justify-content: space-between; align-items: baseline; color: var(--f7); }
.area-col h3 span:last-child { font-size: 15px; font-weight: 500; color: var(--gold-4); }
.area-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-col li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; border-radius: 999px; background: var(--sky-1); font-size: 15px; transition: transform .3s var(--ease), background .3s; }
.area-col li:hover { transform: translateY(-3px); background: var(--sky-2); }
.area-col li b { font-family: var(--head); font-size: 13px; font-weight: 600; color: var(--f9); background: var(--gold); border-radius: 999px; min-width: 24px; height: 24px; display: grid; place-items: center; padding: 0 7px; }

/* คำถาม */
.faq-in { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq .sec-head .btn { justify-self: start; margin-top: 8px; }
.faq-list { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--r-m); padding: 0 26px; border: 1px solid rgba(18,20,23,.08); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: rgba(232,101,15,.55); box-shadow: 0 24px 50px -34px rgba(18,20,23,.55); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-family: var(--head); font-weight: 500; font-size: 18.5px; position: relative; color: var(--f7); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: var(--sky-1); color: var(--f7); transition: transform .4s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--gold); }
.faq .ans { padding: 0 0 22px; color: var(--mist); animation: ansIn .45s var(--ease); }
@keyframes ansIn { from { opacity: 0; transform: translateY(-8px); } }

/* ติดต่อ */
.contact { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(90px, 12vw, 160px); }
.contact-in { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.contact-main { display: grid; gap: 18px; }
.contact-main > p:not(.eyebrow-pill):not(.contact-phone2) { color: rgba(255,255,255,.72); font-size: 18px; max-width: 30em; }
.contact-phone { justify-self: start; font-family: var(--head); font-weight: 700; font-size: clamp(48px, 7.4vw, 104px); line-height: 1.1; text-decoration: none; margin-top: 10px; background: var(--gold); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s ease-in-out infinite; }
.contact-phone2 { color: rgba(255,255,255,.65); font-size: 17px; }
.contact-phone2 a { color: #fff; font-family: var(--head); font-weight: 600; text-decoration: none; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.contact-card { position: relative; border-radius: var(--r-l); padding: 34px; display: grid; justify-items: center; gap: 14px; text-align: center; background: linear-gradient(var(--f7), var(--f7)) padding-box, var(--gold) border-box; border: 1.5px solid transparent; box-shadow: 0 50px 100px -40px rgba(0,0,0,.8); }
.contact-logo { width: 220px; }
.qr { background: #fff; padding: 14px; border-radius: 20px; width: 196px; box-shadow: 0 0 0 6px rgba(247,147,30,.18); }
.qr img { width: 100%; height: auto; }
.qr-cap { color: rgba(255,255,255,.72); font-size: 15px; }
.socials { list-style: none; padding: 0; margin: 4px 0 0; display: flex; gap: 12px; }
.socials a { display: block; width: 50px; height: 50px; border-radius: 50%; overflow: hidden; transition: transform .35s var(--ease); box-shadow: 0 8px 18px -8px rgba(0,0,0,.6); }
.socials a:hover { transform: translateY(-5px) scale(1.08); }
.socials img { width: 100%; height: 100%; object-fit: cover; }
.addr { color: rgba(255,255,255,.55); font-size: 14.5px; }

.foot { background: var(--f9); color: rgba(255,255,255,.6); padding: 40px 0; font-size: 14.5px; border-top: 1px solid rgba(247,147,30,.2); }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.foot-seal { width: 80px; height: 80px; opacity: .9; }
.foot-name { color: #fff; font-family: var(--head); font-weight: 500; font-size: 17px; }
.foot-right { display: flex; gap: 22px; }
.foot-right a { text-decoration: none; }
.foot-right a:hover { color: var(--gold-1); }

.fab-line { position: fixed; z-index: 40; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px 8px 8px; border-radius: 999px; background: var(--line-green); color: #fff; text-decoration: none; font-family: var(--head); font-weight: 500; box-shadow: 0 14px 30px -10px rgba(6,199,85,.9); translate: 0 140px; transition: translate .6s var(--ease); }
.fab-line::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(6,199,85,.6); animation: fab 2.4s infinite; }
@keyframes fab { 70% { box-shadow: 0 0 0 16px rgba(6,199,85,0); } 100% { box-shadow: 0 0 0 0 rgba(6,199,85,0); } }
.fab-line img { width: 38px; height: 38px; border-radius: 50%; }
.fab-line.is-in { translate: 0 0; }

/* หน้าต่างดูผลงาน */
.viewer { width: min(1280px, 100vw); max-width: 100vw; height: min(820px, 100svh); max-height: 100svh; padding: 0; border: 1px solid rgba(247,147,30,.3); border-radius: var(--r-l); background: var(--f8); color: #fff; overflow: hidden; }
.viewer::backdrop { background: rgba(5,5,6,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.viewer[open] { animation: vin .55s var(--ease); }
@keyframes vin { from { opacity: 0; transform: translateY(40px) scale(.96); } }
.viewer-in { display: grid; grid-template-columns: minmax(0, 1fr) 370px; grid-template-rows: minmax(0, 1fr) auto; height: 100%; }
.v-close { position: absolute; z-index: 5; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(247,147,30,.4); background: rgba(18,20,23,.6); cursor: pointer; display: grid; place-items: center; transition: transform .4s var(--ease); }
.v-close:hover { transform: rotate(90deg); }
.v-close svg, .v-nav svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.v-stage { position: relative; background: #08090a; min-height: 0; overflow: hidden; }
.v-stage img { width: 100%; height: 100%; object-fit: contain; transition: opacity .3s, transform .5s var(--ease); }
.v-stage img.is-loading { opacity: 0; transform: scale(1.02); }
.v-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(247,147,30,.4); background: rgba(18,20,23,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer; display: grid; place-items: center; }
.v-prev { left: 14px; }
.v-next { right: 14px; }
.v-count { position: absolute; left: 16px; bottom: 14px; font-size: 13px; background: rgba(0,0,0,.55); padding: 3px 11px; border-radius: 999px; }
.v-thumbs { grid-column: 1; display: flex; gap: 6px; overflow-x: auto; padding: 10px; background: #08090a; scrollbar-width: thin; }
.v-thumbs button { flex: 0 0 78px; height: 58px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; opacity: .5; transition: opacity .2s; }
.v-thumbs button.is-on { border-color: var(--gold-2); opacity: 1; }
.v-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.v-info { grid-column: 2; grid-row: 1 / span 2; padding: 70px 30px 30px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; background: radial-gradient(400px 300px at 100% 0%, rgba(247,147,30,.14), transparent 60%); }
.v-kind { justify-self: start; align-self: flex-start; font-family: var(--head); font-size: 14px; color: var(--f9); background: var(--gold); padding: 3px 12px; border-radius: 999px; }
.v-info h3 { font-size: 26px; }
.v-price { font-family: var(--head); font-size: 42px; font-weight: 700; line-height: 1.15; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v-price small { font-size: 15px; font-weight: 400; -webkit-text-fill-color: rgba(255,255,255,.6); margin: 0 6px; }
.v-info dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 6px 0 0; padding: 18px 0; border-block: 1px solid rgba(247,147,30,.2); font-size: 15.5px; }
.v-info dt { color: rgba(255,255,255,.55); }
.v-info dd { margin: 0; }
.v-note { color: rgba(255,255,255,.72); font-size: 15px; white-space: pre-line; }
.v-actions { margin-top: auto; display: grid; gap: 12px; }
.v-fb { font-size: 14px; color: rgba(255,255,255,.6); text-align: center; }

/* การปรากฏตอนเลื่อน (ซ่อนก่อนเฉพาะเมื่อ JavaScript ทำงาน) */
.js .reveal { opacity: 0; transform: translateY(46px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .split-words .w { display: inline-block; opacity: 0; transform: translateY(60%) rotate(4deg); transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i) * 60ms + var(--d, 0s)); }
.js .split-words.reveal { filter: none; transform: none; opacity: 1; }
.js .split-words.in .w { opacity: 1; transform: none; }
.js .hero-title .ch { opacity: 0; transform: translateY(70%) scale(.9); filter: blur(8px); }
.hero-ready .hero-title .ch { opacity: 1; transform: none; filter: none; transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i) * 40ms); }
.js .hero-fade { opacity: 0; transform: translateY(24px); }
.hero-ready .hero-fade { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, .6s); }


/* ===== รุ่นเน้นภาพ ===== */
/* ฮีโร่: สไลด์ */
.slides, .slide { position: absolute; inset: 0; margin: 0; }
.slide { clip-path: inset(100% 0 0 0); z-index: 1; }
.slide.is-on { clip-path: inset(0 0 0 0); z-index: 2; }
.slide.is-in { z-index: 3; animation: wipe 1.6s cubic-bezier(.7,0,.25,1) forwards; }
@keyframes wipe { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.slide img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 14s ease-in-out infinite alternate; }
.hero-scan { z-index: 4; }
.hero-scan.run { animation: scan 1.6s cubic-bezier(.7,0,.25,1) forwards; }
@keyframes scan { 0% { top: 100%; opacity: 1; } 90% { opacity: 1; } 100% { top: 0%; opacity: 0; } }
.slide-dots { display: flex; gap: 8px; margin-top: 6px; }
.slide-dots button { width: 34px; height: 4px; border-radius: 4px; border: 0; padding: 0; background: rgba(255,255,255,.3); cursor: pointer; position: relative; overflow: hidden; }
.slide-dots button.is-on::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: left; animation: dot 6s linear forwards; }
@keyframes dot { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-lede { font-family: var(--head); font-weight: 300; letter-spacing: .02em; }

/* บริการ: การ์ดภาพ */
.svc-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc { min-height: 300px; padding: 0; overflow: hidden; text-decoration: none; color: #fff; align-content: end; background: var(--f9); border-color: rgba(247,147,30,.25); }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(1.05); }
.svc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,11,13,0) 30%, rgba(10,11,13,.92) 100%); transition: background .5s; }
.svc:hover img { transform: scale(1.1); }
.svc:hover::after { background: linear-gradient(180deg, rgba(10,11,13,.1) 10%, rgba(18,20,23,.95) 100%); }
.svc .svc-ic, .svc h3, .svc p { position: relative; z-index: 2; margin-inline: 22px; }
.svc .svc-ic { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 4px; }
.svc .svc-ic svg { width: 26px; height: 26px; }
.svc h3 { font-size: 22px; transform: none; }
.svc p { margin-bottom: 22px; color: rgba(255,255,255,.78); font-size: 15px; }

/* ผนังภาพ */
.wall { background: var(--f9); padding: clamp(44px, 6vw, 80px) 0; overflow: hidden; position: relative; }
.wall-title { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; color: #fff; }
.wall-row { display: flex; gap: 14px; width: max-content; animation: tick 80s linear infinite; margin-bottom: 14px; }
.wall-row.rev { animation-direction: reverse; animation-duration: 95s; }
.wall:hover .wall-row { animation-play-state: paused; }
.wall-row button { flex: none; width: clamp(220px, 22vw, 340px); aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; border: 0; padding: 0; cursor: pointer; position: relative; background: var(--f7); }
.wall-row img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; filter: saturate(.92) brightness(.92); }
.wall-row button:hover img { transform: scale(1.08); filter: none; }
.wall-row button span { position: absolute; left: 10px; bottom: 10px; font-family: var(--head); font-size: 13px; color: #fff; background: rgba(10,11,13,.6); padding: 3px 10px; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: all .35s var(--ease); backdrop-filter: blur(6px); }
.wall-row button:hover span { opacity: 1; transform: none; }

/* ผลงาน: การ์ดภาพเต็ม */
.works-grid { grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 14px; }
.card { grid-column: span 1; padding: 0; overflow: hidden; border-radius: 20px; aspect-ratio: 4 / 5; background: var(--f9); }
.card.wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; display: block; padding: 0; background: var(--f9); }
.card.tall { grid-row: span 1; }
.card-media, .card.wide .card-media { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; min-height: 0; height: 100%; }
.card-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,11,13,0) 45%, rgba(10,11,13,.88) 100%); }
.card-body, .card.wide .card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 18px 18px; color: #fff; gap: 0; }
.card-price, .card.wide .card-price { color: transparent; background: var(--gold); -webkit-background-clip: text; background-clip: text; font-size: 26px; }
.card.wide .card-price { font-size: clamp(34px, 3.4vw, 48px); }
.card-price small, .card.wide .card-price small { -webkit-text-fill-color: rgba(255,255,255,.75); color: rgba(255,255,255,.75); }
.card-spec { color: rgba(255,255,255,.88); font-size: 14px; }
.card-place, .card.wide .card-place { color: rgba(255,255,255,.7); font-size: 13px; }
.card.wide .card-title { color: var(--gold-1); }
.card-count { top: 12px; right: 12px; bottom: auto; z-index: 2; }
.card-badges { z-index: 2; }
.card:hover { transform: translateY(-6px); }

/* แบบบ้าน: แถบเลื่อนอัตโนมัติ */
.designs { padding-bottom: clamp(56px, 7vw, 96px); }
.designs-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.designs-head > div { display: grid; gap: 14px; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: tick 45s linear infinite; padding-block: 12px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.dcard { width: clamp(300px, 34vw, 520px); }
.dcard-media { aspect-ratio: 16 / 10; }
.dcard-media img { object-position: 50% 60%; }
.dcard-body { padding: 16px 12px 10px; }
.dcard-new { position: absolute; right: 12px; top: 12px; font-family: var(--head); font-size: 13px; padding: 3px 12px; border-radius: 999px; background: var(--orange); color: #fff; }

/* ขั้นตอนแนวนอน */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; counter-reset: f; }
.flow::before { content: ""; position: absolute; left: 10%; right: 10%; top: 44px; height: 2px; background: linear-gradient(90deg, rgba(247,147,30,0), rgba(247,147,30,.6), rgba(247,147,30,0)); }
.flow li { position: relative; text-align: center; display: grid; justify-items: center; gap: 8px; padding: 0 6px; }
.flow-ic { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--f7); border: 1.5px solid rgba(247,147,30,.45); box-shadow: 0 0 0 8px rgba(18,20,23,.9); position: relative; z-index: 1; transition: transform .5s var(--ease), background .5s; }
.flow-ic svg { width: 40px; height: 40px; fill: none; stroke: var(--gold-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.js .flow li.reveal .flow-ic { transform: scale(.3) rotate(-40deg); opacity: 0; }
.js .flow li.reveal.in .flow-ic { transform: none; opacity: 1; transition: transform .9s cubic-bezier(.3,1.6,.5,1), opacity .5s; transition-delay: calc(var(--d, 0s) + .15s); }
.flow li:hover .flow-ic { transform: translateY(-6px) scale(1.06); background: var(--f6); }
.flow b { position: absolute; top: -4px; left: calc(50% + 26px); z-index: 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-size: 14px; background: var(--gold); color: var(--f9); }
.flow h3 { font-size: 19px; margin-top: 8px; }
.flow p { color: rgba(255,255,255,.65); font-size: 14.5px; line-height: 1.55; }

/* พื้นที่ + คำถาม */
.faq-in { grid-template-columns: 1fr 1.25fr; align-items: start; }
.areas-box { display: grid; gap: 14px; background: #fff; border-radius: var(--r-l); padding: clamp(24px, 3vw, 36px); box-shadow: 0 30px 60px -40px rgba(18,20,23,.5); }
.areas-box h2 { font-size: clamp(26px, 3vw, 38px); color: var(--f7); }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.area-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 12px; border-radius: 999px; background: var(--sky-1); font-size: 14.5px; }
.area-chips b { font-family: var(--head); font-size: 12px; font-weight: 600; background: var(--gold); color: var(--f9); border-radius: 999px; min-width: 22px; height: 22px; display: grid; place-items: center; padding: 0 6px; }
.faq-h { font-size: 24px; color: var(--f7); margin-bottom: 4px; }
.faq summary { padding-block: 18px; font-size: 17px; }

/* ติดต่อ: ภาพพื้นหลัง */
.contact-bg { position: absolute; inset: 0; z-index: -2; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; animation: kenburns 30s ease-in-out infinite alternate; }
.contact::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--f9) 20%, rgba(10,11,13,.6)); }
.contact.slim { padding-block: clamp(56px, 7vw, 90px); }
.contact.slim .contact-card { justify-self: end; }

/* หน้าแบบบ้าน */
.page-hero { position: relative; min-height: 72svh; display: grid; align-items: end; padding: 140px 0 clamp(48px, 7vw, 90px); color: #fff; overflow: hidden; isolation: isolate; background: var(--f9); }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; animation: kenburns 20s ease-in-out infinite alternate; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,11,13,.55), rgba(10,11,13,.15) 35%, rgba(10,11,13,.9) 100%), linear-gradient(90deg, rgba(10,11,13,.7), transparent 65%); }
.page-hero .petals { z-index: 0; }
.page-hero-in { display: grid; gap: 18px; position: relative; z-index: 1; }
.spot { padding-top: clamp(40px, 5vw, 70px); }
.spot-in { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.spot-media { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 16 / 10; cursor: pointer; border: 1.5px solid rgba(247,147,30,.35); box-shadow: 0 50px 100px -50px rgba(0,0,0,.9); }
.spot-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.spot-media:hover img { transform: scale(1.05); }
.spot-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.spot-thumbs button { aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1.5px solid rgba(247,147,30,.25); padding: 0; cursor: pointer; background: none; }
.spot-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.spot-thumbs button:hover img { transform: scale(1.1); }
.spot-info { display: grid; gap: 14px; }
.spot-info h2 { font-size: clamp(30px, 3.6vw, 48px); }
.spot-info .spot-style { color: rgba(255,255,255,.7); }
.spec-icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0; }
.spec-icons div { border-radius: 16px; padding: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(247,147,30,.2); text-align: center; }
.spec-icons b { display: block; font-family: var(--head); font-size: 28px; line-height: 1.1; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spec-icons span { font-size: 13.5px; color: rgba(255,255,255,.7); }
.spot-price { font-family: var(--head); font-size: 40px; font-weight: 700; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.15; }
.spot-price small { font-size: 15px; font-weight: 400; -webkit-text-fill-color: rgba(255,255,255,.65); margin-right: 8px; }
.dgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.dgrid .dcard { width: auto; background: var(--f8); }
.dgrid .dcard-media { aspect-ratio: 16 / 9; }
.custom-bg { position: absolute; inset: 0; z-index: -2; }
.custom-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.custom::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--f9) 30%, rgba(10,11,13,.55)); }
.custom-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.custom-in > div { display: grid; gap: 18px; }
.custom-poster { border-radius: var(--r-l); box-shadow: 0 50px 100px -40px rgba(0,0,0,.9); border: 1.5px solid rgba(247,147,30,.4); transform: rotate(2deg); animation: bob 6s ease-in-out infinite; }
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mini-steps li { display: flex; align-items: center; gap: 14px; font-family: var(--head); font-size: 19px; }
.mini-steps b { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--f9); flex: none; }

/* แท็บเล็ต / มือถือ */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-cta { display: none; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .card { grid-column: span 6; }
  .card.wide { grid-column: span 12; }
  .viewer-in { grid-template-columns: 1fr; grid-template-rows: auto auto auto; height: auto; }
  .v-stage { aspect-ratio: 4 / 3; }
  .v-info { grid-column: 1; grid-row: auto; padding: 22px 22px 32px; }
  .viewer { height: 100svh; border-radius: 0; overflow-y: auto; border: 0; }
  .hero-badge { display: none; }
}
@media (max-width: 860px) {
  .sec-head-row { grid-template-columns: 1fr; }
  .filters { justify-content: flex-start; }
  .finder-in, .tour-in, .faq-in, .contact-in, .process-in, .designs-head { grid-template-columns: 1fr; }
  .tour-in .phone-wrap { order: 2; }
  .area-cols { grid-template-columns: 1fr; }
  .designs-pin { min-height: 0; }
  .designs-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .designs-viewport::-webkit-scrollbar { display: none; }
  .designs-track { padding-bottom: 12px; }
  .dcard { scroll-snap-align: center; width: 82vw; }
  .designs-end { display: none; }
  .designs-bar { display: none; }
  .stats-bar { grid-template-columns: repeat(3, 1fr); }
  .stats-bar .hide-m { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { top: 10px; padding-left: 16px; }
  .nav-logo img { height: 36px; }
  .hero { padding-top: 96px; }
  .hero-img img { object-position: 50% 50%; }
  .hero-shade { background: linear-gradient(180deg, rgba(10,11,13,.5) 0%, rgba(10,11,13,0) 20%, rgba(10,11,13,.1) 34%, rgba(10,11,13,.85) 58%, var(--f8) 100%); }
  .hero-copy { align-self: end; gap: 16px; padding-bottom: 20px; }
  .hero-kicker { font-size: 13.5px; }
  .hero-title { font-size: clamp(28px, 8.7vw, 44px); }
  .hero-copy { min-width: 0; max-width: 100%; }
  .hero-lede { font-size: 15.5px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .stats-bar div { padding: 12px 12px; }
  .stats-bar dt { font-size: 11.5px; line-height: 1.35; }
  .stats-bar b { font-size: 24px; }
  .stats-bar b.sm { font-size: 15px; white-space: normal; line-height: 1.4; }
  .stats-bar dd span { font-size: 13px; }
  .svc-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  .card { grid-column: span 1; padding: 6px 6px 14px; border-radius: 18px; }
  .card-media { border-radius: 13px; }
  .card.wide { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .card.wide .card-media { min-height: 0; aspect-ratio: 4 / 3; }
  .card-body { padding: 10px 6px 0; }
  .card-price { font-size: 20px; }
  .card-price small { font-size: 13px; }
  .card-spec { font-size: 13px; gap: 0 10px; }
  .card-place { font-size: 12.5px; }
  .finder-thumbs button, .finder-thumbs .more-n { width: 52px; height: 52px; }
  .step { grid-template-columns: 56px 1fr; gap: 14px; }
  .step-n { width: 56px; height: 56px; font-size: 22px; }
  .steps::before, .steps::after { left: 27px; }
  .foot-in { grid-template-columns: 1fr; justify-items: start; }
  .contact-card { padding: 26px; }
  .fab-line span { display: none; }
  .fab-line { padding: 8px; }
  .moments-track figure { width: 62vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-built { clip-path: none !important; }
  .js .reveal, .js .split-words .w, .js .hero-title .ch, .js .hero-fade { opacity: 1 !important; transform: none !important; filter: none !important; }
}

@media (max-width: 1100px) {
  .works-grid { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .flow::before { display: none; }
}
@media (max-width: 860px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc { min-height: 220px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .card.wide { grid-column: span 2; grid-row: span 1; aspect-ratio: 4 / 3; }
  .faq-in, .spot-in, .custom-in { grid-template-columns: 1fr; }
  .dgrid { grid-template-columns: 1fr; }
  .designs-head, .wall-title { flex-direction: column; align-items: flex-start; }
  .dcard { width: 78vw; }
  .dgrid .dcard { width: auto; }
  .custom-poster { max-width: 420px; justify-self: center; }
  .contact.slim .contact-card { justify-self: stretch; }
}
@media (max-width: 640px) {
  .svc { min-height: 180px; }
  .svc h3 { font-size: 18px; }
  .svc p { font-size: 13px; margin-bottom: 16px; }
  .svc .svc-ic, .svc h3, .svc p { margin-inline: 14px; }
  .svc .svc-ic { width: 38px; height: 38px; border-radius: 10px; }
  .svc .svc-ic svg { width: 20px; height: 20px; }
  .works-grid { gap: 10px; }
  .card { border-radius: 16px; }
  .card-body { padding: 10px 12px 12px; }
  .card-price { font-size: 19px; }
  .card.wide .card-price { font-size: 28px; }
  .card-spec { font-size: 12px; }
  .card-place { display: none; }
  .card.wide .card-place { display: flex; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li:last-child { grid-column: 1 / -1; }
  .flow-ic { width: 70px; height: 70px; }
  .flow-ic svg { width: 32px; height: 32px; }
  .flow b { left: calc(50% + 18px); }
  .wall-row button { width: 58vw; }
  .page-hero { min-height: 70svh; }
  .spec-icons b { font-size: 22px; }
}

/* ================= v4: โลโก้เด่น + ลูกค้าเซ็นสัญญา + ติดต่อจัดเต็ม ================= */
/* โลโก้บนเมนู: วางบนแผ่นเข้ม ขอบทอง มีแสงวิ่ง */
.nav-logo { position: relative; padding: 7px 16px; margin-left: -12px; border-radius: 999px; background: rgba(10,11,13,.62); border: 1px solid rgba(247,147,30,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px -12px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.04); overflow: hidden; }
.nav-logo img { height: 52px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.45)); }
.nav-logo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,210,150,.55) 50%, transparent 65%); transform: translateX(-130%); animation: logoShine 5.5s ease-in-out infinite 1.5s; pointer-events: none; }
@keyframes logoShine { 0%, 70% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
.nav.is-solid .nav-logo { background: transparent; border-color: transparent; box-shadow: none; }

/* โลโก้ใหญ่ในหน้าแรก */
.hero-brand { position: relative; justify-self: start; display: inline-flex; align-items: center; gap: 16px; padding: 14px 22px 14px 14px; border-radius: 22px; background: linear-gradient(135deg, rgba(10,11,13,.78), rgba(28,31,35,.55)); border: 1px solid rgba(247,147,30,.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 50px -10px rgba(247,147,30,.35); overflow: hidden; }
.hero-brand .seal { width: clamp(64px, 6.5vw, 92px); height: auto; animation: spinSlow 40s linear infinite; }
.hero-brand .logo { width: clamp(220px, 26vw, 400px); height: auto; filter: drop-shadow(0 4px 14px rgba(0,0,0,.5)); }
.hero-brand::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,210,150,.4) 50%, transparent 65%); transform: translateX(-130%); animation: logoShine 6s ease-in-out infinite 2.2s; pointer-events: none; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ===== ลูกค้าเซ็นสัญญา ===== */
.contracts { background: radial-gradient(1200px 500px at 80% -10%, rgba(247,147,30,.16), transparent 60%), var(--f8); color: #fff; overflow: hidden; position: relative; }
.contracts .sec-head h2 { color: #fff; }
.c-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.c-count { display: flex; gap: 14px; }
.c-count div { padding: 14px 20px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(247,147,30,.3); text-align: center; min-width: 120px; }
.c-count b { display: block; font-family: var(--head); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c-count span { font-size: 13.5px; color: rgba(255,255,255,.7); }
.c-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 15vw, 230px); gap: 12px; margin-top: 30px; }
.c-mosaic button { position: relative; border: 0; padding: 0; border-radius: 18px; overflow: hidden; cursor: pointer; background: var(--f7); }
.c-mosaic button:first-child { grid-column: span 2; grid-row: span 2; }
.c-mosaic button:nth-child(4) { grid-row: span 2; }
.c-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .5s; }
.c-mosaic button:hover img { transform: scale(1.07); }
.c-mosaic button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,11,13,.85)); }
.c-tag { position: absolute; left: 12px; bottom: 12px; right: 12px; z-index: 1; display: flex; align-items: center; gap: 8px; font-family: var(--head); font-size: 14px; text-align: left; color: #fff; }
.c-tag i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--f9); font-style: normal; font-size: 13px; }
.c-mosaic button:first-child .c-tag { font-size: 18px; }
.c-new { position: absolute; top: 12px; left: 12px; z-index: 1; font-family: var(--head); font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--gold); color: var(--f9); box-shadow: 0 6px 20px -6px rgba(247,147,30,.9); }
.c-rows { margin-top: 14px; display: grid; gap: 12px; }
.c-row { display: flex; gap: 12px; width: max-content; animation: tick 90s linear infinite; }
.c-row.rev { animation-direction: reverse; animation-duration: 110s; }
.c-rows:hover .c-row { animation-play-state: paused; }
.c-row button { flex: none; width: clamp(200px, 19vw, 290px); aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: 16px; overflow: hidden; cursor: pointer; position: relative; background: var(--f7); }
.c-row img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.c-row button:hover img { transform: scale(1.08); }
.c-row .c-tag { font-size: 12.5px; left: 8px; bottom: 8px; }
.c-row .c-tag i { width: 20px; height: 20px; font-size: 11px; }
.c-row button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10,11,13,.8)); }
.c-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.trust-strip { padding-block: clamp(40px, 5vw, 70px); }

/* ===== ติดต่อจัดเต็ม ===== */
.contact { padding-block: clamp(70px, 9vw, 130px); }
.contact::after { background: linear-gradient(180deg, rgba(10,11,13,.92) 0%, rgba(10,11,13,.78) 40%, var(--f9) 100%); }
.trust-pills { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.trust-pills li { padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(247,147,30,.28); font-size: 14.5px; color: rgba(255,255,255,.8); }
.trust-pills b { font-family: var(--head); color: var(--gold-1); font-size: 17px; margin-right: 4px; }
.contact-card { overflow: hidden; }
.cc-seal { position: absolute; right: -60px; top: -60px; width: 220px; opacity: .1; animation: spinSlow 50s linear infinite; pointer-events: none; }
.cc-seal img { width: 100%; }
.contact-logo { width: min(320px, 100%); filter: drop-shadow(0 4px 16px rgba(0,0,0,.5)); }
.cgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(40px, 5vw, 64px); }
.ctile { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 14px; align-items: center; padding: 18px; border-radius: 20px; text-decoration: none; color: #fff; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .45s var(--ease), border-color .4s, background .4s; overflow: hidden; }
a.ctile:hover { transform: translateY(-5px); border-color: rgba(247,147,30,.6); background: rgba(247,147,30,.1); }
.ctile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,210,150,.14) 50%, transparent 65%); transform: translateX(-120%); transition: transform .9s var(--ease); }
a.ctile:hover::before { transform: translateX(120%); }
.ct-ic { grid-row: 1 / 4; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--gold); box-shadow: 0 10px 24px -10px rgba(247,147,30,.8); }
.ct-ic svg { width: 24px; height: 24px; fill: var(--f9); }
.ct-ic.img { background: none; box-shadow: none; }
.ct-ic.img img { width: 50px; height: 50px; border-radius: 15px; object-fit: cover; }
.ctile small { font-size: 12.5px; color: rgba(255,255,255,.6); }
.ctile b { font-family: var(--head); font-weight: 600; font-size: 17px; line-height: 1.3; }
.ctile em { font-style: normal; font-size: 13px; color: rgba(255,180,90,.85); }
.ctile.line { border-color: rgba(6,199,85,.45); }
.contact-bottom { display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px; margin-top: 18px; }
.send-list, .quick { border-radius: 24px; padding: clamp(22px, 3vw, 34px); background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.1); }
.send-list h3, .quick h3 { font-size: clamp(20px, 2vw, 26px); color: #fff; margin-bottom: 14px; }
.send-list ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.send-list li { display: flex; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(10,11,13,.4); }
.send-list li > span { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: rgba(247,147,30,.16); }
.send-list b { display: block; font-family: var(--head); font-weight: 500; color: #fff; }
.send-list small { font-size: 13.5px; color: rgba(255,255,255,.6); }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; background: linear-gradient(rgba(28,31,35,.85), rgba(18,20,23,.85)) padding-box, var(--gold) border-box; border: 1.5px solid transparent; }
.quick h3, .quick-sub, .quick .full, .quick-ok { grid-column: 1 / -1; }
.quick h3 { margin-bottom: 0; }
.quick-sub { font-size: 14px; color: rgba(255,255,255,.65); margin-top: -4px; }
.quick label { display: grid; gap: 6px; font-size: 13.5px; color: rgba(255,255,255,.7); }
.quick input, .quick select, .quick textarea { font: inherit; font-size: 16px; color: #fff; background: rgba(10,11,13,.55); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 11px 14px; outline: none; transition: border-color .3s, box-shadow .3s; resize: vertical; }
.quick select option { color: #111; }
.quick input:focus, .quick select:focus, .quick textarea:focus { border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(247,147,30,.2); }
.quick-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.quick-ok { min-height: 1.4em; font-size: 14px; color: #8ff0b5; }
.map { position: relative; margin-top: 18px; border-radius: 24px; overflow: hidden; height: clamp(240px, 28vw, 340px); border: 1px solid rgba(247,147,30,.3); background: var(--f7); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05) brightness(.9); }
.map-tag { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 12px; align-items: center; padding: 10px 18px 10px 10px; border-radius: 18px; background: rgba(10,11,13,.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(247,147,30,.4); max-width: calc(100% - 32px); }
.map-tag img { width: 46px; height: 46px; }
.map-tag b { display: block; font-family: var(--head); font-weight: 500; font-size: 15px; color: #fff; }
.map-tag small { font-size: 12.5px; color: rgba(255,255,255,.65); }

.foot { padding: 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 56px 36px; }
.foot-logo { width: 260px; margin-bottom: 14px; }
.foot-brand p { max-width: 30em; line-height: 1.7; }
.foot-brand .socials { margin-top: 18px; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col h4 { font-family: var(--head); font-weight: 500; color: #fff; font-size: 17px; margin: 0 0 4px; }
.foot-col a, .foot-col span { color: rgba(255,255,255,.62); text-decoration: none; }
.foot-col a:hover { color: var(--gold-1); }
.foot-bar { display: flex; align-items: center; gap: 16px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.08); }
.foot-bar p { flex: 1; }
.foot-bar .foot-seal { width: 46px; height: 46px; }

@media (max-width: 1080px) {
  .cgrid { grid-template-columns: repeat(2, 1fr); }
  .contact-bottom { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .c-mosaic { grid-template-columns: repeat(3, 1fr); }
  .c-mosaic button:nth-child(4) { grid-row: span 1; }
}
@media (max-width: 640px) {
  .nav-logo { padding: 5px 12px; margin-left: -8px; }
  .nav-logo img { height: 38px; }
  .hero-brand { padding: 10px 14px 10px 10px; gap: 10px; border-radius: 16px; }
  .hero-brand .seal { width: 50px; }
  .hero-brand .logo { width: 58vw; }
  .c-head { grid-template-columns: 1fr; }
  .c-count div { min-width: 0; flex: 1; padding: 10px; }
  .c-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 38vw; gap: 8px; }
  .c-mosaic button:first-child { grid-column: 1 / -1; grid-row: span 2; }
  .c-mosaic button:nth-child(n+6) { display: none; }
  .c-row button { width: 56vw; }
  .cgrid { grid-template-columns: 1fr; gap: 10px; }
  .quick { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .foot-bar { flex-wrap: wrap; }
  .map-tag small { display: none; }
}

/* ================= v4: เวทีโชว์บ้าน (แบบเส้น → บ้านจริง) ================= */
.stage { position: relative; display: grid; grid-template-columns: 1fr; gap: 14px; isolation: isolate; }
.st-bg { position: absolute; inset: -60px; z-index: -1; overflow: hidden; opacity: .6; pointer-events: none; -webkit-mask: radial-gradient(closest-side, #000 55%, transparent); mask: radial-gradient(closest-side, #000 55%, transparent); }
.st-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(40px) saturate(1.4); transform: scale(1.2); }
.st-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; cursor: zoom-in; background: #0a2a3a; box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(247,147,30,.35); }
.st-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-blue { filter: grayscale(1) contrast(1.6) brightness(1.15) invert(1) sepia(1) hue-rotate(165deg) saturate(2.6) brightness(.75); opacity: .95; }
.st-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(150,210,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(150,210,255,.22) 1px, transparent 1px), linear-gradient(rgba(150,210,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(150,210,255,.1) 1px, transparent 1px); background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px; mix-blend-mode: screen; }
.st-real { clip-path: inset(0 100% 0 0); }
.st-scan { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: linear-gradient(180deg, transparent, #FFD08A 20%, #F7931E 50%, #FFD08A 80%, transparent); box-shadow: 0 0 24px 6px rgba(247,147,30,.75), 0 0 80px 20px rgba(247,147,30,.25); opacity: 0; }
.stage.run .st-real { animation: stReveal 1.9s cubic-bezier(.65,0,.2,1) .7s forwards, stZoom var(--dur, 6.5s) linear forwards; }
.stage.run .st-blue { animation: stZoom var(--dur, 6.5s) linear forwards; }
.stage.run .st-scan { animation: stScan 1.9s cubic-bezier(.65,0,.2,1) .7s forwards; }
@keyframes stReveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes stScan { 0% { left: 0; opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes stZoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.stage.hold .st-real, .stage.hold .st-blue { animation-play-state: paused; }
.st-corner { position: absolute; width: 34px; height: 34px; border: 2px solid var(--gold-2); z-index: 3; opacity: .9; }
.st-corner.tl { left: 16px; top: 16px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.st-corner.tr { right: 16px; top: 16px; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.st-corner.bl { left: 16px; bottom: 16px; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.st-corner.br { right: 16px; bottom: 16px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.stage.run .st-corner { animation: stCorner .8s var(--ease) both; }
@keyframes stCorner { from { transform: scale(1.6); opacity: 0; } }
.st-steps { position: absolute; left: 30px; top: 26px; z-index: 3; display: flex; gap: 6px; font-family: var(--head); font-size: 12.5px; }
.st-steps span { padding: 4px 11px; border-radius: 999px; background: rgba(10,11,13,.6); color: rgba(255,255,255,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.15); }
.stage.run .st-steps span { animation: stStep var(--dur, 6.5s) linear both; }
.stage.run .st-steps span:nth-child(1) { --a: 0s; animation-name: stStep1; }
.stage.run .st-steps span:nth-child(2) { animation-name: stStep2; }
.stage.run .st-steps span:nth-child(3) { animation-name: stStep3; }
@keyframes stStep1 { 0%, 10% { background: var(--gold-2); color: var(--f9); } 14%, 100% { background: rgba(10,11,13,.6); color: rgba(255,255,255,.55); } }
@keyframes stStep2 { 0%, 12% { background: rgba(10,11,13,.6); color: rgba(255,255,255,.55); } 15%, 36% { background: var(--gold-2); color: var(--f9); } 40%, 100% { background: rgba(10,11,13,.6); color: rgba(255,255,255,.55); } }
@keyframes stStep3 { 0%, 38% { background: rgba(10,11,13,.6); color: rgba(255,255,255,.55); } 42%, 100% { background: var(--gold-2); color: var(--f9); } }
.st-count { position: absolute; right: 30px; top: 22px; z-index: 3; font-family: var(--head); color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.st-count b { font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.st-count i { font-style: normal; font-size: 15px; opacity: .8; margin-left: 4px; }
.st-chips { position: absolute; left: 30px; bottom: 28px; right: 30px; z-index: 3; display: flex; flex-wrap: wrap; gap: 8px; }
.st-chips span { font-family: var(--head); font-size: 14px; padding: 6px 14px; border-radius: 999px; color: #fff; background: rgba(10,11,13,.62); border: 1px solid rgba(247,147,30,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transform: translateY(16px) scale(.9); }
.stage.run .st-chips span { animation: stChip .7s cubic-bezier(.3,1.5,.5,1) forwards; animation-delay: calc(2.5s + var(--k) * .15s); }
@keyframes stChip { to { opacity: 1; transform: none; } }
.st-info { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "code btns" "title btns" "price btns"; column-gap: 20px; align-items: center; color: #fff; }
.st-code { grid-area: code; font-size: 14px; color: var(--gold-2); font-family: var(--head); letter-spacing: .02em; }
.st-title { grid-area: title; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.25; }
.st-title .ch { display: inline-block; opacity: 0; transform: translateY(60%); }
.stage.run .st-title .ch { animation: stCh .7s var(--ease) forwards; animation-delay: calc(.2s + var(--i) * 22ms); }
@keyframes stCh { to { opacity: 1; transform: none; } }
.st-price { grid-area: price; font-family: var(--head); font-size: 22px; font-weight: 600; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.st-price small { font-size: 14px; font-weight: 400; -webkit-text-fill-color: rgba(255,255,255,.65); }
.st-btns { grid-area: btns; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.st-rail { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; scroll-snap-type: x proximity; }
.st-rail::-webkit-scrollbar { display: none; }
.st-rail button { position: relative; flex: none; width: 112px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; border: 0; padding: 0; cursor: pointer; opacity: .5; transition: opacity .3s, transform .4s var(--ease); background: var(--f7); scroll-snap-align: center; }
.st-rail button:hover { opacity: .85; }
.st-rail button.on { opacity: 1; transform: translateY(-3px); box-shadow: 0 0 0 2px var(--gold-2); }
.st-rail img { width: 100%; height: 100%; object-fit: cover; }
.st-rail i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--gold); }
.stage.run .st-rail .on i { animation: stBar var(--dur, 6.5s) linear forwards; }
.stage.hold .st-rail .on i { animation-play-state: paused; }
@keyframes stBar { to { width: 100%; } }
#homeStage { margin: 6px 0 34px; }

/* หน้าแบบบ้าน: ฮีโร่เวที */
.dhero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: clamp(110px, 12vw, 150px) 0 clamp(40px, 5vw, 70px); background: radial-gradient(900px 500px at 85% 20%, rgba(120,60,15,.7), transparent 60%), radial-gradient(700px 400px at 10% 90%, rgba(232,101,15,.18), transparent 60%), var(--f9); }
.dhero-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(247,147,30,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(247,147,30,.07) 1px, transparent 1px); background-size: 60px 60px; -webkit-mask: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%); mask: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%); animation: gridmove 22s linear infinite; }
@keyframes gridmove { to { background-position: 60px 60px; } }
.dhero-in { display: grid; grid-template-columns: .85fr 1.45fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.dhero-copy { display: grid; gap: 20px; align-content: center; }
.dhero .hero-title { font-size: clamp(38px, 4.6vw, 70px); }
.dhero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dhero-stats div { padding: 14px 12px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(247,147,30,.28); text-align: center; }
.dhero-stats b { display: block; font-family: var(--head); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dhero-stats span { font-size: 13px; color: rgba(255,255,255,.7); }
.dhero .hero-actions .btn { flex: 0 1 auto; }

/* กริดแบบบ้าน: เน้นภาพ ข้อความวางบนภาพ */
.dgrid { grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 14px; }
.dgrid .dcard { position: relative; padding: 0; border: 0; border-radius: 20px; background: var(--f8); aspect-ratio: 4 / 3.3; }
.dgrid .dcard.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.dgrid .dcard-media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.dgrid .dcard-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,11,13,0) 40%, rgba(10,11,13,.92)); transition: opacity .5s; }
.dgrid .dcard-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; gap: 6px; z-index: 1; }
.dgrid .dcard-body h3 { font-size: clamp(16px, 1.35vw, 20px); line-height: 1.3; }
.dgrid .dcard.big .dcard-body h3 { font-size: clamp(22px, 2vw, 30px); }
.dcard-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.dcard-chips span { font-size: 12px; padding: 2px 9px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dgrid .dcard-price { font-size: 19px; }
.dgrid .dcard-price small { display: inline; font-size: 12px; }
.dgrid .dcard.big .dcard-price { font-size: 28px; }
.dcard-eye { position: absolute; right: 12px; top: 12px; z-index: 2; font-family: var(--head); font-size: 13px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--f9); opacity: 0; transform: translateY(-8px); transition: all .4s var(--ease); }
.dcard:hover .dcard-eye { opacity: 1; transform: none; }
.dgrid .dcard::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(255,210,150,.28) 50%, transparent 65%); transform: translateX(-120%); transition: transform 1s var(--ease); }
.dgrid .dcard:hover::before { transform: translateX(120%); }
.dgrid .dcard:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -25px rgba(18,20,23,.7); }
.marquee .dcard .dcard-chips span { background: rgba(255,255,255,.1); }
.marquee .dcard-eye { display: none; }

@media (max-width: 1080px) {
  .dhero-in { grid-template-columns: 1fr; }
  .dgrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .st-frame { aspect-ratio: 4 / 3.4; border-radius: 18px; }
  .st-steps { left: 14px; top: 14px; font-size: 11px; }
  .st-steps span { padding: 3px 8px; }
  .st-count { right: 16px; top: 10px; }
  .st-chips { left: 14px; bottom: 14px; right: 14px; }
  .st-chips span { font-size: 12px; padding: 4px 10px; }
  .st-corner { width: 22px; height: 22px; }
  .st-corner.tl, .st-corner.bl { left: 8px; } .st-corner.tr, .st-corner.br { right: 8px; }
  .st-corner.tl, .st-corner.tr { top: 8px; } .st-corner.bl, .st-corner.br { bottom: 8px; }
  .st-info { grid-template-columns: 1fr; grid-template-areas: "code" "title" "price" "btns"; row-gap: 4px; }
  .st-btns { justify-content: flex-start; margin-top: 8px; }
  .st-rail button { width: 86px; }
  .dhero-stats span { font-size: 11.5px; }
  .dgrid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .dgrid .dcard { aspect-ratio: 3 / 4; border-radius: 14px; }
  .dgrid .dcard.big { grid-column: 1 / -1; grid-row: span 1; aspect-ratio: 4 / 3.2; }
  .dgrid .dcard-body { padding: 10px; }
  .dgrid .dcard-chips span:nth-child(n+3) { display: none; }
  .dgrid .dcard-price { font-size: 16px; }
}

/* ================= v5: สไตล์โปสเตอร์ ดำ-ส้ม (Build a Better Tomorrow) ================= */
.script { font-family: "Kaushan Script", "Brush Script MT", cursive; font-weight: 400; color: #fff; letter-spacing: .01em; line-height: 1.1; }
h1, h2 { font-weight: 800; }
.hero-title { font-weight: 800; }
.gold-text { background: var(--gold); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-script { position: relative; justify-self: start; font-size: clamp(26px, 3vw, 44px); transform: rotate(-4deg); margin: -6px 0 2px 4px; text-shadow: 0 4px 20px rgba(0,0,0,.5); }
.hero-script::after { content: ""; position: absolute; left: 8%; right: -6%; bottom: -10px; height: 6px; border-radius: 6px; background: var(--gold); transform: rotate(-2deg) scaleX(0); transform-origin: left; animation: swoosh 1s var(--ease) 1.6s forwards; }
@keyframes swoosh { to { transform: rotate(-2deg) scaleX(1); } }
.hero-lede i { font-style: normal; color: var(--gold-2); margin: 0 .35em; }

/* ป้ายหัวข้อแบบแปรงทาสีส้ม */
.eyebrow-pill { border: 0; border-radius: 0; padding: 8px 22px 8px 18px; color: #fff; font-weight: 600; background: linear-gradient(100deg, #F99A2A, #E8650F); clip-path: polygon(2% 8%, 30% 0, 62% 6%, 100% 0, 97% 52%, 100% 100%, 64% 93%, 28% 100%, 0 94%, 3% 48%); text-shadow: 0 1px 0 rgba(0,0,0,.2); transform: rotate(-1.5deg); }
.eyebrow-pill::before { width: 8px; height: 8px; background: #fff; box-shadow: none; border-radius: 2px; transform: rotate(45deg); }
.dark-pill { color: #fff; background: linear-gradient(100deg, #1A1D21, #2A2E33); }
.dark-pill::before { background: var(--gold-2); }
.sec-head h2, .designs-head h2, .wall-title h2 { position: relative; }

/* แถบคำมั่น: ไอคอนส้ม + เส้นคั่น เหมือนท้ายโปสเตอร์ */
.promise { background: linear-gradient(180deg, #0B0C0E, #16181B); border-top: 3px solid var(--gold-2); border-bottom: 1px solid rgba(255,255,255,.06); position: relative; overflow: hidden; }
.promise::before { content: ""; position: absolute; right: -60px; top: 0; bottom: 0; width: 320px; background: linear-gradient(100deg, transparent 30%, rgba(247,147,30,.85) 31%, #E8650F 60%, transparent 61%); opacity: .9; transform: skewX(-20deg); }
.promise-in { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.pr { display: flex; align-items: center; gap: 14px; padding: 26px 18px; color: #fff; }
.pr + .pr { border-left: 1px solid rgba(255,255,255,.14); }
.pr-ic { flex: none; width: 52px; height: 52px; display: grid; place-items: center; }
.pr-ic svg, .ic-ring svg { width: 100%; height: 100%; fill: none; stroke: var(--gold-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pr b { display: block; font-family: var(--head); font-weight: 600; font-size: 18px; line-height: 1.2; }
.pr small { color: rgba(255,255,255,.62); font-size: 14px; }
.pr:hover .pr-ic { animation: icPop .6s cubic-bezier(.3,1.6,.5,1); }
@keyframes icPop { 50% { transform: scale(1.18) rotate(-6deg); } }

/* ทีมงาน + คำคม */
.team { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: #0B0C0E; }
.team-bg { position: absolute; inset: 0; z-index: -2; background: radial-gradient(700px 500px at 20% 40%, rgba(247,147,30,.25), transparent 60%), repeating-linear-gradient(115deg, transparent 0 60px, rgba(255,255,255,.025) 60px 61px); }
.team::after { content: ""; position: absolute; left: -10%; bottom: 40px; width: 70%; height: 90px; z-index: -1; background: linear-gradient(90deg, transparent, #F7931E 20%, #E8650F 70%, transparent); clip-path: polygon(0 40%, 8% 20%, 30% 30%, 55% 10%, 80% 25%, 100% 15%, 96% 70%, 70% 85%, 40% 75%, 15% 90%, 2% 80%); opacity: .25; transform: rotate(-3deg); }
.team .petals { z-index: -1; }
.team-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.team-photos { position: relative; height: clamp(440px, 46vw, 620px); }
.tp { position: absolute; margin: 0; background: #fff; padding: 10px 10px 40px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); transition: transform .6s var(--ease), z-index 0s; }
.tp img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.tp figcaption { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-family: "Kaushan Script", var(--head); color: var(--f8); font-size: 17px; }
.tp1 { width: 48%; height: 74%; left: 0; top: 8%; transform: rotate(-6deg); }
.tp2 { width: 46%; height: 78%; left: 30%; top: 0; transform: rotate(3deg); z-index: 2; }
.tp3 { width: 44%; height: 58%; right: 0; bottom: 0; transform: rotate(8deg); z-index: 3; }
.tp:hover { transform: rotate(0) scale(1.05); z-index: 5; }
.js .tp.reveal { opacity: 0; transform: translateY(60px) rotate(0deg); }
.js .tp.reveal.in { opacity: 1; transition: transform 1s cubic-bezier(.3,1.4,.5,1), opacity .6s; }
.js .tp1.reveal.in { transform: rotate(-6deg); }
.js .tp2.reveal.in { transform: rotate(3deg); transition-delay: .15s; }
.js .tp3.reveal.in { transform: rotate(8deg); transition-delay: .3s; }
.team-copy { display: grid; gap: 22px; }
.big-quote { margin: 0; font-family: var(--head); font-weight: 800; font-size: clamp(34px, 4.4vw, 62px); line-height: 1.18; color: #fff; }
.big-quote b { font-weight: 800; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-quote em { font-style: normal; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; margin-left: .2em; }
.big-quote .q { font-family: Georgia, serif; color: var(--gold-2); font-size: 1.4em; line-height: 0; vertical-align: -.3em; margin-right: .08em; }
.big-quote .q.end { margin-left: .1em; }
.team-lede { color: rgba(255,255,255,.75); font-size: 18px; padding-left: 16px; border-left: 3px solid var(--gold-2); }
.icon-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.icon-cards li { display: flex; align-items: center; gap: 16px; padding: 10px 22px 10px 10px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 18px 40px -22px rgba(0,0,0,.8); max-width: 460px; transition: transform .4s var(--ease); }
.icon-cards li:hover { transform: translateX(8px); }
.icon-cards b { display: block; font-family: var(--head); font-weight: 700; font-size: 18px; line-height: 1.25; }
.icon-cards small { color: var(--mist); font-size: 14px; }
.ic-ring { flex: none; width: 58px; height: 58px; padding: 13px; border-radius: 50%; background: #16181B; box-shadow: 0 0 0 3px var(--gold-2), 0 8px 20px -6px rgba(247,147,30,.7); }
.ic-ring svg { stroke: #fff; }
.team-script { font-size: clamp(28px, 3vw, 42px); transform: rotate(-4deg); justify-self: end; color: #fff; }
.team-script::first-letter { color: var(--gold-2); }

/* รูปลูกค้าเซ็นสัญญา: กรอบโพลารอยด์ */
.c-row button, .c-mosaic button { background: #fff; padding: 8px 8px 30px; border-radius: 6px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); }
.c-row button:nth-child(odd) { transform: rotate(-1.5deg); }
.c-row button:nth-child(even) { transform: rotate(1.5deg); }
.c-row button img, .c-mosaic button img { border-radius: 2px; }
.c-row button::after, .c-mosaic button::after { display: none; }
.c-row .c-tag, .c-mosaic .c-tag { left: 10px; right: 10px; bottom: 5px; color: var(--ink); font-size: 13px; }
.c-mosaic .c-tag { font-size: 14px; }
.c-mosaic button:first-child .c-tag { font-size: 16px; }
.c-row .c-tag i, .c-mosaic .c-tag i { background: var(--gold); color: #fff; }
.c-row { padding-block: 10px; }
.c-mosaic button { transition: transform .5s var(--ease); }
.c-mosaic button:hover { transform: rotate(-1deg) scale(1.02); z-index: 2; }

/* ปุ่มและการ์ดส้ม */
.btn-gold { color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,.18); box-shadow: 0 12px 34px -12px rgba(232,101,15,.9), inset 0 1px 0 rgba(255,255,255,.35); }
.nav-cta { color: #fff; }
.contracts { background: radial-gradient(1000px 500px at 85% -10%, rgba(247,147,30,.18), transparent 60%), #121417; }

@media (max-width: 1080px) {
  .promise-in { grid-template-columns: repeat(2, 1fr); }
  .pr:nth-child(3) { border-left: 0; }
  .pr:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .team-in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pr { padding: 16px 8px; gap: 10px; }
  .pr-ic { width: 38px; height: 38px; }
  .pr b { font-size: 15px; }
  .pr small { font-size: 12px; }
  .promise::before { width: 140px; }
  .team-photos { height: 118vw; }
  .tp { padding: 6px 6px 28px; }
  .tp figcaption { font-size: 13px; bottom: 5px; }
  .big-quote { font-size: clamp(30px, 9vw, 40px); }
  .icon-cards li { padding-right: 14px; }
  .ic-ring { width: 48px; height: 48px; padding: 11px; }
  .icon-cards b { font-size: 16px; }
  .team-script { justify-self: center; }
}

/* ================= v6: ฮีโร่แบบโปสเตอร์ (สว่าง สะอาด ทันสมัย) ================= */
.ph { --bar: 104px; position: relative; min-height: max(720px, min(100svh, 980px)); overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #DDEBF7 0%, #F4F1EC 55%, #F7F5F1 100%); color: var(--ink); }
.ph-sky { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.ph-sun { position: absolute; left: 22%; top: -180px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(255,226,170,.9), rgba(255,200,120,.35) 35%, transparent 65%); animation: sunPulse 6s ease-in-out infinite; }
@keyframes sunPulse { 50% { transform: scale(1.12); opacity: .8; } }
.ph-cloud { position: absolute; height: 60px; border-radius: 60px; background: rgba(255,255,255,.75); filter: blur(14px); animation: cloudDrift 60s linear infinite; }
.ph-cloud.c1 { width: 340px; top: 14%; left: -20%; }
.ph-cloud.c2 { width: 260px; top: 28%; left: -40%; animation-duration: 85s; animation-delay: -30s; }
@keyframes cloudDrift { to { transform: translateX(160vw); } }

.ph-visual { position: absolute; left: 0; top: 0; bottom: var(--bar); width: 68%; }
.ph-house { position: absolute; inset: 70px 0 0 8%; -webkit-mask: linear-gradient(90deg, transparent 0, #000 14%, #000 70%, transparent 98%), linear-gradient(180deg, transparent 0, #000 14%); -webkit-mask-composite: source-in; mask: linear-gradient(90deg, transparent 0, #000 14%, #000 70%, transparent 98%) , linear-gradient(180deg, transparent 0, #000 14%); mask-composite: intersect; }
.ph-slide { position: absolute; inset: 0; margin: 0; opacity: 0; }
.ph-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.ph-slide.is-on { opacity: 1; z-index: 1; }
.ph-slide.is-on img { animation: phZoom 9s ease-out forwards; }
.ph-slide.is-in { opacity: 1; z-index: 2; animation: phWipe 1.4s cubic-bezier(.7,0,.2,1) forwards; }
@keyframes phZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes phWipe { from { clip-path: polygon(0 0, 0 0, -20% 100%, 0 100%); } to { clip-path: polygon(0 0, 120% 0, 100% 100%, 0 100%); } }
.ph-scan { position: absolute; top: 70px; bottom: 0; left: 8%; width: 140px; z-index: 3; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent, rgba(255,190,110,.55), rgba(255,255,255,.85) 50%, transparent); filter: blur(4px); transform: skewX(-12deg); }
.ph-scan.run { animation: phScan 1.4s cubic-bezier(.7,0,.2,1); }
@keyframes phScan { 0% { left: 0; opacity: 1; } 100% { left: 100%; opacity: 0; } }

.ph-people { position: absolute; left: 0; bottom: 0; width: 44%; height: 80%; z-index: 4; pointer-events: none; }
.pp { position: absolute; bottom: 0; left: 4%; height: 100%; width: auto; max-width: none; object-fit: contain; object-position: left bottom; opacity: 0; transform: translateY(40px); filter: drop-shadow(0 30px 30px rgba(0,0,0,.25)); transition: opacity .7s, transform 1s cubic-bezier(.3,1.3,.5,1); }
.pp1 { height: 76%; left: 0; }
.pp2 { height: 100%; left: 16%; }
.pp3 { height: 92%; left: 0; }
.pp.is-on { opacity: 1; transform: none; animation: ppFloat 5s ease-in-out 1.2s infinite; }
@keyframes ppFloat { 50% { transform: translateY(-8px); } }
.ph-hand { position: absolute; left: 3%; top: 92px; z-index: 5; font-family: "Sriracha", "Kaushan Script", cursive; font-size: clamp(20px, 1.9vw, 30px); line-height: 1.2; color: #1d2024; transform: rotate(-8deg); }
.ph-hand span { position: relative; padding-left: 1.4em; }
.ph-hand span::after { content: ""; position: absolute; left: 1.2em; right: -4%; bottom: -10px; height: 5px; border-radius: 5px; background: var(--gold); transform: scaleX(0); transform-origin: left; animation: swoosh .9s var(--ease) 1.8s forwards; }
.ph-tag { position: absolute; right: 30%; top: 96px; z-index: 5; font-family: var(--head); font-weight: 600; font-size: 14px; padding: 6px 14px; border-radius: 999px; background: rgba(22,24,27,.82); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ph-tag::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); margin-right: 8px; box-shadow: 0 0 10px var(--gold-2); vertical-align: 1px; }
.ph-dots { position: absolute; right: 30%; bottom: 22px; z-index: 5; display: flex; gap: 8px; }
.ph-dots button { width: 28px; height: 5px; border: 0; padding: 0; border-radius: 4px; background: rgba(22,24,27,.25); cursor: pointer; overflow: hidden; position: relative; }
.ph-dots button.is-on::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: left; animation: dotFill 6s linear forwards; }
@keyframes dotFill { from { transform: scaleX(0); } }

.leaf { position: absolute; z-index: 6; width: 150px; pointer-events: none; filter: blur(3px); opacity: .9; }
.leaf svg { width: 100%; fill: #5E9A3A; stroke: #3E7426; stroke-width: 2; }
.leaf.l1 { right: -40px; top: -10px; transform: rotate(150deg); animation: sway 6s ease-in-out infinite; }
.leaf.l2 { right: 40px; top: 30px; width: 110px; transform: rotate(120deg); filter: blur(5px); animation: sway 7s ease-in-out -2s infinite; }
.leaf.l3 { left: -50px; bottom: calc(var(--bar) - 20px); transform: rotate(20deg); filter: blur(4px); animation: sway 8s ease-in-out -1s infinite; }
.leaf.l4 { right: 2%; bottom: calc(var(--bar) - 30px); width: 130px; transform: rotate(-30deg); filter: blur(4px); animation: sway 6.5s ease-in-out -3s infinite; }
@keyframes sway { 50% { translate: 8px 10px; rotate: 6deg; } }

.ph-copy { position: absolute; z-index: 5; right: max(24px, calc((100vw - 1320px) / 2)); top: 0; bottom: var(--bar); width: min(560px, 40%); display: flex; flex-direction: column; justify-content: center; padding-top: 70px; }
.ph-copy::before { content: ""; position: absolute; z-index: -1; inset: 0 -100vw 0 -30%; background: linear-gradient(90deg, rgba(247,245,241,0), rgba(247,245,241,.92) 22%, #F7F5F1 40%); }
.ph-roof { width: 108px; margin: 0 0 -8px 46%; fill: none; stroke: var(--gold-2); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 200; stroke-dashoffset: 200; animation: roofDraw 1.4s var(--ease) .4s forwards; }
.ph-roof path + path { stroke-width: 4; stroke: #16181B; }
@keyframes roofDraw { to { stroke-dashoffset: 0; } }
.ph-title { font-size: clamp(56px, 6.6vw, 112px); font-weight: 900; line-height: 1.05; letter-spacing: -.01em; color: #121417; white-space: nowrap; }
.ph-title .ln { display: inline-block; }
.ph-title .o { background: linear-gradient(100deg, #FF9E2C, #F07A12 50%, #E25E0A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ph-title .o .ch { background: inherit; -webkit-background-clip: text; background-clip: text; }
.ph-sub { font-family: var(--head); font-weight: 600; font-size: clamp(22px, 2.3vw, 36px); line-height: 1.25; color: #1b1e22; margin-top: 4px; }
.ph-words { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 14px; font-family: var(--head); font-weight: 600; font-size: clamp(16px, 1.4vw, 21px); }
.ph-words i { width: 2px; height: 1.1em; background: var(--gold-2); }
.ph-cards { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ph-cards li { display: flex; align-items: center; gap: 16px; padding: 8px 22px 8px 8px; border-radius: 999px; background: #fff; box-shadow: 0 14px 34px -18px rgba(18,20,23,.45), inset 0 0 0 1px rgba(18,20,23,.04); position: relative; overflow: hidden; opacity: 0; transform: translateX(80px); }
.hero-ready .ph-cards li { animation: cardIn .9s cubic-bezier(.3,1.3,.5,1) forwards; animation-delay: calc(1s + var(--k) * .13s); }
@keyframes cardIn { to { opacity: 1; transform: none; } }
.ph-cards li::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,190,110,.35) 50%, transparent 65%); transform: translateX(-120%); animation: cardShine 6s ease-in-out infinite; animation-delay: calc(3s + var(--k) * .25s); }
@keyframes cardShine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.ph-cards li:hover { transform: translateX(-6px); transition: transform .4s var(--ease); }
.ph-cards .ic-ring { width: 54px; height: 54px; padding: 12px; }
.ph-cards b { display: block; font-family: var(--head); font-weight: 700; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.2; color: #121417; }
.ph-cards small { font-size: 14.5px; color: var(--mist); }
.ph-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn-dark { background: #16181B; color: #fff; box-shadow: 0 12px 30px -14px rgba(0,0,0,.7); }
.btn-dark:hover { background: #24282D; }

.ph-bar { position: absolute; left: 0; right: 0; bottom: 0; height: var(--bar); z-index: 7; background: #0E0F11; color: #fff; overflow: hidden; }
.ph-bar::before { content: ""; position: absolute; right: 230px; top: -20px; bottom: -20px; width: 64px; background: linear-gradient(90deg, #F7931E, #E8650F); transform: skewX(-30deg); box-shadow: 40px 0 0 -10px rgba(247,147,30,.5); animation: barSlash 4s ease-in-out infinite; }
@keyframes barSlash { 50% { translate: 14px 0; } }
.ph-bar::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold); }
.ph-bar-in { position: relative; height: 100%; width: min(1320px, 100% - 48px); margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; }
.ph-contact { display: flex; align-items: center; gap: 22px; }
.ph-call { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--head); font-weight: 600; font-size: clamp(18px, 1.8vw, 26px); line-height: 1.1; }
.ph-call small { display: block; font-weight: 400; font-size: 13px; color: rgba(255,255,255,.6); }
.ph-call-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); box-shadow: 0 0 0 0 rgba(247,147,30,.6); animation: ring 2.2s infinite; }
.ph-call-ic svg { width: 26px; fill: #fff; animation: shake 2.2s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(247,147,30,.6); } 70%, 100% { box-shadow: 0 0 0 16px rgba(247,147,30,0); } }
@keyframes shake { 0%, 60%, 100% { transform: none; } 65%, 75%, 85% { transform: rotate(-14deg); } 70%, 80% { transform: rotate(14deg); } }
.ph-call.line img { width: 46px; height: 46px; border-radius: 12px; }
.ph-sep { width: 1px; height: 46px; background: rgba(255,255,255,.2); }
.ph-feats { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; }
.ph-feats li { display: flex; align-items: center; gap: 10px; padding: 0 22px; font-size: 14px; line-height: 1.3; color: rgba(255,255,255,.85); }
.ph-feats li + li { border-left: 1px solid rgba(255,255,255,.18); }
.ph-feats svg { width: 34px; flex: none; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ph-slogan { position: relative; z-index: 1; font-family: "Sriracha", cursive; font-size: 20px; line-height: 1.15; transform: rotate(-7deg); text-align: center; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.ph-slogan b { font-weight: 400; color: #fff; font-size: 1.15em; }

/* เมนูบนฮีโร่สว่าง: ตัวอักษรเข้ม */
body[data-page="home"] .nav:not(.is-solid) .nav-links a { color: #16181B; }
body[data-page="home"] .nav:not(.is-solid) .nav-burger { background: rgba(255,255,255,.8); border-color: rgba(22,24,27,.15); }
body[data-page="home"] .nav:not(.is-solid) .nav-burger i, body[data-page="home"] .nav:not(.is-solid) .nav-burger span { background: #16181B; }

@media (max-width: 1180px) {
  .ph-feats li:nth-child(3) { display: none; }
}
@media (max-width: 960px) {
  .ph { --bar: auto; min-height: 0; display: flex; flex-direction: column; padding-bottom: 0; }
  .ph-visual { position: relative; width: 100%; height: min(78vw, 560px); margin-top: 64px; }
  .ph-house { inset: 0; -webkit-mask: linear-gradient(180deg, #000 70%, transparent); mask: linear-gradient(180deg, #000 70%, transparent); }
  .ph-scan { top: 0; left: 0; }
  .ph-people { width: 60%; height: 100%; }
  .ph-hand { top: 14px; left: auto; right: 4%; font-size: 18px; text-align: right; }
  .ph-tag { right: 12px; top: auto; bottom: 30px; font-size: 12px; }
  .ph-dots { right: 12px; bottom: 10px; }
  .ph-copy { position: relative; right: auto; width: auto; padding: 0 20px 26px; margin-top: -10px; }
  .ph-copy::before { display: none; }
  .ph-roof { margin-left: 30%; width: 80px; }
  .ph-title { font-size: clamp(54px, 17vw, 84px); }
  .ph-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ph-cards li { flex-direction: column; text-align: center; border-radius: 22px; padding: 14px 8px; gap: 8px; }
  .ph-cards .ic-ring { width: 46px; height: 46px; padding: 10px; }
  .ph-cards b { font-size: 15px; }
  .ph-cards small { font-size: 12.5px; }
  .ph-cta .btn { flex: 1 1 auto; }
  .ph-bar { position: relative; height: auto; }
  .ph-bar::before { right: -40px; width: 90px; }
  .ph-bar-in { grid-template-columns: 1fr; gap: 14px; padding: 20px 0; }
  .ph-contact { flex-wrap: wrap; gap: 14px; }
  .ph-sep { display: none; }
  .ph-feats { justify-content: flex-start; }
  .ph-feats li { padding: 0 12px 0 0; font-size: 12.5px; }
  .ph-feats li + li { padding-left: 12px; }
  .ph-feats li:nth-child(3) { display: flex; }
  .ph-feats svg { width: 26px; }
  .ph-slogan { display: none; }
  .leaf { width: 90px; }
  .leaf.l3, .leaf.l4 { display: none; }
}
.js .ph-title .ch { display: inline-block; opacity: 0; transform: translateY(80%) rotate(6deg); filter: blur(6px); }
.hero-ready .ph-title .ch { opacity: 1; transform: none; filter: none; transition: opacity .8s var(--ease), transform 1s cubic-bezier(.3,1.4,.5,1), filter .8s var(--ease); transition-delay: calc(.3s + var(--i) * 45ms); }
.ph-title .o .ch { color: transparent; background: linear-gradient(100deg, #FF9E2C, #E25E0A); -webkit-background-clip: text; background-clip: text; }
@media (prefers-reduced-motion: reduce) { .js .ph-title .ch, .ph-cards li { opacity: 1 !important; transform: none !important; filter: none !important; } }
@media (max-width: 960px) {
  .ph-bar::before { display: none; }
  .ph-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
  .ph-feats li { flex-direction: column; text-align: center; gap: 6px; padding: 0 6px !important; font-size: 12px; }
  .ph-feats li br { display: none; }
  .ph-contact { display: grid; grid-template-columns: 1fr 1fr; }
  .ph-call { font-size: 16px; gap: 8px; }
  .ph-call-ic { width: 42px; height: 42px; }
  .ph-call-ic svg { width: 20px; }
  .ph-call.line img { width: 40px; height: 40px; }
  .ph-visual { height: min(92vw, 560px); }
}

/* ===== v6.1: รองรับจอกว้าง (21:9) + โลโก้แบบป้ายโปสเตอร์ ===== */
.ph-stage { position: absolute; top: 0; bottom: var(--bar); left: 0; right: 0; width: min(100%, 1560px); margin: 0 auto; }
.ph-stage .ph-visual { bottom: 0; width: 70%; }
.ph-stage .ph-house { left: 6%; }
.ph-stage .ph-copy { right: 24px; bottom: 0; width: min(560px, 40%); }
@media (min-width: 1561px) {
  .ph-stage .ph-house { left: -14%; -webkit-mask: linear-gradient(90deg, transparent 0, #000 22%, #000 72%, transparent 98%), linear-gradient(180deg, transparent 0, #000 14%); -webkit-mask-composite: source-in; mask: linear-gradient(90deg, transparent 0, #000 22%, #000 72%, transparent 98%), linear-gradient(180deg, transparent 0, #000 14%); mask-composite: intersect; }
  .ph-stage .ph-people { left: 2%; }
}
@media (min-width: 1900px) { .ph { --bar: 112px; } .ph-stage { width: 1640px; } .ph-title { font-size: 122px; } }
.ph-bar::before { display: none; }
.ph-slash { position: absolute; right: 200px; top: -30px; bottom: -30px; width: 58px; background: linear-gradient(90deg, #F7931E, #E8650F); transform: skewX(-30deg); box-shadow: 34px 0 0 -14px rgba(247,147,30,.45); animation: barSlash 4s ease-in-out infinite; pointer-events: none; }
.ph-bar-in > *:not(.ph-slash) { position: relative; z-index: 1; }

/* โลโก้: ป้ายดำขอบเฉียง แบบมุมซ้ายบนของโปสเตอร์ */
.nav-logo { padding: 10px 34px 10px 18px; margin-left: -10px; border: 0; border-radius: 0; background: #0E0F11; clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-logo::before { content: ""; position: absolute; left: 0; bottom: 0; width: calc(100% - 20px); height: 3px; background: var(--gold); }
.nav-logo::after { background: linear-gradient(110deg, transparent 40%, rgba(255,210,150,.35) 50%, transparent 60%); }
.nav-logo img { height: 46px; filter: none; }
.nav { padding-left: 10px; }
.nav.is-solid .nav-logo { background: transparent; clip-path: none; }
.nav.is-solid .nav-logo::before { display: none; }
.hero-brand { border-radius: 0; clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%); background: #0E0F11; border: 0; padding-right: 46px; backdrop-filter: none; }
@media (max-width: 640px) {
  .nav-logo { padding: 7px 24px 7px 12px; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
  .nav-logo img { height: 34px; }
  .ph-slash { right: -30px; width: 50px; }
}
@media (min-width: 961px) and (max-height: 880px) {
  .ph-copy { padding-top: 78px; }
  .ph-roof { width: 80px; margin-bottom: -6px; }
  .ph-title { font-size: min(6.6vw, 12.5vh); }
  .ph-sub { font-size: min(2.3vw, 4vh); }
  .ph-words { margin-top: 8px; }
  .ph-cards { margin-top: 14px; gap: 7px; }
  .ph-cards li { padding: 5px 18px 5px 5px; }
  .ph-cards .ic-ring { width: 44px; height: 44px; padding: 10px; }
  .ph-cards b { font-size: 17px; }
  .ph-cards small { font-size: 13px; }
  .ph-cta { margin-top: 14px; }
  .ph-cta .btn-lg { min-height: 50px; }
  .ph { --bar: 92px; }
}
@media (min-width: 961px) and (max-height: 720px) {
  .ph-cards small { display: none; }
  .ph-words { display: none; }
}
@media (min-width: 961px) and (max-width: 1500px) { .ph-feats li:nth-child(3) { display: none; } }
.ph-hand { top: 108px; }

/* ===== v6.2: มือถือสวยขึ้น ===== */
@media (max-width: 960px) {
  .nav { top: 0; width: 100%; border-radius: 0; padding: 8px 12px 8px 0; border: 0; }
  .nav.is-solid { background: rgba(14,15,17,.96); border-bottom: 2px solid var(--gold-2); box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); }
  .nav-logo { margin-left: 0; }
  .nav.is-solid .nav-logo { background: #0E0F11; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
  .nav-burger, body[data-page="home"] .nav:not(.is-solid) .nav-burger { background: #16181B; border: 1.5px solid var(--gold-2); width: 46px; height: 46px; box-shadow: 0 8px 20px -8px rgba(0,0,0,.6); }
  .nav-burger span, body[data-page="home"] .nav:not(.is-solid) .nav-burger span { background: #fff; left: 13px; right: 13px; }
  .nav-burger span:first-child { top: 18px; } .nav-burger span:last-child { top: 26px; }
  .ph-visual { margin-top: 62px; }

  /* แถบติดต่อในฮีโร่ */
  .ph-bar { background: linear-gradient(180deg, #16181B, #0E0F11); }
  .ph-slash { display: none; }
  .ph-bar-in { width: calc(100% - 32px); padding: 18px 0 20px; gap: 16px; }
  .ph-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .ph-call { justify-content: center; gap: 10px; padding: 10px 12px; border-radius: 18px; font-size: 16px; background: linear-gradient(100deg, #F99A2A, #E8650F); box-shadow: 0 12px 26px -12px rgba(232,101,15,.9); }
  .ph-call small { color: rgba(255,255,255,.85); font-size: 11.5px; }
  .ph-call-ic { width: 36px; height: 36px; background: rgba(255,255,255,.22); animation: none; box-shadow: none; flex: none; }
  .ph-call-ic svg { width: 18px; }
  .ph-call.line { background: #06C755; box-shadow: 0 12px 26px -12px rgba(6,199,85,.9); }
  .ph-call.line img { width: 36px; height: 36px; border-radius: 10px; flex: none; }
  .ph-feats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .ph-feats li, .ph-feats li + li { border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 12px 6px !important; background: rgba(255,255,255,.04); font-size: 12px; line-height: 1.35; color: rgba(255,255,255,.85); }
  .ph-feats svg { width: 28px; stroke: var(--gold-2); }
  .ph-feats li br { display: inline; }

  /* แถบคำมั่นซ้ำกับแถบในฮีโร่ — ซ่อนบนมือถือ */
  .promise { display: none; }
}
@media (max-width: 380px) {
  .ph-call { font-size: 14px; padding: 9px 8px; }
  .ph-call small { display: none; }
}
@media (max-width: 960px) {
  .ph-stage { position: relative; top: auto; bottom: auto; width: 100%; }
  .ph-stage .ph-visual { position: relative; width: 100%; }
  .ph-stage .ph-house { left: 0; }
  .ph-stage .ph-copy { position: relative; right: auto; width: auto; }
}

/* ===== v6.3: ลดอาการกระตุก (ใช้แต่ transform/opacity ที่การ์ดจอเร่งได้) ===== */
.ph-house { will-change: transform; }
.ph-house::before, .ph-house::after { content: ""; position: absolute; z-index: 3; pointer-events: none; }
.ph-house::before { inset: 0; background: linear-gradient(90deg, #F5F2EE 0%, rgba(245,242,238,0) 16%, rgba(245,242,238,0) 66%, #F6F4F0 96%); }
.ph-house::after { left: 0; right: 0; top: 0; height: 18%; background: linear-gradient(180deg, #E6EEF5, rgba(230,238,245,0)); }
.ph-slide { will-change: opacity; transition: opacity 1.2s ease; }
.ph-slide img { will-change: transform; backface-visibility: hidden; }
.ph-slide.is-in { animation: phFade 1.2s ease forwards; clip-path: none; }
@keyframes phFade { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.ph-scan { left: 0 !important; width: 160px; will-change: transform, opacity; }
.ph-scan.run { animation: phScan2 1.3s cubic-bezier(.7,0,.2,1); }
@keyframes phScan2 { 0% { transform: translateX(-160px) skewX(-12deg); opacity: 1; } 100% { transform: translateX(min(1000px, 70vw)) skewX(-12deg); opacity: 0; } }
.pp { filter: none; will-change: transform, opacity; backface-visibility: hidden; }
.ph-people::after { content: ""; position: absolute; left: 4%; bottom: -10px; width: 50%; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.28), transparent); z-index: -1; }
.leaf { filter: none; opacity: .85; will-change: transform; }
.leaf svg { fill: #6AA544; }
.ph-cloud { filter: none; background: radial-gradient(closest-side, rgba(255,255,255,.85), rgba(255,255,255,0)); height: 90px; will-change: transform; }
.ph-sun { will-change: transform, opacity; }
.ph-tag { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(22,24,27,.9); }
.ph-call-ic { animation: none; }
.ph-call-ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(247,147,30,.8); animation: ring2 2.2s ease-out infinite; }
.ph-call-ic { position: relative; }
@keyframes ring2 { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.ph-cards li::after { will-change: transform; }
.nav.is-solid { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(14,15,17,.94); }
/* คืนขอบจางแบบ mask (เร่งด้วยการ์ดจอผ่าน will-change) */
.ph-house::before, .ph-house::after { display: none; }
.ph-house { -webkit-mask: linear-gradient(90deg, transparent 0, #000 14%, #000 70%, transparent 98%), linear-gradient(180deg, transparent 0, #000 14%) !important; -webkit-mask-composite: source-in !important; mask: linear-gradient(90deg, transparent 0, #000 14%, #000 70%, transparent 98%), linear-gradient(180deg, transparent 0, #000 14%) !important; mask-composite: intersect !important; transform: translateZ(0); }
@media (min-width: 1561px) { .ph-stage .ph-house { -webkit-mask: linear-gradient(90deg, transparent 0, #000 22%, #000 72%, transparent 98%), linear-gradient(180deg, transparent 0, #000 14%) !important; mask: linear-gradient(90deg, transparent 0, #000 22%, #000 72%, transparent 98%), linear-gradient(180deg, transparent 0, #000 14%) !important; } }
@media (max-width: 960px) { .ph-house, .ph-stage .ph-house { -webkit-mask: linear-gradient(180deg, #000 70%, transparent) !important; mask: linear-gradient(180deg, #000 70%, transparent) !important; } }

/* ===== v6.4: ไอเดียจากโปสเตอร์ทำสัญญา (ป้ายทอง ป้ายไม้ คำขอบคุณลายมือ) ===== */
.hand-script { font-family: "Sriracha", cursive; font-size: clamp(22px, 2.4vw, 34px); color: #fff; transform: rotate(-4deg); position: relative; justify-self: start; margin-bottom: 6px; }
.hand-script::after { content: ""; position: absolute; left: 6%; right: -4%; bottom: -8px; height: 4px; border-radius: 4px; background: var(--gold); transform: rotate(-1.5deg); }
.deal-pill { justify-self: start; display: inline-flex; align-items: center; gap: 16px; padding: 12px 26px 12px 16px; border-radius: 22px; color: #fff; background: linear-gradient(115deg, #3A2A1A 0%, #7A5428 45%, #B58340 100%); box-shadow: 0 18px 40px -18px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.2); }
.deal-pill svg { width: 58px; flex: none; fill: none; stroke: #FFD9A0; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 4px 8px rgba(0,0,0,.4)); }
.deal-pill b { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(20px, 2vw, 28px); line-height: 1.15; }
.deal-pill small { display: block; margin-top: 4px; font-size: 14px; color: rgba(255,240,215,.9); }
.c-mosaic-wrap { position: relative; }
.plaque { position: absolute; right: 18px; bottom: -26px; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 10px; color: #4A2E14; font-family: var(--head); font-weight: 700; font-size: clamp(14px, 1.3vw, 18px); line-height: 1.25; transform: rotate(-3deg); background: repeating-linear-gradient(90deg, rgba(120,75,30,.08) 0 3px, transparent 3px 9px), linear-gradient(180deg, #E9C49A, #CF9F6C); box-shadow: 0 20px 40px -16px rgba(0,0,0,.8), inset 0 2px 0 rgba(255,255,255,.4), inset 0 -3px 0 rgba(90,55,20,.35); }
.plaque svg { width: 40px; flex: none; fill: none; stroke: #4A2E14; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.js .plaque.reveal { opacity: 0; transform: rotate(-3deg) translateY(30px) scale(.9); }
.js .plaque.reveal.in { opacity: 1; transform: rotate(-3deg); transition: transform .9s cubic-bezier(.3,1.5,.5,1) .4s, opacity .5s .4s; }
.thanks-quote { margin: 46px 0 0; font-family: "Sriracha", cursive; font-size: clamp(26px, 3.2vw, 46px); line-height: 1.25; color: #fff; transform: rotate(-3deg); text-align: center; text-shadow: 0 4px 20px rgba(0,0,0,.5); }
.thanks-quote::after { content: ""; display: block; width: min(420px, 70%); height: 5px; margin: 10px auto 0; border-radius: 5px; background: var(--gold); }
@media (max-width: 640px) {
  .deal-pill { padding: 10px 16px 10px 12px; gap: 10px; }
  .deal-pill svg { width: 42px; }
  .plaque { right: 8px; bottom: -20px; padding: 10px 14px; }
  .plaque svg { width: 30px; }
}
/* แก้: จอกว้างขอบภาพบ้านไม่จาง (mask ซ้อนต้องตั้ง composite ใหม่ทุกครั้ง) */
@media (min-width: 1561px) { .ph .ph-stage .ph-house { -webkit-mask-composite: source-in !important; mask-composite: intersect !important; } }
.ph .ph-house { -webkit-mask-composite: source-in !important; mask-composite: intersect !important; }
@media (max-width: 960px) { .ph .ph-house { -webkit-mask-composite: source-over !important; mask-composite: add !important; } }
@media (min-width: 961px) and (max-height: 820px) { .ph-stage .ph-people { height: 70%; } .ph-hand { top: 84px; font-size: 22px; } }

/* ===== v7: การ์ดไอคอนห้อง (แบบโปสเตอร์ทำสัญญา) ===== */
.v-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin: 14px 0 6px; }
.vt { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 12px 12px; border-radius: 16px; color: #2B2118; background: linear-gradient(160deg, #FFF8EE, #F3E3CC); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 10px 24px -14px rgba(0,0,0,.6); }
.vt svg { grid-row: 1 / 3; width: 36px; height: 36px; fill: none; stroke: #2B2118; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.vt b { font-family: var(--head); font-weight: 800; font-size: 26px; line-height: 1; }
.vt span { font-size: 12.5px; color: #6B5640; line-height: 1.2; }
.vt-pin { grid-column: 1 / -1; grid-template-columns: auto 1fr; grid-template-rows: auto; background: linear-gradient(160deg, #fff, #F4F1EC); }
.vt-pin svg { grid-row: auto; stroke: #E8650F; width: 30px; height: 30px; }
.vt-pin span { font-family: var(--head); font-weight: 700; font-size: 16px; color: #16181B; }

/* ===== v7: หน้าแบบบ้านโทนสว่าง (เข้ากับหน้าแรก) ===== */
body[data-page="designs"] .nav:not(.is-solid) .nav-links a { color: #16181B; }
body[data-page="designs"] .dhero { color: var(--ink); background: radial-gradient(800px 420px at 85% 10%, rgba(255,200,130,.35), transparent 60%), linear-gradient(180deg, #DDEBF7 0%, #F4F1EC 55%, #F7F5F1 100%); }
body[data-page="designs"] .dhero .aurora { display: none; }
body[data-page="designs"] .dhero-grid { background-image: linear-gradient(rgba(232,101,15,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(232,101,15,.07) 1px, transparent 1px); }
body[data-page="designs"] .dhero .hero-title { color: #121417; text-shadow: none; }
body[data-page="designs"] .dhero .hero-script { color: #1d2024; text-shadow: none; }
body[data-page="designs"] .dhero-stats div { background: #fff; border: 0; box-shadow: 0 14px 34px -18px rgba(18,20,23,.45); }
body[data-page="designs"] .dhero-stats span { color: var(--mist); }
body[data-page="designs"] .dhero .btn-glass { background: #16181B; border-color: #16181B; color: #fff; backdrop-filter: none; }
body[data-page="designs"] .st-info { color: var(--ink); }
body[data-page="designs"] .st-title { color: #121417; }
body[data-page="designs"] .st-code { color: #E8650F; }
body[data-page="designs"] .st-price small { -webkit-text-fill-color: var(--mist); }
body[data-page="designs"] .st-btns .btn-glass { background: #16181B; color: #fff; border-color: #16181B; }
body[data-page="designs"] .st-bg { opacity: .45; }
body[data-page="designs"] .st-rail button { opacity: .6; box-shadow: 0 6px 14px -8px rgba(0,0,0,.5); }
body[data-page="designs"] .st-rail button.on { opacity: 1; box-shadow: 0 0 0 3px var(--gold-2); }
body[data-page="designs"] .contracts.trust-strip { background: linear-gradient(180deg, #F2F2EF, #FAFAF8); color: var(--ink); }
body[data-page="designs"] .contracts.trust-strip h2 { color: #121417; }
body[data-page="designs"] .contracts.trust-strip .c-count div { background: #fff; border: 0; box-shadow: 0 14px 34px -18px rgba(18,20,23,.45); }
body[data-page="designs"] .contracts.trust-strip .c-count span { color: var(--mist); }
body[data-page="designs"] .contracts.trust-strip .c-row button { box-shadow: 0 16px 30px -18px rgba(0,0,0,.5); }
@media (max-width: 960px) { body[data-page="designs"] .dhero { padding-top: 96px; } }

/* ===== กล่องคำค้นยอดนิยม (ช่วย SEO แบบมองเห็นได้จริง) ===== */
.seo-box { grid-column: 1 / -1; margin-top: 26px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-l); background: #fff; box-shadow: 0 30px 60px -40px rgba(18,20,23,.5); }
.seo-box h3 { font-size: clamp(20px, 2vw, 26px); color: #121417; }
.seo-box h4 { margin: 18px 0 8px; font-family: var(--head); font-size: 16px; color: #121417; }
.seo-box p { margin-top: 8px; color: var(--mist); font-size: 15.5px; max-width: 70em; }
.seo-box p b { color: #121417; }
.seo-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.seo-tags a { text-decoration: none; font-size: 14px; padding: 6px 14px; border-radius: 999px; background: #FFF4E6; color: #8A3D06; border: 1px solid rgba(247,147,30,.3); transition: background .3s, color .3s, transform .3s; }
.seo-tags a:hover { background: var(--gold-2); color: #fff; transform: translateY(-2px); }
.seo-tags.prov a { background: #F2F2EF; color: #33373C; border-color: rgba(0,0,0,.06); font-size: 13px; }

/* ================= v8: ปกแบบโปสเตอร์ "งานที่ดี ไม่ได้เกิดจากโชค" ================= */
.cv { --bar: 96px; position: relative; min-height: max(680px, min(100svh, 1000px)); overflow: hidden; isolation: isolate; background: #0B0C0E; color: #fff; }
.cv-bg { position: absolute; inset: 0 0 var(--bar) 0; z-index: -3; overflow: hidden; }
.cv-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; transform-origin: 70% 40%; animation: cvKen 22s ease-in-out infinite alternate; will-change: transform; }
@keyframes cvKen { from { transform: scale(1.06); } to { transform: scale(1.14) translateX(-1.5%); } }
.cv-shade { position: absolute; inset: 0 0 var(--bar) 0; z-index: -2; background: linear-gradient(90deg, rgba(8,9,11,.96) 0%, rgba(8,9,11,.88) 30%, rgba(8,9,11,.45) 48%, rgba(8,9,11,0) 62%), linear-gradient(180deg, rgba(8,9,11,.55) 0%, rgba(8,9,11,0) 22%, rgba(8,9,11,0) 70%, rgba(8,9,11,.9) 100%); }
.cv-flare { position: absolute; right: 2%; top: 22%; width: 520px; height: 520px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,150,.55), rgba(255,150,50,.18) 35%, transparent 65%); mix-blend-mode: screen; animation: sunPulse 7s ease-in-out infinite; will-change: transform, opacity; pointer-events: none; }
.cv-streak { position: absolute; left: 0; height: 2px; z-index: 0; background: linear-gradient(90deg, transparent, rgba(247,147,30,.25) 20%, #FFB04A 70%, transparent); box-shadow: 0 0 14px 2px rgba(247,147,30,.55); pointer-events: none; transform-origin: left; }
.cv-streak::after { content: ""; position: absolute; right: 18%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; background: radial-gradient(circle, rgba(255,220,160,.9), rgba(255,150,40,.3) 25%, transparent 60%); animation: flareBlink 3.5s ease-in-out infinite; }
.cv-streak.s1 { top: 49%; width: 44%; animation: streakIn 1.6s cubic-bezier(.7,0,.2,1) .8s both; }
.cv-streak.s2 { top: 70%; width: 52%; animation: streakIn 1.6s cubic-bezier(.7,0,.2,1) 1.1s both; }
.cv-streak.s2::after { right: 6%; animation-delay: -1.7s; }
@keyframes streakIn { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@keyframes flareBlink { 50% { transform: scale(1.35); opacity: .6; } }
.cv-script { position: absolute; right: max(24px, calc((100vw - 1320px) / 2)); top: 104px; z-index: 2; font-family: "Kaushan Script", cursive; font-size: clamp(34px, 3.6vw, 64px); line-height: .98; color: #fff; text-align: left; transform: rotate(-12deg); text-shadow: 0 4px 24px rgba(0,0,0,.45); }
.cv-script::after { content: ""; display: block; width: 105%; height: 7px; margin-top: 8px; border-radius: 6px; background: var(--gold); transform: rotate(-6deg) scaleX(0); transform-origin: left; animation: swoosh 1s var(--ease) 2s forwards; }

.cv-in { position: relative; z-index: 3; min-height: calc(max(680px, min(100svh, 1000px)) - var(--bar)); width: min(1320px, 100% - 48px); margin: 0 auto; display: flex; align-items: center; padding: 96px 0 30px; }
.cv-copy { width: min(820px, 62%); display: grid; grid-template-columns: auto 1fr; column-gap: 34px; align-items: center; }
.cv-kicker { grid-column: 1 / -1; font-family: var(--head); font-weight: 500; font-size: clamp(15px, 1.25vw, 19px); color: rgba(255,255,255,.9); margin-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cv-kicker i { width: 2px; height: 1em; background: var(--gold-2); }
.cv-kicker a { color: #fff; text-decoration: none; }
.cv-quote { margin: 0; position: relative; padding-left: 4px; font-family: var(--head); line-height: 1.04; }
.cv-quote .ln { display: block; white-space: nowrap; }
.cv-quote .big { font-size: clamp(56px, 6.6vw, 112px); font-weight: 900; }
.cv-quote .mid { font-size: clamp(34px, 3.9vw, 64px); font-weight: 800; }
.cv-quote .thin { font-size: clamp(32px, 3.6vw, 60px); font-weight: 400; }
.cv-quote .reg { font-weight: 400; }
.cv-quote .o .ch { background: linear-gradient(180deg, #FFB24A, #F7931E 45%, #E8650F); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cv-quote .q1, .cv-quote .q2 { font-family: Georgia, "Times New Roman", serif; font-weight: 900; color: var(--gold-2); line-height: 0; }
.cv-quote .q1 { position: absolute; left: -.55em; top: .32em; font-size: clamp(90px, 9vw, 150px); }
.cv-quote .q2 { font-size: 1.6em; vertical-align: -.42em; display: inline-block; }
.js .cv-quote .q1, .js .cv-quote .q2 { opacity: 0; transform: scale(.3) rotate(-20deg); }
.hero-ready .cv-quote .q1, .hero-ready .cv-quote .q2 { opacity: 1; transform: none; transition: transform .9s cubic-bezier(.3,1.6,.5,1), opacity .5s; }
.hero-ready .cv-quote .q1 { transition-delay: .2s; } .hero-ready .cv-quote .q2 { transition-delay: 1.5s; }
.js .cv-quote .ch { display: inline-block; opacity: 0; transform: translateY(70%) skewY(6deg); filter: blur(6px); }
.hero-ready .cv-quote .ch { opacity: 1; transform: none; filter: none; transition: opacity .7s var(--ease), transform .9s cubic-bezier(.3,1.3,.5,1), filter .7s var(--ease); transition-delay: calc(.35s + var(--i) * 32ms); }
.cv-side { position: relative; align-self: center; padding-left: 26px; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.6; color: rgba(255,255,255,.88); }
.cv-side::before { content: ""; position: absolute; left: 0; top: -10%; bottom: -10%; width: 2px; background: linear-gradient(180deg, transparent, #FFB04A 30%, #F7931E 70%, transparent); box-shadow: 0 0 12px rgba(247,147,30,.8); }
.cv-icons { grid-column: 1 / -1; list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px 28px; }
.cv-icons li { display: flex; align-items: center; gap: 12px; font-size: clamp(14px, 1.15vw, 17px); line-height: 1.35; color: rgba(255,255,255,.92); opacity: 0; transform: translateY(24px); }
.hero-ready .cv-icons li { animation: cardIn .8s cubic-bezier(.3,1.3,.5,1) forwards; animation-delay: calc(1.7s + var(--k) * .15s); }
.cv-ring { flex: none; width: 64px; height: 64px; padding: 14px; border-radius: 50%; border: 2px solid var(--gold-2); background: rgba(10,11,13,.55); box-shadow: 0 0 22px -4px rgba(247,147,30,.7), inset 0 0 16px rgba(247,147,30,.18); }
.cv-ring svg, .cv-svc svg, .cv-ph svg { width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cv-icons li:hover .cv-ring { animation: icPop .6s cubic-bezier(.3,1.6,.5,1); }
.cv-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.cv-ph { width: 22px; height: 22px; display: inline-grid; }
.cv-ph svg { fill: #fff; stroke: none; }

.cv-bar { position: absolute; left: 0; right: 0; bottom: 0; height: var(--bar); z-index: 4; background: linear-gradient(180deg, #121417, #0B0C0E); border-top: 1px solid rgba(255,255,255,.06); }
.cv-bar::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, #F7931E 20%, #FFB04A 50%, #F7931E 80%, transparent); opacity: .8; }
.cv-bar-in { height: 100%; width: min(1320px, 100% - 48px); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cv-svc { list-style: none; margin: 0; padding: 0; display: flex; }
.cv-svc li { display: flex; align-items: center; gap: 16px; padding: 0 30px; opacity: 0; transform: translateY(20px); }
.cv-svc li:first-child { padding-left: 0; }
.cv-svc li + li { border-left: 1px solid rgba(255,255,255,.2); }
.hero-ready .cv-svc li { animation: cardIn .8s var(--ease) forwards; animation-delay: calc(2.1s + var(--k) * .12s); }
.cv-svc svg { width: 48px; height: 48px; stroke-width: 2; }
.cv-svc b { display: block; font-family: var(--head); font-weight: 600; font-size: 17px; line-height: 1.2; }
.cv-svc small { font-size: 12.5px; letter-spacing: .08em; color: rgba(255,255,255,.65); }
.cv-motto { display: flex; align-items: center; gap: 14px; font-family: "Kanit", sans-serif; font-size: clamp(14px, 1.3vw, 20px); letter-spacing: .14em; color: #fff; white-space: nowrap; }
.cv-motto i { width: 90px; height: 2px; background: var(--gold-2); box-shadow: 0 0 8px rgba(247,147,30,.7); }
.cv-motto em { font-style: normal; color: var(--gold-2); }
.cv-motto strong { font-weight: 800; }
.cv-motto { opacity: 0; animation: mottoIn 1.4s var(--ease) 2.5s forwards; }
@keyframes mottoIn { from { opacity: 0; letter-spacing: .5em; } to { opacity: 1; letter-spacing: .14em; } }

body[data-page="home"] .nav:not(.is-solid) .nav-links a { color: #fff; }
body[data-page="home"] .nav:not(.is-solid) .nav-burger { background: rgba(10,11,13,.6); border-color: var(--gold-2); }
body[data-page="home"] .nav:not(.is-solid) .nav-burger span { background: #fff; }

@media (max-width: 1280px) { .cv-motto i { width: 40px; } .cv-svc li { padding: 0 20px; } }
@media (max-width: 1100px) { .cv-motto { display: none; } .cv-copy { width: 70%; } }
@media (max-width: 960px) {
  .cv { --bar: auto; min-height: 0; padding-top: 0; }
  .cv-bg { position: relative; inset: auto; height: min(100vw, 560px); margin-top: 0; }
  .cv-bg img { object-position: 74% 30%; transform-origin: 74% 30%; }
  .cv-shade { inset: 0; background: linear-gradient(180deg, rgba(8,9,11,.6) 0%, rgba(8,9,11,0) 18%, rgba(8,9,11,0) calc(min(100vw, 560px) - 220px), #0B0C0E min(100vw, 560px), #0B0C0E 100%); }
  .cv-flare { width: 320px; height: 320px; top: 6%; }
  .cv-streak { display: none; }
  .cv-script { top: 74px; right: 14px; font-size: 26px; }
  .cv-in { min-height: 0; margin-top: -170px; padding: 0 0 26px; width: calc(100% - 32px); }
  .cv-copy { width: 100%; grid-template-columns: 1fr; }
  .cv-quote { padding-left: 22px; }
  .cv-quote .big { font-size: clamp(50px, 15vw, 78px); }
  .cv-quote .mid, .cv-quote .thin { font-size: clamp(28px, 8.4vw, 44px); }
  .cv-quote .q1 { left: -6px; font-size: 80px; top: .4em; }
  .cv-side { margin-top: 18px; font-size: 15px; }
  .cv-side br { display: none; }
  .cv-icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
  .cv-icons li { flex-direction: column; text-align: center; gap: 8px; font-size: 12.5px; }
  .cv-icons br { display: none; }
  .cv-ring { width: 56px; height: 56px; padding: 12px; }
  .cv-cta .btn { flex: 1 1 auto; }
  .cv-bar { position: relative; }
  .cv-bar-in { width: calc(100% - 32px); padding: 16px 0; }
  .cv-svc { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
  .cv-svc li { flex-direction: column; text-align: center; gap: 6px; padding: 0 6px !important; }
  .cv-svc svg { width: 34px; height: 34px; }
  .cv-svc b { font-size: 14px; }
  .cv-svc small { font-size: 10px; }
  .cv-kicker { font-size: 14px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .cv-icons li, .cv-svc li, .cv-motto { opacity: 1 !important; transform: none !important; animation: none !important; } }
.cv-quote { padding-left: .62em; }
.cv-quote .q1 { left: 0; }
@media (max-width: 960px) {
  .cv-script { right: auto; left: 16px; top: 76px; font-size: 24px; transform: rotate(-10deg); }
  .cv-quote { padding-left: 34px; }
  .cv-quote .q1 { left: 0; }
}
@media (min-width: 961px) { .cv-quote { padding-left: clamp(52px, 5.4vw, 92px); } .cv-quote .q1 { left: -6px; top: .38em; } }

/* ===== v8.1: เส้นแสงแบบโปสเตอร์ (แกนสว่าง + เรืองส้ม + แฟลร์เลนส์ + ประกายวิ่ง) ===== */
.cv-streak { height: 2px; background: linear-gradient(90deg, rgba(255,150,40,0) 0%, rgba(255,150,40,.35) 12%, #FFD9A0 55%, #FFF4DE 72%, rgba(255,170,70,.55) 88%, rgba(255,150,40,0) 100%); box-shadow: none; overflow: visible; }
.cv-streak::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 34px; margin-top: -17px; background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(255,140,30,.42), rgba(255,140,30,.12) 45%, transparent 75%); pointer-events: none; }
.cv-streak::after { display: none; }
.cv-streak .flare { position: absolute; right: 26%; top: 50%; width: 0; height: 0; pointer-events: none; }
.cv-streak .flare::before { content: ""; position: absolute; left: -170px; top: -5px; width: 340px; height: 10px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(255,248,230,.95), rgba(255,170,70,.55) 30%, rgba(255,140,30,0) 70%); }
.cv-streak .flare::after { content: ""; position: absolute; left: -36px; top: -36px; width: 72px; height: 72px; border-radius: 50%; background: radial-gradient(circle, #fff 0%, rgba(255,236,200,.95) 10%, rgba(255,170,70,.55) 30%, rgba(255,140,30,0) 65%); animation: flarePulse 3.2s ease-in-out infinite; }
.cv-streak.s2 .flare { right: 12%; }
.cv-streak.s2 .flare::after { animation-delay: -1.6s; }
@keyframes flarePulse { 0%, 100% { transform: scale(.85); opacity: .85; } 50% { transform: scale(1.25); opacity: 1; } }
.cv-streak .spark { position: absolute; top: 50%; left: 0; width: 160px; height: 4px; margin-top: -2px; border-radius: 4px; background: linear-gradient(90deg, rgba(255,200,120,0), #FFF6E6 80%, #fff); box-shadow: 0 0 12px 3px rgba(255,170,60,.8); opacity: 0; animation: sparkRun 4.5s cubic-bezier(.5,0,.3,1) 2.4s infinite; will-change: left, opacity; }
.cv-streak.s2 .spark { animation-delay: 3.6s; animation-duration: 5.2s; }
@keyframes sparkRun { 0% { left: -10%; opacity: 0; } 10% { opacity: 1; } 55% { left: 90%; opacity: 0; } 100% { left: 90%; opacity: 0; } }

/* เส้นแสงแนวตั้งข้างข้อความ */
.cv-side::before { display: none; }
.cv-side .vbeam { position: absolute; left: 0; top: -22%; bottom: -22%; width: 2px; background: linear-gradient(180deg, rgba(255,150,40,0), rgba(255,170,70,.6) 20%, #FFE9C6 50%, rgba(255,170,70,.6) 80%, rgba(255,150,40,0)); }
.cv-side .vbeam::before { content: ""; position: absolute; left: -14px; right: -14px; top: 10%; bottom: 10%; background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255,140,30,.35), transparent 70%); }
.cv-side .vbeam .flare { position: absolute; left: 1px; top: 50%; width: 0; height: 0; }
.cv-side .vbeam .flare::before { content: ""; position: absolute; left: -4px; top: -90px; width: 8px; height: 180px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(255,248,230,.9), rgba(255,170,70,.4) 35%, transparent 70%); }
.cv-side .vbeam .flare::after { content: ""; position: absolute; left: -26px; top: -26px; width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle, #fff 0%, rgba(255,230,190,.9) 12%, rgba(255,160,60,.45) 32%, transparent 65%); animation: flarePulse 3.6s ease-in-out -0.8s infinite; }
.js .cv-side .vbeam { transform: scaleY(0); }
.hero-ready .cv-side .vbeam { transform: none; transition: transform 1.2s cubic-bezier(.7,0,.2,1) 1.2s; }
@media (max-width: 960px) { .cv-side .vbeam .flare::before { height: 100px; top: -50px; } }
/* เส้นแสงวางใต้บรรทัด "แต่เกิดจาก" และ "ในทุกๆ วัน" แบบโปสเตอร์ */
.cv-quote .ln { position: relative; }
.cv-quote .cv-streak { position: absolute; z-index: -1; top: auto; bottom: .02em; left: -100vw; width: auto; }
.cv-quote .cv-streak.s1 { right: -38%; }
.cv-quote .cv-streak.s2 { right: -78%; bottom: -.12em; }
.cv-quote .cv-streak.s1 .flare { right: 8%; }
.cv-quote .cv-streak.s2 .flare { right: 4%; }
.cv-quote .cv-streak .spark { animation-name: sparkRun2; }
@keyframes sparkRun2 { 0% { left: 70%; opacity: 0; } 10% { opacity: 1; } 55% { left: 98%; opacity: 0; } 100% { left: 98%; opacity: 0; } }

/* ===== v8.2: เส้นแสงเป็นกรอบเดียวกันแบบโปสเตอร์ + โลโก้โปร่ง ===== */
.cv { --qb: clamp(56px, 6.6vw, 112px); --qm: clamp(34px, 3.9vw, 64px); --gap: 34px; }
.cv-copy { width: min(940px, 66%); grid-template-columns: auto minmax(250px, 1fr); column-gap: var(--gap); }
.cv-side { padding-left: 4px; align-self: start; margin-top: calc(var(--qb) * 1.04 + var(--qm) * 2.1); }
.cv-quote .cv-streak .spark { display: none; }
/* เส้นบน: จากขอบซ้าย จบที่เส้นตั้ง (ตรงช่องว่างก่อนข้อความข้าง) */
.cv-quote .cv-streak.s1 { left: -100vw; right: calc(var(--gap) / -2); bottom: -.08em; background: linear-gradient(90deg, rgba(255,150,40,0) 0%, rgba(255,150,40,.25) 70%, #FFD9A0 96%, #FFF4DE 100%); }
.cv-quote .cv-streak.s1::before { background: radial-gradient(ellipse 30% 60% at 96% 50%, rgba(255,140,30,.5), rgba(255,140,30,.1) 50%, transparent 80%); }
.cv-quote .cv-streak.s1 .flare { right: 0; }
/* เส้นตั้ง: ลงจากปลายเส้นบน ไปชนเส้นล่าง */
.cv-streak .vline { position: absolute; right: -1px; top: 0; width: 2px; height: calc(var(--qb) * 1.04 + var(--qm) * 1.16); background: linear-gradient(180deg, #FFF4DE, #FFD9A0 30%, rgba(255,170,70,.7) 70%, #FFE2B0); box-shadow: 0 0 10px 1px rgba(255,150,40,.6); transform-origin: top; }
.js .cv-streak .vline { transform: scaleY(0); }
.hero-ready .cv-streak .vline { transform: none; transition: transform 1.1s cubic-bezier(.7,0,.2,1) 1.9s; }
/* เส้นล่าง: ยาวผ่านจุดตัด แล้วจางหายไปทางขวา */
.cv-quote .cv-streak.s2 { left: -100vw; right: calc(-1 * (var(--gap) / 2) - 300px); bottom: -.16em; background: linear-gradient(90deg, rgba(255,150,40,0) 0%, rgba(255,150,40,.25) 60%, #FFD9A0 80%, #FFF4DE 84%, rgba(255,170,70,.5) 92%, rgba(255,150,40,0) 100%); }
.cv-quote .cv-streak.s2::before { background: radial-gradient(ellipse 22% 60% at 84% 50%, rgba(255,140,30,.5), rgba(255,140,30,.1) 50%, transparent 80%); }
.cv-quote .cv-streak.s2 .flare { right: calc(300px * .96 - 1px); right: 16%; }
.cv-streak .flare::before { width: 260px; left: -130px; }
/* เส้นทั้งสองค่อยๆ วิ่งออกจากซ้าย */
.cv-quote .cv-streak { transform-origin: left; }
.js .cv-quote .cv-streak { transform: scaleX(0); opacity: 0; }
.hero-ready .cv-quote .cv-streak { transform: none; opacity: 1; transition: transform 1.3s cubic-bezier(.7,0,.2,1), opacity .4s; }
.hero-ready .cv-quote .cv-streak.s1 { transition-delay: .9s; }
.hero-ready .cv-quote .cv-streak.s2 { transition-delay: 1.3s; }
.cv-script { right: 3vw; top: 112px; font-size: clamp(30px, 2.8vw, 50px); }

/* โลโก้บนปกมืด: โปร่ง ไม่มีป้าย แบบในโปสเตอร์ */
body[data-page="home"] .nav:not(.is-solid) .nav-logo { background: transparent; clip-path: none; padding: 4px 0; }
body[data-page="home"] .nav:not(.is-solid) .nav-logo::before, body[data-page="home"] .nav:not(.is-solid) .nav-logo::after { display: none; }
body[data-page="home"] .nav:not(.is-solid) .nav-logo img { height: 64px; filter: drop-shadow(0 4px 14px rgba(0,0,0,.55)); }
@media (max-width: 960px) {
  .cv-copy { width: 100%; grid-template-columns: 1fr; }
  .cv-side { margin-top: 18px; padding-left: 0; }
  .cv-streak .vline { display: none; }
  .cv-quote .cv-streak.s1 { right: 0; }
  .cv-quote .cv-streak.s2 { right: -20px; }
  body[data-page="home"] .nav:not(.is-solid) .nav-logo img { height: 42px; }
  .cv-script { right: auto; left: 16px; top: 76px; font-size: 24px; }
}

/* ===== v8.3: จัดเรียงใหม่ — ข้อความหลัก > เส้นแสง > ข้อความรอง > ไอคอน > ปุ่ม ===== */
.cv { --qb: clamp(52px, 5.6vw, 100px); --qm: clamp(30px, 3.3vw, 56px); }
.cv-copy { width: min(760px, 56%); grid-template-columns: 1fr; }
.cv-quote .big { font-size: var(--qb); }
.cv-quote .mid, .cv-quote .thin { font-size: var(--qm); }
.cv-quote .ln { line-height: 1.08; }
/* เส้นแสงเส้นเดียวใต้ข้อความหลัก: จากขอบจอซ้าย จางหายก่อนถึงตัวคน */
.cv-quote .cv-streak.s2 { left: -100vw; right: -14%; bottom: -.32em; background: linear-gradient(90deg, rgba(255,150,40,0) 0%, rgba(255,150,40,.3) 55%, #FFD9A0 84%, #FFF4DE 88%, rgba(255,170,70,.45) 95%, rgba(255,150,40,0) 100%); }
.cv-quote .cv-streak.s2::before { background: radial-gradient(ellipse 20% 70% at 88% 50%, rgba(255,140,30,.55), rgba(255,140,30,.12) 50%, transparent 80%); }
.cv-quote .cv-streak.s2 .flare { right: 12%; }
.cv-quote .cv-streak .vline { display: none; }
/* ข้อความรอง: แถบแสงตั้งสั้นๆ ด้านซ้าย */
.cv-side { position: relative; margin: 34px 0 0; padding: 2px 0 2px 22px; align-self: start; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.6; color: rgba(255,255,255,.9); }
.cv-side b { color: var(--gold-2); font-weight: 600; }
.cv-side .sbar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #FFF4DE, #FFB04A 45%, #E8650F); box-shadow: 0 0 12px 1px rgba(255,150,40,.7); transform-origin: top; }
.js .cv-side .sbar { transform: scaleY(0); }
.hero-ready .cv-side .sbar { transform: none; transition: transform .9s cubic-bezier(.7,0,.2,1) 1.6s; }
.cv-icons { margin-top: 26px; }
.cv-cta { margin-top: 26px; }
@media (min-width: 961px) and (max-height: 860px) {
  .cv { --qb: min(5.6vw, 10vh); --qm: min(3.3vw, 5.8vh); }
  .cv-in { padding-top: 88px; }
  .cv-kicker { margin-bottom: 10px; }
  .cv-side { margin-top: 26px; font-size: 16px; line-height: 1.5; }
  .cv-icons { margin-top: 18px; } .cv-ring { width: 54px; height: 54px; padding: 12px; }
  .cv-cta { margin-top: 18px; } .cv-cta .btn-lg { min-height: 50px; }
}
@media (max-width: 960px) {
  .cv { --qb: clamp(46px, 13.5vw, 76px); --qm: clamp(26px, 7.6vw, 42px); }
  .cv-copy { width: 100%; }
  .cv-quote .cv-streak.s2 { right: -16px; bottom: -.28em; }
  .cv-quote .cv-streak.s2 .flare { right: 18%; }
  .cv-side { margin-top: 26px; font-size: 16px; }
  .cv-side br { display: inline; }
}
@media (min-width: 961px) and (max-height: 860px) {
  body[data-page="home"] .nav:not(.is-solid) .nav-logo img { height: 50px; }
  .cv-in { padding-top: 104px; }
}
@media (min-width: 961px) and (max-height: 800px) {
  .cv { --qb: min(5.6vw, 9vh); --qm: min(3.3vw, 5.2vh); }
  .cv-in { padding-top: 96px; padding-bottom: 18px; }
  .cv-side { margin-top: 20px; font-size: 15px; line-height: 1.45; }
  .cv-icons { margin-top: 14px; } .cv-ring { width: 48px; height: 48px; padding: 11px; }
  .cv-cta { margin-top: 14px; } .cv-cta .btn-lg { min-height: 46px; padding: 0 24px; font-size: 16px; }
}

/* ===== v8.4: กลับไปแบบกรอบเส้นแสง 2 เส้น + เส้นตั้ง ข้อความรองอยู่กึ่งกลางกรอบ ===== */
.cv { --qb: clamp(56px, 6.6vw, 112px); --qm: clamp(34px, 3.9vw, 64px); --gap: 34px; }
.cv-copy { width: min(940px, 66%); grid-template-columns: 1fr; }
.cv-quote { justify-self: start; width: max-content; }
/* เส้นบน */
.cv-quote .cv-streak.s1 { left: -100vw; right: calc(var(--gap) / -2); bottom: -.08em; background: linear-gradient(90deg, rgba(255,150,40,0) 0%, rgba(255,150,40,.28) 65%, #FFD9A0 96%, #FFF4DE 100%); }
.cv-quote .cv-streak.s1::before { background: radial-gradient(ellipse 30% 60% at 96% 50%, rgba(255,140,30,.5), rgba(255,140,30,.1) 50%, transparent 80%); }
.cv-quote .cv-streak.s1 .flare { right: 0; }
/* เส้นล่าง */
.cv-quote .cv-streak.s2 { left: -100vw; right: calc(-1 * (var(--gap) / 2) - 320px); bottom: -.16em; background: linear-gradient(90deg, rgba(255,150,40,0) 0%, rgba(255,150,40,.28) 58%, #FFD9A0 78%, #FFF4DE 82%, rgba(255,170,70,.5) 91%, rgba(255,150,40,0) 100%); }
.cv-quote .cv-streak.s2::before { background: radial-gradient(ellipse 22% 60% at 82% 50%, rgba(255,140,30,.5), rgba(255,140,30,.1) 50%, transparent 80%); }
.cv-quote .cv-streak.s2 .flare { right: 18%; }
/* กรอบ: เส้นตั้งจากปลายเส้นบนลงชนเส้นล่าง + ข้อความรองอยู่กึ่งกลางกรอบ */
.cv-frame { position: absolute; left: calc(100% + var(--gap) / 2 - 1px); top: calc(100% + .08em - 1px); height: calc(var(--qb) * 1.08 + var(--qm) * 1.08 + .08em); width: 0; font-size: 1rem; }
.cv-frame .vline { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, #FFF4DE, #FFD9A0 25%, rgba(255,170,70,.75) 70%, #FFE2B0); box-shadow: 0 0 10px 1px rgba(255,150,40,.6); transform-origin: top; }
.js .cv-frame .vline { transform: scaleY(0); }
.hero-ready .cv-frame .vline { transform: none; transition: transform 1.1s cubic-bezier(.7,0,.2,1) 1.9s; }
.cv-frame .ftext { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-family: var(--body); font-weight: 400; font-size: clamp(15px, 1.2vw, 19px); line-height: 1.65; color: rgba(255,255,255,.92); text-shadow: 0 2px 12px rgba(0,0,0,.6); letter-spacing: 0; }
.js .cv-frame .ftext { opacity: 0; transform: translate(-12px, -50%); }
.hero-ready .cv-frame .ftext { opacity: 1; transform: translateY(-50%); transition: opacity .8s ease 2.4s, transform .8s var(--ease) 2.4s; }
.cv-copy > .cv-side { display: none; }
.cv-icons { margin-top: 34px; }
@media (min-width: 961px) and (max-height: 860px) { .cv { --qb: min(6.6vw, 10.5vh); --qm: min(3.9vw, 6.2vh); } .cv-icons { margin-top: 22px; } }
@media (min-width: 961px) and (max-height: 800px) { .cv { --qb: min(6.6vw, 9.6vh); --qm: min(3.9vw, 5.6vh); } .cv-frame .ftext { font-size: 15px; line-height: 1.5; } }
@media (max-width: 960px) {
  .cv { --qb: clamp(46px, 13.5vw, 76px); --qm: clamp(26px, 7.6vw, 42px); }
  .cv-copy { width: 100%; }
  .cv-frame { display: none; }
  .cv-copy > .cv-side { display: block; margin-top: 30px; }
  .cv-quote .cv-streak.s1 { right: -16px; }
  .cv-quote .cv-streak.s1 .flare { right: 10%; }
  .cv-quote .cv-streak.s2 { right: -16px; }
  .cv-quote .cv-streak.s2 .flare { right: 22%; }
}
@media (max-width: 960px) { .cv-quote .cv-streak { display: block; } }

/* ===================== v9 แผนที่พื้นที่รับสร้าง ===================== */
.amap { position: relative; overflow: hidden; background: radial-gradient(120% 80% at 75% 40%, #1d1209 0%, #0d0e10 55%, #08090a 100%); color: #fff; padding: clamp(70px, 9vw, 120px) 0; isolation: isolate; }
.amap-grid { position: absolute; inset: -60px; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(247,147,30,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(247,147,30,.07) 1px, transparent 1px); background-size: 60px 60px; -webkit-mask-image: radial-gradient(70% 70% at 70% 50%, #000 30%, transparent 80%); mask-image: radial-gradient(70% 70% at 70% 50%, #000 30%, transparent 80%); animation: amapGrid 14s linear infinite; will-change: transform; }
@keyframes amapGrid { to { transform: translate3d(60px, 60px, 0); } }
.amap.paused .amap-grid, .amap.paused .amap-radar::before, .amap.paused .scanline, .amap.paused .rip, .amap.paused .arc, .amap.paused .hq-ring { animation-play-state: paused; }
.amap-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.amap-copy { display: grid; gap: 22px; align-content: center; }
.amap-copy h2 { font-family: var(--head); font-weight: 900; font-size: clamp(30px, 3.7vw, 56px); line-height: 1.12; letter-spacing: -.01em; margin: 0; }
.amap-copy h2 .o { color: var(--orange); }
.amap-copy h2 .nw { white-space: nowrap; }
.amap-lede { font-size: 17.5px; line-height: 1.75; color: rgba(255,255,255,.74); margin: 0; max-width: 34em; }
.amap-lede b { color: var(--gold-1); font-weight: 600; }
.amap-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.amap-stats > div { padding: 14px 16px; border-radius: 16px; background: linear-gradient(160deg, rgba(247,147,30,.14), rgba(255,255,255,.02)); border: 1px solid rgba(247,147,30,.28); }
.amap-stats b { display: block; font-family: var(--head); font-weight: 900; font-size: clamp(34px, 3.4vw, 50px); line-height: 1; color: var(--orange); text-shadow: 0 0 24px rgba(247,147,30,.45); }
.amap-stats span { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.35; color: rgba(255,255,255,.75); }
.amap-stats em { font-style: normal; color: #8BE38F; font-size: 12.5px; }
.amap-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.amap-tab { font: 500 14.5px var(--head); color: rgba(255,255,255,.8); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); padding: 8px 15px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 7px; align-items: center; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.amap-tab:hover { transform: translateY(-2px); border-color: rgba(247,147,30,.6); }
.amap-tab small { font-size: 11.5px; padding: 1px 7px; border-radius: 99px; background: rgba(255,255,255,.1); }
.amap-tab.open small { background: rgba(247,147,30,.2); color: var(--gold-1); }
.amap-tab.soon { color: rgba(255,255,255,.45); }
.amap-tab[aria-selected="true"] { background: var(--gold); color: #1a0d02; border-color: transparent; font-weight: 600; box-shadow: 0 8px 26px -8px rgba(247,147,30,.7); }
.amap-tab[aria-selected="true"] small { background: rgba(0,0,0,.18); color: #1a0d02; }
.amap-chips { display: flex; flex-wrap: wrap; gap: 7px; min-height: 64px; align-content: flex-start; }
.amap-chip { font: 400 13.5px var(--body); color: #fff; background: rgba(247,147,30,.08); border: 1px solid rgba(247,147,30,.32); border-radius: 8px; padding: 5px 10px; cursor: pointer; opacity: 0; transform: translateY(8px); animation: chipIn .45s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i) * 22ms); transition: background .2s, border-color .2s; }
.amap-chip b { color: var(--orange); font-weight: 700; margin-left: 4px; }
.amap-chip:hover, .amap-chip.hot { background: rgba(247,147,30,.32); border-color: var(--orange); }
.amap-chip.off { color: rgba(255,255,255,.45); background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.1); }
.amap-chips .soon-note { width: 100%; font-size: 14px; color: rgba(255,255,255,.6); margin: 0 0 4px; }
@keyframes chipIn { to { opacity: 1; transform: none; } }
.amap-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: rgba(255,255,255,.7); }
.amap-legend span { display: inline-flex; align-items: center; gap: 7px; }
.amap-legend .lg { width: 13px; height: 13px; border-radius: 4px; display: inline-block; }
.lg.on { background: rgba(247,147,30,.45); border: 1.5px solid var(--orange); }
.lg.pin { border-radius: 50%; background: #FFD9A8; box-shadow: 0 0 0 3px rgba(255,217,168,.25); }
.lg.hq { border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--orange); }
.lg.off { background: transparent; border: 1.5px solid rgba(255,255,255,.3); }
.amap-copy .btn { justify-self: start; }

.amap-stage { position: relative; height: min(88vh, 860px); min-height: 560px; border-radius: 26px; background: radial-gradient(60% 50% at 62% 30%, rgba(247,147,30,.12), transparent 70%), rgba(255,255,255,.015); border: 1px solid rgba(247,147,30,.16); overflow: hidden; touch-action: pan-y; }
.amap-svg, .amap-svg svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.amap-hud .c { position: absolute; width: 26px; height: 26px; border: 2px solid var(--orange); opacity: .8; z-index: 3; }
.amap-hud .tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.amap-hud .tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.amap-hud .bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.amap-hud .br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.amap-hud .coord { position: absolute; left: 50px; bottom: 18px; z-index: 3; font: 500 12px/1 ui-monospace, Consolas, monospace; letter-spacing: .12em; color: rgba(247,147,30,.75); }
.amap-hud .scanline { position: absolute; left: 0; right: 0; top: 0; height: 120px; z-index: 2; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(247,147,30,.08) 70%, rgba(255,200,120,.25) 100%); border-bottom: 1px solid rgba(255,190,110,.35); animation: amapScan 6.5s cubic-bezier(.45,0,.55,1) infinite; will-change: transform; }
@keyframes amapScan { 0% { transform: translateY(-130px); } 100% { transform: translateY(980px); } }
.amap-radar { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.amap-radar::before { content: ""; position: absolute; left: var(--hx, 70%); top: var(--hy, 22%); width: 1600px; height: 1600px; margin: -800px 0 0 -800px; border-radius: 50%; background: conic-gradient(from 0deg, rgba(247,147,30,.22), rgba(247,147,30,0) 50deg, transparent 360deg); animation: amapSpin 7s linear infinite; will-change: transform; -webkit-mask-image: radial-gradient(circle, #000 0 45%, transparent 62%); mask-image: radial-gradient(circle, #000 0 45%, transparent 62%); }
@keyframes amapSpin { to { transform: rotate(-360deg); } }
.amap-svg svg { z-index: 2; overflow: visible; }
.amap-svg .zoom { transform-origin: 0 0; transition: transform 1.1s cubic-bezier(.65,0,.2,1); }

/* จังหวัด */
.amap-svg .pv { fill: rgba(255,255,255,.015); stroke: rgba(255,255,255,.22); stroke-width: calc(.9px / var(--zs, 1)); stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.6,0,.2,1), fill .35s, stroke .35s, opacity .35s; transition-delay: var(--d, 0s), 0s, 0s, 0s; cursor: pointer; }
.amap-svg .pv.open { fill: url(#amapFill); stroke: #FFB458; stroke-width: calc(1.25px / var(--zs, 1)); }
.amap-svg .pv.open.has { fill: url(#amapFillHot); }
.amap-svg .glow { fill: none; stroke: var(--orange); stroke-width: calc(7px / var(--zs, 1)); opacity: 0; stroke-linejoin: round; pointer-events: none; transition: opacity 1.2s ease; transition-delay: var(--d, 0s); }
.amap.go .pv { stroke-dashoffset: 0; }
.amap.go .glow { opacity: .13; }
.amap-svg .pv:hover, .amap-svg .pv.hot { stroke: #fff; }
.amap-svg .pv.open:hover, .amap-svg .pv.open.hot { fill: rgba(247,147,30,.6); stroke: #FFE3BF; }
.amap-svg .pv.dim { opacity: .35; }
.amap-svg .pv.fillwait { fill-opacity: 0; }
.amap.go .pv.fillwait { fill-opacity: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.6,0,.2,1), fill-opacity .9s ease, fill .35s, stroke .35s, opacity .35s; transition-delay: var(--d, 0s), calc(var(--d, 0s) + .9s), 0s, 0s, 0s; }
.amap-svg .lbl { font-family: var(--head); font-weight: 500; font-size: calc(11.5px / var(--zs, 1)); fill: rgba(255,255,255,.92); text-anchor: middle; dominant-baseline: middle; pointer-events: none; paint-order: stroke; stroke: rgba(10,8,6,.85); stroke-width: calc(3px / var(--zs, 1)); opacity: 0; transition: opacity .6s ease; }
.amap-svg .lbl.off { fill: rgba(255,255,255,.4); font-weight: 400; }
.amap.go .lbl.show { opacity: 1; transition-delay: calc(var(--d, 0s) + 1s); }
.amap.go.zoomed .lbl.show { transition-delay: 0s; }
.amap-svg .lbl.hot { opacity: 1 !important; fill: #fff; font-weight: 700; }
.amap-svg .rlabel { font-family: var(--head); font-weight: 900; font-size: calc(30px / var(--zs, 1)); letter-spacing: .04em; fill: rgba(247,147,30,.11); text-anchor: middle; pointer-events: none; }

/* หมุด + สำนักงานใหญ่ + เส้นโค้ง */
.amap-svg .pin-s { transform: scale(var(--inv, 1)); }
.amap-svg .pin .dot { fill: #FFD9A8; stroke: #E8620F; stroke-width: 2; }
.amap-svg .pin .rip { fill: none; stroke: #FFD9A8; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: amapRip 2.6s ease-out infinite; animation-delay: var(--rd, 0s); opacity: 0; }
@keyframes amapRip { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(4.2); opacity: 0; } }
.amap-svg .pin, .amap-svg .hq { opacity: 0; transition: opacity .6s ease; }
.amap.go .pin { opacity: 1; transition-delay: calc(var(--d, 0s) + 1.2s); }
.amap.go .hq { opacity: 1; transition-delay: .3s; }
.amap-svg .hq .core { fill: #fff; stroke: var(--orange); stroke-width: 3.5; }
.amap-svg .hq .hq-ring { fill: none; stroke: var(--orange); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: amapRip 2s ease-out infinite; }
.amap-svg .hq .hq-ring.b { animation-delay: 1s; }
.amap-svg .hq .tag rect { fill: var(--orange); }
.amap-svg .hq .tag text { font: 700 12.5px var(--head); fill: #1a0d02; }
.amap-svg .arc { fill: none; stroke: #FFC36E; stroke-width: calc(1.4px / var(--zs, 1)); stroke-dasharray: .018 .022; stroke-linecap: round; opacity: 0; animation: amapFlow 1.6s linear infinite; pointer-events: none; transition: opacity .8s ease; }
.amap.go .arc { opacity: .75; transition-delay: 2.4s; }
@keyframes amapFlow { to { stroke-dashoffset: -.08; } }

.amap-tip { position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; min-width: 170px; padding: 11px 14px; border-radius: 14px; background: rgba(14,12,10,.92); border: 1px solid rgba(247,147,30,.55); box-shadow: 0 18px 40px -12px rgba(0,0,0,.7), 0 0 0 4px rgba(247,147,30,.08); opacity: 0; transform: translate3d(var(--tx, 0), var(--ty, 0), 0) scale(.94); transition: opacity .2s, transform .2s cubic-bezier(.2,.8,.2,1); will-change: transform; }
.amap-tip.on { opacity: 1; transform: translate3d(var(--tx, 0), var(--ty, 0), 0) scale(1); }
.amap-tip b { display: block; font: 800 18px/1.2 var(--head); color: #fff; }
.amap-tip span { display: block; font-size: 13px; color: rgba(255,255,255,.65); margin-top: 2px; }
.amap-tip i { display: inline-block; margin-top: 7px; font-style: normal; font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: rgba(139,227,143,.16); color: #8BE38F; }
.amap-tip i.soon { background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); }
.amap-tip em { display: block; font-style: normal; font-size: 13px; color: var(--gold-1); margin-top: 6px; }

@media (max-width: 960px) {
  .amap-in { grid-template-columns: 1fr; }
  .amap-stage { height: auto; aspect-ratio: 1 / 1.08; min-height: 0; max-height: 640px; border-radius: 20px; }
  .amap-in { gap: 18px; }
  .amap-copy { display: contents; }
  .amap-copy > * { order: 1; }
  .amap-stage { order: 2; margin: 6px 0; }
  .amap-tabs, .amap-chips, .amap-legend, .amap-copy > .btn { order: 3; }
  .amap-stats b { font-size: 34px; }
  .amap-stats span { font-size: 12.5px; }
  .amap-hud .coord { font-size: 10px; }
}
@media (max-width: 560px) {
  .amap-stats { gap: 8px; }
  .amap-stats > div { padding: 12px 10px; }
  .amap-tab { font-size: 13.5px; padding: 7px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .amap-grid, .amap-radar::before, .scanline, .amap-svg .rip, .amap-svg .arc, .amap-svg .hq-ring { animation: none !important; }
}
