/* บริษัท บุญนำพา 59 จำกัด — เขียวมะกอกเข้ม · ครีมอบอุ่น · ทอง
   ฟอนต์เดียวทั้งเว็บ IBM Plex Sans Thai (400/600/700) · ไม่มีพื้นดำตามบรีฟ · มือถือก่อน */

:root {
  --accent: #2f4a34;
  --green-900: #1e3124;
  --green: var(--accent);
  --green-600: #44663f;
  --gold: #b8902f;
  --gold-2: #d6b257;
  --gold-grad: linear-gradient(135deg, #e0bf6a 0%, #c39a3c 55%, #a97f26 100%);
  --paper: #f7f2e7;
  --cream-2: #efe6d3;
  --white: #fffdf8;
  --ink: #24302a;
  --muted: #56645a;
  --line: rgba(36, 48, 42, .12);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(30, 49, 36, .06), 0 8px 24px -8px rgba(30, 49, 36, .16);
  --shadow-up: 0 2px 4px rgba(30, 49, 36, .08), 0 18px 36px -12px rgba(30, 49, 36, .26);
  --font: 'IBM Plex Sans Thai', 'Noto Sans Thai', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7;
  color: var(--ink); background: var(--paper); overflow-x: hidden;
  padding-bottom: 72px; /* เว้นที่ให้ปุ่มลอยมือถือ ไม่ทับเนื้อหา */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { line-height: 1.5; }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .5em; font-weight: 700; color: var(--green-900); text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
svg { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; }
svg.line-logo { stroke: none; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr, .sr-head h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-head { margin: 0 !important; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; }

/* ---------- ปุ่ม ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 10px 24px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold-grad); color: var(--green-900); box-shadow: 0 6px 18px -8px rgba(169, 127, 38, .7); }
.btn-gold:hover { box-shadow: 0 10px 24px -8px rgba(169, 127, 38, .85); transform: translateY(-1px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-900); }
.btn-outline-light { color: #fff; border: 1.5px solid rgba(255, 255, 255, .7); background: rgba(30, 49, 36, .25); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.btn svg.line-logo { width: 1.35em; height: 1.35em; }

/* ---------- แถบข้อมูลบน ---------- */
.topbar { background: var(--green-900); color: #e9e2cf; font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 22px; min-height: 38px; padding-block: 4px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.topbar a { min-height: 44px; min-width: 44px; justify-content: center; }
.topbar a:hover { color: var(--gold-2); }
.topbar svg { color: var(--gold-2); width: 1.05em; height: 1.05em; }
.topbar .tb-social a { padding: 4px; }
.topbar .tb-mail, .topbar .tb-social, .topbar > .wrap > span:first-child { display: none; }
@media (min-width: 900px) {
  .topbar .wrap { justify-content: space-between; }
  .topbar .tb-mail, .topbar .tb-social, .topbar > .wrap > span:first-child { display: inline-flex; }
}

/* ---------- หัวเว็บ (ห้าม backdrop-filter/transform/filter เพราะครอบเมนู fixed) ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.nav.scrolled { box-shadow: 0 6px 18px -12px rgba(30, 49, 36, .35); }
.nav .wrap { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; margin-right: auto; }
.logo img { width: 44px; height: auto; }
.logo-text { display: flex; flex-direction: column; min-width: 0; }
.logo-text b { font-size: 17px; line-height: 1.4; color: var(--green-900); }
.logo-text small { display: none; color: var(--muted); font-size: 14px; line-height: 1.4; }
@media (min-width: 600px) { .logo img { width: 52px; } .logo-text b { font-size: 20px; } .logo-text small { display: block; } }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--cream-2); color: var(--green-900); cursor: pointer; position: relative; z-index: 60; }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .i-close { display: none; }
body.nav-open .nav-toggle .i-open { display: none; }
body.nav-open .nav-toggle .i-close { display: inline-flex; }

.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--paper);
  display: flex; flex-direction: column; gap: 4px; padding: 110px 24px 32px; overflow-y: auto;
  visibility: hidden; opacity: 0; transition: opacity .25s var(--ease), visibility .25s;
}
body.nav-open { overflow: hidden; }
body.nav-open .menu { visibility: visible; opacity: 1; }
.menu > a:not(.btn) { padding: 14px 6px; font-size: 22px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu > a[aria-current="page"] { color: var(--gold); }
.menu .nav-cta { margin-top: 24px; }
.menu .menu-phone { display: inline-flex; align-items: center; gap: 8px; justify-content: center; padding: 14px; font-weight: 600; color: var(--green); text-decoration: none; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .menu { position: static; visibility: visible; opacity: 1; flex-direction: row; align-items: center; padding: 0; gap: 4px; background: none; overflow: visible; }
  .menu > a:not(.btn) { font-size: 16px; padding: 8px 14px; border: 0; border-radius: 999px; transition: background-color .2s; }
  .menu > a:not(.btn):hover { background: var(--cream-2); }
  .menu > a[aria-current="page"] { background: #f1e2b8; color: var(--green-900); }
  .menu .nav-cta { margin: 0 0 0 10px; }
  .menu .menu-phone { display: none; }
}

/* ---------- แบนเนอร์ ---------- */
.hero { position: relative; overflow: hidden; background: var(--green-900); }
.hero-track { display: flex; }
.hero-slide { position: relative; flex: 0 0 100%; min-height: min(70vh, 620px); display: flex; align-items: flex-end; }
.hero-pic, .hero-pic img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-pic img { object-fit: cover; object-position: 62% 50%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 49, 36, .05) 25%, rgba(30, 49, 36, .42) 55%, rgba(30, 49, 36, .5) 80%, rgba(30, 49, 36, .72) 100%); }
.hero-title, .hero-sub { text-shadow: 0 2px 14px rgba(20, 34, 25, .6), 0 1px 3px rgba(20, 34, 25, .5); }
.hero-body { position: relative; z-index: 1; color: #fff; padding-block: 120px 108px; }
.hero-title { color: #fff; font-size: clamp(30px, 7.6vw, 60px); line-height: 1.4; margin-bottom: 14px; max-width: 15em; }
.hero-sub { font-size: clamp(16px, 2.2vw, 20px); max-width: 34em; color: #f0ead9; margin-bottom: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-dots { position: absolute; z-index: 2; left: 50%; bottom: 50px; transform: translateX(-50%); display: flex; gap: 0; }
.hero-dots button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; display: grid; place-items: center; }
.hero-dots button::after { content: ''; width: 10px; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .55); transition: width .3s var(--ease), background-color .3s; }
.hero-dots button[aria-current="true"]::after { width: 26px; background: var(--gold-2); }
@media (min-width: 900px) {
  .hero-slide { min-height: min(78vh, 700px); align-items: center; }
  /* รูปอยู่ครึ่งขวา กว้างไม่เกิน 760px — รูปจริงกว้าง ~1,500px จะคมบนจอ retina */
  .hero { --pw: min(56%, 760px); }
  .hero-pic { left: auto; width: var(--pw); }
  .hero-shade { background: linear-gradient(90deg, rgba(30, 49, 36, 1) 0%, rgba(30, 49, 36, 1) calc(100% - var(--pw)), rgba(30, 49, 36, .6) calc(100% - var(--pw) + 120px), rgba(30, 49, 36, 0) calc(100% - var(--pw) + 300px)); }
  .hero-body { padding-block: 96px 120px; }
  .hero-dots { bottom: 74px; }
  .hero-title, .hero-sub { max-width: 13.5em; }
  .hero-sub { max-width: 28em; }
  .hero-body::before { content: ''; display: block; width: 64px; height: 3px; background: var(--gold-grad); border-radius: 3px; margin-bottom: 22px; }
}
/* แถบเตี้ยของหน้ารอง */
.hero-compact .hero-slide { min-height: 300px; align-items: flex-end; }
.hero-compact .hero-shade { background: linear-gradient(180deg, rgba(30, 49, 36, .35), rgba(30, 49, 36, .9)); }
.hero-compact .hero-body { padding-block: 96px 40px; }
.hero-compact .hero-title { font-size: clamp(28px, 5vw, 46px); margin-bottom: 8px; }
.hero-compact .hero-sub { margin: 0; }
.hero-compact .hero-body::before { margin-bottom: 14px; }
@media (min-width: 900px) { .hero-compact .hero-slide { min-height: 360px; } }

/* ---------- แถบความมั่นใจ (ต่อจากแบนเนอร์) ---------- */
.trust { position: relative; z-index: 3; margin-top: -40px; }
.trust-bar {
  list-style: none; margin: 0; padding: 8px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-up); border-top: 3px solid var(--gold);
}
.trust-bar li { display: flex; gap: 10px; align-items: flex-start; padding: 14px 10px; font-size: 15px; line-height: 1.5; }
.trust-bar li b { display: block; color: var(--green-900); }
.trust-bar li span:not(.ic) { color: var(--muted); font-size: 14px; }
.trust-bar .ic { color: var(--gold); padding-top: 2px; }
.trust-bar .ic svg { width: 28px; height: 28px; stroke-width: 1.5; }
@media (min-width: 900px) {
  .trust { margin-top: -56px; }
  .trust-bar { grid-template-columns: repeat(var(--cols, 4), 1fr); padding: 10px 6px; }
  .trust-bar li { padding: 18px 20px; font-size: 16px; }
  .trust-bar li + li { border-left: 1px solid var(--line); }
}

/* ---------- ส่วนทั่วไป ---------- */
.sec { padding-block: 64px; }
@media (min-width: 900px) { .sec { padding-block: 96px; } }
.sec-cream { background: var(--cream-2); }
.sec-green { background: var(--green); color: #eee7d4; }
.sec-head { margin-bottom: 32px; max-width: 46em; }
.sec-head h2 { font-size: clamp(26px, 4.4vw, 42px); }
.sec-head h2::after { content: ''; display: block; width: 56px; height: 3px; margin-top: 14px; border-radius: 3px; background: var(--gold-grad); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center h2::after { margin-inline: auto; }
.sec-intro { color: var(--muted); font-size: 18px; margin: 12px 0 0; }
.sec-head.on-dark h2 { color: #fff; }
.sec-head.on-dark .sec-intro { color: #dcd3bd; }
.sec-more { margin-top: 36px; text-align: center; }
.sec-more svg { width: 1.1em; height: 1.1em; }
.gold-rule { display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--gold-grad); margin-bottom: 18px; }
.tag { display: inline-block; align-self: flex-start; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: #7a5b17; background: #f3e6c4; border-radius: 999px; padding: 2px 12px; margin-bottom: 8px; }

/* ---------- บริการ (จุดเด่นแบบการ์ด) ---------- */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.service { background: var(--white); border-radius: var(--radius); padding: 18px 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.service .ic, .step .ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--gold-grad); color: var(--green-900); }
.service .ic svg, .step .ic svg { width: 26px; height: 26px; }
.service h3 { font-size: 17px; margin-bottom: 4px; }
.service p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
@media (min-width: 768px) {
  .services { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .service { flex-direction: row; align-items: flex-start; padding: 26px 24px; gap: 18px; }
  .service h3 { font-size: 20px; }
  .service p { font-size: 16px; }
}
@media (min-width: 1024px) { .services { grid-template-columns: repeat(var(--cols, 3), 1fr); } }

/* ---------- ขั้นตอน ---------- */
.sec-steps { background: linear-gradient(180deg, var(--paper), var(--cream-2)); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; counter-reset: s; }
.step { position: relative; background: var(--white); border-radius: var(--radius); padding: 20px 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.step-no { display: block; font-size: 28px; font-weight: 700; line-height: 1; color: var(--gold); margin-bottom: 6px; }
.step h3 { font-size: 17px; margin: 0 0 4px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .step { padding: 28px 24px; }
  .step:not(:last-child)::after { content: ''; position: absolute; top: 52px; right: -24px; width: 24px; height: 2px; background: var(--gold-2); }
  .step h3 { font-size: 19px; }
}

/* ---------- เกี่ยวกับ / แถบเด่น ---------- */
.about { display: grid; gap: 28px; align-items: center; }
.about-pic { margin: 0; width: 100%; max-width: 560px; justify-self: center; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-up); }
.about-pic img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-size: clamp(26px, 4vw, 40px); }
.about-text p { color: #3b4840; }
.about-text .btn { margin-top: 8px; }
@media (min-width: 900px) {
  .about { grid-template-columns: 1fr 1fr; gap: 64px; }
  .about.pic-right .about-pic { order: 2; }
  .about.no-pic { grid-template-columns: 1fr; max-width: 46em; }
}

/* ---------- ทรัพย์ (การ์ด) ---------- */
.filter { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.filter-search { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 0 18px; max-width: 520px; }
.filter-search:focus-within { border-color: var(--gold); }
.filter-search svg { color: var(--gold); }
.filter-search input { flex: 1; border: 0; background: none; font: inherit; font-size: 16px; min-height: 48px; outline: none; color: var(--ink); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: 6px 18px; border-radius: 999px; border: 1.5px solid var(--green); background: transparent; color: var(--green); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s; }
.chip[aria-pressed="true"] { background: var(--green); color: #fff; }
.filter-empty { padding: 24px; text-align: center; color: var(--muted); background: var(--white); border-radius: var(--radius); }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.card[hidden], .row-item[hidden] { display: none; }
.card-pic { background: var(--cream-2); overflow: hidden; }
.card-pic img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px 12px 16px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 16px; margin-bottom: 6px; }
.card-body p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 12px; }
.card-ask { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--green); text-decoration: none; min-height: 44px; }
.card-ask svg { color: #06c755; width: 1.4em; height: 1.4em; }
.card-ask:hover span { text-decoration: underline; text-underline-offset: 3px; }
.card-price { font-weight: 700; color: var(--green); margin-bottom: 10px; }
.card-price s { color: var(--muted); font-weight: 400; margin-left: 6px; }
@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .card-body { padding: 20px 22px 22px; }
  .card-body h3 { font-size: 19px; }
  .card-body p { font-size: 15px; }
}
.rows { display: grid; gap: 12px; }
.row-item { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); }
.row-item .card-pic { border-radius: 10px; }
.row-body h3 { font-size: 17px; margin: 0 0 4px; }
.row-body p { margin: 0; color: var(--muted); font-size: 15px; }
.row-cta { grid-column: 1 / -1; }
@media (min-width: 768px) { .row-item { grid-template-columns: 200px 1fr auto; } .row-cta { grid-column: auto; } }

/* ---------- ผลงาน (masonry ไม่ครอป) ---------- */
.gal { columns: 2; column-gap: 10px; }
.gal-item { break-inside: avoid; margin: 0 0 10px; }
.gal-item a { display: block; border-radius: 12px; overflow: hidden; background: var(--green-900); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gal-item a:hover img { transform: scale(1.03); }
.gal-item figcaption { padding: 8px 2px 4px; font-size: 14px; line-height: 1.5; }
.gal-item figcaption b { display: block; color: #fff; font-weight: 600; }
.gal-item figcaption span { color: #d3c9b0; }
.gal-item video { margin-top: 8px; border-radius: 12px; width: 100%; }
@media (min-width: 480px) { .gal { columns: 3; } }
@media (min-width: 1024px) { .gal { columns: var(--cols, 4); column-gap: 20px; } .gal-item { margin-bottom: 20px; } }

/* ---------- เสียงจากลูกค้า ---------- */
.quotes { display: grid; gap: 16px; }
.quote { margin: 0; background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-top: 3px solid var(--gold); }
.quote figcaption { display: flex; gap: 12px; align-items: center; }
.quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote figcaption span span { display: block; color: var(--muted); font-size: 14px; }
@media (min-width: 768px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

/* ---------- คำถามที่พบบ่อย ---------- */
.faq-wrap { max-width: 880px; }
.faq details { background: var(--white); border-radius: 12px; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font-weight: 600; font-size: 17px; color: var(--green-900); min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 12px; height: 12px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s var(--ease); }
.faq details[open] summary i { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-a { padding: 0 20px 18px; margin: 0; color: #3b4840; }

/* ---------- แถบชวนติดต่อ ---------- */
.cta-band { padding-block: 56px; text-align: center; }
.cta-dark { background: radial-gradient(120% 140% at 50% 0%, var(--green-600) 0%, var(--green) 45%, var(--green-900) 100%); color: #fff; }
.cta-soft { background: var(--cream-2); }
.cta-band h2 { font-size: clamp(24px, 3.6vw, 36px); max-width: 24em; margin: 0 auto 22px; }
.cta-dark h2 { color: #fff; }

/* ---------- ติดต่อ ---------- */
.sec-contact { background: var(--green-900); color: #e9e2cf; }
.sec-contact .sec-head h2 { color: #fff; }
.sec-contact .sec-intro { color: #d3c9b0; }
.contact { display: grid; gap: 28px; }
.contact-note { color: #e9e2cf; font-size: 18px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(214, 178, 87, .55); color: var(--gold-2); flex: none; }
.contact-list small { display: block; color: #b9ae92; font-size: 14px; line-height: 1.4; }
.contact-list a, .contact-list span { color: #fff; text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-list a:hover { color: var(--gold-2); }
.hours { list-style: none; padding: 14px 18px; margin: 0 0 22px; border-radius: 12px; background: rgba(255, 255, 255, .06); font-size: 15px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.hours .closed { color: #d9a48f; }
.lead { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 22px 18px; display: grid; gap: 14px; box-shadow: var(--shadow-up); }
.lead h3 { font-size: 20px; margin: 0; }
.lead label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.lead input, .lead select, .lead textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fbf8f1; border: 1.5px solid #d9d0bb; border-radius: 10px; padding: 11px 14px; min-height: 48px; }
.lead textarea { min-height: 120px; resize: vertical; }
.lead input:focus, .lead select:focus, .lead textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214, 178, 87, .3); }
.lead .btn { width: 100%; }
.f2 { display: grid; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg { margin: 0; font-weight: 600; min-height: 1.5em; }
.msg.ok { color: #2d7a3e; }
.msg.bad { color: #b3412b; }
.map-wrap { margin-top: 32px; }
.map { width: 100%; height: 340px; border: 0; border-radius: var(--radius); }
@media (min-width: 900px) {
  .contact { grid-template-columns: 5fr 6fr; gap: 56px; align-items: start; }
  .contact.no-form { grid-template-columns: 1fr 1fr; }
  .lead { padding: 32px; }
  .f2 { grid-template-columns: 1fr 1fr; }
  .map { height: 400px; }
}

/* ---------- ข้อความอิสระ / บทความ ---------- */
.prose { max-width: 46em; }
.prose-wide { max-width: none; }
.a-wrap { max-width: 820px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.a-meta { color: var(--muted); font-size: 15px; }
.a-cover, .a-fig { margin: 24px 0; }
.a-cover img, .a-fig img { border-radius: var(--radius); }
.a-fig figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.a-lead { font-size: 19px; }
.a-toc { background: var(--white); border-radius: 12px; padding: 18px 22px; margin: 22px 0; }
.a-body blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); }
.a-embed { margin-top: 36px; }
.a-cta { margin: 32px 0; padding: 24px; border-radius: var(--radius); background: var(--cream-2); text-align: center; }

/* ---------- ท้ายเว็บ ---------- */
.foot { background: var(--green); color: #ddd5bf; padding-top: 56px; font-size: 15px; }
.foot .wrap:first-child { display: grid; gap: 32px; }
.foot-brand { display: flex; gap: 16px; align-items: flex-start; }
.foot-brand img { width: 56px; flex: none; }
.foot-brand b { display: block; color: #fff; font-size: 18px; margin-bottom: 6px; }
.foot-brand p { margin: 0; line-height: 1.7; }
.foot-h { color: var(--gold-2); font-size: 16px; margin-bottom: 12px; }
.foot-links, .foot-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-links a, .foot-contact a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.foot-links, .foot-contact { gap: 0; }
.foot a:hover { color: var(--gold-2); }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact svg { color: var(--gold-2); margin-top: 4px; }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(214, 178, 87, .45); color: var(--gold-2); }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-block: 18px; text-align: center; color: #b9ae92; }
@media (min-width: 900px) { .foot .wrap:first-child { grid-template-columns: 2fr 1fr 1.5fr; gap: 56px; } }

/* ---------- ปุ่มลอยมือถือ (ไลน์ + โทร) ---------- */
.float-contact { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px -10px rgba(30, 49, 36, .3); }
.float-contact a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; max-height: 52px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.fl-line { background: #06c755; color: #fff; }
.fl-line svg { width: 1.5em; height: 1.5em; }
.fl-call { background: var(--green); color: #fff; }
body.nav-open .float-contact { display: none; }
@media (min-width: 900px) { .float-contact { display: none; } }

/* ---------- ดูรูปขนาดเต็ม ---------- */
dialog.light { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1200px); }
dialog.light::backdrop { background: rgba(20, 32, 24, .88); }
dialog.light img { max-height: 84vh; width: auto; margin: auto; border-radius: 10px; }
dialog.light p { color: #fff; text-align: center; margin: 10px 0 0; }
dialog.light button { position: fixed; top: 12px; right: 12px; width: 48px; height: 48px; border-radius: 50%; border: 0; font-size: 30px; line-height: 1; background: var(--white); color: var(--green-900); cursor: pointer; }

/* ---------- อนิเมชันปรากฏตอนเลื่อนถึง (ครั้งเดียว) ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .card, .service, .gal-item img, .btn { transition: none; }
}
