/* Phuket Private City Tour — หน้าเว็บฝั่งลูกค้า (รอบ 2: "โปสการ์ดจากอันดามัน")
   ทิศทาง: พื้นกระดาษครีมมีเกรน · เขียวทะเลลึกเป็นสีหลัก · ส้มแดดเย็นเป็นจุดเน้น · ตัวหนังสือใหญ่แบบนิตยสาร
   ลายเซ็นของเว็บ: ขอบคลื่นใต้แบนเนอร์ · ตราประทับวงกลม · เส้นทางทริปเส้นประเชื่อมหมุด · แถบชื่อทัวร์วิ่ง · ชื่อแบรนด์ยักษ์ท้ายเว็บ
   กฎเหล็ก: ทุกส่วนต้องยังสวยเมื่อลูกค้าใส่ข้อความสั้นมากหรือยาวมาก และต้องไม่ล้นจอที่ 360px */

:root {
  --accent: #12463c;
  --accent-2: #0c3029;
  --accent-ink: #ffffff;
  --accent-soft: #e2ebe3;
  --sun: #d9713a;
  --sun-soft: #f6dcc5;
  --gold: #c9974a;
  --ink: #1f2522;
  --muted: #5f5a50;
  --paper: #f6efe2;
  --paper-2: #ede2cd;
  --card: #fffaf1;
  --line: #ddcfb4;
  --radius: 18px;
  --font: 'IBM Plex Sans Thai', -apple-system, 'Segoe UI', sans-serif;
  --display: var(--font);
  --gap: clamp(72px, 10vw, 136px);
  --pad: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 1px 2px rgba(31, 37, 34, .06), 0 18px 40px -22px rgba(31, 37, 34, .35);
  /* เกรนกระดาษ — SVG noise ฝังในไฟล์ ไม่โหลดรูปเพิ่ม */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.28 0 0 0 0 0.18 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper) var(--grain);
  font-size: 17px; line-height: 1.75; -webkit-text-size-adjust: 100%; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.4; margin: 0; text-wrap: balance; font-weight: 700; letter-spacing: -.01em; }
p { text-wrap: pretty; }
svg { flex: none; }
::selection { background: var(--sun); color: #fff; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.sec { padding-block: var(--gap); position: relative; }
/* ส่วนพื้นเดียวกันที่ต่อกัน ไม่ต้องเว้นซ้อนสองเท่า */
.sec:not(.sec-deep):not(.sec-route) + .sec:not(.sec-deep):not(.sec-route) { padding-top: 0; }

/* หัวข้อส่วน — ชิดซ้ายแบบนิตยสาร มีหมุดส้มนำหน้าเส้น */
.sec-head { max-width: 760px; margin: 0 0 clamp(36px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(30px, 4.6vw, 54px); line-height: 1.4; }
.sec-head h2::before {
  content: ''; display: block; width: 64px; height: 12px; margin-bottom: 18px;
  background: radial-gradient(circle at 6px 6px, var(--sun) 5px, transparent 5.5px) 0 0 / 12px 12px no-repeat,
    linear-gradient(90deg, var(--sun) 50%, transparent 0) 18px 5px / 8px 2px repeat-x;
}
.sec-intro { color: var(--muted); margin: 18px 0 0; font-size: 18px; max-width: 56ch; }

/* ---------- ปุ่ม ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 28px; border-radius: 999px; font-size: 16px; font-weight: 600; line-height: 1.4;
  background: var(--accent); color: var(--accent-ink); text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--accent); min-height: 50px; font-family: inherit;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), color .2s;
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); box-shadow: 0 10px 24px -12px rgba(18, 70, 60, .7); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-ghost { background: transparent; color: var(--accent); border-color: currentColor; }
.btn-ghost:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-light { background: var(--paper); color: var(--accent); border-color: var(--paper); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--accent-2); }
.btn-accent { background: var(--accent); border-color: var(--accent); }

/* ---------- แถบบน + หัวเว็บ ---------- */
.topbar { background: var(--accent-2); color: #f3ead8; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; white-space: nowrap; }
.topbar svg, .hero-phone svg, .cta-phone svg, .foot-col svg, .faq-call svg, .hero-geo svg {
  width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8;
}

/* ห้ามใส่ backdrop-filter/transform/filter ที่หัวเว็บ — เมนูมือถือแยกออกไปอยู่นอกหัวเว็บแล้วก็จริง แต่กันไว้ไม่ให้ใครเผลอ */
.nav { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(31, 37, 34, .5); }
.nav .wrap { display: flex; align-items: center; gap: 20px; min-height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.logo img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.logo-text { display: grid; line-height: 1.4; min-width: 0; }
.logo-text b { font-size: clamp(16px, 2vw, 20px); color: var(--accent); font-weight: 700; letter-spacing: -.01em; }
.logo-text small { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dnav { margin-inline-start: auto; display: flex; gap: 2px; }
.dnav a { text-decoration: none; padding: 8px 12px; font-size: 15.5px; color: var(--ink); position: relative; white-space: nowrap; }
.dnav a::after {
  content: ''; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%;
  background: var(--sun); transform: scale(0); transition: transform .25s var(--ease);
}
.dnav a:hover::after, .dnav a[aria-current="page"]::after { transform: scale(1); }
.dnav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.nav-cta { padding: 10px 22px; min-height: 46px; font-size: 15px; }
.nav-toggle {
  display: none; width: 48px; height: 48px; margin-inline-start: auto; border: 0; background: transparent;
  cursor: pointer; padding: 12px; flex-direction: column; justify-content: center; gap: 6px; position: relative; z-index: 60;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* เมนูมือถือ — อยู่นอก header เต็มจอเสมอ */
.mnav {
  position: fixed; inset: 0; z-index: 50; background: var(--paper) var(--grain);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 112px var(--pad) calc(28px + env(safe-area-inset-bottom, 0px));
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s;
}
body.nav-open { overflow: hidden; }
body.nav-open .mnav { opacity: 1; visibility: visible; }
body.nav-open .nav { z-index: 55; }
.mnav nav { display: grid; }
.mnav nav a { text-decoration: none; font-size: 26px; font-weight: 600; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.mnav nav a[aria-current="page"] { color: var(--sun); }
.mnav-foot { display: grid; gap: 10px; }

/* ---------- แบนเนอร์ ---------- */
.hero { position: relative; overflow: hidden; background: var(--accent-2); }
.hero-track { display: flex; }
.hero-slide { position: relative; flex: 0 0 100%; display: grid; align-content: end; overflow: hidden; }
.hero-full .hero-slide { min-height: min(88vh, 860px); }
.hero-compact .hero-slide { min-height: clamp(280px, 44vh, 440px); align-content: end; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
/* ภาพแบนเนอร์ซูมช้าๆ (เคารพ reduced-motion ด้านล่าง) */
.hero-full .hero-bg img { animation: drift 18s var(--ease) both; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-full .hero-slide::after, .hero-compact .hero-slide::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 30, 26, .78) 0%, rgba(10, 30, 26, .42) 42%, rgba(10, 30, 26, 0) 72%),
    linear-gradient(0deg, rgba(10, 30, 26, .7) 0%, rgba(10, 30, 26, 0) 50%);
}
.hero-slide > .wrap { position: relative; z-index: 2; width: 100%; }
.hero-body { color: #fff; padding-block: clamp(64px, 10vw, 140px) clamp(96px, 11vw, 150px); max-width: 780px; }
.hero-compact .hero-body { padding-block: clamp(40px, 6vw, 72px); }
.hero-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 22px; font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.hero-kicker > span:first-child:not(.hero-count) {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .32);
}
.hero-count { display: inline-flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; opacity: .9; }
.hero-count i { display: block; width: 36px; height: 1.5px; background: currentColor; opacity: .6; }
.hero-title { font-size: clamp(42px, 8.2vw, 104px); line-height: 1.4; margin: 0 0 18px; font-weight: 700; letter-spacing: -.02em; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-compact .hero-title { font-size: clamp(34px, 5.4vw, 60px); margin-bottom: 10px; }
.hero-sub { font-size: clamp(17px, 1.8vw, 21px); margin: 0 0 34px; max-width: 40ch; opacity: .95; line-height: 1.75; }
.hero-compact .hero-sub { margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hero-compact .hero-actions:has(.btn) { margin-top: 20px; }
.hero-compact .hero-actions:not(:has(*)) { display: none; }
.hero .btn-accent { background: var(--sun); color: #fff; border-color: var(--sun); padding-inline: 32px; }
.hero .btn-accent::after { content: '→'; transition: transform .2s var(--ease); }
.hero .btn-accent:hover { background: #c45f2a; border-color: #c45f2a; }
.hero .btn-accent:hover::after { transform: translateX(4px); }
.hero-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; font-size: 17px; }
.hero-phone:hover span { text-decoration: underline; text-underline-offset: 4px; }
.hero-geo {
  position: absolute; z-index: 3; right: var(--pad); top: 50%; margin: 0; color: rgba(255, 255, 255, .78);
  writing-mode: vertical-rl; display: flex; gap: 12px; align-items: center; font-size: 14px; letter-spacing: .06em;
  transform: translateY(-50%);
}
.hero-geo svg { transform: rotate(90deg); }
/* ขอบคลื่นทะเลใต้แบนเนอร์ */
.hero-edge { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(28px, 4vw, 60px); z-index: 3; fill: var(--paper); }

.hero-split .hero-slide { background: var(--paper); }
.hero-split .hero-slide::after { display: none; }
.hero-split .hero-split { display: grid; gap: 24px; align-items: center; padding-block: 32px; }
.hero-split .hero-body { color: var(--ink); padding-block: 0; }
.hero-split .hero-pic img { width: 100%; border-radius: var(--radius); }

.hero-dots { display: flex; gap: 0; position: absolute; left: var(--pad); bottom: clamp(36px, 5vw, 70px); z-index: 4; }
.hero-full .hero-dots { left: max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad))); }
.hero-dots button, .hero-dots button[aria-current="true"] {
  width: 44px; height: 44px; border: 0; padding: 0; cursor: pointer; background: transparent; position: relative;
}
.hero-dots button::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 26px; height: 3px; border-radius: 3px;
  transform: translate(-50%, -50%); background: rgba(255, 255, 255, .4); transition: background .2s, width .25s var(--ease);
}
.hero-dots button[aria-current="true"]::before { width: 36px; background: var(--sun); }
.hero-compact .hero-dots { display: none; }

/* ---------- จุดเด่น แบบตราประทับ ---------- */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.features-stamp .feature {
  position: relative; padding: clamp(20px, 2.6vw, 30px); border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.features-stamp .feature:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: var(--shadow); }
.features-stamp .feature-no {
  position: absolute; right: 14px; bottom: -18px; font-size: clamp(64px, 7vw, 96px); font-weight: 700; line-height: 1.4;
  color: transparent; -webkit-text-stroke: 1.5px var(--line); letter-spacing: -.04em; pointer-events: none;
}
.feature-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.feature-icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: var(--accent); color: #fff;
}
.features-stamp .feature-icon::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px dashed var(--sun); transition: transform .6s var(--ease);
}
.features-stamp .feature:hover .feature-icon::after { transform: rotate(90deg); }
.feature-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.feature-no { font-size: 14px; font-weight: 600; color: var(--sun); letter-spacing: .08em; }
.feature h3 { font-size: 19px; margin-bottom: 6px; position: relative; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.7; position: relative; }

/* ---------- จุดเด่น แบบเส้นทางทริป (หมุด + เส้นประ) ---------- */
/* พื้นทรายอุ่น — ไม่ชนกับพื้นเขียวของแกลเลอรีที่มักอยู่ถัดไป */
.sec-route { background: var(--sun-soft) var(--grain); color: var(--ink); }
.sec-route + .sec-deep { margin-top: 0; }
.features-route { grid-template-columns: 1fr; gap: 0; position: relative; }
.features-route .feature { position: relative; padding: 0 0 34px 76px; background: none; border: 0; }
.features-route .feature::before {
  content: ''; position: absolute; left: 27px; top: 56px; bottom: 0; border-left: 2px dashed rgba(217, 113, 58, .55);
}
.features-route .feature:last-child::before { display: none; }
.features-route .feature-top { position: absolute; left: 0; top: 0; margin: 0; }
.features-route .feature-icon { background: var(--sun); box-shadow: 0 0 0 6px rgba(217, 113, 58, .2); }
.features-route .feature-no {
  position: absolute; top: -8px; left: 42px; background: var(--accent); color: #fff; font-size: 14px;
  padding: 1px 7px; border-radius: 999px; letter-spacing: .04em;
}
.features-route .feature h3 { color: var(--accent); padding-top: 12px; }
.features-route .feature p { color: var(--muted); }

/* ---------- เกี่ยวกับ ---------- */
.about { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-pic { margin: 0; position: relative; }
.about-frame {
  border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; background: var(--paper-2);
  box-shadow: 18px 18px 0 -2px var(--sun-soft);
}
.about.pic-right .about-frame { box-shadow: -18px 18px 0 -2px var(--sun-soft); }
.about-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; right: -14px; top: 18%; width: clamp(120px, 12vw, 140px); aspect-ratio: 1; border-radius: 50%;
  background: var(--accent); color: var(--paper); display: grid; place-items: center; box-shadow: var(--shadow);
}
.about.pic-right .about-badge { right: auto; left: -14px; }
.about-badge svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.about-badge text { fill: currentColor; font-size: 14px; font-weight: 600; letter-spacing: 0; font-family: var(--font); }
.about-badge > svg:last-child { width: 30px; height: 30px; stroke: var(--sun); fill: none; stroke-width: 1.6; }
@keyframes spin { to { transform: rotate(360deg); } }
.about-text h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.4; margin-bottom: 22px; }
.prose p { margin: 0 0 18px; color: var(--muted); }
.prose-narrow { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }
.about-text .btn { margin-top: 10px; }
/* รายชื่อสถานที่/กิจกรรม (บรรทัดขึ้นต้น "- " ในเนื้อหา) */
.ticks { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px 20px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.ticks li { position: relative; padding-left: 26px; color: var(--ink); font-weight: 500; line-height: 1.5; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .42em; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--sun); background: var(--sun-soft);
}

/* ---------- ตารางราคา ---------- */
.sec-price + .sec-price { padding-top: 0; }
.sec-price .sec-head { margin-bottom: 24px; }
.sec-price .sec-head h2 { font-size: clamp(26px, 3.6vw, 40px); }
.ptable { max-width: 760px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); overflow: hidden; box-shadow: var(--shadow); }
.ptable table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ptable th, .ptable td { padding: 16px clamp(12px, 2.4vw, 24px); text-align: left; border-top: 1px solid var(--line); }
.ptable thead th { background: var(--accent); color: #fff; font-size: 15px; font-weight: 600; border-top: 0; }
.ptable tbody th { font-weight: 600; color: var(--ink); }
.ptable td { font-size: clamp(18px, 2.2vw, 22px); font-weight: 700; color: var(--accent); white-space: nowrap; }
.ptable thead th:not(:first-child), .ptable td { text-align: right; }
.ptable tbody tr:nth-child(even) { background: rgba(217, 113, 58, .06); }

/* ป้ายรายชื่อพื้นที่ (คำอธิบายที่คั่นด้วย " · ") */
.chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.4; color: var(--ink); }

/* ---------- แถบชื่อทัวร์วิ่ง ---------- */
.marquee { overflow: hidden; border-block: 1px dashed var(--line); margin-bottom: var(--gap); padding-block: 18px; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: slide 46s linear infinite; }
.marquee-track span { font-size: clamp(24px, 3.4vw, 42px); font-weight: 700; color: var(--accent); white-space: nowrap; letter-spacing: -.01em; }
.marquee-track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.2px var(--accent); }
.marquee-track svg { width: 30px; height: 30px; stroke: var(--sun); fill: none; stroke-width: 1.6; }
@keyframes slide { to { transform: translateX(-50%); } }
.sec-tours { padding-top: 0; }
.sec-tours:first-child, .hero + .sec-tours { padding-top: var(--gap); }

/* ---------- ทัวร์ / บริการ ---------- */
.cards { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-pic { aspect-ratio: 4 / 3; background: var(--paper-2); overflow: hidden; position: relative; }
.card-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-pic img { transform: scale(1.05); }
.card-no {
  position: absolute; left: 14px; top: 12px; font-size: 14px; font-weight: 700; color: #fff; letter-spacing: .06em;
  background: rgba(12, 48, 41, .55); padding: 2px 10px; border-radius: 999px;
}
/* ทัวร์ที่ยังไม่มีรูป — กรอบสัดส่วนเดียวกับรูป การ์ดในแถวจะสูงเท่ากัน */
.card-mark {
  aspect-ratio: 4 / 3; position: relative; display: grid; place-items: center; color: var(--accent);
  background: radial-gradient(120% 90% at 20% 0%, var(--sun-soft) 0%, var(--accent-soft) 70%);
}
.card-mark span { position: absolute; top: 14px; left: 16px; font-size: 15px; font-weight: 600; color: var(--sun); letter-spacing: .08em; }
.card-mark svg { width: 44px; height: 44px; stroke: currentColor; fill: none; stroke-width: 1.3; opacity: .8; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 19px; }
.card-body p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.tag { align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--sun); background: var(--sun-soft); padding: 2px 12px; border-radius: 999px; }
.card-link {
  margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--accent); text-decoration: none; font-size: 15.5px;
  display: inline-flex; gap: 6px; align-items: center; min-height: 44px;
}
.card-link span { transition: transform .2s var(--ease); }
.card-link:hover span { transform: translateX(4px); }
.card-price { font-weight: 700; font-size: 17px; margin-top: auto; padding-top: 8px; }
.card-price s { color: var(--muted); font-weight: 400; font-size: 14.5px; margin-inline-start: 8px; }
.card .btn { margin-top: 10px; width: 100%; }
.card-sold { color: var(--muted); font-weight: 600; font-size: 14.5px; margin-top: auto; padding-top: 8px; }

.rows { display: grid; gap: 14px; }
.row-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 6px 18px; align-items: center;
  padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.row-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.row-item:has(.row-pic) { grid-template-columns: 120px 1fr; }
.row-pic { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.row-pic img { width: 100%; height: 100%; object-fit: cover; }
.row-no { font-size: 26px; font-weight: 700; color: var(--sun); }
.row-text { display: grid; gap: 4px; }
.row-text h3 { font-size: 19px; }
.row-text p { margin: 0; color: var(--muted); font-size: 15.5px; }
.row-cta { grid-column: 2; }

/* ---------- ภาพบรรยากาศ (ห้ามครอป ใช้สัดส่วนจริง) ---------- */
.sec-deep { background: var(--accent-2) var(--grain); color: #f2ecdf; }
.sec-deep .sec-head h2 { color: #fff; }
.sec-deep .sec-intro { color: #cfdcd3; }
.gal { columns: 2; column-gap: 10px; }
.gal-item { margin: 0 0 10px; break-inside: avoid; }
.gal-item a, .gal-item video { display: block; border-radius: 14px; overflow: hidden; background: var(--accent); width: 100%; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gal-item a:hover img { transform: scale(1.04); }
.gal-item figcaption { padding: 10px 2px 6px; font-size: 15px; display: grid; }
.gal-item figcaption b::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); margin-right: 8px; vertical-align: middle; }
.gal-item figcaption span { opacity: .78; font-size: 14.5px; }

dialog.light { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
dialog.light::backdrop { background: rgba(10, 22, 19, .92); }
dialog.light img { max-height: 88vh; width: auto; border-radius: 10px; }
dialog.light button {
  position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 24px; cursor: pointer;
}

/* ---------- เสียงลูกค้า ---------- */
.quotes { display: grid; gap: 12px; }
.quote { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.quote blockquote { margin: 0 0 18px; font-size: 18px; line-height: 1.8; }
.quote blockquote::before { content: '“'; display: block; font-size: 56px; line-height: 1; color: var(--sun); margin-bottom: 4px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote figcaption > span { display: grid; }
.quote b { font-size: 15.5px; }
.quote figcaption span span { color: var(--muted); font-size: 14px; }

/* ---------- คำถามที่พบบ่อย ---------- */
.faq-wrap { display: grid; gap: 8px clamp(32px, 6vw, 96px); align-items: start; }
.faq-side .sec-head { margin-bottom: 24px; }
.faq-call {
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none; padding: 12px 22px 12px 14px;
  border-radius: 999px; background: var(--card); border: 1px solid var(--line); margin-bottom: 28px;
}
.faq-call svg { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--sun); stroke: #fff; }
.faq-call span { display: grid; line-height: 1.4; font-weight: 700; font-size: 18px; }
.faq-call small { font-weight: 400; color: var(--muted); font-size: 14px; }
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 22px 4px; font-weight: 600; list-style: none; font-size: 18px;
  display: flex; gap: 18px; align-items: center; min-height: 64px;
}
.faq summary > span { flex: 1; }
.faq summary::-webkit-details-marker { display: none; }
.faq-no { font-size: 14px; color: var(--sun); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.faq summary i {
  flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform .3s var(--ease), background .2s;
}
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--accent); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); background: var(--sun-soft); }
.faq .faq-a { padding: 0 52px 22px 50px; color: var(--muted); margin: 0; white-space: pre-line; }

/* ---------- แถบชวนจอง ---------- */
.cta-band { padding-block: clamp(80px, 11vw, 150px); text-align: center; position: relative; overflow: hidden; }
.cta-dark {
  color: #fff;
  background: linear-gradient(0deg, rgba(10, 30, 26, .78), rgba(10, 30, 26, .55)), url('/images/phuket-promthep-sunset.webp') center 40% / cover var(--accent-2);
}
.cta-soft { background: var(--sun-soft) var(--grain); }
.cta-band .wrap { position: relative; }
.cta-band h2 { font-size: clamp(30px, 5vw, 60px); line-height: 1.4; max-width: 20ch; margin: 0 auto 32px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: center; align-items: center; }
.cta-dark .btn-light { background: var(--sun); color: #fff; border-color: var(--sun); }
.cta-dark .btn-light:hover { background: #c45f2a; border-color: #c45f2a; color: #fff; }
.cta-phone { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; font-weight: 600; font-size: 18px; }
.cta-soft .cta-phone { color: var(--accent); }

/* ---------- ติดต่อ / จอง ---------- */
.contact { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact .sec-head { margin: 0 0 20px; }
.contact-note { color: var(--muted); margin: 0 0 24px; }
.contact-list { display: grid; gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.contact-list svg { width: 22px; height: 22px; stroke: var(--sun); fill: none; stroke-width: 1.7; }
.contact-list div { display: grid; line-height: 1.45; min-width: 0; }
.contact-list small { color: var(--muted); font-size: 14px; }
.contact-list a, .contact-list span { font-weight: 600; font-size: 18px; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--accent); }
/* QR แชท LINE / WhatsApp / WeChat — สแกนจากจอคอมด้วยมือถือ */
.chat-qr { margin: 0 0 24px; }
.chat-qr-title { font-weight: 600; margin: 0 0 10px; }
.chat-qr ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.chat-qr li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 10px 8px; display: grid; gap: 6px; justify-items: center; }
.chat-qr img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; display: block; }
.chat-qr a { display: block; width: 100%; }
.chat-qr span { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 600; }
.chat-qr svg { width: 16px; height: 16px; stroke: var(--sun); fill: none; stroke-width: 1.8; }
.hours { margin: 0 0 24px; padding: 0; list-style: none; font-size: 15.5px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours .closed { color: var(--muted); }
.map { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); }
.contact-form {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow);
  border-top: 6px solid var(--sun);
}

/* จองผ่านแชท ไม่ต้องกรอกฟอร์ม — อยู่บนสุดของกล่องจอง */
.chat-book { background: var(--accent-soft); border-radius: 16px; padding: 18px; }
.chat-book-title { font-weight: 700; font-size: 20px; margin: 0 0 4px; color: var(--accent); }
.chat-book-note { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin: 0 0 14px; }
.chat-book-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.cb {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 14px;
  border-radius: 12px; font-weight: 600; text-decoration: none; color: #fff; transition: filter .2s var(--ease);
}
.cb:hover { filter: brightness(.92); }
.cb svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; flex: none; }
.cb-wa { background: #1f8f4e; }
.cb-line { background: #06a03e; }
.cb-wechat { background: var(--accent); }
.or-form { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; color: var(--muted); font-size: 15px; }
.or-form::before, .or-form::after { content: ''; flex: 1; border-top: 1px dashed var(--line); }
form.lead .dur { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 479px) { form.lead .dur { grid-template-columns: 1fr; } }
.chat-book-note a { color: var(--accent); font-weight: 600; }
form.lead .dur legend { font-size: 15px; font-weight: 600; margin-bottom: 6px; padding: 0; }
form.lead .dur label { margin: 0; position: relative; cursor: pointer; }
form.lead .dur input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
form.lead .dur span {
  display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
form.lead .dur b { font-size: 17px; }
form.lead .dur small { font-size: 13.5px; font-weight: 400; color: var(--muted); }
form.lead .dur input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); }
form.lead .dur input:focus-visible + span { box-shadow: 0 0 0 3px var(--accent-soft), 0 0 0 1px var(--accent); }
#qr-wechat:target { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

form.lead { display: grid; gap: 14px; }
form.lead .f2 { display: grid; gap: 14px; }
form.lead label { font-size: 15px; font-weight: 600; display: block; margin-bottom: 6px; }
form.lead input, form.lead textarea, form.lead select {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; min-height: 48px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
form.lead input:focus, form.lead textarea:focus, form.lead select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
form.lead textarea { min-height: 120px; resize: vertical; }
form.lead ::placeholder { color: #a39a8c; }
form.lead .hp { position: absolute; left: -9999px; }
form.lead .btn { width: 100%; margin-top: 4px; background: var(--sun); border-color: var(--sun); }
form.lead .btn:hover { background: #c45f2a; border-color: #c45f2a; }
form.lead .msg { font-size: 15px; margin: 0; }
form.lead .msg:empty { display: none; }
form.lead .msg.ok { color: var(--accent); font-weight: 600; }
form.lead .msg.bad { color: #b3261e; }

/* ---------- บทความ ---------- */
.a-wrap { max-width: 760px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.a-wrap h1 { font-size: clamp(28px, 4.2vw, 44px); margin-bottom: 12px; }
.a-meta { color: var(--muted); font-size: 14.5px; margin: 0 0 22px; }
.a-cover { margin: 0 0 26px; }
.a-cover img { width: 100%; border-radius: var(--radius); }
.a-lead { font-size: 18px; color: var(--muted); margin: 0 0 26px; line-height: 1.8; }
.a-toc { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 32px; }
.a-toc b { display: block; font-size: 14px; margin-bottom: 8px; }
.a-toc ol { margin: 0; padding-inline-start: 20px; }
.a-toc li { margin-bottom: 5px; }
.a-toc a { color: var(--muted); text-decoration: none; }
.a-toc a:hover { color: var(--accent); text-decoration: underline; }
.a-body > * { margin-block: 0 20px; }
.a-body h2 { font-size: clamp(22px, 3vw, 28px); margin-block: 44px 14px; scroll-margin-top: 96px; }
.a-body h3 { font-size: clamp(18px, 2.4vw, 21px); margin-block: 30px 10px; }
.a-body p { line-height: 1.9; }
/* :not(.btn) สำคัญ — ไม่งั้นกฎนี้จะทับสีตัวอักษรของปุ่ม */
.a-body a:not(.btn) { color: var(--accent); text-underline-offset: 3px; }
.a-body ul, .a-body ol { padding-inline-start: 24px; line-height: 1.9; }
.a-body li { margin-bottom: 8px; }
.a-body blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-inline-start: 3px solid var(--sun); }
.a-body blockquote p { font-size: 18px; margin-bottom: 8px; }
.a-body blockquote cite { color: var(--muted); font-size: 14.5px; font-style: normal; }
.a-fig { margin: 28px 0; }
.a-fig img { width: 100%; border-radius: var(--radius); }
.a-fig figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; text-align: center; }
.a-cta { background: var(--accent-soft); border-radius: var(--radius); padding: 24px; text-align: center; margin: 32px 0; }
.a-cta p { margin: 0 0 14px; }
.a-embed { margin: 32px 0; }
.a-embed h3 { margin-block: 0 14px; font-size: 18px; }
.a-embed .card-body h4 { margin: 0; font-size: 15.5px; }
.a-related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.a-related li a { display: block; padding: 13px 16px; background: var(--paper-2); border-radius: 10px; text-decoration: none; font-weight: 600; }
.a-related li a:hover { background: var(--accent-soft); color: var(--accent); }

/* ---------- ท้ายเว็บ ---------- */
.foot { background: var(--accent-2) var(--grain); color: #efe6d3; padding-top: clamp(56px, 7vw, 88px); overflow: hidden; }
.foot > .wrap:first-child { display: grid; gap: 32px; }
.foot-brand b { font-size: 22px; color: #fff; display: block; margin-bottom: 10px; }
.foot-brand p { margin: 0 0 16px; opacity: .82; font-size: 15.5px; max-width: 42ch; }
.foot-col h2 { font-size: 16px; color: var(--sun-soft); margin-bottom: 12px; font-weight: 600; }
.foot-col nav { display: grid; gap: 2px; }
.foot-col nav a, .foot-col a { text-decoration: none; opacity: .85; font-size: 15.5px; }
.foot-col nav a { padding: 6px 0; }
.foot-col nav a:hover, .foot-col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.foot-col p { margin: 0 0 10px; display: flex; gap: 10px; align-items: center; font-size: 15.5px; }
.foot-col p a { display: inline-flex; gap: 10px; align-items: center; }
.foot .social { display: flex; gap: 10px; }
.foot .social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; }
.foot .social svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; }
/* ชื่อแบรนด์ยักษ์ท้ายเว็บ (ตกแต่ง) */
.foot-mark {
  font-size: min(7vw, 92px); font-weight: 700; line-height: 1.4; letter-spacing: -.04em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(246, 220, 197, .42); margin-top: clamp(40px, 6vw, 72px);
  overflow: hidden; text-overflow: clip; user-select: none;
}
.foot-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 18px; padding-block: 20px; }
.foot-bottom small { opacity: .7; font-size: 14px; }

/* ปุ่มติดต่อลอยบนมือถือ — โทร (และไลน์ถ้ามี) */
.float-contact { display: none; }

/* ---------- ปรากฏตอนเลื่อนถึง ---------- */
.reveal.pre { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.pre.in { opacity: 1; transform: none; }
.reveal.pre .feature, .reveal.pre .card { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease), box-shadow .25s var(--ease); }
.reveal.pre.in .feature, .reveal.pre.in .card { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.pre.in .card:nth-child(2) { --i: 1; } .reveal.pre.in .card:nth-child(3) { --i: 2; }
.reveal.pre.in .card:nth-child(4) { --i: 3; } .reveal.pre.in .card:nth-child(5) { --i: 4; } .reveal.pre.in .card:nth-child(6) { --i: 5; }
.reveal.pre.in .card:hover, .reveal.pre.in .feature:hover { transition-delay: 0s; }

/* ---------- ขนาดจอ ---------- */
@media (min-width: 480px) {
  .gal { columns: 3; }
  form.lead .f2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .features-stamp { grid-template-columns: repeat(min(var(--cols, 3), 4), 1fr); gap: 16px; }
  .features-stamp .feature:nth-child(even) { margin-top: 36px; }
  /* เส้นทางแนวนอน: หมุดเรียงบนเส้นประเดียวกัน */
  .features-route { grid-template-columns: repeat(min(var(--cols, 3), 4), 1fr); gap: 24px; }
  .features-route .feature { padding: 86px 0 0; }
  .features-route .feature::before { left: 64px; right: -24px; top: 27px; bottom: auto; border-left: 0; border-top: 2px dashed rgba(217, 113, 58, .55); }
  .features-route .feature-top { top: 0; }
  .features-route .feature h3 { padding-top: 0; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .quotes { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
  .about { grid-template-columns: 1.05fr 1fr; }
  .about.pic-right .about-text { order: -1; }
  .about.pic-right { grid-template-columns: 1fr 1.05fr; }
  .hero-split .hero-split { grid-template-columns: 1fr 1fr; }
  .row-item, .row-item:has(.row-pic) { grid-template-columns: 64px 1fr auto; padding: 20px 26px; }
  .row-item:has(.row-pic) { grid-template-columns: 160px 1fr auto; }
  .row-cta { grid-column: auto; }
  .foot > .wrap:first-child { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  .gal { columns: var(--cols, 3); column-gap: 16px; }
  .gal-item { margin-bottom: 16px; }
  .contact { grid-template-columns: 1fr 1.15fr; }
  .faq-wrap { grid-template-columns: .8fr 1.2fr; }
  .faq-side { position: sticky; top: 110px; }
  /* ทัวร์แบบโมเสก: ใบแรกใหญ่ 2×2 ข้อความทับภาพ ที่เหลือเรียงรอบ */
  .cards-bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(0, auto); }
  .cards-bento .card:first-child { grid-column: span 2; grid-row: span 2; }
  .cards-bento .card:first-child .card-pic { aspect-ratio: auto; flex: 1; min-height: 360px; }
  .cards-bento .card:first-child .card-body {
    position: absolute; left: 0; right: 0; bottom: 0; color: #fff; padding: 28px 30px 26px;
    background: linear-gradient(0deg, rgba(10, 30, 26, .9) 0%, rgba(10, 30, 26, .55) 60%, rgba(10, 30, 26, 0) 100%);
  }
  .cards-bento .card:first-child .card-body h3 { font-size: 30px; }
  .cards-bento .card:first-child .card-body p { color: #e7e2d6; font-size: 16.5px; max-width: 46ch; }
  .cards-bento .card:first-child .card-link { color: #fff; }
  .cards-bento .card:first-child .tag { background: var(--sun); color: #fff; }
  .cards-bento .card:nth-child(n+4) { grid-column: span 2; flex-direction: row; }
  .cards-bento .card:nth-child(n+4) .card-pic, .cards-bento .card:nth-child(n+4) .card-mark { width: 46%; aspect-ratio: auto; flex: none; }
}
@media (max-width: 1080px) {
  .dnav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .topbar span:first-child { display: none; }
  .topbar .wrap { justify-content: center; }
  .nav .wrap { min-height: 64px; }
  .hero-full .hero-slide { min-height: 70vh; align-content: end; }
  .hero-full .hero-slide::after {
    background: linear-gradient(0deg, rgba(10, 30, 26, .88) 0%, rgba(10, 30, 26, .5) 52%, rgba(10, 30, 26, .1) 100%);
  }
  .hero-body { padding-block: 40px 92px; }
  .hero-title { font-size: clamp(38px, 11vw, 52px); }
  .hero-sub { margin-bottom: 24px; }
  .hero-geo { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .about-pic { margin-inline: 8px; }
  .about-badge { right: -6px; top: -24px; width: 120px; }
  .about.pic-right .about-badge { left: -6px; }
  .faq .faq-a { padding: 0 4px 20px 36px; }
  .faq summary { gap: 12px; font-size: 17px; }
  .float-contact {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; gap: 8px;
    padding: 8px var(--pad) calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--paper); border-top: 1px solid var(--line);
  }
  .float-contact a {
    flex: 1; display: inline-flex; justify-content: center; align-items: center; gap: 8px;
    height: 44px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 16px;
  }
  .float-contact svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
  .fl-call { background: var(--sun); color: #fff; }
  .fl-line { background: #06c755; color: #fff; }
  .fl-wa { background: #128c4a; color: #fff; }
  .float-contact { gap: 6px; }
  .float-contact a { font-size: 14.5px; gap: 6px; padding-inline: 6px; white-space: nowrap; }
  body { padding-bottom: 64px; }
  body.nav-open .float-contact { display: none; }
}
@media (max-width: 379px) {
  .cards { grid-template-columns: 1fr; }
  .logo-text small { display: none; }
}

/* ---------- พื้นที่กดอย่างน้อย 44px ทุกลิงก์ที่เป็นปุ่ม ---------- */
.topbar a, .hero-phone, .cta-phone, .foot-col p a, .contact-list a, .logo { min-height: 44px; display: inline-flex; align-items: center; }
.foot-col nav a { min-height: 44px; display: flex; align-items: center; }
.mnav nav a { min-height: 56px; display: flex; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.pre, .reveal.pre .feature, .reveal.pre .card { opacity: 1; transform: none; }
}
