/* เว็บไซต์ของพร้อมพ์พา (ร่าง 27 พ.ย. 2026)
   ฟอนต์และสีเลือกจากการวัด (site/README.md): หัวข้อ Anuphan เนื้อหา Sarabun (ตัวมีหัว ตัวไทยใหญ่สุดและแยกตัวคล้ายกันได้ดีสุด
   ในฟอนต์ฟรี 10 ตัวที่วัด) ปุ่มหลักเขียวหัวเป็ดสด 008071 (ตัวหนังสือขาว 4.85:1 ผ่าน WCAG AA) คู่กรมท่า แทนเขียว LINE (2.3:1 ไม่ผ่าน)
   โครงและจังหวะแบบตลาดกลางผู้ดูแลสากลอย่าง Mable: พื้นขาว หัวข้อตัวหนา การ์ดมุมโค้ง ปุ่มสองแบบสำหรับสองกลุ่มคน
   สี: เขียวหัวเป็ดสด (ปุ่มหลัก) กรมท่า (ปุ่มรอง หัวข้อ และพื้นท้ายเว็บ) มิ้นต์อ่อน (ตกแต่ง)
   ฟอนต์ IBM Plex Sans Thai Looped (ตัวมีหัว อ่านง่ายสำหรับผู้สูงอายุ SIL OFL) เก็บใน assets/fonts ไม่เรียกบริการภายนอก */

@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/sarabun-400-thai.woff2) format("woff2");
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/sarabun-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/sarabun-600-thai.woff2) format("woff2");
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/sarabun-600-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Anuphan";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/anuphan-600-thai.woff2) format("woff2");
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
  font-family: "Anuphan";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/anuphan-600-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/sarabun-500-thai.woff2) format("woff2");
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/sarabun-500-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Anuphan";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/anuphan-700-thai.woff2) format("woff2");
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
  font-family: "Anuphan";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/anuphan-700-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1b2432;
  /* ตัวหนังสือรองเข้มขึ้น (เดิม 5A6472 6.0:1) ตัวหนังสือสีเทาอ่อนทำให้ดูเบลอ เว็บสากลใช้เกือบดำ */
  --muted: #3d4654;
  --navy: #1f3a68;
  --navy-dark: #142a52;
  --mint: #2dbe9f;
  --mint-soft: #e3f6f1;
  --tint: #f5f7fa;
  --line: #e2e6ec;
  /* ปุ่มหลัก: เขียวหัวเป็ดสด 008071 (อิ่มสีเต็ม) ตัวหนังสือขาว 4.85:1 ผ่าน WCAG AA
     เจ้าของ 27 พ.ย. 2026: กลับไปสีเดิม (เขียวหัวเป็ดคู่กรมท่า) แต่ขอเฉดคมและชัดกว่า 0F766E ซึ่งอมเทา
     เขียว LINE ได้แค่ 2.3:1 จึงไม่ใช้ มิ้นต์อ่อนใช้ตกแต่งเท่านั้น ห้ามเป็นตัวหนังสือบนพื้นขาว */
  --accent: #008071;
  --accent-dark: #00665a;
  --radius: 16px;
  --shadow: 0 2px 4px rgba(23, 39, 67, 0.04), 0 8px 24px rgba(23, 39, 67, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Sarabun", -apple-system, BlinkMacSystemFont, "Sukhumvit Set", "Noto Sans Thai", sans-serif;
  font-size: 18px;
  /* Sarabun Medium แทน Regular เส้นหนาขึ้น ตัวไทยคมขึ้นบนจอ (Mable ใช้ Inclusive Sans และ Jaga-Me ใช้ Metropolis
     ซึ่งเป็นตัวละตินที่เส้นเรียบกว่าตัวไทย จึงต้องชดเชยด้วยน้ำหนักและสีที่เข้มกว่า) */
  font-weight: 500;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--navy);
}

img {
  max-width: 100%;
}

figure {
  margin: 0;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap.narrow {
  max-width: 800px;
}

h1,
h2,
h3,
.brand {
  color: var(--navy-dark);
  font-family: "Anuphan", "Sarabun", sans-serif;
  font-weight: 600;
}

h1,
h2 {
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.3;
}

h3 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.4;
}

.center {
  text-align: center;
}

.sub {
  max-width: 720px;
  margin: 0 0 36px;
  color: var(--muted);
}

.sub.center {
  margin-right: auto;
  margin-left: auto;
}

.note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* ปุ่ม */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 26px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.btn.small {
  min-height: 42px;
  padding: 6px 18px;
  font-size: 16px;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
}

.btn.primary:hover {
  background: var(--accent-dark);
}

.btn.secondary {
  background: var(--navy);
  color: #fff;
}

.btn.secondary:hover {
  background: var(--navy-dark);
}

.btn.outline {
  border-color: var(--navy);
  background: #fff;
  color: var(--navy);
}

/* แถบบน */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.top-row {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-dark);
  font-size: 21px;
  font-weight: 600;
  text-decoration: none;
}

.menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.menu > a,
.drop > summary {
  color: var(--ink);
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
}

.menu > a:hover,
.drop > summary:hover {
  color: var(--accent);
}

.drop {
  position: relative;
}

.drop > summary {
  list-style: none;
}

.drop > summary::-webkit-details-marker {
  display: none;
}

.menu .drop > summary::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.drop-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  z-index: 30;
  display: grid;
  gap: 2px;
  width: 320px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(23, 39, 67, 0.14);
}

.drop-panel.right {
  right: 0;
  left: auto;
  width: 260px;
}

.drop-panel a {
  display: grid;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
}

.drop-panel a:hover {
  background: var(--tint);
}

.drop-panel span {
  color: var(--muted);
  font-size: 14px;
}

.drop-panel p {
  margin: 6px 12px 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.drop-panel p a {
  display: inline;
  padding: 0;
  font-weight: 600;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.mobile-menu {
  display: none;
}

.mobile-menu summary {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  list-style: none;
  font-weight: 600;
  cursor: pointer;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu nav {
  position: absolute;
  top: 66px;
  right: 16px;
  display: grid;
  min-width: 230px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(23, 39, 67, 0.14);
}

.mobile-menu nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}

.mobile-menu .login-link {
  color: var(--muted);
  font-size: 15px;
}

/* หัวเว็บ */
.hero {
  padding: 64px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 56px;
}

.lead {
  max-width: 580px;
  margin: 20px 0 30px;
  color: var(--muted);
  font-size: 19px;
}

.lead b {
  color: var(--navy-dark);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.call {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.call a {
  font-weight: 600;
}

.hero-photo {
  position: relative;
  justify-self: end;
  width: min(100%, 460px);
}

/* วงสีมิ้นต์หลังรูปหัวเว็บ */
.hero-photo::before {
  content: "";
  position: absolute;
  top: -24px;
  right: -24px;
  z-index: -1;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--mint-soft);
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

/* ตัวเลข */
.stats {
  padding: 8px 0 56px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stats-row > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
}

.stats svg {
  grid-row: 1 / 3;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 12px;
  background: var(--mint-soft);
  fill: none;
  stroke: #008071;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stats b {
  color: var(--navy-dark);
  font-size: 19px;
  line-height: 1.3;
}

.stats span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

/* ส่วนต่าง ๆ */
.block {
  padding: 80px 0;
}

.block.tint {
  background: var(--tint);
}

/* ขั้นตอน */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
}

.steps p,
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* การ์ด */
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.card-cta {
  border-color: transparent;
  background: var(--navy);
  box-shadow: none;
}

.card-cta h3,
.card-cta p,
.card-cta a {
  color: #fff;
}

.card-cta a {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
}

/* แบ่งสองฝั่ง */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 56px;
}

.split-photo img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.checks {
  display: grid;
  gap: 16px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 40px;
  color: var(--muted);
}

.checks li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008071' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.checks b {
  display: block;
  color: var(--ink);
}

/* ราคา */
.table-card {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.prices {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.prices th,
.prices td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  vertical-align: top;
  white-space: nowrap;
}

.prices tbody tr:last-child th,
.prices tbody tr:last-child td {
  border-bottom: 0;
}

.prices thead th {
  background: var(--tint);
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.prices th:first-child {
  text-align: left;
  white-space: normal;
}

.prices tbody th {
  color: var(--navy-dark);
}

.prices tbody th small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.prices td {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* คำว่า เริ่มต้น เหนือราคา (ทีมงานแก้ราคาได้ในหลังบ้าน หน้าจองบอกราคาจริงก่อนกดยืนยัน) */
.prices .from {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.h3-gap {
  margin-top: 44px;
  margin-bottom: 16px;
}

.vehicles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.vehicles .card {
  padding: 0 0 22px;
  overflow: hidden;
}

.vehicles img {
  display: block;
  width: 100%;
  height: 170px;
  margin-bottom: 14px;
  object-fit: contain;
  background: #fff;
}

.vehicles h3,
.vehicles p {
  padding: 0 22px;
}

.vehicles strong {
  color: var(--ink);
}

/* แถบลูกแพลนบี */
.band {
  padding: 72px 0;
  background: var(--navy);
  color: #e6ecf4;
}

.band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 56px;
}

.band h2 {
  color: #fff;
}

.band p {
  max-width: 560px;
  margin: 0 0 26px;
}

.band .band-kicker {
  margin: 0 0 6px;
  color: var(--mint);
  font-weight: 600;
}

.band img {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  margin-left: auto;
  border-radius: 24px;
}

/* ทีมพา */
.people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.person {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.person img {
  width: 96px;
  height: 120px;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  background: var(--mint-soft);
}

.person figcaption {
  display: grid;
  gap: 2px;
}

.person b {
  color: var(--navy-dark);
  font-size: 20px;
}

.person span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.worker-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.worker-points div {
  display: grid;
  gap: 2px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--mint-soft);
}

.worker-points b {
  color: var(--navy-dark);
}

.worker-points span {
  color: var(--muted);
  font-size: 15px;
}

/* พื้นที่ */
.areas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.area.open {
  border-color: var(--mint);
  box-shadow: 0 0 0 1px var(--mint), var(--shadow);
}

.state {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--mint-soft);
  color: #00665a;
  font-size: 14px;
  font-weight: 600;
}

.state.soon {
  background: #fff1d6;
  color: #7a4b00;
}

.state.ask {
  background: var(--tint);
  color: var(--muted);
}

/* คำถาม */
details.faq,
#faq details {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

#faq summary {
  padding: 18px 22px;
  color: var(--navy-dark);
  font-weight: 600;
  cursor: pointer;
}

#faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

/* เกี่ยวกับเราและติดต่อ */
#about .split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}

#about p {
  color: var(--muted);
}

#about .quote {
  margin-top: 20px;
  color: var(--navy);
  font-size: 24px;
  font-weight: 600;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact {
  display: grid;
  gap: 2px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.contact.line-card {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
}

.contact b {
  overflow-wrap: anywhere;
}

.contact span {
  color: var(--muted);
  font-size: 15px;
}

/* ท้ายเว็บ */
.foot {
  padding: 56px 0 104px;
  background: var(--navy-dark);
  color: #d5deea;
  font-size: 15px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.foot-company p {
  margin: 6px 0;
}

.foot nav {
  display: grid;
  align-content: start;
  gap: 6px;
}

.foot nav b {
  margin-bottom: 4px;
  color: #fff;
}

.foot a,
.foot span {
  color: #d5deea;
  text-decoration: none;
}

.foot a:hover {
  color: #fff;
  text-decoration: underline;
}

.foot .staff-link {
  color: #9fb0c5;
  font-size: 14px;
}

.copy {
  margin-top: 32px;
  color: #9fb0c5;
}

/* ข้อความเรื่องการนับการเข้าชม (stats.js) */
.privacy-note {
  margin-top: 8px;
  color: #9fb0c5;
  font-size: 13px;
  line-height: 1.6;
}

.sticky-cta {
  display: none;
}

@media (max-width: 1060px) {
  .menu {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero-grid,
  .split,
  #about .split,
  .band-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    justify-self: start;
  }

  .stats-row,
  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }

  .steps,
  .vehicles,
  .people,
  .worker-points,
  .areas {
    grid-template-columns: 1fr;
  }

  .band img {
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding: 0 18px;
  }

  .hero {
    padding: 32px 0 40px;
  }

  .block {
    padding: 56px 0;
  }

  .top-row {
    gap: 12px;
  }

  .top-actions .btn.primary {
    display: none;
  }

  .top-actions {
    margin-left: auto;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .foot-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo::before {
    top: -14px;
    right: -10px;
  }

  .sticky-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: #fff;
  }

  .sticky-cta .btn {
    padding: 8px 12px;
  }
}

/* --- เครื่องมือจากเว็บสากล (27 พ.ย. 2026) ---
   ต้องการความช่วยเหลือเรื่องไหน (แบบ Jaga-Me) เช็กพื้นที่ (แบบค้นตามรหัสไปรษณีย์ของ Mable)
   ใช้ผ่าน LINE ไม่ต้องโหลดแอป (แทนส่วนดาวน์โหลดแอปของ Mable) เตรียมตัวก่อนวันนัด (แบบหน้าคู่มือ) ปุ่ม LINE ลอย */
.helper {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.helper label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy-dark);
  font-weight: 600;
}

.helper-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.helper select,
.helper input {
  flex: 1 1 260px;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid #c7ced8;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.helper-result {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--mint-soft);
  color: var(--ink);
}

.helper-result[hidden] {
  display: none;
}

.helper-result a {
  font-weight: 600;
}

.area-check {
  max-width: 640px;
  margin-bottom: 28px;
}

.value-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.value-row div {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.value-row b {
  display: block;
  color: var(--navy-dark);
}

.value-row span {
  color: var(--muted);
  font-size: 16px;
}

.no-app {
  margin-top: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: 36px;
  border-radius: 24px;
  background: var(--mint-soft);
}

.no-app ol {
  margin: 0;
  padding-left: 22px;
  color: var(--ink);
}

.no-app li {
  margin: 6px 0;
}

.prep {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.prep li {
  position: relative;
  padding: 10px 0 10px 34px;
  border-bottom: 1px solid var(--line);
}

.prep li::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent);
  border-radius: 6px;
}

.float-chat {
  border: 0;
  font: inherit;
  cursor: pointer;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 128, 113, 0.32);
}

.float-chat svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

@media (max-width: 860px) {
  .value-row,
  .no-app,
  .prep {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .float-chat {
    display: none;
  }

  .no-app {
    padding: 24px;
  }
}

/* --- แชทกับทีมงานจากหน้าเว็บ (chat.js) --- */
body.chat-open .float-chat {
  display: none;
}

.chat-panel {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 48px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(20, 42, 82, 0.25);
}

.chat-panel[hidden] {
  display: none;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--navy);
  color: #fff;
}

.chat-head img {
  padding: 2px;
  border-radius: 8px;
  background: #fff;
}

.chat-head div {
  display: grid;
  flex: 1;
  line-height: 1.35;
}

.chat-head span {
  color: #cfd9e8;
  font-size: 14px;
}

.chat-head button {
  flex: none;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.chat-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-height: 220px;
  padding: 16px;
  overflow-y: auto;
  background: var(--tint);
}

.chat-list[hidden],
.chat-start[hidden],
.chat-send[hidden],
.chat-error[hidden] {
  display: none;
}

.bubble {
  max-width: 82%;
  padding: 8px 12px;
  border-radius: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.bubble.me {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: var(--accent);
  color: #fff;
}

.bubble.staff {
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  background: #fff;
  border: 1px solid var(--line);
}

.chat-wait {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.chat-start,
.chat-send {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
}

.chat-start p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.chat-start .chat-note {
  font-size: 13px;
}

.chat-panel input,
.chat-panel textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c7ced8;
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
  resize: none;
}

.chat-send {
  grid-template-columns: 1fr auto;
  align-items: end;
  border-top: 1px solid var(--line);
}

.chat-panel .btn {
  min-height: 44px;
}

.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.chat-error {
  margin: 0 16px 10px;
  color: #b42318;
  font-size: 14px;
}

.chat-alt {
  margin: 0;
  padding: 10px 16px 14px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* ปุ่มขยาย และหน้าต่างขนาดใหญ่ (ตัวหนังสือใหญ่ขึ้นสำหรับผู้สูงอายุ) */
.chat-head .chat-icon {
  display: grid;
  place-items: center;
}

.chat-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat-head button:hover {
  background: rgba(255, 255, 255, 0.24);
}

.chat-head button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.chat-panel.large {
  width: min(640px, calc(100vw - 48px));
  height: min(860px, calc(100vh - 48px));
  max-height: none;
  font-size: 19px;
}

.chat-panel.large .chat-head b {
  font-size: 19px;
}

.chat-panel.large .bubble,
.chat-panel.large input,
.chat-panel.large textarea,
.chat-panel.large .chat-start p {
  font-size: 19px;
}

.chat-panel.large .chat-wait,
.chat-panel.large .chat-alt {
  font-size: 16px;
}

/* มุมซ้ายบนสำหรับลากปรับขนาด: เส้นทแยงสองเส้นบนหัวสีกรมท่า */
.chat-grip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 22px;
  height: 22px;
  cursor: nwse-resize;
  touch-action: none;
  background: linear-gradient(135deg, transparent 6px, rgba(255, 255, 255, 0.55) 6px, rgba(255, 255, 255, 0.55) 7.5px, transparent 7.5px, transparent 10px, rgba(255, 255, 255, 0.55) 10px, rgba(255, 255, 255, 0.55) 11.5px, transparent 11.5px);
  transform: rotate(180deg);
}

@media (max-width: 600px) {
  .chat-panel,
  .chat-panel.large {
    inset: 0;
    width: 100%;
    height: auto;
    max-height: none;
    border-radius: 0;
  }

  .chat-grip {
    display: none;
  }

  body.chat-open .sticky-cta {
    display: none;
  }
}

/* --- หน้าต่าง จองบริการ: จองเองใน LINE หรือให้ทีมงานจองให้ (27 พ.ย. 2026) --- */
.book-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
  background: rgba(20, 42, 82, 0.45);
}

.book-backdrop[hidden] {
  display: none;
}

body.book-open {
  overflow: hidden;
}

body.book-open .float-chat {
  display: none;
}

.book-dialog {
  width: min(960px, 100%);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(20, 42, 82, 0.3);
}

.book-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

.book-head h2 {
  margin: 0;
  font-size: 24px;
}

.book-head h2:focus {
  outline: none;
}

.book-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--tint);
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
}

.book-ways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 24px;
}

.book-way {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.book-way h3 {
  margin: 0;
  color: var(--navy-dark);
  font-size: 21px;
}

.book-way > p {
  margin: 0;
  color: var(--muted);
}

.book-tag {
  justify-self: start;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 600;
}

.book-howto {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--tint);
}

.book-howto summary {
  color: var(--navy-dark);
  font-weight: 600;
  cursor: pointer;
}

.book-howto ol {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding-left: 22px;
}

.book-howto p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.book-form {
  display: grid;
  gap: 12px;
}

.book-form label {
  display: grid;
  gap: 4px;
  color: var(--navy-dark);
  font-size: 15px;
  font-weight: 600;
}

.book-form input,
.book-form select,
.book-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #c7ced8;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  resize: none;
}

.book-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.book-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.book-error {
  margin: 0;
  color: #b42318;
  font-size: 15px;
}

.book-error[hidden],
.book-form[hidden],
.book-done[hidden] {
  display: none;
}

.book-done {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 12px;
  background: var(--mint-soft);
}

.book-done b {
  color: var(--accent-dark);
  font-size: 19px;
}

.book-done p {
  margin: 0;
}

@media (max-width: 760px) {
  .book-backdrop {
    padding: 0;
  }

  .book-dialog {
    min-height: 100%;
    border-radius: 0;
  }

  .book-ways {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .book-head {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 14px 16px;
    background: #fff;
  }

  body.book-open .sticky-cta {
    display: none;
  }
}

/* แถบประกาศบนสุด ทีมงานแก้ข้อความได้จากหลังบ้าน (ว่าง = ซ่อน) */
.announce {
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  font-weight: 500;
  text-align: center;
}

.announce[hidden] {
  display: none;
}

/* ลิงก์ข้ามไปที่เนื้อหา: ซ่อนจนกด Tab ครั้งแรก (คนใช้แป้นพิมพ์และโปรแกรมอ่านหน้าจอ) */
.skip-link {
  position: absolute;
  top: 0;
  left: 16px;
  transform: translateY(-120%);
  z-index: 100;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: none;
}

/* เบอร์ฉุกเฉินท้ายทุกหน้า (เราไม่รับงานฉุกเฉิน) */
.emergency {
  margin-top: 24px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: #fff;
  line-height: 1.6;
}

.emergency b {
  color: #ffd2cc;
}

.foot.slim {
  padding-top: 8px;
  padding-bottom: 24px;
}

/* ท้ายหน้ามี 5 คอลัมน์ (เพิ่ม ติดต่อและติดตาม 28 พ.ย. 2026) */
@media (min-width: 1061px) {
  .foot-grid {
    grid-template-columns: 1.4fr repeat(4, 1fr);
  }
}
