/* See Me Chinabuddy — Modern Luxury China
   กรมท่า + ทอง บนพื้นครีม · ฟอนต์เดียว IBM Plex Sans Thai (400/600/700)
   กฎเหล็ก: ทุกส่วนต้องยังสวยเมื่อลูกค้าใส่ข้อความสั้นมากหรือยาวมาก และต้องไม่ล้นจอที่ 360px */

:root {
  --navy: #0e2748;
  --navy-deep: #081a33;
  --navy-soft: #1b3d6b;
  --gold: #c6a15b;
  --gold-light: #e6d1a0;
  --gold-ink: #8a6729;
  --green: #1d6b47;
  --cream: #f8f4ec;
  --cream-2: #f0e8d8;
  --paper: #ffffff;
  --ink: #13233a;
  --muted: #55647a;
  --line: #e3d9c6;
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'IBM Plex Sans Thai', 'Noto Sans Thai', -apple-system, 'Segoe UI', sans-serif;
  --gap: clamp(64px, 9vw, 120px);
  --pad: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 1px 2px rgb(14 39 72 / .06), 0 8px 24px -8px rgb(14 39 72 / .14);
  --shadow-up: 0 2px 4px rgb(14 39 72 / .06), 0 18px 36px -12px rgb(14 39 72 / .24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream);
  font-size: 17px; line-height: 1.7; -webkit-text-size-adjust: 100%; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.42; margin: 0; text-wrap: balance; font-weight: 700; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.75; flex: none; }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.sec { padding-block: var(--gap); position: relative; }

/* หัวข้อของแต่ละส่วน — เส้นทองสั้นนำหน้า */
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 44px); color: var(--navy); }
.sec-head h2::before {
  content: ''; display: block; width: 48px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light)); margin-bottom: 18px;
}
.sec-head.center h2::before { margin-inline: auto; }
.sec-head p { color: var(--muted); margin-top: 14px; font-size: 17.5px; }

/* ---------- ปุ่ม ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 24px; min-height: 50px; border-radius: 999px;
  font: 600 16.5px/1.45 var(--font); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; }
.btn .i-line { width: 26px; height: 26px; }
.btn-sm { min-height: 44px; padding: 9px 18px; font-size: 15.5px; }
.btn-gold { background: linear-gradient(135deg, #d8b775, var(--gold)); color: var(--navy-deep); box-shadow: 0 6px 18px -6px rgb(198 161 91 / .7); }
.btn-gold:hover { box-shadow: 0 10px 26px -8px rgb(198 161 91 / .9); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); }
.btn-ghost-light { border-color: rgb(255 255 255 / .35); color: #fff; background: rgb(255 255 255 / .04); }
.btn-ghost-light:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); padding-left: 12px; }
.btn-line:hover { border-color: #06c755; }

/* ---------- หัวเว็บ ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgb(248 244 236 / .9);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgb(14 39 72 / .4); }
.nav-in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.logo-img { width: auto; height: 48px; }
.logo-text { font-weight: 700; font-size: 20px; color: var(--navy); }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-links a:not(.btn) {
  position: relative; padding: 10px 14px; text-decoration: none; font-weight: 600; font-size: 16px;
  color: var(--navy); border-radius: 8px; white-space: nowrap;
}
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-links a:not(.btn):hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-line { flex: none; }
.nav-line .i-line { width: 22px; height: 22px; }
.nav-line-m { display: none; }
.nav-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; margin: auto; }

@media (max-width: 1080px) {
  .nav-line { display: none; }
}
@media (max-width: 900px) {
  .nav-in { min-height: 68px; }
  .logo-img { height: 40px; }
  .nav-toggle { display: grid; }
  .nav-links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--cream); padding: 12px var(--pad) 24px; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgb(14 39 72 / .35);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s;
  }
  .nav.open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { padding: 14px 8px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links a[aria-current="page"] { color: var(--gold-ink); }
  .nav-line-m { display: inline-flex; margin-top: 16px; }
}

/* ---------- แบนเนอร์ ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-deep); color: #fff; }
.hero-track { display: flex; transition: transform .7s var(--ease); }
.hero-slide { position: relative; flex: 0 0 100%; min-width: 0; }
.hero h1, .hero .h1 { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.4; margin: 0 0 18px; font-weight: 700; }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); color: rgb(255 255 255 / .82); max-width: 34em; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  color: var(--gold-light); font-size: 16px; font-weight: 600; letter-spacing: .02em;
}
.eyebrow::before { content: ''; width: 32px; height: 1.5px; background: var(--gold); }

/* แบบครึ่งจอ (หน้าแรก) */
.hero-split .hero-slide { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: min(88vh, 760px); }
.hero-split .hero-body {
  display: flex; align-items: center; padding: clamp(40px, 6vw, 88px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(120% 90% at 0% 100%, rgb(198 161 91 / .16), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  position: relative;
}
.hero-split .hero-body::after { /* ลายเส้นทองบางๆ มุมขวาบน */
  content: ''; position: absolute; right: 0; top: 0; width: 220px; height: 220px; opacity: .22; pointer-events: none;
  background: repeating-radial-gradient(circle at 100% 0, transparent 0 14px, var(--gold) 14px 15px);
  -webkit-mask-image: radial-gradient(circle at 100% 0, #000 30%, transparent 72%); mask-image: radial-gradient(circle at 100% 0, #000 30%, transparent 72%);
}
.hero-in { max-width: 560px; margin-left: auto; position: relative; z-index: 1; width: 100%; }
.hero-split .hero-pic { position: relative; }
.hero-split .hero-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-split .hero-pic::before { /* แถบทองรอยต่อ */
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; z-index: 1;
  background: linear-gradient(var(--gold-light), var(--gold));
}

/* แบบเต็มจอ ข้อความทับรูป */
.hero-full .hero-slide { min-height: min(80vh, 720px); display: grid; }
.hero-full .hero-pic, .hero-compact .hero-pic { position: absolute; inset: 0; }
.hero-full .hero-pic img, .hero-compact .hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-full .hero-pic::after, .hero-compact .hero-pic::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(8 26 51 / .92) 0%, rgb(8 26 51 / .72) 45%, rgb(8 26 51 / .25) 100%);
}
.hero-full .hero-body, .hero-compact .hero-body { position: relative; align-self: center; width: 100%; max-width: var(--max); margin: 0 auto; padding: 72px var(--pad); }
.hero-full .hero-in, .hero-compact .hero-in { margin-left: 0; max-width: 640px; }

/* แถบเตี้ยสำหรับหน้ารอง */
.hero-compact .hero-slide { min-height: clamp(340px, 46vh, 460px); display: grid; }
.hero-compact h1, .hero-compact .h1 { font-size: clamp(32px, 4.2vw, 54px); }
.hero-compact .hero-sub { margin-bottom: 24px; }
.hero-compact .hero-cta:empty { display: none; }
.crumbs { display: flex; gap: 10px; font-size: 15px; color: var(--gold-light); margin-bottom: 14px; }
.crumbs a { color: rgb(255 255 255 / .75); text-decoration: none; }
.crumbs a:hover { color: #fff; }

.hero-ctrl {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3;
  display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 999px;
  background: rgb(8 26 51 / .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-split .hero-ctrl { left: auto; right: 24px; transform: none; }
.hero-arrow { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.hero-arrow:hover { background: rgb(255 255 255 / .12); }
.hero-arrow svg { width: 20px; height: 20px; }
.hero-dots { display: flex; gap: 4px; }
.hero-dots button { width: 24px; height: 40px; border: 0; background: none; cursor: pointer; position: relative; padding: 0; }
.hero-dots button::before { content: ''; position: absolute; left: 4px; right: 4px; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: rgb(255 255 255 / .4); transition: background .25s; }
.hero-dots button[aria-current="true"]::before { background: var(--gold); }

@media (max-width: 860px) {
  .hero-split .hero-slide { grid-template-columns: 1fr; min-height: 0; }
  .hero-split .hero-pic { order: -1; aspect-ratio: 4 / 3; max-height: 46vh; width: 100%; }
  .hero-split .hero-pic::before { width: auto; height: 4px; right: 0; top: auto; bottom: 0; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
  .hero-split .hero-body { padding: 32px var(--pad) 88px; }
  .hero-in { margin: 0; }
  .hero-split .hero-ctrl { right: auto; left: var(--pad); bottom: 20px; }
  .hero-full .hero-slide { min-height: min(70vh, 600px); }
  .hero-full .hero-pic::after, .hero-compact .hero-pic::after { background: linear-gradient(180deg, rgb(8 26 51 / .55) 0%, rgb(8 26 51 / .9) 100%); }
  .hero-compact .hero-slide { min-height: 300px; }
  .hero-compact .hero-body, .hero-full .hero-body { padding: 56px var(--pad) 48px; }
  .hero-cta .btn { flex: 1 1 auto; }
}

/* ---------- จุดเด่น ---------- */
.feats { background: var(--paper); }
.feats-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.feat { text-align: center; padding: clamp(20px, 2.4vw, 32px) clamp(12px, 1.6vw, 20px); border-radius: var(--radius); }
.feat-icon {
  display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 18px;
  color: var(--gold-ink); background: radial-gradient(circle at 30% 30%, #fff, var(--cream)); box-shadow: inset 0 0 0 1px var(--gold-light);
}
.feat-icon svg { width: 28px; height: 28px; stroke-width: 1.5; }
.feat h3 { font-size: 19px; color: var(--navy); margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 16px; }
@media (max-width: 1023px) { .feats-grid { grid-template-columns: repeat(min(var(--cols, 3), 4), minmax(0, 1fr)); } }
@media (max-width: 767px) { .feats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .feat { padding: 18px 8px; } .feat h3 { font-size: 17px; } .feat p { font-size: 15px; } }

/* ---------- เกี่ยวกับ ---------- */
.about-sec.alt { background: var(--paper); }
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about.pic-right .about-pic { order: 2; }
.about.no-pic { grid-template-columns: minmax(0, 760px); }
.about-pic { margin: 0; position: relative; }
.about-pic img { width: 100%; border-radius: var(--radius); }
.about-pic::after { /* กรอบทองเยื้อง อยู่หลังรูป ไม่ทับรูป */
  content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--gold-light); border-radius: var(--radius); z-index: -1;
}
.about.pic-right .about-pic::after { inset: 18px 18px -18px -18px; }
.about-pic { isolation: isolate; }
.about-text h2 { font-size: clamp(28px, 3.4vw, 42px); color: var(--navy); margin-bottom: 20px; }
.about-text h2::before { content: ''; display: block; width: 48px; height: 3px; background: var(--gold); border-radius: 2px; margin-bottom: 18px; }
.about-text .btn { margin-top: 26px; }
@media (max-width: 860px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .about.pic-right .about-pic { order: 0; }
  .about-pic::after, .about.pic-right .about-pic::after { inset: 12px -10px -12px 10px; }
}

/* เนื้อหายาว: ย่อหน้า รายการ ตาราง */
.prose { color: #2a3a52; }
.prose h3 { font-size: 20px; color: var(--navy); margin: 1.4em 0 .6em; }
.prose h3:first-child { margin-top: 0; }
.prose strong { color: var(--navy); }
.prose a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.ticks, .steps { margin: 0 0 1.2em; padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6d1a0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.steps { counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding: 2px 0 2px 48px; min-height: 34px; }
.steps li::before {
  content: counter(st); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 15px; color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 480px; }
thead th { background: var(--navy); color: #fff; font-weight: 600; text-align: left; padding: 14px 12px; white-space: nowrap; }
th.num, td.num { text-align: center; }
tbody th { text-align: left; font-weight: 600; color: var(--navy); min-width: 6.5em; }
tbody th, tbody td { padding: 13px 12px; border-top: 1px solid var(--line); }
tbody td { font-variant-numeric: tabular-nums; }
tbody td.num { white-space: nowrap; }
tbody tr:nth-child(even) { background: #fbf8f2; }

/* ---------- บริการ ---------- */
.svc-sec { background: var(--cream); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); margin-bottom: clamp(40px, 5vw, 64px); }
/* การ์ดหมวด: สีพื้นเรียบ + ไอคอน (ไม่มีรูปพื้นหลัง ตามที่ลูกค้าขอ) */
.pillar {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 2.6vw, 34px);
  border-radius: var(--radius); color: #fff; text-decoration: none; overflow: hidden; isolation: isolate;
  background: linear-gradient(150deg, var(--pc) 0%, var(--pc2) 100%);
  box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pillar::after { /* เส้นทองโค้งมุมขวาล่าง */
  content: ''; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%;
  border: 1.5px solid rgb(230 209 160 / .35); box-shadow: 0 0 0 22px rgb(230 209 160 / .06); z-index: -1;
}
.pillar.p0 { --pc: #15345d; --pc2: #0b1f3c; }
.pillar.p1 { --pc: #1f7350; --pc2: #145237; }
.pillar.p2 { --pc: #343842; --pc2: #1d2027; }
.pillar-icon { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--pc); flex: none; overflow: hidden; }
.pillar-icon svg { width: 30px; height: 30px; stroke-width: 1.6; }
.pillar-icon img { width: 100%; height: 100%; object-fit: cover; }
.pillar-body { display: flex; flex-direction: column; flex: 1; }
.pillar-no { font-size: 15px; font-weight: 600; color: var(--gold-light); }
.pillar h3 { font-size: clamp(24px, 2.4vw, 30px); margin: 2px 0 8px; }
.pillar p { font-size: 16px; color: rgb(255 255 255 / .85); margin: 0; }
.pillar-go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; font-weight: 600; color: var(--gold-light); }
.i-arrow { width: 20px; height: 20px; transition: transform .25s var(--ease); }
a.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-up); }
a.pillar:hover .i-arrow { transform: translateX(4px); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  min-height: 44px; padding: 8px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font: 600 15.5px var(--font); color: var(--navy); cursor: pointer; transition: all .2s;
}
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card[hidden] { display: none; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.card-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 19px; color: var(--navy); line-height: 1.45; }
.card-body p { color: var(--muted); font-size: 16px; margin: 0; }
.card-body .btn { margin-top: auto; align-self: flex-start; }
.tag { align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--gold-ink); background: var(--cream); padding: 2px 12px; border-radius: 999px; }
.card-price { font-weight: 700; color: var(--navy); font-size: 18px; }
.card-price s { color: var(--muted); font-weight: 400; margin-left: 8px; font-size: 15px; }
.card-sold { color: var(--muted); font-weight: 600; }
.rows { display: grid; gap: 14px; }
.row-item { display: grid; grid-template-columns: 180px 1fr auto; gap: 20px; align-items: center; background: #fff; border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); }
.row-item .card-pic img { border-radius: var(--radius-sm); }
.row-item h3 { font-size: 19px; color: var(--navy); }
.row-item p { color: var(--muted); margin: 4px 0 0; }

@media (max-width: 1023px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { flex-direction: row; align-items: flex-start; gap: 16px; padding: 20px; }
  .pillar-icon { width: 52px; height: 52px; }
  .pillar-icon svg { width: 26px; height: 26px; }
  .pillar h3 { font-size: 22px; }
  .pillar-go { padding-top: 12px; }
  .cards { gap: 10px; }
  .card-body { padding: 12px 12px 16px; gap: 6px; }
  .card-body h3 { font-size: 16px; }
  .card-body p { font-size: 14.5px; line-height: 1.6; }
  .tag { font-size: 14px; padding: 1px 10px; }
  .row-item { grid-template-columns: 110px 1fr; }
  .row-cta { grid-column: 1 / -1; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: none; }
  .chip { flex: none; }
}

/* ---------- แกลเลอรี (ไม่ครอป คงสัดส่วนจริง) ---------- */
.gal-sec { background: var(--paper); }
.gal { columns: var(--cols, 3); column-gap: 16px; }
.gal-item { display: block; break-inside: avoid; margin: 0 0 16px; position: relative; border-radius: var(--radius-sm); overflow: hidden; text-decoration: none; }
.gal-item img, .gal-item video { width: 100%; transition: transform .5s var(--ease); }
a.gal-item:hover img { transform: scale(1.03); }
.gal-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 14px 12px; color: #fff; font-size: 15px; line-height: 1.5;
  background: linear-gradient(transparent, rgb(8 26 51 / .82));
}
.gal-cap b { display: block; font-weight: 600; }
.gal-cap span { display: block; opacity: .85; font-size: 14px; }
.gal-item figcaption { padding: 8px 2px; font-size: 15px; color: var(--muted); }
@media (max-width: 1023px) { .gal { columns: 3; } }
@media (max-width: 767px) { .gal { columns: 3; column-gap: 8px; } .gal-item { margin-bottom: 8px; } .gal-cap { display: none; } }
@media (max-width: 479px) { .gal { columns: 2; } }

/* ---------- เสียงจากลูกค้า ---------- */
.quotes-sec { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); align-items: start; }
.quote { margin: 0; background: #fff; border-radius: var(--radius); padding: 28px 26px 24px; box-shadow: var(--shadow); position: relative; }
.q-mark { width: 34px; height: 26px; fill: var(--gold); stroke: none; margin-bottom: 14px; }
.quote blockquote { margin: 0 0 20px; }
.quote blockquote p { font-size: 16.5px; color: #2a3a52; }
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.quote figcaption img, .q-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.q-avatar { display: grid; place-items: center; background: var(--navy); color: var(--gold-light); font-weight: 700; font-size: 18px; }
.quote b { display: block; color: var(--navy); font-size: 16px; }
.quote small { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; }
@media (max-width: 1023px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- คำถามที่พบบ่อย ---------- */
.faq-sec { background: var(--paper); }
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-wrap .sec-head { position: sticky; top: 110px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px; font-weight: 600; font-size: 18px; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--gold-light); flex: none; transition: background .2s, transform .3s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.75px; margin: -.9px 0 0 -6px; background: var(--gold-ink); border-radius: 2px; }
.faq summary i::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
.faq details[open] summary i { background: var(--navy); border-color: var(--navy); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: var(--gold-light); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq-a { padding: 0 4px 22px; color: #2a3a52; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .sec-head { position: static; } .faq summary { font-size: 17px; } }

/* ---------- แถบชวนติดต่อ ---------- */
.cta-band {
  position: relative; overflow: hidden; color: #fff; padding-block: clamp(56px, 7vw, 96px);
  background: radial-gradient(80% 120% at 100% 0%, rgb(198 161 91 / .22), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-deep));
}
.cta-band::before {
  content: ''; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background: repeating-linear-gradient(135deg, transparent 0 22px, var(--gold) 22px 23px);
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000);
}
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(26px, 3.2vw, 40px); max-width: 22em; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band.soft { background: var(--cream-2); color: var(--navy); }
.cta-band.soft::before { display: none; }
@media (max-width: 640px) { .cta-actions, .cta-actions .btn { width: 100%; } }

/* ---------- ติดต่อ ---------- */
.contact-sec { background: var(--cream); }
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.lead-note { font-size: 17.5px; color: #2a3a52; }
.contact-info > .btn-line { margin: 4px 0 24px; min-height: 56px; font-size: 17px; }
.contact-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list small { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; }
.contact-list a { color: var(--navy); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.ci { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--gold-ink); box-shadow: inset 0 0 0 1px var(--line); flex: none; }
.ci svg { width: 20px; height: 20px; }
.hours { background: #fff; border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.hours h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; color: var(--navy); margin-bottom: 10px; }
.hours h3 svg { color: var(--gold-ink); }
.hours ul { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px dashed var(--line); font-size: 16px; }
.hours li:first-child { border-top: 0; }
.hours .closed { color: var(--muted); }

.lead { background: #fff; border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); display: grid; gap: 16px; border-top: 3px solid var(--gold); }
.lead h3 { font-size: 22px; color: var(--navy); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead label { display: block; font-weight: 600; font-size: 15.5px; margin-bottom: 6px; color: var(--navy); }
.lead label small { font-weight: 400; color: var(--muted); font-size: 14px; }
.lead input, .lead textarea, .lead select {
  width: 100%; font: 16px/1.6 var(--font); color: var(--ink); padding: 12px 14px; min-height: 50px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fdfbf7; transition: border-color .15s, box-shadow .15s;
}
.lead input:focus, .lead textarea:focus, .lead select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgb(198 161 91 / .3); background: #fff; }
.lead [aria-invalid="true"] { border-color: #b3261e; }
.lead .btn { width: 100%; }
.lead .hp { position: absolute; left: -9999px; }
.msg { margin: 0; font-size: 15.5px; min-height: 1.5em; }
.msg.ok { color: var(--green); font-weight: 600; }
.msg.bad { color: #b3261e; }
.map-box { margin-top: clamp(28px, 4vw, 48px); position: relative; }
.map { width: 100%; height: clamp(300px, 40vw, 420px); border: 0; border-radius: var(--radius); display: block; background: var(--cream-2); }
.map-open { position: absolute; left: 16px; bottom: 16px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .f2 { grid-template-columns: 1fr; } }

/* ---------- ข้อความอิสระ ---------- */
.rich-sec { background: var(--paper); }
.rich-sec + .rich-sec { padding-top: 0; }
.rich.narrow { max-width: 860px; }
.rich > h2 { font-size: clamp(26px, 3vw, 38px); color: var(--navy); margin-bottom: 22px; }
.rich > h2::before { content: ''; display: block; width: 48px; height: 3px; background: var(--gold); border-radius: 2px; margin-bottom: 16px; }

/* ---------- ท้ายเว็บ ---------- */
.foot { background: var(--navy-deep); color: rgb(255 255 255 / .78); padding: clamp(56px, 7vw, 88px) 0 calc(28px + env(safe-area-inset-bottom)); font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .7fr) minmax(0, 1fr); gap: 40px; }
.foot h2 { font-size: 16px; font-weight: 600; letter-spacing: .02em; color: var(--gold-light); margin-bottom: 18px; }
.foot-logo { display: inline-block; background: var(--cream); padding: 12px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; }
.foot-logo img { height: 44px; width: auto; }
.foot-tag { color: var(--gold-light); font-weight: 600; }
.foot-links { display: grid; gap: 6px; }
.foot-links a { text-decoration: none; padding: 4px 0; }
.foot a:hover { color: #fff; }
.foot-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.foot-contact li { display: flex; gap: 12px; align-items: flex-start; }
.foot-contact svg { width: 18px; height: 18px; margin-top: 4px; color: var(--gold); }
.foot-contact a { text-decoration: none; word-break: break-word; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .2); transition: border-color .2s, color .2s; }
.social a:hover { border-color: var(--gold); color: var(--gold-light); }
.social svg { width: 20px; height: 20px; }
.copy { display: block; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .12); font-size: 14px; color: rgb(255 255 255 / .55); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- ปุ่มลอยมือถือ: ไลน์ + โทร ---------- */
.float-contact { display: none; }
@media (max-width: 767px) {
  .float-contact {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgb(248 244 236 / .94);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .float-contact a { height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 16px; text-decoration: none; }
  .fc-line { background: #06c755; color: #fff; }
  .fc-line .i-line { width: 26px; height: 26px; }
  .fc-line .i-line rect { fill: #fff; } .fc-line .i-line > path:first-of-type { fill: #06c755; } .fc-line .i-line > path:last-of-type { fill: #fff; }
  .fc-call { background: var(--navy); color: #fff; }
  .fc-call svg { width: 18px; height: 18px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  body.menu-open .float-contact { display: none; }
}

/* ---------- กดดูรูปเต็ม ---------- */
.light { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1100px); max-height: 92vh; overflow: visible; }
.light::backdrop { background: rgb(8 26 51 / .9); }
.light figure { margin: 0; }
.light img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: var(--radius-sm); }
.light figcaption { color: #fff; text-align: center; padding-top: 10px; font-size: 15px; }
.light button { position: absolute; top: -8px; right: -8px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 26px; cursor: pointer; z-index: 1; }

/* ---------- บทความ (ของเสริม blog) ---------- */
.a-wrap { max-width: 780px; }
.a-wrap h1 { font-size: clamp(30px, 4vw, 44px); color: var(--navy); margin: 12px 0; }
.a-meta { color: var(--muted); font-size: 15px; }
.a-cover { margin: 24px 0; } .a-cover img { border-radius: var(--radius); }
.a-lead { font-size: 19px; color: #2a3a52; }
.a-toc { background: #fff; border-radius: var(--radius); padding: 18px 22px; margin: 24px 0; box-shadow: var(--shadow); }
.a-body h2 { font-size: 26px; color: var(--navy); margin: 1.6em 0 .6em; }
.a-body h3 { font-size: 21px; color: var(--navy); margin: 1.4em 0 .5em; }
.a-body blockquote { border-left: 3px solid var(--gold); margin: 1.4em 0; padding: 4px 0 4px 20px; color: var(--navy); }
.a-fig { margin: 1.6em 0; } .a-fig img { border-radius: var(--radius-sm); } .a-fig figcaption { font-size: 15px; color: var(--muted); padding-top: 8px; }
.a-embed { margin-top: 40px; } .a-embed h3 { margin-bottom: 14px; color: var(--navy); }
.a-cta { margin: 32px 0; padding: 24px; border-radius: var(--radius); background: var(--cream-2); }
.sec .crumbs { color: var(--muted); } .sec .crumbs a { color: var(--navy); }

/* ---------- อนิเมชัน: ปรากฏตอนเลื่อนถึง (ครั้งเดียว) ---------- */
.js .rv { opacity: 0; transform: translateY(20px); transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .rv { opacity: 1; transform: none; }
}

.nobr { white-space: nowrap; }

/* พื้นที่กดอย่างน้อย 44x44 ทุกจุด (มือถือ) */
.hero-arrow { width: 44px; height: 44px; }
.hero-dots { gap: 0; }
.hero-dots button { width: 44px; height: 44px; }
.logo { min-height: 48px; }
.hero-dots button::before { left: 8px; right: 8px; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-links a { display: flex; align-items: center; min-height: 44px; padding: 0; }
.foot-contact a { display: inline-flex; align-items: center; min-height: 44px; margin-top: -10px; margin-bottom: -10px; }

/* ---------- แบนเนอร์ภาพเดียว (ภาพที่ลูกค้าออกแบบ) + กล่องบริการใต้แบนเนอร์ ---------- */
.hero-art { background: var(--navy-deep); }
.hero-banner img { width: 100%; height: auto; display: block; }
.hero-cards-sec { padding: clamp(28px, 4vw, 48px) 0 clamp(8px, 2vw, 16px); }
.hero-cards { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.hc { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); border-top: 3px solid var(--gold); }
a.hc:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
a.hc:hover .i-arrow { transform: translateX(4px); }
.hc-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; }
.hc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hc-body h2 { font-size: clamp(19px, 1.7vw, 22px); color: var(--navy); }
.hc-body p { color: var(--muted); font-size: 16px; margin: 0; }
.hc-go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--gold-ink); }
@media (max-width: 860px) {
  .hero-cards { grid-template-columns: 1fr; gap: 12px; }
  .hc { flex-direction: row; border-top: 0; border-left: 3px solid var(--gold); }
  .hc-pic { width: 38%; max-width: 220px; flex: none; position: relative; min-height: 140px; }
  .hc-pic img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .hc-body { padding: 14px 14px 16px; gap: 6px; }
  .hc-body h2 { font-size: 17px; }
  .hc-body p { font-size: 14.5px; line-height: 1.6; }
  .hc-go { padding-top: 4px; font-size: 15px; }
}

.about-text, .about-pic, .rich, .prose { min-width: 0; }
