/* Hello ปภาวีร์ — ดีไซน์ส้ม/เขียว ตามแบบ hello-papawee-final
   เดสก์ท็อปยึดสัดส่วนของแบบต้นฉบับ (1440px) · มือถือจัดใหม่ให้อ่านง่าย
   สีเขียวเข้มปรับให้สว่างขึ้นตามที่ลูกค้าขอ (เดิม #24562d) */

:root {
  --bg: #fffdf7;
  --ink: #26362a;
  --muted: #58675b;
  --orange: #ff641f;
  --orange-ink: #e2571a;
  --lime: #4edc16;
  --lime-ink: #18381e;
  --green: #2d8139;
  --green-2: #2a7a36;
  --green-foot: #236b2f;
  --green-text: #2f7f33;
  --green-soft: #c9ff9f;
  --mint: #edf8e6;
  --cream: #fff4e7;
  --line: #e5d5c4;
  --font: 'Noto Sans Thai', 'Thonburi', sans-serif;
  --wrap: 1332px;
  --gut: 54px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  font-family: var(--font); background: var(--bg); color: var(--ink);
  font-size: 16px; line-height: 1.6; overflow-x: hidden;
}
h1, h2, h3, h4, p, figure, ol, ul, blockquote { margin: 0; }
h1, h2, h3, h4 { line-height: 1.3; text-wrap: balance; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
button { font: inherit; }
.nb { white-space: nowrap; }
@media (max-width: 767px) { .nb { white-space: normal; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

.wrap { width: calc(100% - var(--gut) * 2); max-width: var(--wrap); margin-inline: auto; }

/* ---------- ปุ่มและตัวหนังสือร่วม ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 13px 26px; font-weight: 800; font-size: 15px; line-height: 1.3;
  border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background-color .2s;
}
.btn svg { font-size: 16px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px #18381e26; }
.btn-lime { background: var(--lime); color: var(--lime-ink); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.eyebrow {
  display: block; font-size: 13px; letter-spacing: 1.2px; font-weight: 800;
  color: var(--orange-ink); line-height: 1.4;
}
.heading { font-size: 48px; line-height: 1.2; font-weight: 800; letter-spacing: -.5px; }
.heading.big { font-size: 56px; line-height: 1.18; max-width: 9em; }
.copy { font-size: 17px; line-height: 1.75; color: var(--muted); }
.copy p + p { margin-top: 12px; }
.sec-head { margin-bottom: 38px; }
.sec-head .heading { margin-top: 14px; }
.sec-head .copy { margin-top: 14px; max-width: 46em; }
.more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; font-weight: 800; color: var(--orange-ink); }
.more-link:hover { text-decoration: underline; }

/* ---------- หัวเว็บ ---------- */
.nav { background: #fffefa; border-bottom: 1px solid #eadfce; position: sticky; top: 0; z-index: 30; }
.nav-in { height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 23px; color: #ed601e; white-space: nowrap; }
.brand img { width: 50px; height: 50px; object-fit: contain; background: #fff; border-radius: 7px; }
.links { display: flex; gap: 28px; font-weight: 700; font-size: 15px; }
.links a { padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.links a:hover, .links a[aria-current="page"] { border-bottom-color: var(--orange); color: var(--orange-ink); }
.links .menu-cta { display: none; }
.nav-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; font-size: 26px; color: var(--ink); cursor: pointer; }
.nav-toggle .i-close { display: none; }

/* ---------- แบนเนอร์ ---------- */
.hero { position: relative; overflow: hidden; background: var(--orange); color: #fff; }
.hero-track { display: flex; transition: transform .6s ease; }
.hero-slide { flex: 0 0 100%; display: grid; grid-template-columns: 46% 54%; }
.hero-split .hero-slide { height: 690px; }
.hero-compact .hero-slide { height: 440px; }
.hero-left {
  position: relative; overflow: hidden;
  padding: 73px 45px 60px max(calc((100vw - var(--wrap)) / 2), var(--gut));
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero-left::before {
  content: 'HELLO'; position: absolute; font-weight: 800; font-size: 190px; letter-spacing: -8px;
  line-height: 1; top: 5px; left: 18px; color: #ffffff38; pointer-events: none;
}
.hero-left > * { position: relative; z-index: 1; }
.hero .eyebrow { color: #fff0dc; }
.hero h1, .hero h2 { font-size: 72px; line-height: 1.12; letter-spacing: -1.5px; margin: 57px 0 25px; font-weight: 800; }
.hero h1 span, .hero h2 span { color: #eaffb8; }
.hero-sub { font-size: 19px; line-height: 1.6; max-width: 520px; }
.hero .btn { margin-top: 29px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-weight: 800; font-size: 15px; color: #f5ffe8; }
.chips span { display: inline-flex; align-items: center; gap: 6px; }
.hero-right { position: relative; overflow: hidden; }
.hero-right img, .hero-right picture { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-badge {
  position: absolute; right: 28px; bottom: 27px; background: #fff9f0; padding: 12px 19px;
  color: #276c25; font-weight: 800; font-size: 13px;
}
.hero-compact .hero-left { padding-top: 60px; justify-content: center; }
.hero-compact .hero-left::before { font-size: 150px; }
.hero-compact h1, .hero-compact h2 { font-size: 54px; margin: 20px 0 16px; }
.hero-compact .hero-sub { font-size: 17px; }
.hero-compact .btn { margin-top: 22px; }
.hero-full .hero-slide { display: block; position: relative; height: 640px; }
.hero-full picture, .hero-full img { width: 100%; height: 100%; object-fit: cover; }
.hero-full .hero-over { position: absolute; inset: 0; display: flex; align-items: center; background: linear-gradient(90deg, #ff641fe6 0%, #ff641f80 45%, transparent 75%); }
.hero-dots { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; }
.hero-dots button[aria-current="true"] { background: #fff; }

/* แถบรายชื่อสินค้าที่รับ */
.strip { background: var(--lime); color: var(--lime-ink); padding: 17px 0; }
.strip ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 0; }
.strip li { display: inline-flex; align-items: center; font-size: 15px; letter-spacing: 1.5px; font-weight: 800; }
.strip-sep { display: inline-flex; margin: 0 18px; font-size: 13px; opacity: .8; }
.strip small { font-weight: 600; letter-spacing: 0; margin-left: 6px; }

/* ---------- แนะนำร้าน ---------- */
.intro { padding: 102px 0 70px; }
.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: end; }
.intro .heading { margin-top: 14px; }
.intro .copy { padding-bottom: 7px; }
.intro .copy .btn { margin-top: 20px; }
.intro-pic { grid-column: 1 / -1; }
.intro-pic img { width: 100%; height: auto; }

/* ภาพเล่าเรื่องหน้าร้าน 3 ภาพ */
.story { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: 260px 260px; gap: 14px; padding-bottom: 100px; }
.story figure { position: relative; overflow: hidden; background: #f1e8dc; }
.story .story-1 { grid-row: span 2; }
.story img, .story video { width: 100%; height: 100%; object-fit: cover; }
.story .story-1 img { object-position: center 40%; }
.story .story-2 img, .story .story-3 img { object-position: center 30%; }
.story figcaption {
  position: absolute; bottom: 19px; left: 20px; right: 20px; width: fit-content;
  background: #fff9efef; padding: 13px 20px; font-size: 17px; font-weight: 800; color: #254b2b; line-height: 1.4;
}
.story figcaption small { display: block; font-size: 13px; color: #7d6a62; margin-top: 3px; font-weight: 600; }

/* ---------- บริการ ---------- */
.services { padding: 105px 0; background: var(--mint); scroll-margin-top: 90px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.svc { background: #fffefa; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; scroll-margin-top: 100px; }
.svc:hover { transform: translateY(-3px); box-shadow: 0 14px 30px #26362a14; }
.svc-pic { aspect-ratio: 4 / 3; overflow: hidden; background: #f3eee4; }
.svc-pic img { width: 100%; height: 100%; object-fit: cover; }
.svc-body { padding: 26px; display: flex; flex-direction: column; flex: 1; color: #25382b; }
.svc-label { color: #279c20; font-size: 13px; font-weight: 800; letter-spacing: 1px; }
.svc h3, .svc h4 { font-size: 29px; margin: 8px 0 10px; font-weight: 800; }
.svc p { font-size: 15px; line-height: 1.7; color: #6f655d; }
.card-link {
  display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 15px;
  border-top: 1px solid var(--line); color: #ee6322; font-size: 15px; font-weight: 800;
}
.svc p + .card-link, .svc p + .card-price + .card-link { margin-top: 18px; }
.card-link:hover { color: #c94d14; }
.card-price { font-weight: 800; font-size: 18px; margin-top: 10px; }
.card-price s { color: var(--muted); font-weight: 400; margin-left: 8px; font-size: 15px; }
.card-sold { color: #b42318; font-weight: 700; margin-top: 10px; }
.svc-rows { display: grid; gap: 15px; }
.svc-rows .svc { display: grid; grid-template-columns: 340px 1fr; }
.svc-rows .svc-pic { aspect-ratio: auto; min-height: 255px; }
.svc-rows .svc-body { padding: 32px 36px; }

/* แถบภาพใหญ่ ข้อความทับ */
.band { position: relative; height: 440px; overflow: hidden; background: #423a30; color: #fff; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #1c5e2ae0 0%, #1c5e2a73 38%, transparent 75%); }
.band.flip::after { background: linear-gradient(270deg, #1c5e2ae0 0%, #1c5e2a73 38%, transparent 75%); }
.band-copy { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.band.flip .band-copy { align-items: flex-end; text-align: right; }
.band .eyebrow { color: var(--green-soft); }
.band h2 { font-size: 54px; line-height: 1.17; margin: 16px 0; max-width: 10em; font-weight: 800; }
.band p { font-size: 17px; color: #eef8ec; max-width: 32em; }
.band .btn { margin-top: 22px; align-self: flex-start; }

/* ---------- ขั้นตอน ---------- */
.steps { padding: 90px 0; background: var(--green); color: #fff; }
.steps .eyebrow { color: var(--green-soft); }
.steps-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 21px; }
.steps-grid li { border-top: 1px solid #9ad98f; padding-top: 23px; }
.steps-grid strong { display: flex; align-items: center; justify-content: space-between; font-size: 50px; color: #b4ff8a; line-height: 1; font-weight: 800; }
.steps-icon { font-size: 26px; color: #ffffffb3; }
.steps-grid h3 { font-size: 22px; margin: 16px 0 8px; }
.steps-grid p { font-size: 15px; color: #eefbea; line-height: 1.6; }

/* การ์ดจุดเด่น */
.feats { padding: 90px 0; }
.feats + .feats { padding-top: 0; }
.feats-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 15px; }
.feat { background: var(--mint); padding: 28px 26px; transition: transform .2s; }
.feat:hover { transform: translateY(-3px); }
.feat-icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; background: #fff; color: var(--green); font-size: 24px; border-radius: 50%; }
.feat h3 { font-size: 20px; margin: 16px 0 6px; }
.feat p { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* ---------- ทำไมต้องเรา (ข้อความ + รูป) ---------- */
.split { padding: 110px 0; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-grid.flip > figure { order: 0; }
.split-grid:not(.flip) > figure { order: -1; }
.split .heading { margin: 16px 0 22px; }
.split .copy { margin-bottom: 20px; }
.split .line {
  display: flex; align-items: center; gap: 10px; border-top: 1px solid #caddbc; padding-top: 18px; margin-top: 18px;
  font-size: 16px; font-weight: 700; color: #337c32;
}
.split .btn { margin-top: 28px; }
.split-pic img { width: 100%; height: 520px; object-fit: cover; object-position: center 30%; }

/* ---------- รีวิว ---------- */
.reviews { padding: 95px 0; background: var(--cream); }
.reviews-grid { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 13px; }
.reviews-grid figure a, .masonry figure a { display: block; overflow: hidden; background: #efe3d3; }
.reviews-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; transition: transform .4s; }
.reviews-grid figure a:hover img, .masonry figure a:hover img { transform: scale(1.03); }
.reviews-grid figcaption { font-size: 13px; font-weight: 800; margin-top: 11px; }
.reviews-grid figcaption small { display: block; font-weight: 600; color: var(--muted); }
.masonry { columns: var(--cols, 3); column-gap: 13px; }
.masonry figure { break-inside: avoid; margin-bottom: 13px; }
.masonry img { width: 100%; height: auto; transition: transform .4s; }
.masonry figcaption { font-size: 14px; font-weight: 800; padding: 8px 0 6px; }
.masonry figcaption p { font-weight: 400; color: var(--muted); font-size: 14px; }

/* ---------- แวะมาหาเรา (พื้นเขียว) ---------- */
.darksplit { display: grid; grid-template-columns: 1fr 1fr; background: var(--green-2); color: #fff; }
.darksplit.flip .darksplit-pic { order: 2; }
.darksplit-pic { position: relative; min-height: 495px; overflow: hidden; }
.darksplit-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.darksplit-info { padding: 75px max(calc((100vw - var(--wrap)) / 2), var(--gut)) 75px 75px; }
.darksplit.flip .darksplit-info { padding: 75px 75px 75px max(calc((100vw - var(--wrap)) / 2), var(--gut)); }
.darksplit .eyebrow { color: var(--green-soft); }
.darksplit h2 { font-size: 50px; line-height: 1.15; margin: 18px 0 20px; max-width: 9em; font-weight: 800; }
.darksplit p { font-size: 16px; line-height: 1.75; color: #eef8ec; }
.darksplit .btn { margin-top: 26px; }
.darksplit .hours { border-top: 1px solid #ffffff55; margin-top: 27px; padding-top: 19px; font-size: 15px; }

/* ---------- คำถาม / บทความ ---------- */
.journal { padding: 93px 0 105px; }
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.journal-grid article { border-top: 2px solid #43bf2f; padding-top: 25px; }
.journal-grid span { font-size: 13px; color: #dc6222; letter-spacing: 1px; font-weight: 800; }
.journal-grid h3 { font-size: 22px; line-height: 1.4; margin: 12px 0 9px; }
.journal-grid p { font-size: 15px; line-height: 1.65; color: #6f655d; }

.faqsec { padding: 95px 0; background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq details { border-top: 1px solid #e3d2bf; }
.faq details:last-child { border-bottom: 1px solid #e3d2bf; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 18px;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--orange-ink); transform: rotate(45deg); transition: transform .2s; display: inline-flex; }
.faq details[open] summary span { transform: rotate(0); }
.faq-a { padding: 0 0 22px; color: var(--muted); line-height: 1.75; }

/* ---------- แถบชวนติดต่อ ---------- */
.cta { padding: 75px 0; background: var(--orange); color: #fff; }
.cta-soft { background: var(--mint); color: var(--ink); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta .eyebrow { color: #fff0df; }
.cta-soft .eyebrow { color: var(--orange-ink); }
.cta h2 { font-size: 48px; margin: 11px 0; line-height: 1.2; font-weight: 800; }
.cta p { font-size: 17px; }

/* ---------- ติดต่อ ---------- */
.contact-sec { padding: 95px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info .copy { margin-bottom: 22px; }
.contact-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.contact-list svg { font-size: 22px; color: var(--green); margin-top: 3px; }
.contact-list a:hover { color: var(--orange-ink); }
.contact-hours { display: flex; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid #e3d2bf; font-size: 16px; }
.contact-hours svg { font-size: 22px; color: var(--green); margin-top: 3px; }
.contact-info .btn { margin-top: 26px; }
.lead { background: var(--mint); padding: 32px; display: grid; gap: 16px; }
.lead h3 { font-size: 24px; }
.lead label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 15px; }
.lead input, .lead textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #c9dcbf; background: #fff; color: var(--ink);
}
.lead input:focus, .lead textarea:focus { outline: 2px solid var(--green); border-color: transparent; }
.lead .btn { justify-self: start; }
.lead .btn:disabled { opacity: .6; cursor: progress; }
.lead .hp { position: absolute; left: -9999px; }
.msg { min-height: 1.4em; font-size: 15px; }
.msg.ok { color: #1f7a2a; font-weight: 700; }
.msg.bad { color: #b42318; font-weight: 700; }
.map-wrap { margin-top: 40px; }
.map { width: 100%; height: 380px; border: 0; display: block; }

.rich { padding: 80px 0; }
.rich-narrow { max-width: 760px; }
.rich p { margin-top: 14px; color: var(--muted); line-height: 1.8; }

.quotes-sec { padding: 90px 0; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.quote { background: var(--cream); padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { font-size: 16px; line-height: 1.7; }
.quote figcaption { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.quote img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote small { display: block; color: var(--muted); }

/* ---------- บทความ ---------- */
.pagehead { background: var(--orange); color: #fff; padding: 70px 0 60px; }
.pagehead .eyebrow { color: #fff0dc; }
.pagehead h1 { font-size: 56px; margin: 12px 0 10px; font-weight: 800; }
.pagehead p { font-size: 18px; max-width: 40em; }
.blog-list { padding: 70px 0 100px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post { display: flex; flex-direction: column; border-top: 2px solid #43bf2f; padding-top: 0; background: #fffefa; }
.post-pic { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #f3eee4; }
.post-pic img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 22px 4px 0; display: flex; flex-direction: column; flex: 1; }
.post-date { font-size: 13px; color: #dc6222; font-weight: 800; }
.post h2 { font-size: 22px; line-height: 1.4; margin: 8px 0; }
.post h2 a:hover { color: var(--orange-ink); }
.post p { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.empty { color: var(--muted); }

.article { padding: 50px 0 100px; }
.a-wrap { max-width: 800px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--orange-ink); }
.article h1 { font-size: 44px; line-height: 1.25; font-weight: 800; }
.a-meta { color: var(--muted); font-size: 14px; margin-top: 10px; }
.a-cover { margin: 28px 0; }
.a-cover img { width: 100%; height: auto; }
.a-lead { font-size: 19px; line-height: 1.75; margin-bottom: 24px; }
.a-toc { background: var(--mint); padding: 20px 24px; margin-bottom: 30px; }
.a-toc ol { margin-top: 8px; padding-left: 20px; line-height: 1.9; }
.a-toc a { color: var(--green-text); }
.a-body { font-size: 17px; line-height: 1.85; }
.a-body h2 { font-size: 28px; margin: 38px 0 12px; scroll-margin-top: 100px; }
.a-body h3 { font-size: 21px; margin: 26px 0 8px; }
.a-body p { margin: 12px 0; }
.a-body ul, .a-body ol { margin: 12px 0; padding-left: 24px; }
.a-body li { margin: 6px 0; }
.a-body a { color: var(--orange-ink); text-decoration: underline; }
.a-body blockquote { border-left: 4px solid var(--lime); padding: 6px 0 6px 20px; margin: 22px 0; font-size: 19px; }
.a-body cite { display: block; color: var(--muted); font-size: 15px; margin-top: 6px; }
.a-fig { margin: 24px 0; }
.a-fig figcaption { color: var(--muted); font-size: 14px; margin-top: 6px; }
.a-cta { background: var(--orange); color: #fff; padding: 28px; margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.a-cta p { font-size: 18px; font-weight: 700; }
.a-embed { margin-top: 40px; }
.a-embed h3 { font-size: 22px; margin-bottom: 16px; }
.a-embed .svc-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.a-embed .svc h4 { font-size: 20px; }
.a-related ul { padding-left: 20px; line-height: 2; }
.a-related a { color: var(--orange-ink); }

/* ---------- ท้ายเว็บ ---------- */
.footer { background: var(--green-foot); color: #fff; padding: 58px 0 25px; }
.foot-cols { display: grid; grid-template-columns: 1.6fr 1.1fr 1.3fr 1fr; gap: 45px; }
.footer b { font-size: 16px; }
.footer p { font-size: 14px; line-height: 1.85; margin-top: 12px; color: #eef8ec; }
.footer a:hover { color: var(--green-soft); }
.foot-links a { display: block; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #ffffff55; border-radius: 50%; font-size: 18px; }
.social a:hover { background: #ffffff1f; }
.foot-end { margin-top: 40px; padding-top: 19px; border-top: 1px solid #ffffff33; font-size: 13px; opacity: .75; }

/* ปุ่มลอยบนมือถือ */
.float-contact { display: none; }

/* ดูรูปขนาดเต็ม */
dialog.light { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
dialog.light::backdrop { background: #000c; }
dialog.light img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
dialog.light button { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; font-size: 26px; cursor: pointer; }

/* ---------- คลิป YouTube ---------- */
.clips { padding: 95px 0; background: var(--bg); }
.clips-intro { margin: -18px 0 30px; max-width: 46em; }
.clips-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.clip {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  aspect-ratio: 16 / 9; overflow: hidden; background: #111;
}
.clip img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.clip:hover img { transform: scale(1.04); }
.clip-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 62px; height: 62px; border-radius: 50%; background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  box-shadow: 0 6px 18px #0005; transition: transform .2s;
}
.clip-play svg { fill: currentColor; stroke: none; margin-left: 3px; }
.clip:hover .clip-play { transform: translate(-50%, -50%) scale(1.08); }
dialog.vbox { border: 0; padding: 0; background: #000; width: min(92vw, 1100px); max-height: 90vh; overflow: visible; }
dialog.vbox::backdrop { background: #000d; }
.vbox-frame { aspect-ratio: 16 / 9; }
.vbox.is-short { width: auto; }
.vbox.is-short .vbox-frame { aspect-ratio: 9 / 16; height: min(85vh, 760px); }
.vbox iframe { width: 100%; height: 100%; border: 0; display: block; }
dialog.vbox > button {
  position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: #fff; font-size: 26px; cursor: pointer;
}
@media (max-width: 1023px) {
  .clips { padding: 72px 0; }
  .clips-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .clips { padding: 56px 0; }
  .clips-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px;
    margin-inline: calc(var(--gut) * -1); padding: 0 var(--gut) 6px; scrollbar-width: none;
  }
  .clips-grid::-webkit-scrollbar { display: none; }
  .clip { flex: 0 0 82%; scroll-snap-align: start; }
  .vbox.is-short .vbox-frame { height: min(78vh, 640px); }
}

/* ---------- อนิเมชัน: ปรากฏตอนเลื่อนถึง ครั้งเดียว ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-track, .btn, .svc, .feat, .reviews-grid img, .masonry img { transition: none; }
}

/* ================= จอเล็กลง ================= */
@media (max-width: 1180px) {
  :root { --gut: 32px; }
  .links { gap: 18px; font-size: 14px; }
  .hero h1, .hero h2 { font-size: 58px; }
  .heading { font-size: 42px; }
  .heading.big { font-size: 48px; }
  .hero-split .hero-slide { height: 620px; }
}

@media (max-width: 1023px) {
  .nav-in { height: 72px; }
  .brand { font-size: 20px; }
  .brand img { width: 44px; height: 44px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta { display: none; }
  .links {
    display: none; position: absolute; left: 0; right: 0; top: 72px; background: #fffefa;
    flex-direction: column; gap: 0; padding: 8px var(--gut) 22px; border-bottom: 1px solid #eadfce;
    box-shadow: 0 16px 30px #26362a1a; font-size: 17px;
  }
  .links a { padding: 13px 0; border-bottom: 1px solid #f0e6d8; }
  .links a[aria-current="page"] { border-bottom-color: #f0e6d8; }
  .links .menu-cta { display: inline-flex; margin-top: 16px; border: 0; padding: 13px 22px; }
  .menu-open .links { display: flex; }
  .menu-open .nav-toggle .i-open { display: none; }
  .menu-open .nav-toggle .i-close { display: inline; }

  .hero-split .hero-slide, .hero-compact .hero-slide { height: auto; grid-template-columns: 1fr; }
  .hero-left { padding: 48px var(--gut) 44px; }
  .hero-left::before { font-size: 130px; }
  .hero h1, .hero h2 { margin: 30px 0 16px; }
  .hero-right { aspect-ratio: 16 / 10; max-height: 70vh; }
  .hero-compact .hero-right { aspect-ratio: 16 / 9; }
  .hero-full .hero-slide { height: 70vh; }

  .intro { padding: 72px 0 50px; }
  .intro-grid { grid-template-columns: 1fr; gap: 20px; }
  .story { grid-template-rows: 220px 220px; padding-bottom: 70px; }
  .services, .reviews, .steps, .split, .journal, .faqsec, .contact-sec, .feats, .quotes-sec { padding: 72px 0; }
  .feats + .feats { padding-top: 0; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-rows .svc { grid-template-columns: 260px 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 21px; }
  .feats-grid { grid-template-columns: repeat(2, 1fr); }
  .split-grid { grid-template-columns: 1fr; gap: 36px; }
  .split-grid > figure { order: -1 !important; }
  .split-pic img { height: auto; aspect-ratio: 4 / 3; }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .darksplit { grid-template-columns: 1fr; }
  .darksplit.flip .darksplit-pic { order: 0; }
  .darksplit-pic { min-height: 0; aspect-ratio: 4 / 3; }
  .darksplit-info, .darksplit.flip .darksplit-info { padding: 56px var(--gut); }
  .journal-grid, .quotes, .posts { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; gap: 10px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .cta h2 { font-size: 40px; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .band h2 { font-size: 44px; }
  .pagehead h1 { font-size: 46px; }
}

@media (max-width: 767px) {
  :root { --gut: 16px; }
  body { font-size: 16px; padding-bottom: 64px; }
  .hero h1, .hero h2 { font-size: 36px; letter-spacing: -.5px; }
  .hero-compact h1, .hero-compact h2 { font-size: 32px; }
  .hero-sub, .hero-compact .hero-sub { font-size: 16px; }
  .hero-left::before { font-size: 96px; letter-spacing: -4px; }
  .hero-badge { right: 12px; bottom: 12px; font-size: 13px; padding: 9px 13px; }
  .chips { margin-top: 24px; font-size: 14px; }
  .hero-right { aspect-ratio: 4 / 3; }
  .heading, .heading.big { font-size: 30px; }
  .sec-head { margin-bottom: 26px; }
  .copy { font-size: 16px; }

  .strip { padding: 13px 0; }
  .strip li { font-size: 13px; letter-spacing: .5px; }
  .strip-sep { margin: 0 10px; font-size: 11px; }

  .story { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 10px; padding-bottom: 56px; }
  .story .story-1 { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .story .story-2, .story .story-3 { aspect-ratio: 4 / 5; }
  .story figcaption { left: 8px; right: 8px; bottom: 8px; padding: 8px 10px; font-size: 14px; }
  .story figcaption small { font-size: 12px; }

  .services, .reviews, .steps, .split, .journal, .faqsec, .contact-sec, .feats, .quotes-sec, .rich { padding: 56px 0; }
  .feats + .feats { padding-top: 0; }
  .svc-grid { grid-template-columns: 1fr; gap: 12px; }
  .svc-rows .svc { grid-template-columns: 1fr; }
  .svc-rows .svc-pic { aspect-ratio: 4 / 3; min-height: 0; }
  .svc-body, .svc-rows .svc-body { padding: 22px 20px; }
  .svc h3 { font-size: 24px; }

  .band { height: auto; min-height: 400px; }
  .band::after, .band.flip::after { background: linear-gradient(0deg, #1c5e2aeb 0%, #1c5e2a99 55%, #1c5e2a33 100%); }
  .band-copy { justify-content: flex-end; padding: 56px 0 36px; min-height: 400px; }
  .band.flip .band-copy { align-items: flex-start; text-align: left; }
  .band h2 { font-size: 30px; }
  .band p { font-size: 16px; }

  .steps-grid strong { font-size: 40px; }
  .steps-grid h3 { font-size: 19px; }
  .steps-grid { gap: 26px 12px; }
  .feats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feat { padding: 20px 16px; }
  .feat h3 { font-size: 17px; }
  .feat p { font-size: 14px; }

  .reviews-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px;
    margin-inline: calc(var(--gut) * -1); padding: 0 var(--gut) 6px; scrollbar-width: none;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .reviews-grid figure { flex: 0 0 62%; scroll-snap-align: start; }
  .masonry { columns: 2; column-gap: 8px; }
  .masonry figure { margin-bottom: 8px; }

  .darksplit h2 { font-size: 30px; }
  .darksplit-info, .darksplit.flip .darksplit-info { padding: 44px var(--gut) 48px; }

  .journal-grid, .quotes, .posts { grid-template-columns: 1fr; gap: 22px; }
  .journal-grid h3 { font-size: 20px; }
  .faq summary { font-size: 17px; }

  .cta { padding: 52px 0; }
  .cta h2 { font-size: 28px; }
  .cta p { font-size: 15px; }
  .cta .btn { width: 100%; }

  .lead { padding: 22px 18px; }
  .map { height: 300px; }
  .contact-list li { font-size: 16px; }

  .pagehead { padding: 46px 0 40px; }
  .pagehead h1 { font-size: 34px; }
  .pagehead p { font-size: 16px; }
  .article h1 { font-size: 30px; }
  .a-body h2 { font-size: 23px; }
  .a-body { font-size: 16px; }

  .foot-cols { grid-template-columns: 1fr; gap: 26px; }
  .foot-links a { display: inline-block; margin-right: 16px; }

  .float-contact {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    height: 56px; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 20px #26362a26;
  }
  .float-contact a { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 16px; }
  .float-contact svg { font-size: 20px; }
  .fl-line { background: #06c755; color: #fff; }
  .fl-call { background: var(--orange); color: #fff; }
}

/* จุดกดบนจอสัมผัสต้องสูงอย่างน้อย 44px */
@media (max-width: 1023px) {
  .footer p a, .foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer p { line-height: 1.5; }
  .more-link, .card-link { min-height: 44px; }
  .social a { width: 44px; height: 44px; }
  .contact-list a { display: inline-flex; align-items: center; min-height: 44px; }
  .contact-list li { align-items: center; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (max-width: 400px) {
  .hero h1, .hero h2 { font-size: 32px; }
  .heading, .heading.big { font-size: 28px; }
  .brand span { font-size: 18px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .feats-grid { grid-template-columns: 1fr; }
}
