/* ============================================================
   หน้าบริการ: ออกโนติสทวงหนี้ และฟ้องคดีกู้ยืมเงิน  (/services-debt-notice)
   ใช้เฉพาะหน้านี้ — โหลดต่อจาก tokens.css + components.css
   ทุกค่าสี/ระยะ/ตัวอักษรดึงจาก tokens เดิม เพื่อให้เป็นอัตลักษณ์เดียวกับทั้งเว็บ
   prefix "dn-" = debt notice
   ============================================================ */

/* [hidden] ต้องชนะ display ที่ตั้งไว้ในคลาส (เช่น .dn-r-empty, .dn-date) */
.dn-tool [hidden] { display: none !important; }

/* ---------- หัวข้อ section แบบไม่มี eyebrow (ใช้ eyebrow ที่ hero ที่เดียว) ---------- */
.dn-sec-head { max-width: 64ch; margin-bottom: clamp(28px, 4vw, 48px); }
.dn-sec-head.center { margin-inline: auto; text-align: center; }
.dn-sec-head h2 { font-size: var(--fs-h2); }
.dn-sec-head h2::after { content: ""; display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--gold); margin-top: 18px; }
.dn-sec-head.center h2::after { margin-inline: auto; }
.dn-sec-head p { color: var(--slate); font-size: var(--fs-lead); margin-top: 16px; line-height: 1.75; text-wrap: pretty; }

/* เพชรทองเล็ก — ลายเดียวกับ .flourish ของเว็บ ใช้เป็นหัวรายการ */
.dn-list li::before, .dn-r-why li::before, .dn-docs li::before {
  content: ""; position: absolute; left: 2px; top: calc(.84em - 3.5px);
  width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg);
}
.dn-list li::before { top: calc(15px + .82em - 3.5px); }

/* ============================================================
   S1 · HERO — ห้องทำงานทนายยามค่ำ: ภาพจริงจางอยู่หลังกรมท่าลึก
   ============================================================ */
.dn-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--on-navy); background: var(--navy-ink); }
.dn-hero-bg { position: absolute; inset: 0; z-index: -2; }
.dn-hero-bg picture { display: block; height: 100%; }
.dn-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 48%; animation: dnKen 2.2s var(--ease-out-quint) both; }
.dn-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(95deg, rgba(7,14,28,.95) 0%, rgba(10,20,36,.88) 36%, rgba(13,24,41,.58) 60%, rgba(13,24,41,.74) 100%),
    var(--vignette);
}
@keyframes dnKen { from { transform: scale(1.06); } to { transform: none; } }

.dn-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 76px); align-items: center;
  padding-block: clamp(48px, 7vw, 104px);
}
.dn-hero .eyebrow { color: var(--gold-soft); }
.dn-hero h1 {
  color: var(--white); margin-top: 18px;
  font-size: clamp(1.8rem, 1.25rem + 2.6vw, 3.3rem); line-height: 1.24;
}
.dn-lead { font-size: var(--fs-lead); color: var(--on-navy-muted); line-height: 1.85; margin-top: 22px; max-width: 46ch; text-wrap: pretty; }
.dn-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ทนายผู้รับผิดชอบ — คนจริง ชื่อจริง ตั้งแต่จอแรก */
.dn-chip {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 34px;
  padding: 9px 20px 9px 9px; border-radius: var(--r-pill);
  background: rgba(7,14,28,.55); border: 1px solid rgba(217,197,139,.3);
  animation: dnRise .9s .25s var(--ease-out-quint) both;
}
.dn-chip img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: 50% 16%; border: 2px solid var(--gold-soft); background: var(--navy-700); }
.dn-chip-k { display: block; font-size: var(--fs-xs); color: var(--gold-soft); }
.dn-chip strong { display: block; color: var(--white); font-family: var(--serif-th); font-size: 1.06rem; font-weight: 600; line-height: 1.35; }
.dn-chip-sub { display: block; font-size: var(--fs-xs); color: var(--on-navy-muted); line-height: 1.45; }

/* ฟอร์มด่วน — การ์ดสว่างบนพื้นกรมท่า */
.dn-quick { box-shadow: var(--sh-xl); animation: dnRise .9s .1s var(--ease-out-quint) both; }
@keyframes dnRise { from { transform: translateY(18px); } to { transform: none; } }
.dn-form-h { font-family: var(--serif-th); font-size: 1.5rem; color: var(--navy); line-height: 1.3; }
.dn-form-sub { font-size: var(--fs-sm); color: var(--slate); margin: 6px 0 20px; line-height: 1.6; }
.dn-quick .consent, .dn-quote .consent { margin-bottom: 18px; }
.field label small { font-weight: 400; color: var(--slate-light); }
.dn-hint { font-size: var(--fs-xs); color: var(--slate); margin-top: 6px; line-height: 1.5; }
.form-card .form-success a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; font-weight: 600; }

/* ============================================================
   S2 · ปัญหา
   ============================================================ */
.dn-problem { background: var(--ivory); }
.dn-problem-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.dn-problem-head h2 { font-size: var(--fs-h2); }
.dn-problem-head p { color: var(--slate); margin-top: 18px; line-height: 1.85; text-wrap: pretty; }
.dn-problem-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 44px); }
.dn-pcol h3 { font-size: 1.15rem; padding-bottom: 12px; border-bottom: 1.5px solid var(--navy); }
.dn-list li, .dn-risk li { padding: 15px 0; border-bottom: 1px solid var(--line-strong); color: var(--ink); line-height: 1.65; }
.dn-list li { position: relative; padding-left: 24px; }
.dn-risk li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.dn-law {
  font-size: var(--fs-xs); font-weight: 600; color: var(--gold-text);
  background: var(--champagne-12); border: 1px solid var(--line-gold);
  padding: 2px 11px; border-radius: var(--r-pill); white-space: nowrap;
}

/* ============================================================
   S3 · เขียนเองได้ไหม — โครงหนังสือจริง พร้อมจุดที่มักพลาด
   ============================================================ */
.dn-diy { background: var(--white); border-block: 1px solid var(--line); }
.dn-diy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.dn-diy-copy h2 { font-size: var(--fs-h2); }
.dn-diy-copy > p { color: var(--slate); margin-top: 16px; line-height: 1.85; max-width: 60ch; text-wrap: pretty; }
.dn-diy-copy a { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.dn-diy-copy a:hover { color: var(--gold-text); }

.dn-pitfalls { counter-reset: pf; list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 16px; }
.dn-pitfalls li { counter-increment: pf; position: relative; padding-left: 48px; color: var(--slate); line-height: 1.7; }
.dn-pitfalls li::before, .dn-paper mark::before, .dn-stamp::before {
  display: grid; place-items: center; border-radius: 50%;
  background: var(--navy); color: var(--gold-bright);
  font: 700 .82rem/1 var(--sans-th); font-variant-numeric: tabular-nums;
}
.dn-pitfalls li::before { content: counter(pf); position: absolute; left: 0; top: 0; width: 32px; height: 32px; }
.dn-pitfalls b { display: block; color: var(--navy); font-size: 1.04rem; }
.dn-when { margin-top: 28px; padding: 16px 20px; background: var(--ivory); border: 1px solid var(--line-strong); border-radius: var(--r-md); color: var(--ink); line-height: 1.7; }
.dn-when b { display: block; color: var(--navy); margin-bottom: 2px; }

.dn-letter { position: relative; margin: 0; padding: 14px 18px 4px 6px; isolation: isolate; }
/* แผ่นที่สองซ้อนข้างใต้ */
.dn-letter::before {
  content: ""; position: absolute; z-index: -1; inset: 26px 0 66px 26px;
  background: var(--ivory-deep); border: 1px solid var(--line-strong); border-radius: 4px;
  transform: rotate(2.4deg);
}
.dn-paper {
  position: relative; background: var(--ivory-warm); border: 1px solid var(--line);
  border-radius: 4px; padding: clamp(24px, 3.4vw, 42px);
  box-shadow: var(--sh-xl); transform: rotate(-1.1deg);
  font-family: var(--serif-th); color: var(--ink); font-size: .97rem; line-height: 1.95;
}
.dn-lh { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 2px solid var(--navy); color: var(--navy); font-weight: 600; font-size: 1rem; line-height: 1.3; }
.dn-lh img { width: 36px; height: 36px; flex: none; }
.dn-paper p + p { margin-top: 10px; }
.dn-l-r { text-align: right; color: var(--slate); }
.dn-l-body { text-indent: 2.4em; }
.dn-l-sign { text-align: right; margin-top: 26px !important; color: var(--slate); }
.dn-paper mark { background: linear-gradient(transparent 56%, rgba(231,203,128,.62) 56%); color: inherit; padding: 0 2px; text-indent: 0; }
.dn-paper mark::before {
  content: attr(data-n); display: inline-grid; width: 20px; height: 20px;
  margin-right: 5px; vertical-align: .12em; font-size: .7rem;
}
.dn-stamp {
  position: absolute; right: -22px; bottom: -30px; transform: rotate(-6deg);
  padding: 9px 16px 9px 42px; border: 2px solid var(--gold-deep); border-radius: 6px;
  background: rgba(252,251,247,.95); color: var(--gold-deep); box-shadow: var(--sh-md);
  font-weight: 700; font-size: .88rem; line-height: 1.35;
}
.dn-stamp::before { content: attr(data-n); position: absolute; left: 11px; top: 50%; width: 22px; height: 22px; translate: 0 -50%; font-size: .72rem; }
.dn-stamp small { font-weight: 500; font-size: .74rem; }
.dn-letter figcaption { margin-top: 50px; font-size: var(--fs-xs); color: var(--slate); text-align: center; }

/* ============================================================
   S4 · บันไดบริการ — ยิ่งขั้นสูง สีกรมท่ายิ่งลึก
   ============================================================ */
.dn-ladder-sec { background: var(--ivory); }
.dn-ladder { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dn-rung { position: relative; padding: clamp(26px, 3vw, 40px); border: 1px solid var(--line-navy); }
.dn-rung:first-child { background: var(--white); border-radius: var(--r-lg) 0 0 var(--r-lg); }
.dn-rung:nth-child(2) { background: var(--navy-700); border-color: var(--navy-700); }
.dn-rung:last-child { background: var(--navy-ink); border-color: var(--navy-ink); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.dn-rung-n { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; color: var(--gold-text); }
.dn-rung h3 { font-size: var(--fs-h3); margin-top: 10px; }
.dn-rung dl { margin: 18px 0 0; }
.dn-rung dt { font-size: var(--fs-xs); font-weight: 700; color: var(--slate); margin-top: 16px; }
.dn-rung dt:first-child { margin-top: 0; }
.dn-rung dd { margin: 4px 0 0; line-height: 1.7; color: var(--ink); }
.dn-rung:nth-child(n+2) .dn-rung-n { color: var(--gold-soft); }
.dn-rung:nth-child(n+2) h3 { color: var(--white); }
.dn-rung:nth-child(n+2) dt { color: var(--champagne); }
.dn-rung:nth-child(n+2) dd { color: var(--on-navy); }
/* ตัวต่อขั้น: ลูกศรทองกลางรอยต่อ */
.dn-rung + .dn-rung::before {
  content: ""; position: absolute; z-index: 1; left: -16px; top: 50%; translate: 0 -50%;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--grad-gold) ; box-shadow: 0 0 0 4px var(--ivory), var(--sh-gold);
}
.dn-rung + .dn-rung::after {
  content: ""; position: absolute; z-index: 2; left: -16px; top: 50%; translate: 0 -50%;
  width: 32px; height: 32px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A2208' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* ============================================================
   S5 · เครื่องมือประเมินเรื่อง
   ============================================================ */
.dn-tool-sec { background: var(--white); }
.dn-tool { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
.dn-tool-q { display: grid; gap: 14px; }
.dn-q { margin: 0; min-width: 0; padding: 20px 22px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--ivory); }
.dn-q legend { float: left; width: 100%; padding: 0; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; font-family: var(--serif-th); font-size: 1.12rem; font-weight: 600; color: var(--navy); line-height: 1.35; }
.dn-q > :not(legend) { clear: both; }
.dn-qn { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold-bright); font: 700 .85rem/1 var(--sans-th); }

.dn-money { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 18px; background: var(--white); border: 1.5px solid var(--line-strong); border-radius: var(--r-md); transition: border-color .2s, box-shadow .2s; }
.dn-money:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px var(--champagne-12); }
.dn-money input { flex: 1; min-width: 0; padding: 12px 0; border: 0; background: transparent; font: 600 1.4rem/1.2 var(--sans-th); color: var(--navy); font-variant-numeric: tabular-nums; }
.dn-money input:focus { outline: none; }
.dn-money input::placeholder { color: var(--slate-light); }
.dn-money span { color: var(--slate); font-weight: 500; }

.dn-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dn-opt { position: relative; display: flex; }
.dn-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.dn-opt span {
  position: relative; flex: 1; display: flex; align-items: center;
  min-height: 54px; padding: 12px 14px 12px 44px;
  background: var(--white); border: 1.5px solid var(--line-strong); border-radius: var(--r-md);
  color: var(--ink); font-size: var(--fs-sm); line-height: 1.45;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.dn-opt span::before {
  content: ""; position: absolute; left: 14px; top: 50%; translate: 0 -50%;
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.dn-opt:hover span { border-color: var(--gold-soft); }
.dn-opt input:checked + span { border-color: var(--gold); background: #FFFDF6; box-shadow: 0 0 0 1px var(--gold); }
.dn-opt input:checked + span::before { border-color: var(--gold); box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 9px var(--gold); }
.dn-opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.dn-date { margin-top: 12px; display: grid; gap: 6px; }
.dn-date label { font-size: var(--fs-sm); font-weight: 600; color: var(--navy); }
.dn-date input { font: inherit; font-size: var(--fs-sm); color: var(--ink); min-height: 52px; padding: 12px 16px; background: var(--white); border: 1.5px solid var(--line-strong); border-radius: var(--r-md); }
.dn-date input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--champagne-12); }

/* ผลประเมิน — แผงกรมท่าที่ติดตามตอนเลื่อน (จอใหญ่) */
.dn-result {
  position: sticky; top: calc(var(--header-h) + 22px);
  padding: clamp(24px, 3vw, 34px); border-radius: var(--r-lg);
  background: var(--grad-navy); color: var(--on-navy); box-shadow: var(--sh-xl);
}
.dn-r-empty { display: grid; place-items: center; gap: 16px; min-height: 280px; text-align: center; color: var(--on-navy-muted); line-height: 1.7; }
.dn-r-scale svg { width: 60px; height: 60px; color: var(--gold-soft); }
.dn-r-full.is-fresh { animation: dnFresh .5s var(--ease-out-quint); }
@keyframes dnFresh { from { opacity: .35; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.dn-verdict { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 700; }
.dn-verdict::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.dn-verdict[data-tone="ok"]   { color: #8DE5BB; background: rgba(31,138,91,.2);  border: 1px solid rgba(141,229,187,.38); }
.dn-verdict[data-tone="warn"] { color: var(--gold-bright); background: rgba(231,203,128,.14); border: 1px solid rgba(231,203,128,.42); }
.dn-verdict[data-tone="stop"] { color: #FFB8AA; background: rgba(224,108,90,.18); border: 1px solid rgba(255,184,170,.4); }
.dn-r-h { margin-top: 14px; color: var(--white); font-size: 1.42rem; line-height: 1.35; }
.dn-r-why { margin-top: 14px; display: grid; gap: 10px; }
.dn-r-why li { position: relative; padding-left: 20px; color: var(--on-navy); font-size: var(--fs-sm); line-height: 1.7; }
.dn-r-why li::before { background: var(--gold-soft); }
.dn-r-nums { margin: 22px 0 0; border-top: 1px solid rgba(217,197,139,.24); }
.dn-r-nums:empty { display: none; }
.dn-r-nums > div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 12px 0; border-bottom: 1px solid rgba(217,197,139,.14); }
.dn-r-nums dt { color: var(--on-navy-muted); font-size: var(--fs-sm); line-height: 1.5; }
.dn-r-nums dd { margin: 0; color: var(--white); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; line-height: 1.45; }
.dn-r-nums dd small { display: block; color: var(--on-navy-muted); font-size: var(--fs-xs); font-weight: 400; }
.dn-r-nums dd[data-tone="stop"] { color: #FFB8AA; }
.dn-r-nums dd[data-tone="warn"] { color: var(--gold-bright); }
.dn-r-cta { width: 100%; margin-top: 24px; white-space: normal; text-align: center; }
.dn-r-note { margin-top: 14px; font-size: var(--fs-xs); color: var(--on-navy-muted); line-height: 1.65; }

/* ============================================================
   S6 · ขั้นตอน 2 ช่วง
   ============================================================ */
.dn-steps-sec { background: var(--ivory); }
.dn-phases { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3.4fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.dn-phase { padding: clamp(26px, 3vw, 38px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.dn-phase--court { background: var(--navy); border-color: var(--navy); }
.dn-phase-h { font-size: 1.2rem; margin-bottom: 22px; }
.dn-phase--court .dn-phase-h { color: var(--white); }
.dn-steps { list-style: none; padding: 0; counter-reset: st; }
.dn-steps[start="6"] { counter-reset: st 5; }
.dn-steps li { counter-increment: st; position: relative; padding: 0 0 24px 54px; }
.dn-steps li:last-child { padding-bottom: 0; }
.dn-steps li::before {
  content: counter(st); position: absolute; left: 0; top: -2px;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ivory); border: 1.5px solid var(--gold); color: var(--navy);
  font: 700 .9rem/1 var(--sans-th);
}
.dn-steps li::after { content: ""; position: absolute; left: 17.5px; top: 40px; bottom: 4px; width: 1.5px; background: var(--line-gold); }
.dn-steps li:last-child::after { display: none; }
.dn-steps b { display: block; color: var(--navy); font-family: var(--serif-th); font-size: 1.08rem; line-height: 1.4; }
.dn-steps span { display: block; margin-top: 4px; color: var(--slate); font-size: var(--fs-sm); line-height: 1.7; }
.dn-phase--court .dn-steps li::before { background: transparent; border-color: var(--gold-soft); color: var(--gold-bright); }
.dn-phase--court .dn-steps li::after { background: rgba(217,197,139,.3); }
.dn-phase--court .dn-steps b { color: var(--white); }
.dn-phase--court .dn-steps span { color: var(--on-navy-muted); }

/* ============================================================
   S7 · ค่าบริการ
   ============================================================ */
.dn-fees-sec { background: var(--white); }
.dn-fees { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 76px); align-items: start; }
.dn-fees-copy h2 { font-size: var(--fs-h2); }
.dn-fees-copy > p { color: var(--slate); margin-top: 16px; line-height: 1.85; max-width: 56ch; text-wrap: pretty; }
.dn-fees-copy .dn-promise { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.dn-promise svg { flex: none; width: 20px; height: 20px; margin-top: 5px; color: var(--gold-text); }
.dn-fees-copy .btn { margin-top: 28px; }
.dn-fees-cols { display: grid; gap: 16px; }
.dn-fcol { padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--ivory); }
.dn-fcol h3 { font-size: 1.12rem; margin-bottom: 6px; }
.dn-check li, .dn-dash li { position: relative; padding: 11px 0 11px 30px; border-bottom: 1px solid var(--line); color: var(--ink); line-height: 1.6; }
.dn-check li:last-child, .dn-dash li:last-child { border-bottom: 0; }
.dn-check li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 19px; height: 19px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23785811' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.dn-dash li::before { content: ""; position: absolute; left: 3px; top: 1.3em; width: 13px; height: 1.5px; background: var(--slate-light); }
.dn-dash small { color: var(--slate); }

/* ============================================================
   S8 · ทนายผู้รับผิดชอบ
   ============================================================ */
.dn-lawyer-sec { background: var(--ivory); }
.dn-lawyer { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 5vw, 76px); align-items: center; }
.dn-lawyer-photo { position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r-lg); background: var(--navy); box-shadow: var(--sh-lg); }
.dn-lawyer-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.dn-lawyer-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(184,144,47,.4); pointer-events: none; }
.dn-k { font-size: var(--fs-sm); font-weight: 600; color: var(--gold-text); }
.dn-lawyer-body h2 { font-size: var(--fs-h2); margin-top: 6px; }
.dn-lawyer-role { margin-top: 8px; color: var(--slate); }
.dn-creds { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.dn-creds li { padding: 5px 13px; border: 1px solid var(--line-gold); border-radius: var(--r-pill); background: var(--white); color: var(--navy); font-size: var(--fs-xs); font-weight: 600; }
.dn-bio { margin-top: 18px; color: var(--slate); line-height: 1.85; max-width: 60ch; }
.dn-commit { margin-top: 22px; display: grid; gap: 10px; }
.dn-commit li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); line-height: 1.65; }
.dn-commit svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--gold-text); }
.dn-reviewed { margin-top: 18px; font-size: var(--fs-xs); color: var(--slate); }
.dn-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 6px 0; color: var(--navy); font-weight: 600; border-bottom: 1.5px solid var(--gold); }
.dn-more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.dn-more:hover svg { transform: translateX(4px); }

/* ============================================================
   S9 · FAQ (ใช้ .faq-* เดิมของเว็บ) — เพิ่มบรรทัดมาตราอ้างอิง
   ============================================================ */
.dn-faq-sec .faq-a-inner p + p { margin-top: 10px; }
.dn-ref { font-size: var(--fs-xs); font-weight: 600; color: var(--gold-text); }

/* ============================================================
   S10 · ปิดท้าย + ฟอร์มขอใบเสนอราคา
   ============================================================ */
.dn-close { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(56px, 7vw, 104px); background: var(--grad-ink); color: var(--on-navy); }
.dn-close::before { content: ""; position: absolute; z-index: -1; left: -12%; top: -30%; width: 62%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(184,144,47,.17), transparent); }
.dn-close-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 76px); align-items: start; }
.dn-close-copy h2 { color: var(--white); font-size: var(--fs-h2); }
.dn-close-copy > p { margin-top: 16px; max-width: 46ch; color: var(--on-navy-muted); font-size: var(--fs-lead); line-height: 1.85; text-wrap: pretty; }
.dn-docs { margin-top: 34px; padding: 24px 26px; border: 1px solid rgba(217,197,139,.28); border-radius: var(--r-lg); background: rgba(255,255,255,.035); }
.dn-docs h3 { color: var(--white); font-size: 1.12rem; }
.dn-docs ul { margin-top: 14px; display: grid; gap: 9px; }
.dn-docs li { position: relative; padding-left: 22px; color: var(--on-navy); line-height: 1.65; }
.dn-docs li::before { background: var(--gold-soft); }
.dn-docs p { margin-top: 14px; color: var(--on-navy-muted); font-size: var(--fs-sm); line-height: 1.65; }
.dn-docs .btn { margin-top: 20px; }
.dn-quote { box-shadow: var(--sh-xl); }
.dn-quote .dn-form-h { margin-bottom: 18px; }
.dn-quote .dn-form-h:has(+ .dn-quote-sub) { margin-bottom: 0; }

/* ============================================================
   Responsive — จัดใหม่ ไม่ใช่แค่ย่อ
   ============================================================ */
@media (max-width: 1080px) {
  .dn-problem-grid { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .dn-hero-grid, .dn-diy-grid, .dn-tool, .dn-fees, .dn-close-grid, .dn-phases { grid-template-columns: 1fr; }
  .dn-hero-grid { padding-block: clamp(40px, 8vw, 64px) clamp(44px, 9vw, 72px); }
  .dn-result { position: static; }
  .dn-r-empty { min-height: 168px; }
  .dn-lawyer { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); align-items: start; }
  .dn-letter { max-width: 560px; margin-inline: auto; width: 100%; }

  /* บันได: เรียงลงล่าง ลูกศรชี้ลง */
  .dn-ladder { grid-template-columns: 1fr; }
  .dn-rung:first-child { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .dn-rung:last-child { border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .dn-rung + .dn-rung::before, .dn-rung + .dn-rung::after { left: 50%; top: -16px; translate: -50% 0; }
  .dn-rung + .dn-rung::after { rotate: 90deg; }
}
@media (max-width: 640px) {
  .dn-problem-cols, .dn-opts, .dn-opts--2 { grid-template-columns: 1fr; }
  .dn-quick .form-row, .dn-quote .form-row { grid-template-columns: 1fr; gap: 0; }
  .dn-lawyer { grid-template-columns: 1fr; }
  .dn-lawyer-photo { max-width: 240px; }
  .dn-hero-actions .btn { width: 100%; white-space: normal; text-align: center; }
  .dn-chip { margin-top: 28px; }
  .dn-paper { transform: rotate(-.6deg); font-size: .92rem; }
  .dn-letter { padding-right: 8px; }
  .dn-stamp { right: -6px; bottom: -34px; }
  .dn-r-nums > div { flex-direction: column; align-items: flex-start; gap: 2px; }
  .dn-r-nums dd { text-align: left; }
}
@media (max-width: 420px) {
  .dn-hero h1 .nowrap { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .dn-hero-bg img, .dn-chip, .dn-quick, .dn-r-full.is-fresh { animation: none !important; }
  .dn-more svg { transition: none; }
}
