/* ห้างหุ้นส่วนจำกัด เค แอนด์ พี จอยเวนเจอร์ — สไตล์ชีตหลัก
   แนวคิด: ม้านั่งในสวนสาธารณะ
   การ์ดมีแถบไม้ระแนงด้านบนเหมือนพนักม้านั่ง ใต้หัวข้อเป็นไม้ระแนงสามแผ่น
   แถบสีเข้มเป็นเหล็กหล่อลายอิฐปูทางเดิน ป้ายบนแบนเนอร์เป็นป้ายสวนบนเสาสองต้น
   สี: เขียวสวน ไม้สัก เหล็กหล่อดำ และพื้นทางเดินสีครีม */

:root {
  --paving: #f2eee5;
  --white: #fdfcf9;
  --park: #2f5d3a;
  --park-text: #2a5434;
  --park-pale: #dfeadb;
  --teak: #a8703f;
  --teak-dark: #7d5028;
  --iron: #22272b;
  --iron-2: #31383e;
  --ink: #1f2420;
  --muted: #545b55;
  --rule: #ddd6c7;
  --sun: #e2b04a;

  --display: "Athiti", "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif;
  --body: "Sarabun", "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif;

  --s--1: 0.92rem;
  --s-0: 1.05rem;
  --s-1: 1.22rem;
  --s-2: 1.55rem;
  --s-3: 1.95rem;
  --s-4: 2.45rem;
  --s-5: 3.1rem;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --wrap: 72rem;
  --slats: repeating-linear-gradient(180deg, #b57b48 0 9px, #9a6436 9px 11px, transparent 11px 15px);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 110%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paving); color: var(--ink); font-family: var(--body); font-size: var(--s-0); line-height: 1.8; }
img { display: block; max-width: 100%; height: auto; }

a { color: var(--park-text); text-underline-offset: 0.2em; }
a:hover { color: var(--teak-dark); }
a[href^="mailto:"] { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

h1, h2 { font-family: var(--display); font-weight: 700; line-height: 1.35; margin: 0; text-wrap: balance; }
h3 { font-family: var(--display); font-weight: 700; line-height: 1.4; margin: 0; }
h1 { font-size: clamp(var(--s-3), 4.4vw, var(--s-5)); line-height: 1.28; }
h2 { font-size: clamp(var(--s-2), 3vw, var(--s-4)); }
h3 { font-size: var(--s-1); }
p { margin: 0 0 1em; max-width: 40em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
.nw { white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--iron); color: #fff; padding: 0.6em 1em; z-index: 60; }
.skip:focus { left: 0; }

/* พื้นสำรองเมื่อภาพโหลดไม่ขึ้น: สวนกับไม้ระแนง */
.woodbg {
  background:
    linear-gradient(180deg, transparent 58%, rgba(0,0,0,.08) 58%),
    repeating-linear-gradient(180deg, transparent 0 62%, #a8703f 62% 66%, transparent 66% 68%, #a8703f 68% 72%, transparent 72%),
    linear-gradient(180deg, #a9c79d, #6f9a63 60%, #cfc3a8 60%);
}
/* เหล็กหล่อกับลายอิฐปูทางเดิน */
.paved {
  background-color: var(--iron);
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(180deg, var(--iron-2), var(--iron));
  background-size: 60px 30px, 60px 30px, auto;
  background-position: 0 0, 0 0, 0 0;
}

/* ไม้ระแนงสามแผ่นใต้หัวข้อ */
.slats { display: block; width: 4.6rem; height: 0.95rem; margin-top: 0.8rem; border-radius: 2px; background: var(--slats); position: relative; }
.slats::before, .slats::after { content: ""; position: absolute; bottom: -0.35rem; width: 0.3rem; height: 1.3rem; background: var(--iron); border-radius: 1px; }
.slats::before { left: 0.6rem; } .slats::after { right: 0.6rem; }
.band--iron .slats::before, .band--iron .slats::after, .page-head .slats::before, .page-head .slats::after { background: #e8e2d4; }

/* ---------- ส่วนหัว ---------- */
.site-head { background: var(--white); border-bottom: 4px solid var(--park); position: sticky; top: 0; z-index: 30; }
.site-head__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.6rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); text-decoration: none; min-width: 0; }
.brand:hover { color: var(--ink); }
.brand svg { width: 2.8rem; height: 2.8rem; flex: none; }
.brand__name { display: block; font-family: var(--display); font-weight: 700; font-size: 1.32rem; line-height: 1.25; }
.brand__legal { display: block; font-size: 0.78rem; color: var(--muted); line-height: 1.3; }

.nav ul { list-style: none; display: flex; gap: 0.2rem; }
.nav a { display: block; padding: 0.35em 0.85em; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.96rem; border-radius: 999px; }
.nav a:hover { background: var(--park-pale); }
.nav a[aria-current="page"] { background: var(--park); color: #fff; }

.nav-toggle { display: none; flex: none; font: inherit; font-weight: 600; cursor: pointer; background: var(--park); color: #fff; border: 0; border-radius: 999px; padding: 0.25em 1.1em; }
@media (max-width: 68rem) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 4px solid var(--teak); padding: 0.6rem var(--gutter) 1rem; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0.2rem; }
  .nav a { padding: 0.55em 0.8em; }
}
@media (max-width: 34rem) { .brand__legal { display: none; } .brand__name { font-size: 1.05rem; } .brand svg { width: 2.3rem; height: 2.3rem; } }

/* ---------- ปุ่ม ---------- */
.btn { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 1.08rem; line-height: 1.4;
  padding: 0.65em 1.6em; border-radius: 999px; cursor: pointer; text-decoration: none; background: var(--park); color: #fff; border: 2px solid var(--park); }
.btn:hover { background: var(--teak-dark); border-color: var(--teak-dark); color: #fff; }
.btn--line { background: transparent; border-color: var(--park); color: var(--park); }
.btn--line:hover { background: var(--park); color: #fff; }
.btn--green { background: #06c755; border-color: #06c755; color: #fff; }
.btn--green:hover { background: #05a547; border-color: #05a547; }
.band--iron .btn { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.band--iron .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.band--iron .btn--line { background: transparent; border-color: #e8e2d4; color: #fff; }
.band--iron .btn--line:hover { background: #fff; color: var(--iron); }
.band--iron .btn--green { background: #06c755; border-color: #06c755; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* ---------- ภาพ ---------- */
.photo { margin: 0; }
.photo__frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0.9rem 0.9rem 0.9rem 0.2rem; box-shadow: 0.5rem 0.5rem 0 var(--teak); }
.photo--tall .photo__frame { aspect-ratio: 4 / 5; }
.photo__frame img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { font-size: 0.76rem; color: var(--muted); margin-top: 0.9rem; }
.photo figcaption a { color: inherit; }
img.is-missing { visibility: hidden; }

/* ---------- แบนเนอร์หน้าแรก ---------- */
.hero { position: relative; overflow: hidden; background: var(--white); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: clamp(30rem, 74vh, 41rem); }
@media (max-width: 58rem) { .hero__grid { grid-template-columns: 1fr; } }
.hero__text { padding: clamp(2.6rem, 6vw, 4.6rem) clamp(1rem, 4vw, 3rem) clamp(2.8rem, 6vw, 4.6rem) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); align-self: center; }
.hero__place { font-weight: 600; letter-spacing: 0.06em; color: var(--teak-dark); margin-bottom: 0.4rem; }
.hero__lead { font-size: var(--s-1); line-height: 1.8; color: var(--muted); margin-top: 1.1rem; max-width: 30em; }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; }
.hero__facts li { background: var(--park-pale); border-radius: 999px; padding: 0.2em 0.95em; font-size: 0.94rem; }
.hero__facts a { color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.hero__media { position: relative; min-height: 23rem; overflow: hidden; border-radius: 0 0 0 6rem; }
@media (max-width: 58rem) { .hero__media { margin: 0 var(--gutter); border-radius: 2.5rem 2.5rem 0 0; } }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0.8rem; background: var(--slats); background-size: 100% 15px; }
/* ป้ายสวนบนเสาสองต้น */
.hero__sign { position: absolute; z-index: 1; left: 1.6rem; bottom: 0.8rem; width: min(17rem, calc(100% - 3.2rem)); padding-bottom: 2.6rem; }
.hero__sign::before, .hero__sign::after { content: ""; position: absolute; bottom: 0; width: 0.55rem; height: 3.4rem; background: var(--iron); border-radius: 2px 2px 0 0; }
.hero__sign::before { left: 2rem; } .hero__sign::after { right: 2rem; }
.hero__sign > span { position: relative; z-index: 1; display: block; background: var(--park); color: #fff; border: 3px solid #e8e2d4; outline: 2px solid var(--park); border-radius: 0.5rem; padding: 0.55rem 0.9rem; box-shadow: 0 0.5rem 1rem rgba(0,0,0,.3); }
.hero__sign b { display: block; font-family: var(--display); font-size: 1.15rem; line-height: 1.3; }
.hero__sign small { display: block; font-size: 0.8rem; line-height: 1.45; color: #dfeadb; }
.hero__credit { position: absolute; z-index: 1; right: 1rem; top: 1rem; font-size: 0.72rem; color: #fff; background: rgba(31,36,32,.72); padding: 0.1em 0.7em; border-radius: 999px; }
.hero__credit a { color: inherit; }

/* ---------- แบนเนอร์หน้าใน ---------- */
.page-head { position: relative; overflow: hidden; color: #fff; background: var(--park); }
.page-head__media { position: absolute; inset: 0; }
.page-head__media img { width: 100%; height: 100%; object-fit: cover; }
.page-head__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(27,52,33,.95) 0%, rgba(27,52,33,.84) 50%, rgba(27,52,33,.3) 100%); }
.page-head__body { position: relative; z-index: 1; padding: clamp(2.6rem, 7vw, 4.4rem) 0 clamp(3rem, 7vw, 4.8rem); max-width: 40rem; }
.page-head__body p { font-size: var(--s-1); line-height: 1.8; margin-top: 1rem; color: #eef3ec; }
.page-head__credit { position: absolute; z-index: 1; right: 0.7rem; bottom: 1.1rem; font-size: 0.72rem; line-height: 1.5; color: #fff; background: rgba(27,52,33,.8); padding: 0.1em 0.7em; border-radius: 999px; }
.page-head__credit a { color: inherit; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0.65rem; background: var(--slats); background-size: 100% 15px; }

/* ---------- ส่วนเนื้อหา ---------- */
.band { padding: clamp(3rem, 7vw, 5rem) 0; }
.band--white { background: var(--white); }
.band--iron { color: #fff; }
.band--iron p { color: #e8e2d4; }
.band--iron a { color: #fff; }
.band__head { margin-bottom: clamp(1.8rem, 4vw, 2.6rem); max-width: 44rem; }
.band__head p { margin-top: 1.1rem; color: var(--muted); font-size: var(--s-1); line-height: 1.8; }
.band--iron .band__head p { color: #e8e2d4; }
.lead-gap { margin-top: 1.4rem; }

.split { display: grid; gap: clamp(1.8rem, 5vw, 4rem); grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; }
.split--top { align-items: start; }
.split--flip { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
@media (max-width: 54rem) { .split, .split--flip { grid-template-columns: 1fr; } }

/* การ์ดมีพนักไม้ระแนงด้านบน */
.bench { position: relative; background: var(--white); border-radius: 0.6rem; border: 1px solid var(--rule); overflow: hidden; }
.bench::before { content: ""; display: block; height: 0.95rem; background: var(--slats); background-size: 100% 15px; }
.band--white .bench { background: var(--paving); }

.cards { list-style: none; display: grid; gap: 1.1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 58rem) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .cards { grid-template-columns: 1fr; } }
.cards li > h3 { padding: 1.1rem 1.4rem 0; }
.cards li > p { padding: 0 1.4rem 1.4rem; margin-top: 0.35rem; color: var(--muted); }

/* วัสดุ */
.materials { list-style: none; display: grid; gap: 1.1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 58rem) { .materials { grid-template-columns: 1fr; } }
.materials > li { padding: 0 0 1.4rem; }
.mat__chip { height: 5rem; }
.materials h3 { margin: 1rem 1.4rem 0; }
.materials p { margin: 0.35rem 1.4rem 0; color: var(--muted); }
.materials .ticks { margin: 0.6rem 1.4rem 0; }
.chip--wood { background: repeating-linear-gradient(180deg, #b57b48 0 20px, #8f5a2f 20px 22px, #f2eee5 22px 28px); }
.chip--alloy { background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 1px, transparent 1px 3px), linear-gradient(180deg, #dfe3e6, #9ba3aa); }
.chip--steel { background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.12) 0 2px, transparent 3px) 0 0 / 14px 14px, linear-gradient(180deg, #3d5c45, #22392a); }

/* ภาพแยกส่วนม้านั่ง */
.anatomy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
@media (max-width: 54rem) { .anatomy { grid-template-columns: 1fr; } }
.anatomy__fig { margin: 0; background: var(--white); border: 1px solid var(--rule); border-radius: 0.8rem; padding: 1rem; }
.anatomy__fig svg { display: block; width: 100%; height: auto; }
.anatomy__fig figcaption { font-size: var(--s--1); color: var(--muted); margin-top: 0.4rem; text-align: center; }
.parts { list-style: none; counter-reset: pt; }
.parts li { counter-increment: pt; display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.9rem; padding: 0.8rem 0; border-top: 1px solid var(--rule); }
.parts li:last-child { border-bottom: 1px solid var(--rule); }
.parts li::before { content: counter(pt); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--teak); color: #fff; font-family: var(--display); font-weight: 700; }
.parts b { display: block; font-family: var(--display); font-size: 1.12rem; line-height: 1.4; }
.parts span { color: var(--muted); }

/* ขั้นตอน */
.flow { list-style: none; counter-reset: fl; display: grid; gap: 1.8rem 1.5rem; grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 62rem) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 32rem) { .flow { grid-template-columns: 1fr; } }
.flow li { counter-increment: fl; position: relative; padding-top: 3.4rem; }
.flow li::before { content: counter(fl); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--sun); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.flow li::after { content: ""; position: absolute; top: 1.3rem; left: 3.1rem; right: -0.6rem; height: 4px; background: repeating-linear-gradient(90deg, #e8e2d4 0 10px, transparent 10px 16px); opacity: .5; }
.flow li:last-child::after { display: none; }
.flow p { margin-top: 0.3rem; color: #ddd6c7; }

.note { margin-top: 1.8rem; font-size: 0.95rem; color: var(--muted); }
.band--iron .note { color: #c9c2b2; }

.deflist { margin: 0; }
.deflist div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 0.3rem 1.8rem; padding: 0.95rem 0; border-top: 1px solid var(--rule); }
.deflist div:last-child { border-bottom: 1px solid var(--rule); }
.deflist dt { font-family: var(--display); font-weight: 700; font-size: 1.12rem; line-height: 1.5; }
.deflist dd { margin: 0; color: var(--muted); max-width: 40em; }
@media (max-width: 46rem) { .deflist div { grid-template-columns: 1fr; } }

.ticks { list-style: none; margin-top: 0.8rem; }
.ticks li { position: relative; padding-left: 1.6rem; margin-top: 0.45rem; max-width: 38em; }
.ticks li::before { content: ""; position: absolute; left: 0.05rem; top: 0.62em; width: 0.95rem; height: 0.5rem; border-radius: 1px; background: repeating-linear-gradient(180deg, var(--teak) 0 2px, transparent 2px 3px); }

/* ---------- รายละเอียด (หน้าสินค้าและบริการ) ---------- */
.item { padding: clamp(2.2rem, 5vw, 3.4rem) 0; border-top: 1px solid var(--rule); }
.item:first-of-type { border-top: 0; padding-top: 0; }
.item:last-of-type { padding-bottom: 0; }
.item h3 { font-size: clamp(var(--s-2), 2.6vw, var(--s-3)); line-height: 1.35; }
.item h4 { font-family: var(--display); font-weight: 700; font-size: 1.12rem; margin: 1.3rem 0 0; }
.item p { margin-top: 0.8rem; }
.item:nth-of-type(even) .split > .photo { order: -1; }
@media (max-width: 54rem) { .item .split > .photo { order: -1; } }

/* ---------- คำถามที่พบบ่อย ---------- */
.faq { max-width: 50rem; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; position: relative; font-family: var(--display); font-weight: 700; font-size: 1.14rem; line-height: 1.5; padding: 0.95rem 3rem 0.95rem 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.2rem; top: 50%; transform: translateY(-50%); width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--park-pale); color: var(--park-text); font-family: Tahoma, sans-serif; font-size: 1.2rem; line-height: 1.8rem; text-align: center; }
.faq details[open] summary::after { content: "\2212"; background: var(--park); color: #fff; }
.faq details p { padding: 0 0 1.1rem; color: var(--muted); }

/* ---------- ช่องติดต่อท้ายหน้า ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.8rem, 5vw, 4rem); align-items: center; }
@media (max-width: 54rem) { .cta { grid-template-columns: 1fr; } }
.cta__card { color: var(--ink); }
.cta__list { padding: 0.4rem 1.6rem 0.8rem; }
.cta__list div { padding: 0.7rem 0; border-top: 1px solid var(--rule); }
.cta__list div:first-child { border-top: 0; }
.cta__card small { display: block; font-size: var(--s--1); color: var(--muted); }
.cta__card b, .band--iron .cta__card a { font-weight: 700; font-size: 1.06rem; line-height: 1.6; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.band--iron .cta__card a:hover { color: var(--park-text); text-decoration: underline; }

/* ---------- ตารางข้อมูลกิจการ ---------- */
.spec { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--rule); border-top: 0.6rem solid var(--teak); border-radius: 0.5rem; overflow: hidden; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 0.85em 1.2em; border-top: 1px solid var(--rule); }
.spec tr:first-child th, .spec tr:first-child td { border-top: 0; }
.spec th { width: 13rem; font-weight: 400; color: var(--muted); }
.spec td { font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 40rem) {
  .spec th, .spec td { display: block; width: auto; }
  .spec td { border-top: 0; padding-top: 0; }
}

/* ---------- หน้าเนื้อหายาว (นโยบาย) ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.45rem; margin-top: 2.6rem; }
.prose h2:first-of-type { margin-top: 1.5rem; }
.prose p, .prose ul { margin-top: 0.9rem; }
.prose ul { padding-left: 1.4rem; }
.prose li { margin-top: 0.35rem; max-width: 38em; }
.prose .meta { color: var(--muted); font-size: 0.97rem; margin-top: 0; }

/* ---------- หน้าติดต่อ ---------- */
.contact-list { margin: 1.8rem 0 0; }
.contact-list div { padding: 1rem 0; border-top: 1px solid var(--rule); }
.contact-list div:last-child { border-bottom: 1px solid var(--rule); }
.contact-list dt { color: var(--muted); font-size: var(--s--1); }
.contact-list dd { margin: 0.1rem 0 0; font-weight: 600; font-size: var(--s-1); line-height: 1.6; overflow-wrap: anywhere; }
.contact-list dd a { text-decoration: none; }
.contact-list dd a:hover { text-decoration: underline; }
.contact-list dd small { display: block; font-weight: 400; font-size: var(--s--1); color: var(--muted); }
.contact-list .big a { display: block; font-family: var(--display); font-size: var(--s-4); line-height: 1.3; color: var(--ink); white-space: nowrap; }

.form__body { padding: clamp(1.2rem, 3vw, 2rem); }
.form h2 { font-size: var(--s-2); }
.form__body > p { color: var(--muted); margin-top: 0.6rem; font-size: 0.98rem; }
.field { margin-top: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; padding: 0.5em 0.85em; border: 1px solid #b9b19f; border-radius: 0.5rem; }
.field input, .field select { height: 2.9rem; }
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--park-pale); outline-offset: 0; border-color: var(--park); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; align-items: end; }
@media (max-width: 34rem) { .field-row { grid-template-columns: 1fr; } }
.form .btn { margin-top: 1.4rem; }
.form__hint { font-size: var(--s--1); color: var(--muted); margin-top: 0.8rem; }

.map { background: var(--white); overflow: hidden; border-radius: 0.8rem; border: 1px solid var(--rule); }
.map iframe { display: block; width: 100%; height: clamp(18rem, 45vw, 26rem); border: 0; }
.map p { padding: 0.8rem 1.2rem; font-size: 0.97rem; max-width: none; }

/* ---------- ส่วนท้าย ---------- */
.site-foot { background: #1b2a1f; color: #d6dfd3; padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; font-size: 0.98rem; position: relative; }
.site-foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 0.8rem; background: var(--slats); background-size: 100% 15px; }
.site-foot a { color: #fff; }
.site-foot a:hover { color: var(--sun); }
.site-foot__grid { display: grid; gap: 2rem 3rem; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1.2fr); }
@media (max-width: 54rem) { .site-foot__grid { grid-template-columns: 1fr; } }
.site-foot h2 { font-size: var(--s-1); color: #fff; margin-bottom: 0.7rem; }
.site-foot ul { list-style: none; }
.site-foot li { margin-top: 0.3rem; }
.site-foot address { font-style: normal; overflow-wrap: anywhere; }
.site-foot__base { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; gap: 0.4rem 2rem; justify-content: space-between; font-size: var(--s--1); color: #aeb9ab; }
.site-foot__base p { max-width: none; margin: 0; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-head { position: static; } .nav, .nav-toggle, .btn-row, .map { display: none; } }
