/* ============================================================
   MattHouse landing v3 — โทนสว่าง (7 ก.ย. 2569)
   โหลดต่อจาก style.css เฉพาะหน้า matthouse.html
   ทุกกฎครอบด้วย body.mh จึงไม่กระทบหน้าอื่นของเว็บร้าน
   สี = ชุด V2 สีตายของแบรนด์ · ฟอนต์ Kanit/Sarabun ตามไกด์ไลน์
   ============================================================ */
body.mh {
  --mh-deep:  #06332C;   /* พื้นตรา */
  --mh-mid:   #1B6D5D;   /* ทิวเขาหลัง */
  --mh-mint:  #2AB69B;   /* ภูเขา M */
  --mh-mint2: #159C82;   /* mint เข้มขึ้นสำหรับตัวหนังสือบนพื้นสว่าง */
  --mh-mint-soft: #DDF3EC;
  --mh-sun:   #FF8A00;   /* ใช้เฉพาะเลขขั้นตอน + ป้าย "ฟรี" */
  --mh-cream: #F7F4EC;
  --mh-ink:   #12302A;
  --mh-ink2:  #3F5650;
  --mh-muted: #5C716B;
  --mh-line:  #E1E7E3;
  --mh-shadow: 0 1px 2px rgba(6,51,44,.05), 0 10px 28px -14px rgba(6,51,44,.22);
  background: var(--mh-cream);
}
body.mh ::selection { background: var(--mh-mint); color: #fff; }

/* ปิดของตกแต่งที่ทำให้หน้าหมอง: เม็ดเกรน, ลายกริด, คำ ghost */
body.mh::before { display: none; }
body.mh .mhs-section::before { display: none; }
body.mh .section-head .ghost { display: none; }

body.mh section { padding: 84px 0; }
body.mh .mh-container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- หัวข้อ section แบบชิดซ้าย ไม่มีเส้นประดับ ---------- */
body.mh .mh-head { max-width: 640px; margin-bottom: 40px; }
body.mh .mh-eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--mh-mint2); margin-bottom: 10px;
}
body.mh .mh-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.35rem); font-weight: 800; letter-spacing: -.01em;
  color: var(--mh-ink); line-height: 1.25; text-wrap: balance;
}
body.mh .mh-head p { margin-top: 12px; color: var(--mh-muted); font-size: 1.02rem; line-height: 1.7; }

/* ============================================================
   Hero — พื้นครีม โลโก้ใหญ่ ปุ่มเดียว
   ============================================================ */
body.mh .mh-hero {
  position: relative; overflow: hidden; color: var(--mh-ink);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--mh-cream) 100%);
  padding: 72px 0 0;
}
body.mh .mh-hero::before { display: none; }              /* ลายกริดของเวอร์ชันเก่า */
body.mh .mh-hero .ghost-word { display: none; }
body.mh .mh-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 40px; align-items: center; position: relative; z-index: 1; padding-bottom: 150px;
}
body.mh .mh-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--mh-mid);
  background: #fff; border: 1px solid var(--mh-line); border-radius: 999px; padding: 7px 14px 7px 9px;
}
body.mh .mh-kicker .crd {
  background: var(--mh-deep); color: #fff; font-weight: 700; font-size: .72rem;
  letter-spacing: .06em; padding: 3px 8px; border-radius: 999px;
}
body.mh .mh-hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.18;
  letter-spacing: -.015em; color: var(--mh-ink); margin: 22px 0 14px; text-wrap: balance;
}
body.mh .mh-hero h1 em { font-style: normal; color: var(--mh-mint2); }
body.mh .mh-hero .lead { font-size: 1.12rem; line-height: 1.7; color: var(--mh-ink2); max-width: 560px; }
body.mh .mh-hero .mh-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
body.mh .mh-hero .btn-line { font-size: 1.06rem; padding: 16px 30px; box-shadow: 0 12px 28px rgba(6,199,85,.28); }
body.mh .mh-call {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600;
  color: var(--mh-deep); font-size: 1.02rem; text-decoration: underline; text-decoration-color: var(--mh-mint);
  text-underline-offset: 5px;
}
body.mh .mh-call svg { width: 18px; height: 18px; fill: var(--mh-mint2); }
body.mh .mh-call:hover { color: var(--mh-mint2); }
body.mh .mh-lineid { margin-top: 12px; font-size: .88rem; color: var(--mh-muted); }
body.mh .mh-lineid b { font-family: var(--font-head); font-weight: 600; color: var(--mh-ink2); }

/* โลโก้ด้านขวา */
body.mh .mh-hero-art { position: relative; display: flex; justify-content: center; align-items: center; }
body.mh .mh-hero-art img {
  width: min(320px, 70%); height: auto; position: relative; z-index: 1;
  filter: drop-shadow(0 22px 40px rgba(6,51,44,.18));
}
body.mh .mh-hero-art::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(42,182,155,.22), rgba(42,182,155,0) 70%);
}
/* ทิวเขา + สายน้ำ ท้าย hero — สีตาย V2 บนพื้นครีม */
body.mh .mh-scene { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 150px; pointer-events: none; z-index: 0; }

/* ---------- แถบ 3 จุดขาย ใต้ hero ---------- */
body.mh .mh-stats { background: var(--mh-deep); color: #F5F0E4; padding: 0; }
body.mh .mh-stats .mh-container { display: grid; grid-template-columns: repeat(3, 1fr); }
body.mh .mh-stat { padding: 28px 22px; display: flex; gap: 16px; align-items: flex-start; }
body.mh .mh-stat + .mh-stat { border-left: 1px solid rgba(245,240,228,.14); }
body.mh .mh-stat b {
  font-family: var(--font-head); font-weight: 800; font-size: 1.75rem; line-height: 1;
  color: #fff; white-space: nowrap; min-width: 84px;
}
body.mh .mh-stat b.sun { color: var(--mh-sun); }
body.mh .mh-stat span { font-size: .93rem; line-height: 1.55; color: rgba(245,240,228,.82); }

/* ============================================================
   บริการ 12 อย่าง — แถวโปร่ง ไอคอนวงกลม
   ============================================================ */
body.mh .mhs-section { background: var(--mh-cream); }
body.mh .mhs-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 22px;
}
body.mh .mhs-card {
  background: #fff; border: 1px solid var(--mh-line); border-radius: 16px; padding: 18px 18px;
  display: flex; gap: 14px; align-items: flex-start; box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body.mh .mhs-card::after { display: none; }
body.mh .mhs-card:hover { transform: translateY(-3px); box-shadow: var(--mh-shadow); border-color: #BFE4D9; }
body.mh .mhs-card .ic {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--mh-mint-soft); border: none;
}
body.mh .mhs-card .ic svg { width: 21px; height: 21px; fill: var(--mh-mint2); }
body.mh .mhs-card:hover .ic { transform: none; }
body.mh .mhs-card h3 { font-size: 1.02rem; font-weight: 600; color: var(--mh-ink); margin-bottom: 3px; }
body.mh .mhs-card p { font-size: .86rem; color: var(--mh-muted); line-height: 1.55; }

/* ใบสุดท้าย "งานอื่นนอกเหนือจากนี้?" — แถบมิ้นต์อ่อน ไม่ใช่พื้นเข้ม */
body.mh .mhs-card.ask-mh {
  grid-column: 1 / -1; align-items: center; gap: 18px; padding: 20px 22px;
  background: var(--mh-mint-soft); border-color: #BFE4D9; box-shadow: none;
}
body.mh .mhs-card.ask-mh .ic { background: #fff; }
body.mh .mhs-card.ask-mh h3 { color: var(--mh-deep); font-size: 1.08rem; }
body.mh .mhs-card.ask-mh p { color: var(--mh-ink2); }
body.mh .mhs-card.ask-mh > div:last-child { display: flex; align-items: center; gap: 18px; flex: 1; flex-wrap: wrap; }
body.mh .mhs-card.ask-mh .btn { margin: 0 0 0 auto; flex: none; }

/* ============================================================
   รับงานสร้าง — แถบเขียวเข้ม แยกระดับจากงานช่างชัด
   ============================================================ */
body.mh .mhb-section { background: var(--mh-deep); color: #F5F0E4; }
body.mh .mhb-section .mh-eyebrow { color: #8FD8CB; }
body.mh .mhb-section .mh-head h2 { color: #fff; }
body.mh .mhb-section .mh-head p { color: rgba(245,240,228,.78); }
body.mh .mhb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
/* จอกว้าง: 5 ใบเรียงแถวเดียว ไม่ให้ใบที่ 5 ตกไปลอยเดี่ยว */
@media (min-width: 1000px) { body.mh .mhb-grid { grid-template-columns: repeat(5, 1fr); } }
body.mh .mhb-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(245,240,228,.16); border-radius: 16px;
  padding: 24px 22px; transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
body.mh .mhb-card:hover { background: rgba(255,255,255,.1); border-color: rgba(42,182,155,.6); transform: translateY(-3px); }
body.mh .mhb-card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--mh-mint); margin-bottom: 16px; }
body.mh .mhb-card .ic svg { width: 21px; height: 21px; fill: var(--mh-deep); }
body.mh .mhb-card h3 { color: #fff; font-size: 1.08rem; font-weight: 600; margin-bottom: 6px; }
body.mh .mhb-card p { color: rgba(245,240,228,.78); font-size: .88rem; line-height: 1.6; }

/* ============================================================
   ขั้นตอน 4 ขั้น — เลขส้มใหญ่ มีเส้นเชื่อม
   ============================================================ */
body.mh .mh-steps { background: #fff; }
body.mh .mh-steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
body.mh .mh-step { position: relative; padding-top: 6px; }
body.mh .mh-step .n {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--mh-sun); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  box-shadow: 0 8px 18px rgba(255,138,0,.28); margin-bottom: 16px; position: relative; z-index: 1;
}
body.mh .mh-step:not(:last-child)::before {
  content: ""; position: absolute; top: 27px; left: 52px; right: -18px; height: 2px;
  background: repeating-linear-gradient(90deg, #D8E3DE 0 8px, transparent 8px 14px);
}
body.mh .mh-step h3 { font-size: 1.06rem; font-weight: 600; color: var(--mh-ink); margin-bottom: 6px; }
body.mh .mh-step p { font-size: .9rem; color: var(--mh-muted); line-height: 1.6; }

/* ============================================================
   จุดต่างของเรา — รายการติ๊กถูก 2 คอลัมน์
   ============================================================ */
body.mh .mh-why { background: var(--mh-cream); }
body.mh .mh-why-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
body.mh .mh-why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
body.mh .mh-why-item { display: flex; gap: 12px; align-items: flex-start; }
body.mh .mh-why-item .chk {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--mh-mint);
  display: grid; place-items: center; margin-top: 2px;
}
body.mh .mh-why-item .chk svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
body.mh .mh-why-item h3 { font-size: 1.02rem; font-weight: 600; color: var(--mh-ink); margin-bottom: 4px; }
body.mh .mh-why-item p { font-size: .88rem; color: var(--mh-muted); line-height: 1.6; }

/* ============================================================
   FAQ — โปร่ง เส้นคั่นบาง
   ============================================================ */
body.mh .mh-faq { background: #fff; }
body.mh .faq-list { max-width: 720px; margin: 0; gap: 0; }
body.mh .faq-list details { background: transparent; border: 0; border-top: 1px solid var(--mh-line); border-radius: 0; box-shadow: none; }
body.mh .faq-list details:last-child { border-bottom: 1px solid var(--mh-line); }
body.mh .faq-list details:hover { border-color: var(--mh-line); box-shadow: none; }
body.mh .faq-list summary { padding: 18px 4px; font-weight: 600; color: var(--mh-ink); }
body.mh .faq-list summary:hover { color: var(--mh-mint2); }
body.mh .faq-list summary::after { color: var(--mh-mint2); }
body.mh .faq-list details p { padding: 0 4px 18px; color: var(--mh-ink2); font-size: .95rem; line-height: 1.7; }

/* ============================================================
   CTA ท้ายหน้า — เขียวเข้ม ปุ่มไลน์เดียว
   ============================================================ */
body.mh .mh-cta { background: var(--mh-cream); padding-top: 0 !important; }
body.mh .mh-cta-band {
  background: var(--mh-deep); color: #F5F0E4; border-radius: 24px; padding: 48px 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
body.mh .mh-cta-band::after {
  content: ""; position: absolute; right: -40px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%;
  background: var(--mh-mint); opacity: .22;
}
body.mh .mh-cta-band h2 { color: #fff; font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.01em; }
body.mh .mh-cta-band p { color: rgba(245,240,228,.82); margin-top: 8px; max-width: 520px; font-size: 1.02rem; }
body.mh .mh-cta-band .btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; align-items: center; }
body.mh .mh-cta-band .mh-call { color: #fff; text-decoration-color: var(--mh-mint); }
body.mh .mh-cta-band .mh-call svg { fill: var(--mh-mint); }

/* ============================================================
   จอเล็ก
   ============================================================ */
@media (max-width: 960px) {
  body.mh .mhs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.mh .mh-steps-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; }
  body.mh .mh-step:nth-child(2)::before { display: none; }
  body.mh .mh-why-wrap { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  body.mh section { padding: 60px 0; }
  body.mh .mh-hero { padding-top: 44px; }
  body.mh .mh-hero-grid { grid-template-columns: 1fr; gap: 26px; padding-bottom: 120px; }
  body.mh .mh-hero-art { order: -1; }
  body.mh .mh-hero-art img { width: 150px; }
  body.mh .mh-hero .mh-actions .btn-line { width: 100%; }
  body.mh .mh-scene { height: 110px; }
  body.mh .mh-stats .mh-container { grid-template-columns: 1fr; padding: 0; }
  body.mh .mh-stat { padding: 18px 24px; }
  body.mh .mh-stat + .mh-stat { border-left: 0; border-top: 1px solid rgba(245,240,228,.14); }
  body.mh .mhs-grid { grid-template-columns: 1fr; gap: 10px; }
  body.mh .mhs-card.ask-mh .btn { margin-left: 0; width: 100%; }
  body.mh .mh-steps-grid { grid-template-columns: 1fr; }
  body.mh .mh-step::before { display: none !important; }
  body.mh .mh-why-list { grid-template-columns: 1fr; }
  body.mh .mh-cta-band { padding: 32px 26px; }
  body.mh .mh-cta-band .btns { width: 100%; }
  body.mh .mh-cta-band .btn { width: 100%; }
}
