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

:root {
  --leaf: #1f5a34;           /* เขียวใบตอง: สีหลัก */
  --leaf-deep: #143f24;
  --leaf-light: #4a9a5f;
  --rice: #fbf7ea;           /* ครีมข้าวเหนียว: พื้นหลัก */
  --white: #ffffff;
  --turmeric: #e9a021;       /* เหลืองขมิ้น */
  --chili: #c63a22;          /* แดงพริก */
  --pick: #c7a06a;           /* ไม้กลัดไม้ไผ่ */
  --ink: #1c2a20;
  --muted: #54635a;
  --rule: #e3dcc5;
  --dew: #dcead9;            /* ตัวหนังสือรองบนพื้นเขียว */

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

  --s--1: 0.88rem;
  --s-0: 1rem;
  --s-1: 1.18rem;
  --s-2: 1.5rem;
  --s-3: 1.95rem;
  --s-4: 2.45rem;
  --s-5: 3.1rem;

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

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 109%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0; background: var(--rice); 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(--leaf); text-underline-offset: 0.2em; }
a:hover { color: var(--chili); }
a[href^="mailto:"] { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 3px; }

h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.4; margin: 0; text-wrap: balance; }
h3 { font-family: var(--body); font-weight: 600; line-height: 1.5; margin: 0; }
h1 { font-size: clamp(var(--s-3), 4.6vw, var(--s-5)); line-height: 1.3; }
h2 { font-size: clamp(var(--s-2), 3.2vw, 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(--turmeric); color: var(--ink); padding: 0.6em 1em; z-index: 60; }
.skip:focus { left: 0; }

/* ผิวใบตอง: เส้นใบเฉียงออกจากเส้นกลางใบ ใช้เป็นพื้นเขียวและพื้นสำรองเมื่อภาพโหลดไม่ขึ้น */
.leafbg {
  background:
    linear-gradient(90deg, transparent calc(50% - 2px), rgba(255,255,255,.16) calc(50% - 2px) calc(50% + 2px), transparent calc(50% + 2px)),
    repeating-linear-gradient(100deg, transparent 0 1.5rem, rgba(255,255,255,.07) 1.5rem 1.6rem) left / 50% 100% no-repeat,
    repeating-linear-gradient(80deg, transparent 0 1.5rem, rgba(255,255,255,.07) 1.5rem 1.6rem) right / 50% 100% no-repeat,
    linear-gradient(90deg, #17492a 0%, #26693d 50%, #17492a 100%);
}

/* ไม้กลัด: เครื่องหมายใต้หัวข้อ */
.pick { position: relative; display: block; width: 5.2rem; height: 1.3rem; margin-top: 0.6rem; }
.pick::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: var(--pick); clip-path: polygon(0 50%, 6% 0, 94% 0, 100% 50%, 94% 100%, 6% 100%); transform: rotate(-5deg); }
.pick::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.95rem; height: 0.95rem; margin: -0.475rem 0 0 -0.475rem; background: linear-gradient(135deg, var(--leaf-light), var(--leaf)); transform: rotate(45deg); border-radius: 2px; }
.band--leaf .pick::after, .hero .pick::after, .page-head .pick::after { background: linear-gradient(135deg, #8fd29f, var(--leaf-light)); }

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

.nav ul { list-style: none; display: flex; gap: 0.1rem; }
.nav a {
  display: block; padding: 0.4em 0.8em; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem;
}
.nav a:hover { background: var(--rice); }
.nav a[aria-current="page"] { background: var(--leaf); color: #fff; }

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

/* ---------- ปุ่ม ---------- */
.btn {
  display: inline-block; font-family: var(--body); font-weight: 600; font-size: 1.02rem; line-height: 1.4;
  padding: 0.72em 1.4em; border-radius: 8px; cursor: pointer; text-decoration: none;
  background: var(--leaf); color: #fff; border: 2px solid var(--leaf);
}
.btn:hover { background: var(--leaf-deep); border-color: var(--leaf-deep); color: #fff; }
.btn--line { background: transparent; color: var(--leaf); }
.btn--line:hover { background: var(--leaf); color: #fff; }
.btn--turmeric { background: var(--turmeric); border-color: var(--turmeric); color: var(--ink); }
.btn--turmeric:hover { background: #f4b949; border-color: #f4b949; color: var(--ink); }
.btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--leaf); }
.band--leaf .btn--turmeric, .hero .btn--turmeric { color: var(--ink); }
.band--leaf .btn--ghost, .hero .btn--ghost { color: #fff; }
.band--leaf .btn--ghost:hover, .hero .btn--ghost:hover { color: var(--leaf); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }

.pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; list-style: none; }
.pills li { border: 1.5px solid rgba(255,255,255,.5); border-radius: 999px; padding: 0.2em 1em; font-size: 0.95rem; color: #fff; }
.pills a { color: #ffd98a; font-weight: 600; text-decoration: none; white-space: nowrap; }
.pills a:hover { text-decoration: underline; }

/* ---------- แบนเนอร์หน้าแรก: ห่อใบตอง ---------- */
.hero { color: #fff; padding: clamp(2.6rem, 6vw, 4.6rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero__grid { display: grid; gap: clamp(2.2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; }
@media (max-width: 58rem) { .hero__grid { grid-template-columns: 1fr; } }
.hero__place { font-weight: 600; letter-spacing: 0.04em; color: #ffd98a; margin-bottom: 0.5rem; }
.hero__lead { font-size: var(--s-1); line-height: 1.75; color: var(--dew); margin-top: 1.1rem; max-width: 32em; }

.fold { position: relative; margin: 0 auto; width: min(100%, 32rem); padding: 1.1rem; }
.fold__frame { position: relative; z-index: 1; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--rice); box-shadow: 0 1.2rem 2.4rem rgba(0,0,0,.35); }
.fold__frame img { width: 100%; height: 100%; object-fit: cover; }
.fold::before, .fold::after {               /* มุมใบตองพับทับภาพ */
  content: ""; position: absolute; z-index: 2; width: 34%; aspect-ratio: 1;
  background:
    repeating-linear-gradient(45deg, transparent 0 0.9rem, rgba(255,255,255,.12) 0.9rem 1rem),
    linear-gradient(135deg, #5fb173, #2d7a45);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.3));
}
.fold::before { left: 0; top: 0; clip-path: polygon(0 0, 100% 0, 0 100%); }
.fold::after { right: 0; bottom: 1.4rem; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.fold__pick { position: absolute; z-index: 3; left: 1rem; top: 4.4rem; width: 7.4rem; height: 5px; background: var(--pick); clip-path: polygon(0 50%, 5% 0, 95% 0, 100% 50%, 95% 100%, 5% 100%); transform: rotate(-45deg); transform-origin: left center; box-shadow: 0 2px 2px rgba(0,0,0,.3); }
.fold figcaption { position: relative; z-index: 1; font-size: 0.74rem; color: var(--dew); margin-top: 0.5rem; }
.fold figcaption a { color: inherit; }

/* ---------- แบนเนอร์หน้าใน ---------- */
.page-head { position: relative; overflow: hidden; color: #fff; background: var(--leaf); }
.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(20,63,36,.95) 0%, rgba(20,63,36,.82) 50%, rgba(20,63,36,.3) 100%); }
.page-head__body { position: relative; z-index: 1; padding: clamp(2.6rem, 7vw, 4.6rem) 0; max-width: 40rem; }
.page-head__body p { font-size: var(--s-1); line-height: 1.75; margin-top: 1rem; color: var(--dew); }
.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(20,63,36,.7); 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--leaf { color: #fff; }
.band--leaf p { color: var(--dew); }
.band--leaf a { color: #ffd98a; }

.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--leaf .band__head p { color: var(--dew); }
.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; } }

/* ---------- ภาพถ่าย ---------- */
.photo { margin: 0; }
.photo__frame { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.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 figcaption { font-size: 0.75rem; color: var(--muted); margin-top: 0.45rem; }
.photo figcaption a { color: inherit; }
.band--leaf .photo figcaption { color: #b9d3bd; }
img.is-missing { visibility: hidden; }

/* ---------- สามกลุ่มสินค้า ---------- */
.sets { list-style: none; display: grid; gap: clamp(1.3rem, 3vw, 2rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 58rem) { .sets { grid-template-columns: 1fr; max-width: 30rem; } }
.set { background: var(--rice); border-radius: var(--radius); overflow: hidden; height: 100%; border-bottom: 5px solid var(--leaf); }
.band:not(.band--white) .set { background: var(--white); }
.set .photo__frame { border-radius: 0; aspect-ratio: 16 / 10; }
.set .photo figcaption { padding: 0 1.3rem; }
.set__body { padding: 0.7rem 1.3rem 1.4rem; }
.set__body h3 { font-family: var(--display); font-weight: 400; font-size: var(--s-2); }
.set__body p { color: var(--muted); margin-top: 0.2rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.8rem; }
.chips li { background: var(--white); border: 1.5px solid var(--leaf-light); color: var(--leaf-deep); border-radius: 999px; padding: 0.05em 0.8em; font-size: 0.93rem; font-weight: 500; }
.band:not(.band--white) .chips li { background: var(--rice); }
.set__body .more { display: inline-block; margin-top: 0.8rem; font-weight: 600; }

/* ---------- รายการของกิน ---------- */
.menu { list-style: none; counter-reset: mn; display: grid; gap: 0 clamp(1.5rem, 4vw, 3rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 62rem) { .menu { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 38rem) { .menu { grid-template-columns: 1fr; } }
.menu li { counter-increment: mn; position: relative; padding: 1rem 0 1.1rem 2.7rem; border-top: 1px dashed rgba(255,255,255,.35); }
.menu li::before { content: counter(mn); position: absolute; left: 0; top: 1rem; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--turmeric); color: var(--ink); font-family: var(--display); font-size: 1.15rem; }
.menu h3 { color: #fff; }
.menu p { margin-top: 0.15rem; font-size: 0.97rem; }

/* ---------- ขั้นตอนและการ์ด ---------- */
.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; }
.flow li::before { content: counter(fl); display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: 50%; background: var(--leaf); color: #fff; font-family: var(--display); font-size: 1.4rem; margin-bottom: 0.7rem; }
.flow p { margin-top: 0.3rem; color: var(--muted); }

.ways { list-style: none; display: grid; gap: 1.1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ways--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 62rem) { .ways, .ways--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .ways, .ways--4 { grid-template-columns: 1fr; } }
.ways li { background: var(--white); border-radius: var(--radius); padding: 1.2rem 1.3rem 1.4rem; border-left: 5px solid var(--turmeric); }
.band--white .ways li { background: var(--rice); }
.ways p { margin-top: 0.4rem; color: var(--muted); }
.note { margin-top: 1.8rem; font-size: 0.94rem; color: var(--muted); }
.band--leaf .note { color: #b9d3bd; }

/* ---------- รายการหัวข้อ-คำอธิบาย ---------- */
.deflist { margin: 0; }
.deflist div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 0.3rem 1.8rem; padding: 1rem 0; border-top: 1px solid var(--rule); }
.deflist div:last-child { border-bottom: 1px solid var(--rule); }
.deflist dt { font-weight: 600; font-size: 1.08rem; line-height: 1.55; color: var(--leaf-deep); }
.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.7rem; }
.ticks li { position: relative; padding-left: 1.6rem; margin-top: 0.4rem; max-width: 38em; }
.ticks li::before { content: ""; position: absolute; left: 0.1rem; top: 0.55em; width: 0.7rem; height: 0.7rem; background: linear-gradient(135deg, var(--leaf-light), var(--leaf)); transform: rotate(45deg); 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-family: var(--display); font-weight: 400; font-size: clamp(var(--s-2), 2.8vw, var(--s-3)); }
.item h4 { font-family: var(--body); font-weight: 600; font-size: 1.05rem; 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 { background: var(--white); border-radius: var(--radius); margin-top: 0.7rem; border: 1px solid var(--rule); }
.band--white .faq details { background: var(--rice); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  font-weight: 600; font-size: 1.07rem; line-height: 1.55;
  padding: 0.9rem 3.2rem 0.9rem 1.3rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  font-size: 1.7rem; font-weight: 500; color: var(--chili); line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 1.3rem 1.2rem; 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(--rice); color: var(--ink); border-radius: var(--radius); padding: 0.5rem 1.5rem; }
.cta__card div { padding: 0.8rem 0; border-top: 1px dashed #cfc7ab; }
.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--leaf .cta__card a { font-weight: 600; font-size: 1.1rem; line-height: 1.6; color: var(--leaf-deep); text-decoration: none; overflow-wrap: anywhere; }
.band--leaf .cta__card a:hover { color: var(--chili); text-decoration: underline; }

/* ---------- ตารางข้อมูลบริษัท ---------- */
.spec { width: 100%; border-collapse: collapse; background: var(--rice); border-radius: var(--radius); overflow: hidden; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 0.9em 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-family: var(--body); font-weight: 600; 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.95rem; 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 { font-family: var(--display); font-weight: 400; font-size: var(--s-4); line-height: 1.3; color: var(--leaf); white-space: nowrap; }

.form { background: var(--white); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--rule); border-top: 8px solid var(--leaf); }
.form h2 { font-size: var(--s-2); }
.form > p { color: var(--muted); margin-top: 0.6rem; font-size: 0.96rem; }
.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(--rice);
  padding: 0.5em 0.85em; border: 1.5px solid #93a08f; border-radius: 8px;
}
.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(--turmeric); outline-offset: 0; border-color: var(--leaf); }
.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(--rice); border-radius: var(--radius); overflow: hidden; 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.95rem; max-width: none; }

/* ---------- ส่วนท้าย ---------- */
.site-foot { background: #0f2f1b; color: var(--dew); padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; font-size: 0.96rem; }
.site-foot a { color: #fff; }
.site-foot a:hover { color: #ffd98a; }
.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-family: var(--body); font-weight: 600; 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: #9fbba4;
}
.site-foot__base p { max-width: none; margin: 0; }

/* ---------- การเคลื่อนไหว: มุมใบตองคลี่ออกเล็กน้อยตอนเปิดหน้าแรก ---------- */
@media (prefers-reduced-motion: no-preference) {
  .fold::before { animation: unfold-a 0.8s ease-out both; }
  .fold::after { animation: unfold-b 0.8s ease-out 0.1s both; }
  @keyframes unfold-a { from { transform: translate(18%, 18%); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes unfold-b { from { transform: translate(-18%, -18%); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media print {
  .site-head { position: static; }
  .nav, .nav-toggle, .btn-row, .map { display: none; }
}
