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

:root {
  --steel: #eef0f1;
  --white: #ffffff;
  --ink: #1c1f22;            /* เทากราไฟต์ */
  --ink-2: #2b3035;
  --yellow: #f4b400;         /* เหลืองเซฟตี้ */
  --yellow-dark: #8a5d00;    /* เหลืองเข้มสำหรับตัวหนังสือบนพื้นอ่อน */
  --muted: #545b62;
  --rule: #d3d7db;
  --mist: #c9ced3;

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

  --s--1: 0.9rem;
  --s-0: 1.05rem;
  --s-1: 1.22rem;
  --s-2: 1.5rem;
  --s-3: 1.9rem;
  --s-4: 2.35rem;
  --s-5: 3rem;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --wrap: 72rem;
}

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

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

h1, h2 { font-family: var(--display); font-weight: 600; line-height: 1.4; margin: 0; text-wrap: balance; }
h3 { font-family: var(--display); font-weight: 500; 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(--yellow); color: var(--ink); padding: 0.6em 1em; z-index: 60; }
.skip:focus { left: 0; }

/* พื้นสำรองเมื่อภาพโหลดไม่ขึ้น: แผ่นเหล็กลายตีนไก่ */
.platebg {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.07) 0 6px, transparent 6px 22px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,.18) 0 6px, transparent 6px 22px),
    linear-gradient(150deg, #5d656c, #33393e);
}

/* แถบลายเตือนใต้หัวข้อ */
.hazard { display: block; width: 5.5rem; height: 0.55rem; margin-top: 0.8rem;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 8px, var(--ink) 8px 16px); }
.band--ink .hazard, .page-head .hazard { background: repeating-linear-gradient(-45deg, var(--yellow) 0 8px, transparent 8px 16px); }

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

.nav ul { list-style: none; display: flex; gap: 0.15rem; }
.nav a { display: block; padding: 0.35em 0.8em; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 400; font-size: 0.98rem; border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: rgba(244,180,0,.5); color: #fff; }
.nav a[aria-current="page"] { border-bottom-color: var(--yellow); color: var(--yellow); }

.nav-toggle { display: none; font: inherit; font-family: var(--display); cursor: pointer; background: var(--yellow); color: var(--ink); border: 0; 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(--ink); border-bottom: 4px solid var(--yellow); padding: 0.6rem var(--gutter) 1rem; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0.1rem; }
  .nav a { padding: 0.55em 0.4em; }
}
@media (max-width: 34rem) { .brand__legal { display: none; } }

/* ---------- ปุ่ม ---------- */
.btn { display: inline-block; font-family: var(--display); font-weight: 500; font-size: 1.05rem; line-height: 1.4;
  padding: 0.7em 1.6em; cursor: pointer; text-decoration: none; background: var(--yellow); color: var(--ink); border: 2px solid var(--yellow); }
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--yellow); }
.btn--line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.band--ink .btn, .hero .btn { color: var(--ink); }
.band--ink .btn:hover, .hero .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.band--ink .btn--line, .hero .btn--line { background: transparent; border-color: #fff; color: #fff; }
.band--ink .btn--line:hover, .hero .btn--line:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* ---------- ภาพพร้อมมุมเล็งตำแหน่ง ---------- */
.photo { margin: 0; position: relative; }
.photo__frame { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.photo--tall .photo__frame { aspect-ratio: 4 / 5; }
.photo--wide .photo__frame { aspect-ratio: 16 / 10; }
.photo__frame img { width: 100%; height: 100%; object-fit: cover; }
.photo__frame::before, .photo__frame::after { content: ""; position: absolute; width: 2.2rem; height: 2.2rem; z-index: 1; pointer-events: none; }
.photo__frame::before { left: 0.6rem; top: 0.6rem; border-left: 4px solid var(--yellow); border-top: 4px solid var(--yellow); }
.photo__frame::after { right: 0.6rem; bottom: 0.6rem; border-right: 4px solid var(--yellow); border-bottom: 4px solid var(--yellow); }
.photo figcaption { font-size: 0.76rem; color: var(--muted); margin-top: 0.45rem; }
.photo figcaption a { color: inherit; }
.band--ink .photo figcaption { color: var(--mist); }
img.is-missing { visibility: hidden; }

/* ---------- แบนเนอร์หน้าแรก ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(28,31,34,.96) 0%, rgba(28,31,34,.86) 45%, rgba(28,31,34,.35) 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0.9rem;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--ink) 14px 28px); }
.hero__grid { position: relative; z-index: 1; display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center; padding: clamp(2.8rem, 7vw, 5.2rem) 0 clamp(3.6rem, 8vw, 6rem); }
@media (max-width: 58rem) { .hero__grid { grid-template-columns: 1fr; } }
.hero__place { font-family: var(--display); letter-spacing: 0.08em; color: var(--yellow); margin-bottom: 0.5rem; }
.hero__lead { font-size: var(--s-1); line-height: 1.75; color: var(--mist); margin-top: 1.1rem; max-width: 32em; }
.hero__credit { position: absolute; z-index: 1; right: 0.7rem; bottom: 1.4rem; font-size: 0.72rem; color: #fff; background: rgba(28,31,34,.75); padding: 0.1em 0.7em; border-radius: 999px; }
.hero__credit a { color: inherit; }

/* ป้ายชื่อแบบแผ่นโลหะยึดหมุด */
.nameplate { position: relative; color: var(--ink); padding: 1.6rem 1.7rem 1.4rem; max-width: 22rem; justify-self: end; width: 100%;
  background: linear-gradient(135deg, #f1f2f3 0%, #c9cdd1 45%, #eceeef 60%, #b9bec3 100%);
  border: 1px solid #8d949a; box-shadow: 0 0.8rem 1.6rem rgba(0,0,0,.45), inset 0 0 0 4px rgba(255,255,255,.35); }
@media (max-width: 58rem) { .nameplate { justify-self: start; } }
.nameplate::before { content: ""; position: absolute; inset: 0.55rem; pointer-events: none;
  background:
    radial-gradient(circle, #6b7279 0 3px, #dfe2e4 3.5px 5px, transparent 5.5px) 0 0 / 11px 11px no-repeat,
    radial-gradient(circle, #6b7279 0 3px, #dfe2e4 3.5px 5px, transparent 5.5px) 100% 0 / 11px 11px no-repeat,
    radial-gradient(circle, #6b7279 0 3px, #dfe2e4 3.5px 5px, transparent 5.5px) 0 100% / 11px 11px no-repeat,
    radial-gradient(circle, #6b7279 0 3px, #dfe2e4 3.5px 5px, transparent 5.5px) 100% 100% / 11px 11px no-repeat; }
.nameplate__big { display: flex; align-items: baseline; gap: 0.5rem; font-family: var(--display); font-weight: 700; line-height: 1; border-bottom: 2px solid var(--ink); padding-bottom: 0.6rem; }
.nameplate__big b { font-size: 4rem; letter-spacing: -0.02em; }
.nameplate__big span { font-size: 1.8rem; }
.nameplate dl { margin: 0.8rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 0.9rem; font-size: 0.9rem; }
.nameplate dt { color: #3d4349; }
.nameplate dd { margin: 0; font-weight: 700; }
.nameplate__stripe { height: 0.5rem; margin-top: 0.9rem; background: repeating-linear-gradient(-45deg, var(--yellow) 0 7px, var(--ink) 7px 14px); }

/* ---------- แบนเนอร์หน้าใน ---------- */
.page-head { position: relative; overflow: hidden; color: #fff; background: var(--ink); border-bottom: 0.6rem solid var(--yellow); }
.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(28,31,34,.95) 0%, rgba(28,31,34,.84) 50%, rgba(28,31,34,.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.75; margin-top: 1rem; color: var(--mist); }
.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(28,31,34,.75); padding: 0.1em 0.7em; border-radius: 999px; }
.page-head__credit a { color: inherit; }

/* ---------- ส่วนเนื้อหา ---------- */
.band { padding: clamp(3rem, 7vw, 5rem) 0; }
.band--white { background: var(--white); }
.band--yellow { background: var(--yellow); }
.band--ink { background: var(--ink); color: #fff; }
.band--ink p { color: var(--mist); }
.band--ink 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.75; }
.band--ink .band__head p { color: var(--mist); }
.band--yellow .band__head p, .band--yellow p { color: #2e2a1d; }
.band--yellow .hazard { background: repeating-linear-gradient(-45deg, var(--ink) 0 8px, transparent 8px 16px); }
.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; } }

/* การ์ดแผ่นเหล็กยึดหมุดสี่มุม */
.riveted { position: relative; background: var(--white); border: 1px solid var(--rule); }
.riveted::after { content: ""; position: absolute; inset: 0.5rem; pointer-events: none;
  background:
    radial-gradient(circle, #9aa1a7 0 2.5px, transparent 3px) 0 0 / 7px 7px no-repeat,
    radial-gradient(circle, #9aa1a7 0 2.5px, transparent 3px) 100% 0 / 7px 7px no-repeat,
    radial-gradient(circle, #9aa1a7 0 2.5px, transparent 3px) 0 100% / 7px 7px no-repeat,
    radial-gradient(circle, #9aa1a7 0 2.5px, transparent 3px) 100% 100% / 7px 7px no-repeat; }
.band--white .riveted { background: var(--steel); }

/* ---------- งานสี่ด้าน ---------- */
.works { list-style: none; counter-reset: wk; display: grid; gap: 1.1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 62rem) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .works { grid-template-columns: 1fr; } }
.works li { counter-increment: wk; padding: 1.4rem 1.4rem 1.6rem; border-top: 5px solid var(--yellow); }
.works li::before { content: counter(wk, decimal-leading-zero); display: block; font-family: var(--display); font-weight: 700; font-size: var(--s-3); line-height: 1.1; color: var(--ink); opacity: 0.18; }
.works h3 { margin-top: 0.3rem; }
.works p { margin-top: 0.35rem; color: var(--muted); }

/* ---------- ช่วงเวลาสองช่วง ---------- */
.shifts { list-style: none; display: grid; gap: 1.2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 46rem) { .shifts { grid-template-columns: 1fr; } }
.shifts li { background: var(--ink-2); padding: 1.4rem 1.5rem 1.6rem; border-left: 5px solid var(--yellow); }
.shifts .tag { font-family: var(--display); color: var(--yellow); letter-spacing: 0.06em; font-size: 0.9rem; }
.shifts h3 { color: #fff; margin-top: 0.2rem; }
.shifts .time { font-family: var(--display); font-weight: 600; font-size: var(--s-3); color: #fff; line-height: 1.3; margin-top: 0.4rem; }
.bar { position: relative; height: 0.7rem; margin-top: 1rem; background: rgba(255,255,255,.12); }
.bar span { position: absolute; top: 0; bottom: 0; background: var(--yellow); }
.bar__scale { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--mist); margin-top: 0.3rem; }
.shifts p { margin-top: 0.8rem; font-size: 0.98rem; }

/* ---------- ตารางสิ่งที่เราดูแล ---------- */
.scope { list-style: none; display: grid; gap: clamp(1.2rem, 2.5vw, 1.8rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 58rem) { .scope { grid-template-columns: 1fr; } }
.scope h3 { margin-top: 0.9rem; }
.scope p { margin-top: 0.3rem; color: var(--muted); }

.flow { list-style: none; counter-reset: fl; display: grid; gap: 1.8rem 1.5rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 58rem) { .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(--ink); padding-top: 0.7rem; }
.flow li::before { content: counter(fl); display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; background: var(--ink); color: var(--yellow); font-family: var(--display); font-weight: 600; margin-bottom: 0.6rem; }
.flow p { margin-top: 0.3rem; color: #2e2a1d; }

.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.4rem 1.5rem 1.6rem; }
.cards p { margin-top: 0.35rem; color: var(--muted); }
.note { margin-top: 1.8rem; font-size: 0.95rem; color: var(--muted); }
.band--ink .note { color: #aeb5bb; }

.deflist { margin: 0; }
.deflist div { display: grid; grid-template-columns: minmax(0, 12rem) 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: 500; 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; top: 0.55em; width: 0.75rem; height: 0.75rem; background: var(--yellow); border: 2px solid var(--ink); }

/* ---------- รายละเอียด (หน้าสินค้าและบริการ) ---------- */
.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-weight: 600; font-size: clamp(var(--s-2), 2.6vw, var(--s-3)); line-height: 1.4; }
.item h4 { font-family: var(--display); font-weight: 500; font-size: 1.1rem; 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: 2px solid var(--ink); }
.faq details:last-child { border-bottom: 2px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; position: relative; font-family: var(--display); font-weight: 500; font-size: 1.12rem; 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.7rem; height: 1.7rem; background: var(--yellow); color: var(--ink);
  font-family: Tahoma, sans-serif; font-size: 1.3rem; line-height: 1.7rem; text-align: center; }
.faq details[open] summary::after { content: "\2212"; }
.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.6rem 1.6rem; }
.cta__card div { padding: 0.8rem 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--ink .cta__card a { font-weight: 700; font-size: 1.1rem; line-height: 1.6; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.band--ink .cta__card a:hover { color: var(--yellow-dark); text-decoration: underline; }
.cta__card .ln { display: block; font-weight: 700; }

/* ---------- ตารางข้อมูลบริษัท ---------- */
.spec { width: 100%; border-collapse: collapse; background: var(--white); border-top: 4px solid var(--ink); }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 0.85em 1.2em; border-bottom: 1px solid var(--rule); }
.spec th { width: 13rem; font-weight: 400; color: var(--muted); }
.spec td { font-weight: 700; overflow-wrap: anywhere; }
@media (max-width: 40rem) {
  .spec th, .spec td { display: block; width: auto; }
  .spec th { border-bottom: 0; padding-bottom: 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: 700; 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 dd .ln { display: block; }
.contact-list .big a { font-family: var(--display); font-size: var(--s-4); font-weight: 600; line-height: 1.3; white-space: nowrap; }
@media (max-width: 24rem) { .contact-list .big a { font-size: var(--s-3); } }

.form { padding: clamp(1.2rem, 3vw, 2rem); border-top: 5px solid var(--yellow); }
.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: 700; margin-bottom: 0.3rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--steel); padding: 0.5em 0.85em; border: 1px solid #8b9298; border-radius: 0; }
.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(--yellow); outline-offset: 0; border-color: var(--ink); }
.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-top: 4px solid var(--ink); }
.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: var(--ink); color: var(--mist); padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; font-size: 0.98rem; border-top: 0.9rem solid transparent;
  border-image: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--ink) 14px 28px) 14; }
.site-foot a { color: #fff; }
.site-foot a:hover { color: var(--yellow); }
.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,.18); display: flex; flex-wrap: wrap; gap: 0.4rem 2rem; justify-content: space-between; font-size: var(--s--1); color: #9fa7ae; }
.site-foot__base p { max-width: none; margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  .nameplate { animation: drop 0.7s ease-out both; }
  @keyframes drop { from { opacity: 0; transform: translateY(-14px) rotate(-1.5deg); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-head { position: static; } .nav, .nav-toggle, .btn-row, .map { display: none; } }
