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

:root {
  --alu: #e8ecef;
  --white: #fbfcfd;
  --slate: #1f2d38;
  --slate-2: #2c3e4c;
  --anod: #2a6f97;
  --anod-text: #1e5a7c;
  --anod-pale: #dbe9f2;
  --copper: #c4692c;
  --ink: #18222a;
  --muted: #4f5c66;
  --rule: #cdd5db;
  --steel: #98a5af;

  --display: "Bai Jamjuree", "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif;
  --body: "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif;

  --s--1: 0.9rem;
  --s-0: 1.03rem;
  --s-1: 1.2rem;
  --s-2: 1.5rem;
  --s-3: 1.9rem;
  --s-4: 2.4rem;
  --s-5: 3rem;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --wrap: 72rem;
  --brushed: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 1px, transparent 1px 3px), linear-gradient(180deg, #ffffff, #eef1f4);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--alu); 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(--anod-text); text-underline-offset: 0.2em; }
a:hover { color: var(--copper); }
a[href^="mailto:"] { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }

h1, h2 { font-family: var(--display); font-weight: 700; line-height: 1.4; margin: 0; text-wrap: balance; }
h3 { font-family: var(--display); font-weight: 600; line-height: 1.45; margin: 0; }
h1 { font-size: clamp(var(--s-3), 4.3vw, var(--s-5)); line-height: 1.3; }
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(--slate); color: #fff; padding: 0.6em 1em; z-index: 60; }
.skip:focus { left: 0; }

/* พื้นสำรองเมื่อภาพโหลดไม่ขึ้น: อลูมิเนียมปัดเสี้ยน */
.metalbg {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 1px, transparent 1px 3px),
    linear-gradient(135deg, #c3ccd3, #8794a0 55%, #a9b4bd);
}
/* ครีบโปรไฟล์บนแถบสีเข้ม */
.ribbed {
  background-color: var(--slate);
  background-image:
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(255,255,255,.06) 34px 36px, rgba(0,0,0,.25) 36px 39px, transparent 39px 44px),
    linear-gradient(180deg, var(--slate-2), var(--slate));
}

/* หน้าตัดท่อเหลี่ยมใต้หัวข้อ */
.tube { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.8rem; }
.tube::before { content: ""; width: 4.2rem; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--anod), var(--steel)); }
.tube i { position: relative; width: 1.05rem; height: 1.05rem; border: 3px solid var(--slate); border-radius: 2px; }
.tube i::after { content: ""; position: absolute; inset: 2px; border: 1.5px solid var(--copper); border-radius: 1px; }
.band--slate .tube i, .page-head .tube i { border-color: #fff; }
.band--slate .tube::before, .page-head .tube::before { background: linear-gradient(90deg, var(--anod-pale), var(--steel)); }

/* ---------- ส่วนหัว ---------- */
.site-head { background: var(--white); border-bottom: 1px solid var(--rule); box-shadow: 0 3px 0 var(--anod); 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.3rem; line-height: 1.3; }
.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: 0.3rem; }
.nav a:hover { background: var(--anod-pale); }
.nav a[aria-current="page"] { background: var(--slate); color: #fff; box-shadow: inset 0 -3px 0 var(--copper); }

.nav-toggle { display: none; flex: none; font: inherit; font-weight: 600; cursor: pointer; background: var(--slate); color: #fff; border: 0; border-radius: 0.3rem; 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: 3px solid var(--anod); 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.08rem; } .brand svg { width: 2.3rem; height: 2.3rem; } }

/* ---------- ปุ่ม ---------- */
.btn { display: inline-block; font-family: var(--display); font-weight: 600; font-size: 1.05rem; line-height: 1.4;
  padding: 0.7em 1.6em; border-radius: 0.3rem; cursor: pointer; text-decoration: none; background: var(--anod-text); color: #fff; border: 2px solid var(--anod-text); }
.btn:hover { background: var(--slate); border-color: var(--slate); color: #fff; }
.btn--line { background: transparent; border-color: var(--slate); color: var(--slate); }
.btn--line:hover { background: var(--slate); color: #fff; }
.band--slate .btn { background: var(--copper); border-color: var(--copper); color: #fff; }
.band--slate .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.band--slate .btn--line { background: transparent; border-color: #e3e8ec; color: #fff; }
.band--slate .btn--line:hover { background: #fff; color: var(--slate); }
.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.25rem; box-shadow: 0 0.6rem 1.4rem rgba(24,34,42,.14); }
.photo__frame::after { content: ""; position: absolute; inset: 0; border: 0.5rem solid; border-image: linear-gradient(135deg, #f8fafb, #a3afb8 30%, #eef1f3 55%, #8a97a2 80%, #dfe5e9) 1; pointer-events: none; }
.photo--square .photo__frame { aspect-ratio: 1; }
.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.5rem; }
.photo figcaption a { color: inherit; }
.band--slate .photo figcaption { color: #c5ced5; }
img.is-missing { visibility: hidden; }

/* ---------- แบนเนอร์หน้าแรก ---------- */
.hero { position: relative; overflow: hidden; background: var(--brushed); border-bottom: 1px solid var(--rule); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(30rem, 72vh, 40rem); }
@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.08em; color: var(--anod-text); 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(--white); border: 1px solid var(--rule); border-left: 4px solid var(--anod); border-radius: 0.2rem; padding: 0.2em 0.9em; font-size: 0.94rem; }
.hero__facts a { color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.hero__facts a:hover { text-decoration: underline; }
.hero__media { position: relative; min-height: 22rem; overflow: hidden; clip-path: polygon(3.5rem 0, 100% 0, 100% 100%, 0 100%, 0 3.5rem); }
@media (max-width: 58rem) { .hero__media { margin: 0 var(--gutter); } }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__badge { position: absolute; z-index: 1; left: 1.4rem; bottom: 1.4rem; display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0.9rem 0.6rem 0.6rem; background: var(--brushed); border-radius: 0.25rem; box-shadow: 0 0.4rem 1rem rgba(0,0,0,.28); }
.hero__badge svg { width: 4.2rem; height: 4.2rem; flex: none; }
.hero__badge b { display: block; font-family: var(--display); font-size: 0.98rem; line-height: 1.35; color: var(--ink); }
.hero__badge small { display: block; font-size: 0.75rem; line-height: 1.4; color: var(--muted); }
.hero__credit { position: absolute; z-index: 1; right: 1rem; top: 1rem; font-size: 0.72rem; color: #fff; background: rgba(24,34,42,.72); padding: 0.1em 0.7em; border-radius: 999px; }
.hero__credit a { color: inherit; }

/* ---------- แบนเนอร์หน้าใน ---------- */
.page-head { position: relative; overflow: hidden; color: #fff; background: var(--slate); }
.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(24,34,42,.95) 0%, rgba(24,34,42,.84) 50%, rgba(24,34,42,.3) 100%); }
.page-head__body { position: relative; z-index: 1; padding: clamp(2.6rem, 7vw, 4.4rem) 0; max-width: 40rem; }
.page-head__body p { font-size: var(--s-1); line-height: 1.8; margin-top: 1rem; color: #e3e8ec; }
.page-head__credit { position: absolute; z-index: 1; right: 0.7rem; bottom: 0.5rem; font-size: 0.72rem; line-height: 1.5; color: #fff; background: rgba(24,34,42,.78); 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: 4px; background: linear-gradient(90deg, var(--copper), var(--anod)); }

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

.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; } }

/* แผ่นอลูมิเนียมพร้อมหัวสกรูสี่มุม */
.plate {
  position: relative; border: 1px solid var(--rule); border-radius: 0.3rem;
  background:
    radial-gradient(circle, #7f8c97 0 2.5px, #c9d1d7 3px 4px, transparent 4.5px) left 0.4rem top 0.4rem / 0.7rem 0.7rem no-repeat,
    radial-gradient(circle, #7f8c97 0 2.5px, #c9d1d7 3px 4px, transparent 4.5px) right 0.4rem top 0.4rem / 0.7rem 0.7rem no-repeat,
    radial-gradient(circle, #7f8c97 0 2.5px, #c9d1d7 3px 4px, transparent 4.5px) left 0.4rem bottom 0.4rem / 0.7rem 0.7rem no-repeat,
    radial-gradient(circle, #7f8c97 0 2.5px, #c9d1d7 3px 4px, transparent 4.5px) right 0.4rem bottom 0.4rem / 0.7rem 0.7rem no-repeat,
    var(--brushed);
  box-shadow: 0 1px 0 #fff inset, 0 0.3rem 0.8rem rgba(24,34,42,.08);
}

.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 { padding: 1.5rem 1.6rem 1.7rem; }
.cards h3 { padding-left: 0.8rem; border-left: 4px solid var(--anod); line-height: 1.35; }
.cards p { margin-top: 0.5rem; color: var(--muted); }
.band--slate .cards li { color: var(--ink); }

/* ผิวสำเร็จ */
.finishes { list-style: none; display: grid; gap: 1.1rem; grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 66rem) { .finishes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 44rem) { .finishes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .finishes { grid-template-columns: 1fr; } }
.finishes li { padding: 0.8rem 0.9rem 1.2rem; }
.finish__bar { height: 4.6rem; border-radius: 0.2rem; position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.finish__bar::after { content: ""; position: absolute; left: 0; right: 0; top: 30%; height: 0.5rem; background: rgba(0,0,0,.15); box-shadow: 0 1.2rem 0 rgba(0,0,0,.08); }
.finishes h3 { margin-top: 0.8rem; font-size: 1.1rem; }
.finishes p { margin-top: 0.3rem; color: var(--muted); font-size: 0.95rem; }
.fin--natural { background: repeating-linear-gradient(90deg, rgba(255,255,255,.4) 0 1px, transparent 1px 3px), linear-gradient(180deg, #dfe4e8, #aab4bc); }
.fin--black { background: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 3px), linear-gradient(180deg, #4a4f55, #1f2327); }
.fin--champagne { background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 1px, transparent 1px 3px), linear-gradient(180deg, #e8d8b8, #bba57c); }
.fin--powder { background: linear-gradient(180deg, #ffffff, #e7eaec); }
.fin--wood { background: repeating-linear-gradient(88deg, #8a5a36 0 3px, #a46d44 3px 7px, #7b4f2f 7px 9px, #996540 9px 15px); }

/* ตารางเปรียบเทียบ */
.compare { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--rule); font-size: 0.98rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 0.8em 1em; border-top: 1px solid var(--rule); }
.compare thead th { background: var(--slate); color: #fff; font-family: var(--display); font-weight: 600; border-top: 0; }
.compare tbody th { font-weight: 600; width: 11rem; color: var(--ink); }
.compare td { color: var(--muted); }
.compare-wrap { overflow-x: auto; border-radius: 0.3rem; }
@media (max-width: 40rem) {
  .compare thead { display: none; }
  .compare tr { display: block; border-top: 1px solid var(--rule); padding: 0.6rem 0; }
  .compare tbody th, .compare td { display: block; width: auto; border: 0; padding: 0.2em 1em; }
  .compare td::before { content: attr(data-h) " — "; font-weight: 600; color: var(--anod-text); }
}

/* ขั้นตอน: เลขในหัวน็อตหกเหลี่ยม */
.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; border-top: 3px solid var(--steel); padding-top: 0.9rem; }
.flow li::before { content: counter(fl); display: grid; place-items: center; width: 2.7rem; height: 2.4rem; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); background: linear-gradient(135deg, #e6ebee, #8d99a3); color: var(--ink); font-family: var(--display); font-weight: 700; margin-bottom: 0.6rem; }
.flow h3 { color: #fff; }
.flow p { margin-top: 0.3rem; color: #d4dce2; }
.band--white .flow h3, .band:not(.band--slate) .flow h3 { color: var(--ink); }
.band:not(.band--slate) .flow p { color: var(--muted); }
.band:not(.band--slate) .flow li::before { background: linear-gradient(135deg, var(--anod), var(--slate)); color: #fff; }

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

.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: 600; font-size: 1.1rem; 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.1rem; top: 0.5em; width: 0.8rem; height: 0.8rem; border: 3px solid var(--anod); border-radius: 2px; }

/* ---------- รายละเอียด (หน้าสินค้าและบริการ) ---------- */
.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.4; }
.item h4 { font-family: var(--display); font-weight: 600; font-size: 1.08rem; 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: 600; font-size: 1.1rem; 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: 0.2rem; background: var(--anod-pale); color: var(--anod-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(--anod-text); 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); padding: 0.9rem 1.8rem; }
.cta__card div { padding: 0.75rem 0; border-top: 1px solid var(--rule); }
.cta__card div:first-child { border-top: 0; }
.cta__card small { display: block; font-size: var(--s--1); color: var(--muted); }
.cta__card b, .band--slate .cta__card a { font-weight: 700; font-size: 1.05rem; line-height: 1.6; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.band--slate .cta__card a:hover { color: var(--anod-text); text-decoration: underline; }
.cta__card .ln { display: block; }
.cta__card p { color: var(--muted); }

/* ---------- ตารางข้อมูลกิจการ ---------- */
.spec { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--anod); border-radius: 0.3rem; 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; }
.spec .ln { display: block; }
@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.4rem; 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 .ln { display: block; }
.contact-list .big a { display: block; font-family: var(--display); font-size: var(--s-3); line-height: 1.35; color: var(--ink); white-space: nowrap; }

.form { padding: clamp(1.4rem, 3vw, 2.2rem); }
.form h2 { font-size: var(--s-2); }
.form > 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 #a9b4bd; border-radius: 0.25rem; }
.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(--anod-pale); outline-offset: 0; border-color: var(--anod-text); }
.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.3rem; 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: #141c22; color: #cfd7dd; padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; font-size: 0.98rem; border-top: 0.4rem solid var(--anod); }
.site-foot a { color: #fff; }
.site-foot a:hover { color: #f0b98f; }
.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: #a7b2ba; }
.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; } }
