/* ============================================================================
 *  landing.css — หน้าแนะนำบริการ (Landing Page)
 * ----------------------------------------------------------------------------
 *  ⚠️ ไฟล์นี้แยกขาดจากแอป ไม่ได้ใช้ frontend/css/app.css และไม่ได้ใช้ Tailwind
 *     เจตนาคือ "หน้าแรกต้องเบา" — คนแปลกหน้าที่เพิ่งเข้ามาไม่ควรต้องโหลด
 *     JS ของแอปทั้ง 46 ไฟล์ (~1.9 MB) แค่เพื่อจะอ่านว่าเราขายอะไร
 *
 *  🎨 ค่าสีคัดลอกมาจาก frontend/css/app.css (:root) แบบตรงตัว
 *     ธีมเดียวกันเป๊ะ — Ivory + Brass — แต่ไม่ผูกกับไฟล์นั้น
 *     ถ้าวันไหนเปลี่ยนสีแบรนด์ ต้องแก้ทั้งสองที่
 * ========================================================================== */

:root {
  /* ---- ชุดสีแบรนด์ (ตรงกับแอป) ---- */
  --ink:        #2B2519;
  --ink-soft:   #4A4033;
  --muted:      #9A8C71;

  --gold:       #B08A3E;
  --gold-light: #DEC488;
  --gold-dark:  #7A5D28;
  --gold-soft:  #F5EAD2;

  --ivory:      #FAF6EE;
  --panel:      #FFFDF8;
  --line:       #EDE4D3;
  --head:       #F2E7CE;

  --espresso-950: #241B0C;
  --espresso-900: #453518;
  --espresso-800: #5D4720;

  /* ---- ระยะ / ความโค้ง ---- */
  --wrap:    1160px;
  --r-sm:    .75rem;
  --r-md:    1rem;
  --r-lg:    1.35rem;
  --r-xl:    1.75rem;
  --section: clamp(72px, 9vw, 128px);
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'IBM Plex Sans Thai', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
  background:
    radial-gradient(1200px 520px at 6% -12%, rgba(176,138,62,.09), transparent 62%),
    radial-gradient(1000px 520px at 100% 0%, rgba(222,196,136,.14), transparent 58%),
    var(--ivory);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.18; letter-spacing: -0.028em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--gold-soft); color: var(--gold-dark); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #E0D4B8; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(176,138,62,.38); border-radius: .5rem; }

/* ตัวเลข/ภาษาอังกฤษให้ใช้ Inter เหมือนในแอป (ตารางตัวเลขอ่านง่ายกว่า) */
.num, .badge, .step-num { font-family: 'Inter', 'IBM Plex Sans Thai', sans-serif; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 32px); }
.section { padding-block: var(--section); }
.center { text-align: center; }

/* --------------------------------------------------- ตัวหนังสือกลุ่มหัวข้อ */
/* ป้ายเล็กเหนือหัวข้อ — ตัวพิมพ์ใหญ่ ตัวห่าง มีขีดทองนำหน้า (เก็บอารมณ์เดียวกับ
   .nav-group-header ในแอป ที่ใช้ uppercase + tracking กว้าง) */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .688rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .18em; color: var(--gold-dark);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ''; width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.center .eyebrow::before { display: none; }

.h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.1; letter-spacing: -0.038em; font-weight: 800; }
.h2 { font-size: clamp(1.7rem, 3.3vw, 2.55rem); letter-spacing: -0.032em; }
.h3 { font-size: 1.125rem; letter-spacing: -0.02em; font-weight: 800; }

.lead   { font-size: clamp(1rem, 1.35vw, 1.125rem); color: var(--ink-soft); max-width: 58ch; }
.muted  { color: var(--muted); }
.gold-text {
  background: linear-gradient(135deg, #B08A3E, #6F5522);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* เส้นคั่นบางสีทอง มีสี่เหลี่ยมข้าวหลามตัดตรงกลาง — รายละเอียดเล็กๆ ที่ทำให้ดูประณีต */
.rule { display: flex; align-items: center; justify-content: center; gap: .75rem; margin: 0 auto 1.75rem; max-width: 220px; }
.rule::before, .rule::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line)); }
.rule::after { background: linear-gradient(270deg, transparent, var(--line)); }
.rule i { width: 5px; height: 5px; transform: rotate(45deg); background: var(--gold); opacity: .55; }

/* --------------------------------------------------------------- ปุ่ม */
/* คัดลอกสไตล์ปุ่มหลักมาจาก button.gold-grad ในแอป เพื่อให้ปุ่ม "เข้าสู่ระบบ"
   บนหน้านี้กับปุ่มในแอปเป็นตัวเดียวกันจริงๆ ไม่ใช่แค่สีใกล้เคียง */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.55rem; border-radius: var(--r-md);
  font-size: .938rem; font-weight: 800; letter-spacing: .01em;
  cursor: pointer; border: 1.5px solid transparent;
  transition: background .18s ease, border-color .18s ease, color .18s ease,
              box-shadow .18s ease, transform .12s ease;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(180deg, #F7EDD8 0%, #EADCBB 100%);
  color: #5E4720; border-color: var(--gold);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85),
              0 3px 0 -1px rgba(176,138,62,.28),
              0 10px 20px -14px rgba(94,71,32,.75);
}
.btn-gold:hover {
  background: linear-gradient(180deg, #F2E4C7 0%, #E2D0A6 100%);
  border-color: #8C6C25; color: #4A3818;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9),
              0 3px 0 -1px rgba(140,108,37,.40),
              0 12px 24px -14px rgba(94,71,32,.85);
}
.btn-gold:active { transform: translateY(1px) scale(.985); box-shadow: inset 0 2px 4px rgba(122,93,40,.22); }

.btn-ghost { background: rgba(255,253,248,.7); color: var(--gold-dark); border-color: var(--line); }
.btn-ghost:hover { background: var(--panel); border-color: var(--gold-light); color: var(--ink); }

/* ปุ่มบนพื้นเข้ม (แถบสีเอสเปรสโซ) */
.btn-onDark { background: linear-gradient(180deg, #F5E9CE 0%, #E3CE9E 100%); color: #3A2B0E; border-color: #D9C08A;
  box-shadow: 0 14px 30px -16px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.7); }
.btn-onDark:hover { background: linear-gradient(180deg, #FBF2DF 0%, #EBDAB0 100%); }
.btn-outlineDark { background: transparent; color: var(--gold-light); border-color: rgba(222,196,136,.35); }
.btn-outlineDark:hover { border-color: var(--gold-light); background: rgba(222,196,136,.08); }

.btn-sm { padding: .55rem 1.05rem; font-size: .875rem; }
.btn-lg { padding: .95rem 1.9rem; font-size: 1rem; }

/* ============================================================== HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,246,238,.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(250,246,238,.9);
  box-shadow: 0 10px 30px -22px rgba(94,71,32,.55);
}
.nav { display: flex; align-items: center; gap: 1.5rem; height: 74px; }
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand img { height: 40px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 1.9vw, 1.9rem); }
.nav-links a {
  font-size: .9rem; font-weight: 700; color: var(--ink-soft);
  position: relative; padding-block: .35rem; transition: color .18s ease;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px;
  background: var(--gold); transition: right .25s ease;
}
.nav-links a:hover { color: var(--gold-dark); }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: .6rem; }

/* ================================================================= HERO */
.hero { padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: center; }

.hero h1 { margin-bottom: 1.1rem; }
.hero .lead { margin-bottom: 2.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.hero-notes { display: grid; gap: .45rem; }
.hero-note { display: flex; align-items: center; gap: .5rem; font-size: .813rem; color: var(--muted); font-weight: 600; }
.hero-note svg { color: var(--gold); flex-shrink: 0; }

/* ราคาย่อใต้คำโปรย — ให้คนเห็นตัวเลขตั้งแต่จอแรก */
.hero h1 .hero-sub { display: inline-block; font-size: .56em; letter-spacing: -.03em; margin-top: .35rem; }
/* ข้อความ "ระบบของเราเอง" เหนือราคา — ไม่มีพื้นสี ให้กลืนกับหน้า */
.hero-own { display: grid; gap: .25rem; margin-bottom: 1.6rem; }
.hero-own-k {
  display: inline-flex; align-items: center; gap: .7rem; margin-bottom: .15rem;
  font-size: .688rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
}
.hero-own-k::before { content: ""; width: 28px; height: 1px; background: var(--gold-light); }
.hero-own b { font-size: .95rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.hero-own > span:last-child { font-size: .85rem; color: var(--muted); font-weight: 500; }
.hero-prices { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.8rem; }
.hero-price {
  display: grid; gap: .1rem; padding: .7rem 1.1rem; border-radius: var(--r-md);
  background: var(--panel); border: 1px solid var(--line);
  transition: border-color .2s ease, transform .2s ease;
}
.hero-price:hover { border-color: var(--gold-light); transform: translateY(-2px); }
.hero-price > span { font-size: .75rem; font-weight: 700; color: var(--muted); }
.hero-price b { font-size: 1.35rem; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.hero-price b small { font-size: .75rem; font-weight: 600; color: var(--muted); margin-left: .15rem; }
.hero-price b small:first-child { margin-left: 0; margin-right: .1rem; }
.hero-diy { font-size: .875rem; color: var(--muted); font-weight: 600; }
.hero-diy a, .cta-diy a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.cta-diy { margin-top: 1.4rem; font-size: .875rem; color: var(--muted); font-weight: 600; }


/* ---- ภาพจำลองหน้าจอแอป (วาดด้วย HTML/CSS ล้วน ไม่มีไฟล์รูป) ---- */
.mock {
  border-radius: var(--r-xl);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -46px rgba(94,71,32,.55),
              0 12px 28px -20px rgba(94,71,32,.35);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-4deg) rotateX(1.5deg);
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.mock:hover { transform: perspective(1600px) rotateY(-1.5deg) rotateX(.5deg) translateY(-4px); }
.mock-bar { display: flex; align-items: center; gap: .4rem; padding: .7rem .95rem; background: linear-gradient(180deg, #FDFAF2, #F6EEDD); border-bottom: 1px solid var(--line); }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: #E2D6BC; }
.mock-title { margin-left: .6rem; font-size: .688rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.mock-body { display: grid; grid-template-columns: 116px minmax(0,1fr); min-height: 340px; }
.mock-side { border-right: 1px solid var(--line); padding: .95rem .7rem; background: linear-gradient(180deg, #FEFCF6, #FBF7EC); }
.mock-nav { display: flex; align-items: center; gap: .5rem; padding: .42rem .5rem; border-radius: .55rem; font-size: .688rem; font-weight: 700; color: #8B7F68; margin-bottom: .18rem; }
.mock-nav i { width: 12px; height: 12px; border-radius: 3px; background: #E8DCC2; flex: none; }
.mock-nav.on { background: var(--gold-soft); color: var(--gold-dark); }
.mock-nav.on i { background: var(--gold); }
.mock-main { padding: 1.05rem 1.15rem 1.3rem; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1rem; }
.mock-stat { border: 1px solid var(--line); border-radius: .75rem; padding: .6rem .7rem; background: #FFFDF8; }
.mock-stat span { display: block; font-size: .563rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.mock-stat b { display: block; font-size: .95rem; color: var(--ink); letter-spacing: -.02em; margin-top: .12rem; }
.mock-chart { border: 1px solid var(--line); border-radius: .85rem; padding: .85rem .9rem .7rem; background: #FFFDF8; }
.mock-chart > span { font-size: .563rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.bars { display: flex; align-items: flex-end; gap: .42rem; height: 96px; margin-top: .7rem; }
.bars i {
  flex: 1; border-radius: 3px 3px 2px 2px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  opacity: .85; transform-origin: bottom;
  animation: grow .9s cubic-bezier(.2,.8,.25,1) backwards;
}
.bars i:nth-child(7) { background: linear-gradient(180deg, #C9A461, var(--gold-dark)); opacity: 1; }
@keyframes grow { from { transform: scaleY(.04); opacity: 0; } to { transform: scaleY(1); } }
.mock-rows { margin-top: .85rem; display: grid; gap: .38rem; }
.mock-row { display: grid; grid-template-columns: 1fr auto; gap: .6rem; align-items: center; font-size: .625rem; padding: .4rem .55rem; border-radius: .5rem; background: #FBF7EC; color: #8B7F68; font-weight: 600; }
.mock-row b { color: var(--ink); font-weight: 700; }

/* ============================================== แถบเอกสาร/แบบยื่นที่รองรับ */
.strip { border-block: 1px solid var(--line); background: rgba(255,253,248,.55); }
.strip-inner { padding-block: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .55rem 1.75rem; }
.strip-label { font-size: .688rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); width: 100%; text-align: center; margin-bottom: .35rem; }
.badge {
  font-size: .813rem; font-weight: 700; color: var(--gold-dark);
  padding: .3rem .85rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel); letter-spacing: .01em;
}

/* ============================================================ การ์ดฟีเจอร์ */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.6rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-light);
  box-shadow: 0 20px 42px -24px rgba(122,93,40,.42);
}
.card-ico {
  width: 44px; height: 44px; border-radius: .8rem;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: linear-gradient(160deg, #FBF3E0, var(--gold-soft));
  border: 1px solid rgba(176,138,62,.22);
  color: var(--gold-dark);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.card h3 { margin-bottom: .55rem; }
.card ul { margin-top: .9rem; display: grid; gap: .42rem; }
.card li { position: relative; padding-left: 1.15rem; font-size: .875rem; color: var(--ink-soft); }
.card li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; transform: rotate(45deg);
  background: var(--gold); opacity: .5;
}

/* ============================================ จุดต่างสามข้อ (เรียงแนวนอน) */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--panel); }
.pillar { padding: 2.1rem 1.9rem; border-right: 1px solid var(--line); }
.pillar:last-child { border-right: 0; }
.pillar .k { font-size: .688rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .85rem; }
.pillar h3 { margin-bottom: .5rem; }
.pillar p { font-size: .875rem; }

/* ================================================== แถบเข้ม — เรื่องภาษี */
.dark {
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(176,138,62,.22), transparent 60%),
    radial-gradient(700px 400px at 92% 100%, rgba(222,196,136,.12), transparent 62%),
    linear-gradient(160deg, var(--espresso-950) 0%, var(--espresso-900) 100%);
  color: #E7DCC4;
  position: relative;
}
.dark::before, .dark::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(222,196,136,.45), transparent);
}
.dark::before { top: 0; } .dark::after { bottom: 0; }
.dark h2, .dark h3 { color: #FBF6E9; }
.dark .eyebrow { color: var(--gold-light); }
.dark .eyebrow::before { background: linear-gradient(90deg, transparent, var(--gold-light)); }
.dark .lead { color: #CBBE9F; }
.dark .rule::before { background: linear-gradient(90deg, transparent, rgba(222,196,136,.35)); }
.dark .rule::after  { background: linear-gradient(270deg, transparent, rgba(222,196,136,.35)); }
.dark .rule i { background: var(--gold-light); }

.tax-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2.6rem; }
.tax-card {
  border: 1px solid rgba(222,196,136,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border-radius: var(--r-lg); padding: 1.6rem 1.5rem;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.tax-card:hover { border-color: rgba(222,196,136,.42); transform: translateY(-3px); background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.02)); }
.tax-card .tag {
  display: inline-block; font-size: .688rem; font-weight: 800; letter-spacing: .06em;
  color: #3A2B0E; background: linear-gradient(180deg, var(--gold-light), #C9A461);
  padding: .16rem .6rem; border-radius: 999px; margin-bottom: .9rem;
}
.tax-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.tax-card p { font-size: .875rem; color: #C4B694; }

/* ==================================================== ขั้นตอนเริ่มใช้งาน */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.step { position: relative; padding: 1.9rem 1.6rem 1.7rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.step-num {
  position: absolute; top: -.35rem; right: .85rem;
  font-size: 4.2rem; font-weight: 800; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(176,138,62,.15);
  pointer-events: none; user-select: none;
}
.step h3 { margin-bottom: .5rem; }
.step p { font-size: .875rem; }

/* ==================================================== บริการจากทีมงาน */
/* การ์ดราคา — ตั้งใจให้ดูเป็นทางการแบบ "ใบเสนอราคา" มากกว่าป้ายลดราคา
   จึงไม่มีสีแดง ไม่มีขีดฆ่าราคา ไม่มีคำว่าโปรโมชั่น */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; align-items: stretch; }
.svc {
  position: relative; display: flex; flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 2.1rem 1.9rem 1.9rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc:hover { transform: translateY(-3px); border-color: var(--gold-light); box-shadow: 0 24px 50px -28px rgba(122,93,40,.45); }

/* เส้นทองบางๆ พาดหัวการ์ด */
.svc::before {
  content: ''; position: absolute; top: 0; left: 2rem; right: 2rem; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .5;
}

.svc-tag {
  align-self: flex-start;
  font-size: .688rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-dark); background: var(--gold-soft);
  border: 1px solid rgba(176,138,62,.25);
  padding: .2rem .7rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.svc h3 { font-size: 1.35rem; letter-spacing: -.028em; margin-bottom: .35rem; }
.svc-sub { font-size: .875rem; color: var(--muted); }

.svc-price { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; margin: 1.4rem 0 .35rem; }
.svc-price .pre { font-size: .875rem; font-weight: 700; color: var(--muted); }
.svc-price .amt {
  font-family: 'Inter', sans-serif; font-variant-numeric: tabular-nums;
  font-size: clamp(2.2rem, 3.4vw, 2.9rem); font-weight: 800; letter-spacing: -.04em;
  line-height: 1; color: var(--ink);
}
.svc-price .cur { font-size: 1rem; font-weight: 700; color: var(--gold-dark); }
.svc-price .per { font-size: .875rem; font-weight: 600; color: var(--muted); }
.svc-price-note { font-size: .813rem; color: var(--muted); }

.svc-line { height: 1px; background: var(--line); margin: 1.5rem 0 1.3rem; }

.svc ul { display: grid; gap: .55rem; margin-bottom: 1.4rem; }
.svc li { position: relative; padding-left: 1.65rem; font-size: .9rem; color: var(--ink-soft); }
.svc li::before {
  content: ''; position: absolute; left: 0; top: .48em;
  width: 15px; height: 8px; border-left: 1.8px solid var(--gold); border-bottom: 1.8px solid var(--gold);
  transform: rotate(-45deg) scale(.72); transform-origin: center;
}
.svc-foot { margin-top: auto; }
.svc-foot .btn { width: 100%; }
.svc-note {
  font-size: .75rem; color: var(--muted); line-height: 1.6;
  margin-top: .9rem; padding-top: .9rem; border-top: 1px dashed var(--line);
}

/* การ์ดบริการหลัก (ทำบัญชีรายเดือน) — เด่นกว่าอีกสองใบ */
.svc-hot {
  border-color: var(--gold-light);
  background: linear-gradient(180deg, #FFFDF8 0%, #FBF3E1 100%);
  box-shadow: 0 30px 60px -34px rgba(122,93,40,.55);
}
.svc-hot::before { opacity: 1; height: 3px; }
.svc-hot .svc-tag { background: linear-gradient(180deg, #E9D3A0, #D9BA78); color: #3A2B0E; border-color: #C9A461; }

/* แถบติดต่อใต้การ์ดราคา */
.svc-contact {
  margin-top: 1.15rem; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,253,248,.9), rgba(251,245,232,.9));
  padding: 1.5rem 1.9rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.1rem;
}
.svc-contact h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.svc-contact p { font-size: .875rem; color: var(--muted); }
.svc-contact .actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ================================================================= FAQ */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: .7rem; }
.faq details {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: .2rem 1.35rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: var(--gold-light); box-shadow: 0 16px 34px -26px rgba(122,93,40,.5); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.05rem 0;
  font-weight: 700; color: var(--ink); font-size: .95rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; width: 9px; height: 9px; flex: none;
  border-right: 1.8px solid var(--gold); border-bottom: 1.8px solid var(--gold);
  transform: rotate(45deg) translateY(-2px); transition: transform .22s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq .ans { padding: 0 0 1.15rem; font-size: .9rem; color: var(--ink-soft); }

/* ============================================================ CTA ท้ายหน้า */
.cta-box {
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background:
    radial-gradient(700px 300px at 50% -30%, rgba(176,138,62,.13), transparent 65%),
    linear-gradient(180deg, #FFFDF8, #FBF5E8);
  padding: clamp(2.6rem, 5vw, 4.2rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  box-shadow: 0 30px 70px -46px rgba(94,71,32,.5);
}
.cta-box .h2 { margin-bottom: .9rem; }
.cta-box .lead { margin-inline: auto; margin-bottom: 2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* ============================================================== FOOTER */
.site-footer { border-top: 1px solid var(--line); background: rgba(255,253,248,.6); }
.foot { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; padding-block: 2.2rem; }
.foot img { height: 34px; width: auto; opacity: .9; }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.4rem; font-size: .875rem; font-weight: 600; color: var(--muted); }
.foot-links a:hover { color: var(--gold-dark); }
.foot-copy { width: 100%; border-top: 1px solid var(--line); padding-block: 1.15rem; font-size: .75rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; }

/* ======================================================= การเลื่อนเข้ามา */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================== มือถือ */
@media (max-width: 1080px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mock { transform: none; }
  .mock:hover { transform: translateY(-3px); }
  .hero .lead { max-width: none; }

  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
}
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-hot { order: -1; }
  .svc-contact { flex-direction: column; align-items: flex-start; }
  .svc-contact .actions { width: 100%; }
  .svc-contact .actions .btn { flex: 1 1 auto; }
}
@media (max-width: 760px) {
  .grid-3 { grid-template-columns: 1fr; }
  .tax-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .nav { height: 66px; }
  .brand img { height: 34px; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .foot { justify-content: center; text-align: center; }
  .foot-copy { justify-content: center; text-align: center; }
}

/* เคารพการตั้งค่า "ลดการเคลื่อนไหว" ของเครื่องผู้ใช้ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================ สั่งพิมพ์ */
@media print {
  .site-header, .cta-box, .hero-actions { display: none; }
  body { background: #fff; }
}
