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

:root {
  --paper: #f6f3ee;
  --white: #ffffff;
  --navy: #12324f;
  --navy-2: #1b4266;
  --red: #c8372a;
  --red-dark: #9e2a20;
  --kraft: #cfb58b;
  --kraft-pale: #efe4d1;
  --ink: #17212b;
  --muted: #56606a;
  --rule: #ddd6ca;
  --mist: #c7d4e0;

  --display: "Chakra Petch", "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif;
  --body: "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif;

  --s--1: 0.9rem;
  --s-0: 1.02rem;
  --s-1: 1.2rem;
  --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(--paper); 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(--red-dark); text-underline-offset: 0.2em; }
a:hover { color: var(--navy); }
a[href^="mailto:"] { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--red); 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: 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(--navy); color: #fff; padding: 0.6em 1em; z-index: 60; }
.skip:focus { left: 0; }

/* ลอนผนังตู้คอนเทนเนอร์: พื้นแถบเข้มและพื้นสำรองของภาพ */
.ribbed {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 14px, rgba(0,0,0,.14) 14px 18px, rgba(255,255,255,.03) 18px 32px, rgba(0,0,0,.08) 32px 36px),
    linear-gradient(180deg, var(--navy-2), var(--navy));
}

/* สามช่องใต้หัวข้อ */
.three { display: flex; gap: 4px; margin-top: 0.8rem; }
.three i { display: block; width: 1.1rem; height: 0.55rem; }
.three i:nth-child(1) { background: var(--red); }
.three i:nth-child(2) { background: var(--navy); }
.three i:nth-child(3) { background: var(--kraft); }
.band--navy .three i:nth-child(2), .page-head .three i:nth-child(2), .hero .three i:nth-child(2) { background: #fff; }

/* ---------- ส่วนหัว ---------- */
.site-head { background: var(--white); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 30; }
.site-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px;
  background: linear-gradient(90deg, var(--red) 0 33.3%, var(--navy) 33.3% 66.6%, var(--kraft) 66.6%); }
.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: var(--ink); text-decoration: none; }
.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.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.15rem; }
.nav a { display: block; padding: 0.35em 0.8em; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 500; font-size: 0.98rem; }
.nav a:hover { color: var(--red-dark); }
.nav a[aria-current="page"] { background: var(--navy); color: #fff; }

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

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

/* ---------- ภาพ ---------- */
.photo { margin: 0; }
.photo__frame { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 6px solid var(--navy); }
.photo--tall .photo__frame { aspect-ratio: 4 / 5; }
.photo--square .photo__frame { aspect-ratio: 1; }
.photo__frame img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { font-size: 0.76rem; color: var(--muted); margin-top: 0.45rem; }
.photo figcaption a { color: inherit; }
.band--navy .photo figcaption { color: var(--mist); }
img.is-missing { visibility: hidden; }

/* ---------- แบนเนอร์หน้าแรก ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.hero__media { position: absolute; inset: 0 0 0 38%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(18,50,79,.75) 30%, rgba(18,50,79,.1) 75%); }
@media (max-width: 58rem) {
  .hero__media { inset: 0; }
  .hero__media::after { background: linear-gradient(180deg, rgba(18,50,79,.93), rgba(18,50,79,.84)); }
}
.hero__body { position: relative; z-index: 1; max-width: 37rem; padding: clamp(3rem, 8vw, 5.6rem) 0 clamp(3.4rem, 8vw, 6rem); }
.hero__place { font-family: var(--display); font-weight: 500; letter-spacing: 0.08em; color: var(--kraft); margin-bottom: 0.4rem; }
.hero__lead { font-size: var(--s-1); line-height: 1.75; color: var(--mist); margin-top: 1.1rem; max-width: 32em; }
.hero__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; }
.hero__chips li { font-size: 0.92rem; padding: 0.25em 0.8em; border: 1px solid rgba(255,255,255,.4); }
.hero__chips a { color: #fff; text-decoration: none; white-space: nowrap; }
.hero__chips a:hover { text-decoration: underline; }
.hero__credit { position: absolute; z-index: 1; right: 0.7rem; bottom: 0.6rem; font-size: 0.72rem; color: #fff; background: rgba(18,50,79,.75); padding: 0.1em 0.7em; border-radius: 999px; }
.hero__credit a { color: inherit; }

/* ป้ายแขวนอะไหล่ในแบนเนอร์ */
.hero__tag { position: absolute; z-index: 1; right: clamp(1rem, 6vw, 5rem); top: 50%; transform: translateY(-50%) rotate(4deg);
  width: 13rem; background: var(--kraft-pale); color: var(--ink); padding: 2.2rem 1.2rem 1.2rem; box-shadow: 0 0.8rem 1.4rem rgba(0,0,0,.35);
  clip-path: polygon(14% 0, 86% 0, 100% 10%, 100% 100%, 0 100%, 0 10%); }
.hero__tag::before { content: ""; position: absolute; left: 50%; top: 0.75rem; width: 0.9rem; height: 0.9rem; margin-left: -0.45rem; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 3px #b89e72; }
.hero__tag b { display: block; font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--red); }
.hero__tag span { display: block; font-family: var(--display); font-weight: 600; margin-top: 0.3rem; }
.hero__tag small { display: block; margin-top: 0.7rem; padding-top: 0.6rem; border-top: 1px dashed #9a8560; font-size: 0.82rem; color: #4d4436; line-height: 1.5; }
@media (max-width: 58rem) { .hero__tag { display: none; } }

/* ---------- แบนเนอร์หน้าใน ---------- */
.page-head { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.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(18,50,79,.96) 0%, rgba(18,50,79,.85) 50%, rgba(18,50,79,.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(18,50,79,.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--kraft { background: var(--kraft-pale); }
.band--navy { color: #fff; }
.band--navy p { color: var(--mist); }
.band--navy 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--navy .band__head p { color: var(--mist); }
.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; } }

/* ป้ายแขวนอะไหล่ */
.tags { list-style: none; display: grid; gap: 1.2rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 62rem) { .tags { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .tags { grid-template-columns: 1fr; } }
.tag { position: relative; background: var(--white); padding: 2.4rem 1.3rem 1.5rem; border: 1px solid var(--rule);
  clip-path: polygon(1.4rem 0, calc(100% - 1.4rem) 0, 100% 1.4rem, 100% 100%, 0 100%, 0 1.4rem); }
.tag::before { content: ""; position: absolute; left: 50%; top: 0.8rem; width: 0.8rem; height: 0.8rem; margin-left: -0.4rem; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--kraft); }
.band--white .tag { background: var(--paper); }
.band--white .tag::before { background: var(--white); }
.tag__code { display: block; font-family: var(--display); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.1em; color: var(--red-dark); border-bottom: 1px dashed var(--rule); padding-bottom: 0.4rem; margin-bottom: 0.6rem; }
.tag p { margin-top: 0.35rem; color: var(--muted); }

/* ใหม่กับเก่า */
.compare { display: grid; gap: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 2px solid var(--navy); background: var(--white); }
@media (max-width: 50rem) { .compare { grid-template-columns: 1fr; } }
.compare > div { padding: clamp(1.3rem, 3vw, 2rem); }
.compare > div + div { border-left: 2px solid var(--navy); }
@media (max-width: 50rem) { .compare > div + div { border-left: 0; border-top: 2px solid var(--navy); } }
.compare .stamp { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em; padding: 0.15em 0.8em; border: 2px solid currentColor; transform: rotate(-3deg); }
.compare .stamp--new { color: var(--navy); }
.compare .stamp--used { color: var(--red-dark); }
.compare h3 { margin-top: 0.8rem; font-size: var(--s-2); }
.compare p { margin-top: 0.5rem; color: var(--muted); }

/* เส้นทางนำเข้าส่งออก */
.route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; margin: 0.5rem 0 2.2rem; font-family: var(--display); font-weight: 600; }
.route__end { padding: 0.5em 1em; border: 1px solid rgba(255,255,255,.5); white-space: nowrap; }
.route__line { position: relative; height: 2px; background: repeating-linear-gradient(90deg, #fff 0 10px, transparent 10px 18px); }
.route__line::before, .route__line::after { content: ""; position: absolute; top: 50%; width: 2.2rem; height: 1.1rem; margin-top: -0.55rem; }
.route__line::before { left: 25%; background: var(--red); }
.route__line::after { right: 25%; background: var(--kraft); }
@media (max-width: 36rem) { .route { grid-template-columns: 1fr; text-align: center; } .route__line { height: 2.4rem; width: 2px; justify-self: center; background: repeating-linear-gradient(180deg, #fff 0 8px, transparent 8px 14px); } .route__line::before, .route__line::after { display: none; } }
.lanes { list-style: none; display: grid; gap: 1.2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 46rem) { .lanes { grid-template-columns: 1fr; } }
.lanes li { background: rgba(255,255,255,.08); padding: 1.4rem 1.5rem 1.6rem; border-top: 4px solid var(--kraft); }
.lanes li:first-child { border-top-color: var(--red); }
.lanes h3 { color: #fff; }
.lanes p { margin-top: 0.4rem; }

.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: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .scope { grid-template-columns: 1fr; } }
.scope h3 { margin-top: 0.8rem; }
.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: 2px solid var(--navy); padding-top: 0.7rem; }
.flow li::before { content: "ขั้น " counter(fl); display: inline-block; font-family: var(--display); font-weight: 600; font-size: 0.85rem; color: #fff; background: var(--red); padding: 0.05em 0.6em; margin-bottom: 0.5rem; }
.flow p { margin-top: 0.3rem; color: var(--muted); }

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

.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); }
.band--kraft .deflist div { border-color: #d6c4a5; }
.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.5rem; height: 0.85rem; border-right: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(40deg); }

/* ---------- รายละเอียด (หน้าสินค้าและบริการ) ---------- */
.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(--navy); }
.faq details:last-child { border-bottom: 1px solid var(--navy); }
.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.3rem; top: 50%; transform: translateY(-50%); font-family: Tahoma, sans-serif; font-size: 1.5rem; font-weight: 400; color: var(--red); line-height: 1; }
.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 { background: var(--kraft-pale); color: var(--ink); padding: 0.6rem 1.6rem; }
.cta__card div { padding: 0.8rem 0; border-top: 1px dashed #b9a47f; }
.cta__card div:first-child { border-top: 0; }
.cta__card small { display: block; font-size: var(--s--1); color: #5c5242; }
.cta__card b, .band--navy .cta__card a { font-weight: 700; font-size: 1.1rem; line-height: 1.6; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.band--navy .cta__card a:hover { color: var(--red-dark); text-decoration: underline; }
.cta__card .ln { display: block; }

/* ---------- ตารางข้อมูลบริษัท ---------- */
.spec { width: 100%; border-collapse: collapse; background: var(--white); border: 2px solid var(--navy); }
.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.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 .big a { display: block; font-family: var(--display); font-size: var(--s-3); font-weight: 600; line-height: 1.35; color: var(--navy); white-space: nowrap; }

.form { background: var(--white); padding: clamp(1.2rem, 3vw, 2rem); border-top: 6px solid var(--red); box-shadow: 0 0.4rem 1.2rem rgba(18,50,79,.08); }
.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: var(--paper); padding: 0.5em 0.85em; border: 1px solid #98a2ab; 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(--kraft); outline-offset: 0; border-color: var(--navy); }
.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: 2px solid var(--navy); }
.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: #0c2238; color: var(--mist); padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; font-size: 0.98rem; }
.site-foot a { color: #fff; }
.site-foot a:hover { color: var(--kraft); }
.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: #97abbd; }
.site-foot__base p { max-width: none; margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  .hero__tag { animation: swing 1.4s ease-out both; transform-origin: 50% 0; }
  @keyframes swing { 0% { transform: translateY(-50%) rotate(-6deg); opacity: 0; } 40% { opacity: 1; } 70% { transform: translateY(-50%) rotate(6deg); } 100% { transform: translateY(-50%) rotate(4deg); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-head { position: static; } .nav, .nav-toggle, .btn-row, .map { display: none; } }
