/* Edumi.co — Redesign 2026 (Solutions Studio)
   ใช้กับส่วนเนื้อหาใหม่เท่านั้น (.rd-root) — เมนู/แถบล่าง/ตะกร้า/ระบบชำระเงินเดิมไม่ใช้ไฟล์นี้ */
.rd-root {
  --rd-ink: #16255e; --rd-ink-2: #0e1a47; --rd-or: #f97316; --rd-or-d: #ea580c;
  --rd-paper: #faf7f2; --rd-paper-2: #f3eee5; --rd-line: #e8e2d6; --rd-muted: #5d6480; --rd-soft: #eef2fb;
  --rd-display: 'Anuphan', 'Kanit', system-ui, sans-serif;
  --rd-body: 'IBM Plex Sans Thai', 'Kanit', system-ui, sans-serif;
  font-family: var(--rd-body); color: var(--rd-ink); background: #fff;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.rd-root *, .rd-root *::before, .rd-root *::after { box-sizing: border-box; }
.rd-root img { max-width: 100%; height: auto; display: block; }
.rd-root a { color: inherit; text-decoration: none; }
.rd-wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
.rd-sec { padding: clamp(64px, 9vw, 120px) 0; }
.rd-sec--paper { background: var(--rd-paper); }
.rd-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--rd-display); font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rd-or-d); margin: 0 0 18px; }
.rd-eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.rd-h1 { font-family: var(--rd-display); font-weight: 700; font-size: clamp(38px, 5.6vw, 76px); line-height: 1.12; letter-spacing: -0.015em; margin: 0; }
.rd-h2 { font-family: var(--rd-display); font-weight: 700; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
.rd-h3 { font-family: var(--rd-display); font-weight: 600; font-size: clamp(20px, 2vw, 25px); line-height: 1.38; margin: 0; }
.rd-lead { font-size: clamp(16px, 1.35vw, 18.5px); line-height: 1.75; color: var(--rd-muted); font-weight: 400; margin: 0; max-width: 56ch; }
.rd-accent { color: var(--rd-or); }
.rd-mark { background: linear-gradient(transparent 62%, rgba(249,115,22,0.22) 62%); padding: 0 .08em; }

/* ปุ่ม */
.rd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-family: var(--rd-display); font-size: 16px; font-weight: 600; line-height: 1; transition: transform .25s cubic-bezier(.22,.61,.36,1), background .25s, box-shadow .25s, color .25s; cursor: pointer; border: 0; }
.rd-btn svg { width: 18px; height: 18px; transition: transform .25s; }
.rd-btn:hover svg { transform: translateX(3px); }
.rd-btn--or { background: var(--rd-or); color: #fff; box-shadow: 0 10px 26px rgba(249,115,22,0.28); }
.rd-btn--or:hover { background: var(--rd-or-d); transform: translateY(-2px); }
.rd-btn--ink { background: var(--rd-ink); color: #fff; }
.rd-btn--ink:hover { background: var(--rd-ink-2); transform: translateY(-2px); }
.rd-btn--ghost { background: transparent; color: var(--rd-ink); box-shadow: inset 0 0 0 1.5px var(--rd-line); }
.rd-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--rd-ink); }
.rd-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--rd-display); font-weight: 600; font-size: 15px; color: var(--rd-ink); }
.rd-link svg { width: 17px; height: 17px; transition: transform .25s; }
.rd-link:hover svg { transform: translateX(4px); }
.rd-link:hover { color: var(--rd-or-d); }
/* กันกฎ a:hover ส่วนกลางของหน้าเดิมทับสีปุ่ม/ลิงก์ */
.rd-root a:hover { color: inherit; }
.rd-root .rd-btn--or, .rd-root .rd-btn--or:hover, .rd-root .rd-btn--ink, .rd-root .rd-btn--ink:hover { color: #fff; }
.rd-root .rd-btn--ghost:hover { color: var(--rd-ink); }
.rd-root .rd-link:hover, .rd-root .rd-crumb a:hover, .rd-root.rd-foot a:hover { color: var(--rd-or-d); }
.rd-root .rd-case--ink .rd-link:hover, .rd-root .rd-cta .rd-link:hover, .rd-root .rd-cta-side small a:hover { color: #fff; }
.rd-btn:focus-visible, .rd-link:focus-visible, .rd-root summary:focus-visible { outline: 3px solid rgba(249,115,22,0.55); outline-offset: 3px; }

/* ป้ายระบุที่มาของภาพ */
.rd-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,0.92); color: var(--rd-ink); box-shadow: 0 2px 10px rgba(14,26,71,0.08); white-space: nowrap; }
.rd-tag i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; display: inline-block; }
.rd-tag--concept i { background: #a3a9bf; }

/* ===== HERO ===== */
.rd-hero { position: relative; overflow: hidden; background: var(--rd-paper); padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 104px); }
.rd-hero::before { content: ''; position: absolute; right: -12%; top: -30%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(249,115,22,0.12), transparent 70%); pointer-events: none; }
.rd-hero-grid { position: relative; display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.rd-hero .rd-h1 { font-size: clamp(36px, 4.1vw, 58px); }
.rd-hero .rd-lead { margin-top: 26px; }
.rd-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.rd-hero-for { margin: 34px 0 0; font-size: 14px; color: var(--rd-muted); line-height: 1.8; }
.rd-hero-for b { color: var(--rd-ink); font-weight: 600; }
.rd-show { position: relative; min-height: 460px; }
.rd-browser { position: relative; border-radius: 18px; background: #fff; box-shadow: 0 40px 80px -30px rgba(14,26,71,0.38), 0 0 0 1px rgba(14,26,71,0.06); overflow: hidden; }
.rd-browser-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f4f1eb; border-bottom: 1px solid var(--rd-line); }
.rd-browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: #d9d3c7; }
.rd-browser-bar em { margin-left: 10px; font-style: normal; font-size: 11.5px; color: var(--rd-muted); background: #fff; border-radius: 999px; padding: 3px 12px; }
.rd-phone { position: relative; border-radius: 30px; background: var(--rd-ink-2); padding: 7px; box-shadow: 0 30px 60px -20px rgba(14,26,71,0.5); }
.rd-phone img { border-radius: 24px; width: 100%; aspect-ratio: 9 / 18.5; object-fit: cover; object-position: top; }
.rd-show .rd-browser { margin-left: 14%; transform: rotate(1.5deg); }
.rd-show .rd-phone { position: absolute; left: 0; bottom: -28px; width: 30%; transform: rotate(-4deg); }
.rd-show-note { position: absolute; right: 4%; bottom: -14px; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.rd-quote { background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: 0 14px 30px -14px rgba(14,26,71,0.3); max-width: 230px; font-size: 13px; line-height: 1.55; }
.rd-quote b { display: block; font-family: var(--rd-display); font-size: 14.5px; margin-bottom: 4px; }
.rd-quote s { text-decoration-color: rgba(249,115,22,0.8); color: var(--rd-muted); }

/* ===== ปัญหาธุรกิจ (bento) ===== */
.rd-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(36px, 5vw, 60px); }
.rd-head .rd-lead { max-width: 46ch; }
.rd-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.rd-case { position: relative; display: flex; flex-direction: column; border-radius: 28px; padding: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--rd-line); overflow: hidden; transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s; }
.rd-case:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--rd-line), 0 30px 60px -36px rgba(14,26,71,0.45); }
.rd-case--paper { background: var(--rd-paper); box-shadow: none; }
.rd-case--ink { background: var(--rd-ink); color: #fff; box-shadow: none; }
.rd-case--ink .rd-case-sol, .rd-case--ink .rd-case-fit { color: rgba(255,255,255,0.72); }
.rd-case--ink .rd-link { color: #fff; }
.rd-case--soft { background: var(--rd-soft); box-shadow: none; }
.rd-case-top { display: flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 500; color: var(--rd-muted); margin-bottom: 18px; }
.rd-case--ink .rd-case-top { color: rgba(255,255,255,0.65); }
.rd-case-num { font-family: var(--rd-display); font-weight: 700; color: var(--rd-or); font-size: 13px; letter-spacing: 0.06em; }
.rd-case-prob { font-family: var(--rd-display); font-weight: 600; font-size: clamp(21px, 2vw, 27px); line-height: 1.38; margin: 0; }
.rd-case-prob::before { content: '“'; color: var(--rd-or); margin-right: 2px; }
.rd-case-prob::after { content: '”'; color: var(--rd-or); margin-left: 2px; }
.rd-case-sol { font-size: 15px; line-height: 1.7; color: var(--rd-muted); margin: 14px 0 0; }
.rd-case-fit { font-size: 13px; color: var(--rd-muted); margin: 12px 0 0; }
.rd-case-fit b { font-weight: 600; }
.rd-case .rd-link { margin-top: 20px; }
.rd-case-vis { position: relative; margin-top: 26px; flex: 1; display: flex; align-items: flex-end; justify-content: center; min-height: 200px; }
.rd-case-vis { flex-direction: column; justify-content: flex-end; align-items: center; gap: 10px; }
.rd-case-vis .rd-tag { position: static; align-self: center; }
.rd-case--wide { grid-column: span 7; }
.rd-case--mid { grid-column: span 5; }
.rd-case--third { grid-column: span 4; }
.rd-case--full { grid-column: span 12; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: center; }
.rd-case--full .rd-case-vis { margin-top: 0; }
.rd-case--wide .rd-case-vis img, .rd-case--full .rd-case-vis img { border-radius: 16px; box-shadow: 0 24px 50px -28px rgba(14,26,71,0.5); }

/* ภาพจำลอง UI (สร้างด้วย HTML — ไม่ใช่ผลงานลูกค้า) */
.rd-ui { width: 100%; max-width: 330px; background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 22px 44px -26px rgba(14,26,71,0.45), 0 0 0 1px rgba(14,26,71,0.05); font-size: 12px; color: var(--rd-ink); }
.rd-ui-h { display: flex; align-items: center; justify-content: space-between; font-family: var(--rd-display); font-weight: 600; font-size: 13px; margin-bottom: 10px; }
.rd-ui-h small { font-family: var(--rd-body); font-weight: 400; font-size: 11px; color: var(--rd-muted); }
.rd-ui-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 11px; background: #f6f4ef; margin-top: 6px; }
.rd-ui-row b { font-weight: 600; }
.rd-ui-plus { width: 22px; height: 22px; border-radius: 50%; background: var(--rd-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.rd-ui-bar { margin-top: 10px; border-radius: 12px; background: var(--rd-or); color: #fff; font-family: var(--rd-display); font-weight: 600; text-align: center; padding: 9px; }
.rd-ui-pill { font-size: 10.5px; font-weight: 600; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.rd-ui-pill--ok { background: #dcfce7; color: #15803d; }
.rd-ui-pill--due { background: #ffedd5; color: #c2410c; }
.rd-ui-pill--now { background: #e0e7ff; color: #3730a3; }
.rd-ui-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rd-ui-prod { border-radius: 12px; background: #f6f4ef; padding: 8px; }
.rd-ui-prod i { display: block; aspect-ratio: 1.25; border-radius: 9px; margin-bottom: 6px; }
.rd-ui-prod b { display: block; font-weight: 600; font-size: 11.5px; }
.rd-ui-prod span { color: var(--rd-muted); font-size: 11px; }
.rd-ui-input { display: flex; align-items: center; gap: 8px; border-radius: 11px; box-shadow: inset 0 0 0 1.5px var(--rd-line); padding: 8px 10px; font-weight: 600; letter-spacing: 0.06em; }
.rd-ui-steps { list-style: none; margin: 12px 0 0; padding: 0 0 0 4px; }
.rd-ui-steps li { position: relative; padding: 0 0 12px 22px; color: var(--rd-muted); }
.rd-ui-steps li::before { content: ''; position: absolute; left: 0; top: 3px; width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 2px #cdd3e3; background: #fff; }
.rd-ui-steps li::after { content: ''; position: absolute; left: 5px; top: 16px; bottom: 0; width: 1.5px; background: #e2e6f0; }
.rd-ui-steps li:last-child::after { display: none; }
.rd-ui-steps li.done { color: var(--rd-ink); }
.rd-ui-steps li.done::before { background: #22c55e; box-shadow: none; }
.rd-ui-steps li.now { color: var(--rd-ink); font-weight: 600; }
.rd-ui-steps li.now::before { background: var(--rd-or); box-shadow: 0 0 0 4px rgba(249,115,22,0.18); }

/* ===== ผลงาน ===== */
.rd-work { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; }
.rd-work + .rd-work { border-top: 1px solid var(--rd-line); }
.rd-work--flip .rd-work-media { order: 2; }
.rd-work-media { position: relative; }
.rd-work-media .rd-phone { position: absolute; right: -2%; bottom: -26px; width: 26%; transform: rotate(3deg); }
.rd-work-media > .rd-tag { position: absolute; left: 14px; top: 14px; z-index: 3; }
.rd-work-media > img { border-radius: 20px; box-shadow: 0 34px 70px -38px rgba(14,26,71,0.5); }
.rd-work-type { font-size: 13px; color: var(--rd-muted); margin: 0 0 10px; }
.rd-work dl { margin: 22px 0 0; display: grid; gap: 16px; }
.rd-work dt { font-family: var(--rd-display); font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rd-or-d); margin-bottom: 4px; }
.rd-work dd { margin: 0; font-size: 15px; line-height: 1.72; color: var(--rd-ink); }
.rd-work dd ul { margin: 0; padding-left: 18px; }
.rd-work dd li { margin: 2px 0; }
.rd-work .rd-link { margin-top: 24px; }
.rd-clients { margin-top: clamp(40px, 6vw, 72px); padding-top: 32px; border-top: 1px solid var(--rd-line); display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; }
.rd-clients p { margin: 0; font-family: var(--rd-display); font-weight: 600; font-size: 16px; line-height: 1.5; }
.rd-clients ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.rd-clients img { height: 40px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.rd-clients img:hover { filter: none; opacity: 1; }

/* ===== วิธีทำงาน ===== */
.rd-proc-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.rd-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: rd; position: relative; }
.rd-steps::before { content: ''; position: absolute; left: 0; right: 0; top: 38px; border-top: 1.5px dashed #cfc7b8; }
.rd-step { position: relative; padding-right: 28px; }
.rd-step-n { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--rd-line); font-family: var(--rd-display); font-weight: 700; font-size: 26px; color: var(--rd-ink); }
.rd-step:nth-child(3) .rd-step-n { background: var(--rd-or); color: #fff; box-shadow: 0 12px 26px -10px rgba(249,115,22,0.6); }
.rd-step h3 { font-family: var(--rd-display); font-weight: 600; font-size: 19px; line-height: 1.4; margin: 22px 0 8px; }
.rd-step p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--rd-muted); }

/* ===== ตัวนับเวลา (บล็อกเดิม คงไว้ทั้งหมด) ===== */
.rd-timer { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 88px); background: #fff; }

/* ===== FAQ ===== */
.rd-faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.rd-faq details { border-bottom: 1px solid var(--rd-line); }
.rd-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; cursor: pointer; font-family: var(--rd-display); font-weight: 600; font-size: 17px; line-height: 1.5; }
.rd-faq summary::-webkit-details-marker { display: none; }
.rd-faq summary::after { content: '+'; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1.5px var(--rd-line); font-size: 20px; font-weight: 400; transition: transform .3s, background .3s; }
.rd-faq details[open] summary::after { transform: rotate(45deg); background: var(--rd-paper-2); }
.rd-faq details p { margin: 0 0 22px; font-size: 15px; line-height: 1.8; color: var(--rd-muted); max-width: 64ch; }

/* ===== CTA ===== */
.rd-cta { position: relative; overflow: hidden; border-radius: 26px; background: var(--rd-ink); color: #fff; padding: clamp(26px, 3.4vw, 44px) clamp(26px, 4vw, 52px); display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 20px 44px; align-items: center; }
.rd-cta::after { content: ''; position: absolute; right: -8%; bottom: -40%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(249,115,22,0.35), transparent 70%); pointer-events: none; }
.rd-cta .rd-lead { color: rgba(255,255,255,0.75); margin-top: 12px; font-size: 14.5px; }
.rd-cta-side { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.rd-cta h2 { font-size: clamp(22px, 2.6vw, 30px); }
.rd-cta-ics { display: flex; gap: 10px; }
.rd-cta-ics a { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.28); transition: background .25s, transform .2s; }
.rd-cta-ics a:hover { background: var(--rd-or); box-shadow: none; transform: translateY(-2px); }
.rd-cta-ics svg { width: 18px; height: 18px; }
.rd-root .rd-cta-ics a:hover { color: #fff; }
.rd-cta-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.7); }
.rd-cta-meta li { white-space: nowrap; }
.rd-cta-meta b { color: #fff; font-weight: 600; }
.rd-cta-meta a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.rd-cta-pk { font-size: 13px; min-height: 0; white-space: nowrap; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.18); align-self: stretch; }
.rd-cta-side small { font-size: 13.5px; color: rgba(255,255,255,0.65); line-height: 1.8; }
.rd-cta-side small a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.rd-cta .rd-link { color: #fff; }

/* ===== หน้าโซลูชัน ===== */
.rd-crumb { font-size: 13px; color: var(--rd-muted); margin: 0 0 26px; }
.rd-crumb a:hover { color: var(--rd-or-d); }
.rd-sol-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.rd-sol-hero .rd-case-vis { margin: 0; min-height: 320px; background: var(--rd-paper-2); border-radius: 28px; padding: 36px 24px; align-items: center; }
.rd-sol-note { margin: 22px 0 0; font-size: 13.5px; color: var(--rd-muted); line-height: 1.7; padding-left: 14px; border-left: 3px solid var(--rd-or); }
.rd-two { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.rd-pains { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.rd-pains li { padding: 20px 0; border-bottom: 1px solid var(--rd-line); font-family: var(--rd-display); font-size: clamp(18px, 1.8vw, 22px); font-weight: 500; line-height: 1.5; }
.rd-pains li:first-child { border-top: 1px solid var(--rd-line); }
.rd-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: fl; }
.rd-flow li { counter-increment: fl; background: #fff; border-radius: 22px; padding: 22px 20px; box-shadow: inset 0 0 0 1px var(--rd-line); font-size: 15px; line-height: 1.6; font-weight: 500; }
.rd-flow li::before { content: counter(fl, decimal-leading-zero); display: block; font-family: var(--rd-display); font-weight: 700; color: var(--rd-or); font-size: 14px; letter-spacing: 0.08em; margin-bottom: 18px; }
.rd-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.rd-feats li { padding: 15px 0; border-bottom: 1px solid var(--rd-line); font-size: 15.5px; line-height: 1.6; }
.rd-feats li::before { content: '—'; color: var(--rd-or); margin-right: 10px; }
.rd-qs { counter-reset: q; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rd-qs li { counter-increment: q; display: flex; gap: 14px; background: var(--rd-paper); border-radius: 18px; padding: 18px 20px; font-size: 15px; line-height: 1.6; }
.rd-qs li::before { content: counter(q); flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--rd-ink); color: #fff; font-family: var(--rd-display); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.rd-price { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; border-radius: 24px; padding: 24px 28px; background: var(--rd-soft); margin-top: 28px; }
.rd-price p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--rd-muted); }
.rd-price b { font-family: var(--rd-display); color: var(--rd-ink); font-size: 18px; }
.rd-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rd-mini a { display: block; border-radius: 22px; padding: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--rd-line); transition: transform .3s, box-shadow .3s; }
.rd-mini a:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--rd-ink); }
.rd-mini small { display: block; font-size: 12.5px; color: var(--rd-muted); margin-bottom: 8px; }
.rd-mini b { font-family: var(--rd-display); font-weight: 600; font-size: 17px; line-height: 1.45; }
.rd-foot { border-top: 1px solid var(--rd-line); padding: 28px 0 32px; font-size: 13px; color: var(--rd-muted); }
.rd-foot .rd-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.rd-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; position: static; background: none; border: 0; backdrop-filter: none; }
.rd-foot a:hover { color: var(--rd-or-d); }

/* ===== Reveal (เบา ใช้ transform/opacity เท่านั้น) ===== */
@media (prefers-reduced-motion: no-preference) {
  .rd-js .rd-rv { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1); }
  .rd-js .rd-rv.in { opacity: 1; transform: none; }
}

/* ===== Tablet ===== */
@media (max-width: 1080px) {
  .rd-case--wide, .rd-case--mid { grid-column: span 6; }
  .rd-case--third { grid-column: span 6; }
  .rd-case--third:last-of-type { grid-column: span 12; }
  .rd-steps { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .rd-steps::before { display: none; }
  .rd-flow { grid-template-columns: 1fr 1fr; }
}
/* ===== Mobile (ออกแบบแยก ไม่ใช่แค่ย่อ) ===== */
@media (max-width: 767px) {
  .rd-sec { padding: 64px 0; }
  .rd-hero { padding: 36px 0 72px; }
  .rd-hero-grid, .rd-sol-hero, .rd-two, .rd-faq-grid, .rd-proc-head, .rd-cta, .rd-work, .rd-clients { grid-template-columns: 1fr; }
  .rd-h1 { font-size: clamp(34px, 9.6vw, 44px); }
  .rd-hero .rd-lead { margin-top: 18px; }
  .rd-hero-cta { flex-direction: column; margin-top: 28px; }
  .rd-hero-cta .rd-btn { width: 100%; }
  .rd-hero-for { margin-top: 22px; font-size: 13px; }
  .rd-show { min-height: 0; margin: 8px 0 22px; }
  .rd-show .rd-browser { margin-left: 0; margin-right: 18%; transform: rotate(-1.5deg); }
  .rd-show .rd-phone { left: auto; right: 0; bottom: -40px; width: 34%; transform: rotate(4deg); }
  .rd-show-note { display: none; }
  .rd-bento { grid-template-columns: 1fr; gap: 14px; }
  .rd-case, .rd-case--full { grid-column: auto !important; display: flex; padding: 24px 22px; border-radius: 24px; }
  .rd-case-vis { min-height: 0; margin-top: 22px; }
  .rd-case--full .rd-case-vis { margin-top: 22px; order: 2; }
  .rd-work { padding: 28px 0 40px; gap: 26px; }
  .rd-work--flip .rd-work-media { order: 0; }
  .rd-work-media .rd-phone { width: 30%; bottom: -30px; }
  .rd-clients { gap: 16px; }
  .rd-clients img { height: 32px; }
  .rd-steps { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .rd-step { display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; padding: 0 0 26px; }
  .rd-step::before { content: ''; position: absolute; left: 27px; top: 56px; bottom: 0; border-left: 1.5px dashed #cfc7b8; }
  .rd-step:last-child::before { display: none; }
  .rd-step-n { width: 56px; height: 56px; font-size: 19px; grid-row: span 2; }
  .rd-step h3 { margin: 6px 0 4px; font-size: 17px; }
  .rd-faq summary { font-size: 16px; padding: 18px 0; }
  .rd-cta { border-radius: 26px; padding: 36px 24px; }
  .rd-cta-side .rd-btn { width: 100%; }
  .rd-flow, .rd-feats, .rd-qs, .rd-mini { grid-template-columns: 1fr; }
  .rd-price { padding: 20px; }
  /* ตัวนับเวลาเดิม (markup ขนาด PC): ย่อเฉพาะขนาดบนมือถือให้พอดีจอ — logic/ข้อความไม่เปลี่ยน */
  .rd-timer [data-cd] { font-size: 42px !important; min-width: 56px !important; letter-spacing: -1px !important; }
  .rd-timer .rd-wrap > div > div { padding: 14px 24px 12px !important; gap: 8px !important; max-width: 100%; }
  .rd-timer .rd-wrap > div > div > span[style*="font-size:58px"] { font-size: 34px !important; }
  .rd-timer .rd-wrap > div { margin-top: 0 !important; }
}

/* =====================================================================
   หน้าแรก v3 — ตามดีไซน์ที่เจ้าของส่งมา (2026-10-12)
   ===================================================================== */
.rd3, .rd3-foot { --rd3-script: 'Sriracha', 'Anuphan', cursive; }
.rd3-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--rd-body); font-size: 12.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rd-muted); margin: 0 0 16px; }
.rd3-eyebrow svg { width: 16px; height: 16px; color: var(--rd-or); }
.rd3-ink .rd3-eyebrow { color: rgba(255,255,255,0.72); }
.rd3-script { font-family: var(--rd3-script); font-weight: 400; line-height: 1.3; color: var(--rd-ink); margin: 0; }
.rd3-note { position: relative; display: inline-block; transform: rotate(-9deg); font-size: clamp(19px, 1.9vw, 26px); }
.rd3-note::before, .rd3-note::after { content: ''; position: absolute; width: 18px; height: 3px; border-radius: 3px; background: var(--rd-or); }
.rd3-note::before { left: -32px; top: 40%; transform: rotate(28deg); }
.rd3-note::after { left: -30px; top: 66%; transform: rotate(-10deg); }
.rd3-wave { display: block; width: 100%; height: clamp(34px, 5.5vw, 80px); margin: -1px 0; }
.rd3 .rd-h2 { font-size: clamp(28px, 3.3vw, 44px); }

/* ปุ่มเพิ่มเติม */
.rd3-btn-white { background: #fff; color: var(--rd-ink); box-shadow: 0 10px 26px -12px rgba(14,26,71,0.3), inset 0 0 0 1px rgba(14,26,71,0.06); }
.rd3-btn-white:hover { transform: translateY(-2px); }
.rd3-btn-white svg { width: 16px; height: 16px; }
.rd3-btn-line { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.55); }
.rd3-btn-line:hover { box-shadow: inset 0 0 0 1.5px #fff; transform: translateY(-2px); }
.rd-root .rd3-btn-white, .rd-root .rd3-btn-white:hover { color: var(--rd-ink); }
.rd-root .rd3-btn-line, .rd-root .rd3-btn-line:hover { color: #fff; }

/* HERO */
.rd3-hero { position: relative; background: linear-gradient(180deg, #fffaf4 0%, #fdf4ea 100%); overflow: hidden; }
.rd3-hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 28px; align-items: center; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(20px, 3vw, 36px); }
.rd3-hero .rd-h1 { font-size: clamp(40px, 5.1vw, 70px); line-height: 1.16; }
.rd3-hero .rd-lead { margin-top: 22px; max-width: 42ch; }
.rd3-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.rd3-feats { display: flex; flex-wrap: wrap; gap: 14px 26px; margin: 34px 0 0; padding: 0; list-style: none; }
.rd3-feats li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--rd-ink); }
.rd3-feats span { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #fdba74; display: inline-flex; align-items: center; justify-content: center; color: var(--rd-or); flex-shrink: 0; }
.rd3-feats svg { width: 17px; height: 17px; }
.rd3-scene { position: relative; aspect-ratio: 1 / 0.95; max-width: 580px; width: 100%; margin-left: auto; }
.rd3-scene::after { content: ''; position: absolute; left: 8%; right: 0; bottom: 3%; height: 15%; background: linear-gradient(180deg, #f3e6d6, #ecdcc8); border-radius: 14px; z-index: 0; }
.rd3-arch { position: absolute; left: 18%; top: 0; width: 50%; height: 86%; border-radius: 999px 999px 0 0; background: radial-gradient(110% 80% at 30% 25%, #fdba74 0%, #f97316 55%, #ea580c 100%); box-shadow: inset 22px -30px 60px rgba(0,0,0,0.12); z-index: 0; }
.rd3-lamp { position: absolute; left: 43%; top: 0; width: 2px; height: 20%; background: #1f2937; z-index: 1; }
.rd3-lamp::after { content: ''; position: absolute; left: -23px; top: 100%; width: 48px; height: 26px; border-radius: 48px 48px 5px 5px; background: #2b2f3a; box-shadow: 0 24px 40px 10px rgba(255,236,190,0.55); }
.rd3-owl { position: absolute; left: 12%; bottom: 3%; width: 54%; z-index: 2; filter: drop-shadow(0 26px 26px rgba(14,26,71,0.22)); }
.rd3-books { position: absolute; right: 2%; bottom: 11%; width: 31%; display: flex; flex-direction: column; gap: 3px; z-index: 2; }
.rd3-books span { display: block; padding: 7px 10px; border-radius: 4px; font-family: var(--rd-body); font-weight: 600; font-size: clamp(9px, 0.85vw, 11.5px); letter-spacing: 0.24em; color: var(--rd-ink); background: #fff; box-shadow: inset 0 0 0 1px #e5ded3, 0 6px 14px -8px rgba(14,26,71,0.4); }
.rd3-books span:nth-child(1) { transform: translateX(10%) rotate(-2deg); background: #f3eee5; }
.rd3-books span:nth-child(3) { transform: translateX(5%) rotate(1deg); background: #faf7f2; }
.rd3-plant { position: absolute; right: 4%; bottom: 30%; width: 17%; aspect-ratio: 1 / 1.45; z-index: 1; }
.rd3-plant i { position: absolute; bottom: 30%; width: 46%; height: 70%; border-radius: 100% 0; background: linear-gradient(135deg, #5a8a55, #2f5d36); transform-origin: bottom center; }
.rd3-plant i:nth-child(1) { left: 4%; transform: rotate(-26deg); }
.rd3-plant i:nth-child(2) { left: 28%; transform: rotate(6deg); height: 84%; }
.rd3-plant i:nth-child(3) { left: 50%; transform: rotate(36deg); }
.rd3-plant b { position: absolute; bottom: 0; left: 18%; width: 64%; height: 34%; border-radius: 6px 6px 14px 14px; background: #f8f4ee; box-shadow: inset 0 -6px 10px rgba(0,0,0,0.07), 0 8px 16px -10px rgba(14,26,71,0.4); }
.rd3-hero-note { position: absolute; right: 0; top: 6%; transform: rotate(-12deg); font-size: clamp(16px, 1.6vw, 22px); line-height: 1.1; z-index: 3; }

/* บริการ (พื้นกรมท่า + การ์ด 6 ใบ) */
.rd3-ink { position: relative; background: var(--rd-ink); color: #fff; }
.rd3-ink .rd-h2 { color: #fff; }
.rd3-ink .rd-lead { color: rgba(255,255,255,0.75); }
.rd3-services { padding: clamp(8px, 1.5vw, 20px) 0 clamp(28px, 3.5vw, 48px); }
.rd3-services-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding-bottom: clamp(28px, 3vw, 40px); }
.rd3-services-head .rd-lead { margin-top: 16px; max-width: 48ch; }
.rd3-services-head .rd3-note { color: #fff; margin-right: 4%; }
.rd3-cards6 { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.rd3-c6 { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; background: #fff; color: var(--rd-ink); border-radius: 20px; padding: 26px 14px 48px; box-shadow: 0 24px 44px -26px rgba(14,26,71,0.45), 0 0 0 1px rgba(14,26,71,0.04); transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s; }
.rd3-c6:hover { transform: translateY(-6px); box-shadow: 0 30px 54px -26px rgba(14,26,71,0.55); }
.rd3-c6 > svg { width: 42px; height: 42px; color: var(--rd-or); margin-bottom: 6px; }
.rd3-c6 b { font-family: var(--rd-display); font-weight: 600; font-size: 15px; line-height: 1.45; }
.rd3-c6 small { font-size: 12.5px; line-height: 1.55; color: var(--rd-muted); }
.rd-root .rd3-c6, .rd-root .rd3-c4, .rd-root .rd3-c6:hover, .rd-root .rd3-c4:hover { color: var(--rd-ink); }
.rd3-go { position: absolute; right: 14px; bottom: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--rd-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background .25s; }
.rd3-go svg { width: 14px; height: 14px; }
.rd3-c6:hover .rd3-go, .rd3-c4:hover .rd3-go { background: var(--rd-or); color: #fff; box-shadow: none; }

/* ผลงาน (สไลด์) */
.rd3-work { background: var(--rd-paper); padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.rd3-work-grid { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.rd3-work .rd-lead { margin-top: 18px; }
.rd3-work .rd3-live { margin-top: 30px; }
.rd3-slides { display: grid; }
.rd3-slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateX(48px); transition: opacity .9s ease, transform .9s cubic-bezier(.22,.61,.36,1), visibility .9s; }
.rd3-slide.out { transform: translateX(-48px); }
.rd3-slide.on { opacity: 1; visibility: visible; transform: none; }
.rd3-device { position: relative; padding-right: 6%; }
.rd3-device > .rd-tag { position: absolute; left: 14px; top: 50px; z-index: 3; }
.rd3-device .rd-browser img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.rd3-device .rd-phone { position: absolute; right: 0; bottom: -22px; width: 23%; transform: rotate(3deg); }
.rd3-slide-cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; margin-top: 30px; font-size: 14px; color: var(--rd-muted); }
.rd3-slide-cap b { font-family: var(--rd-display); color: var(--rd-ink); font-size: 16px; }
.rd3-ctrl { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 10px; }
.rd3-count { font-family: var(--rd-display); font-weight: 600; color: var(--rd-ink); margin-right: 6px; }
.rd3-arrow { width: 44px; height: 44px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; background: #fff; color: var(--rd-ink); box-shadow: inset 0 0 0 1.5px var(--rd-line); transition: background .25s, color .25s; }
.rd3-arrow--next { background: var(--rd-ink); color: #fff; box-shadow: none; }
.rd3-arrow:hover { background: var(--rd-or); color: #fff; box-shadow: none; }
.rd3-arrow svg { width: 18px; height: 18px; }
.rd3-arrow:focus-visible { outline: 3px solid rgba(249,115,22,0.55); outline-offset: 3px; }

/* ออกแบบเพื่อธุรกิจคุณ (การ์ดภาพ 4 ใบ) */
.rd3-why { position: relative; background: linear-gradient(180deg, #eef4fd 0%, #f6f8fc 100%); padding: clamp(56px, 7vw, 96px) 0; }
.rd3-why-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 40px; margin-bottom: clamp(32px, 4vw, 48px); }
.rd3-why-head .rd-lead { margin-top: 16px; max-width: 50ch; }
.rd3-why-head .rd3-note { margin-right: 4%; }
.rd3-cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rd3-c4 { position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #fff; color: var(--rd-ink); box-shadow: 0 20px 40px -28px rgba(14,26,71,0.45), 0 0 0 1px rgba(14,26,71,0.04); transition: transform .3s cubic-bezier(.22,.61,.36,1); }
.rd3-c4:hover { transform: translateY(-5px); }
.rd3-c4-pic { position: relative; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 14px; overflow: hidden; }
.rd3-c4-pic > img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: top; }
.rd3-c4-pic:not(.rd3-c4-pic--photo) { align-items: flex-start; padding-top: 46px; }
.rd3-c4-pic .rd-ui { width: 230px; max-width: none; flex-shrink: 0; transform: scale(0.86); transform-origin: top center; }
.rd3-c4-pic .rd-tag { position: absolute; left: 10px; top: 10px; z-index: 2; }
.rd3-c4-body { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 3px 12px; align-items: start; padding: 16px 46px 18px 16px; flex: 1; }
.rd3-c4-ic { grid-row: span 2; width: 38px; height: 38px; border-radius: 11px; background: #fff1e6; color: var(--rd-or); display: inline-flex; align-items: center; justify-content: center; }
.rd3-c4-ic svg { width: 19px; height: 19px; }
.rd3-c4 b { font-family: var(--rd-display); font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.rd3-c4 small { font-size: 12.5px; color: var(--rd-muted); line-height: 1.55; }
.rd3-c4 .rd3-go { bottom: 18px; background: #fff; color: var(--rd-ink); box-shadow: inset 0 0 0 1.5px var(--rd-line); }

/* ขั้นตอน */
.rd3-process { background: #fff; padding: clamp(56px, 7vw, 96px) 0 clamp(24px, 3vw, 40px); }
.rd3-process-head { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.rd3-process-head .rd-lead { font-size: 15.5px; }
.rd3-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.rd3-step-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.rd3-step-n { font-family: var(--rd-display); font-weight: 700; color: var(--rd-or); font-size: 16px; }
.rd3-step-ic { width: 64px; height: 64px; border-radius: 50%; background: #fff1e6; display: inline-flex; align-items: center; justify-content: center; color: var(--rd-or); flex-shrink: 0; }
.rd3-step-ic svg { width: 28px; height: 28px; }
.rd3-step:not(:last-child) .rd3-step-top::after { content: ''; flex: 1; border-top: 2px dashed #fdba74; margin: 0 4px 0 6px; }
.rd3-step h3 { font-family: var(--rd-display); font-weight: 600; font-size: 18px; margin: 0 0 8px; }
.rd3-step p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--rd-muted); }

/* CTA (กรมท่า + นกฮูก) */
.rd3-cta { padding: clamp(12px, 2vw, 24px) 0 clamp(8px, 2vw, 20px); overflow: hidden; }
.rd3-cta-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: center; }
.rd3-squiggle { display: inline-block; width: clamp(60px, 7vw, 96px); height: 22px; vertical-align: middle; margin-left: 12px; color: var(--rd-or); }
.rd3-cta .rd-lead { margin-top: 18px; max-width: 46ch; }
.rd3-cta-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.rd3-cta-more { margin: 20px 0 0; font-size: 13.5px; color: rgba(255,255,255,0.6); }
.rd3-cta-more a { color: rgba(255,255,255,0.85); text-decoration: underline; text-underline-offset: 3px; }
.rd-root .rd3-cta-more a:hover { color: #fff; }
.rd3-cta-art { position: relative; min-height: 340px; }
.rd3-cta-art img { position: absolute; right: 10%; bottom: -4%; width: 62%; max-width: 330px; z-index: 2; filter: drop-shadow(0 24px 30px rgba(0,0,0,0.35)); }
.rd3-cta-art::before { content: ''; position: absolute; right: 14%; bottom: 8%; width: 54%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(253,186,116,0.32), transparent 66%); }
.rd3-cta-art .rd3-note { position: absolute; right: 0; top: 4%; color: #fff; z-index: 3; }
.rd3-cta-art .rd3-plant { left: 0; right: auto; bottom: 0; width: 17%; }

/* ส่วนเดิมที่คงไว้ (ตัวนับ + FAQ) ให้โทนเดียวกัน */
.rd3 .rd-timer { background: #fff; }

/* ลิงก์เมนูที่กำลังอยู่ (เดสก์ท็อป) */
.nav-desktop .nav-link { position: relative; }
.nav-desktop .nav-link.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--orange, #f97316); }

/* FOOTER (สว่าง) */
.rd3-foot { background: #eef4fd; padding: 14px 0 12px; color: var(--rd-muted); }
.rd3-foot .rd3-social a { background: #fff; }
.rd3-foot .rd3-foot-bot, .rd3-foot .rd3-foot-nav a { border-color: #dbe5f5; }
.rd3-foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.rd3-foot-logo { display: flex; flex-direction: column; gap: 4px; }
.rd3-foot-logo img { height: 18px; width: auto; }
.rd3-foot-logo small { font-size: 10px; }
.rd3-foot-nav { display: flex; flex-wrap: wrap; row-gap: 4px; font-size: 12.5px; }
.rd3-foot-nav a { padding: 0 12px; border-left: 1px solid var(--rd-line); color: var(--rd-ink); }
.rd3-foot-nav a:first-child { border-left: 0; }
.rd3-social { display: flex; gap: 10px; }
.rd3-social a { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--rd-paper); color: var(--rd-ink); transition: background .25s, color .25s; }
.rd3-social a:hover { background: var(--rd-ink); color: #fff; }
.rd3-social svg { width: 15px; height: 15px; }
.rd3-foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 24px; margin-top: 10px; padding-top: 8px; border-top: 1px solid #dbe5f5; font-size: 11px; }
.rd3-foot-bot a { color: var(--rd-muted); }
.rd3-foot-bot p { margin: 0; }
.rd3-foot-legal { font-size: 9.5px; opacity: .65; }
.rd3-foot-legal a { text-decoration: underline; }
.rd-root .rd3-foot-nav a:hover, .rd-root .rd3-foot-bot a:hover { color: var(--rd-or-d); }
.rd-root .rd3-social a:hover { color: #fff; }

/* Tablet */
@media (max-width: 1080px) {
  .rd3-cards6 { grid-template-columns: repeat(3, 1fr); }
  .rd3-cards4 { grid-template-columns: repeat(2, 1fr); }
  .rd3-steps { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .rd3-step:nth-child(2) .rd3-step-top::after { display: none; }
}
/* Mobile — จัดองค์ประกอบใหม่ให้อ่านง่ายบนจอเล็ก */
@media (max-width: 767px) {
  .rd3-hero-grid, .rd3-work-grid, .rd3-process-head, .rd3-cta-grid { grid-template-columns: 1fr; }
  .rd3-hero-grid { padding-top: 28px; padding-bottom: 8px; gap: 10px; }
  .rd3-hero .rd-h1 { font-size: clamp(36px, 10.5vw, 46px); }
  .rd3-hero-cta { flex-direction: column; }
  .rd3-hero-cta .rd-btn { width: 100%; }
  .rd3-feats { gap: 10px 16px; margin-top: 26px; }
  .rd3-feats li { font-size: 12.5px; }
  .rd3-scene { max-width: 400px; margin: 4px auto 0; }
  .rd3-services-head .rd3-note { margin: 4px 0 0 auto; font-size: 18px; }
  .rd3-cards6 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .rd3-c6 { padding: 20px 10px 42px; border-radius: 18px; }
  .rd3-c6 > svg { width: 34px; height: 34px; }
  .rd3-c6 b { font-size: 14px; }
  .rd3-work { padding-top: 36px; }
  .rd3-work .rd3-live { width: 100%; }
  .rd3-device .rd-phone { width: 26%; bottom: -16px; }
  .rd3-ctrl { margin-top: 14px; }
  .rd3-why-head .rd3-note { margin: 0 0 0 auto; font-size: 18px; }
  .rd3-cards4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rd3-c4-pic:not(.rd3-c4-pic--photo) { padding-top: 40px; }
  .rd3-c4-pic .rd-ui { transform: scale(0.6); }
  .rd3-c4-body { grid-template-columns: 1fr; padding: 12px 12px 42px; }
  .rd3-c4-ic { grid-row: auto; width: 32px; height: 32px; }
  .rd3-c4 b { font-size: 14px; }
  .rd3-steps { grid-template-columns: 1fr; gap: 26px; }
  .rd3-step .rd3-step-top::after { display: none !important; }
  .rd3-cta-art { min-height: 260px; }
  .rd3-cta-art img { right: 8%; width: 58%; }
  .rd3-cta-btns { flex-direction: column; }
  .rd3-cta-btns .rd-btn { width: 100%; }
  .rd3-foot-top { flex-direction: column; align-items: flex-start; }
  .rd3-foot-nav a { padding: 0 10px; }
  .rd3-foot-nav a:first-child { padding-left: 0; }
}
/* สไลด์ผลงาน: ภาพ mockup สำเร็จรูป (คอม + มือถือ) */
.rd3-shot { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 34px 60px -34px rgba(14,26,71,0.45), 0 0 0 1px rgba(14,26,71,0.06); }
@media (max-width: 767px) { .rd3-shot { border-radius: 16px; } }

/* =====================================================================
   หน้าแรก v4 — จากไฟล์ Claude Design (2026-10-13) class .dz-*
   ===================================================================== */
/* หน้าแรกใช้เมนูลอยในดีไซน์แทนแถบเมนูเดิม (ซ่อนไว้ ไม่ลบ เพื่อให้สคริปต์เดิมทำงานต่อได้) */
#desktopSite > nav, #mobileMenu { display: none !important; }
.btn-shine { position: relative; overflow: hidden; box-shadow: 0 10px 22px rgba(249,115,22,0.4); }
.btn-shine::after { content: ''; position: absolute; top: -40%; bottom: -40%; left: -75%; width: 50%;
  background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.65) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg); animation: btnShine 2.4s ease-in-out infinite; pointer-events: none; }
@keyframes btnShine { 0% { left: -75%; } 55% { left: 125%; } 100% { left: 125%; } }
@media (prefers-reduced-motion: reduce) { .btn-shine::after, .dz-shine::after { animation: none; } }
/* แสงผ่านทับปุ่มที่อยู่ในภาพ (hero/แบนเนอร์) — ไม่รับคลิก จุดกดเป็นลิงก์แยก */
.dz-shine { position: absolute; border-radius: 999px; overflow: hidden; pointer-events: none; z-index: 1; }
.dz-shine::after { content: ''; position: absolute; top: -40%; bottom: -40%; left: -75%; width: 50%;
  background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.65) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg); animation: btnShine 2.4s ease-in-out infinite; }
/* กล่องอ้างอิงสัดส่วนภาพแบนเนอร์เต็ม (ภาพถูก object-fit: cover ครอปกึ่งกลางแนวตั้ง) ให้แสงตรงปุ่มทุกความกว้าง */
.dz-shine-wrap { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 100%; aspect-ratio: 1600 / 639; pointer-events: none; z-index: 1; }
.dz-root a:hover { color: inherit; }
.dz-root .dz-nav a:hover, .dz-root a[style*="rgb(249, 115, 22)"]:hover { color: #ea580c; }
.dz-clients::-webkit-scrollbar { display: none; }
.dz-keep .rd-timer { background: #fff; padding: 0 0 clamp(40px, 5vw, 60px); }
.dz-keep .rd-timer .rd-wrap > div { margin-top: 0 !important; }
@media (max-width: 900px) {
  .dz-nav { gap: 8px !important; padding-left: 12px !important; }
  .dz-nav nav { gap: 2px !important; font-size: 13.5px !important; }
  .dz-nav img { height: 22px !important; }
}
/* เมนูที่กำลังดูอยู่เป็นสีส้ม + ขีดใต้ */
.dz-nav nav a { position: relative; }
.dz-nav nav a.dz-on { color: rgb(249, 115, 22) !important; }
.dz-nav nav a.dz-on::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2.5px; border-radius: 99px; background: rgb(249, 115, 22); }

/* เมนูลอยตรึงบนสุดเมื่อเลื่อนผ่านตำแหน่งเดิม */
.dz-nav--fixed { position: fixed !important; top: 10px !important; left: 50% !important; right: auto !important; transform: translateX(-50%); box-sizing: border-box; z-index: 90; background: rgba(255, 255, 255, 0.45) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: rgba(30, 42, 110, 0.14) 0px 12px 30px !important; animation: dzNavIn .35s cubic-bezier(.22,.61,.36,1); }
@keyframes dzNavIn { from { transform: translateX(-50%) translateY(-120%); } to { transform: translateX(-50%) translateY(0); } }
@media (prefers-reduced-motion: reduce) { .dz-nav--fixed { animation: none; } }

/* มือถือ: เนื้อหาย้ายไปอยู่ในแอปมือถือเดิม (มีหัวและแท็บบาร์ของตัวเอง) */
@media (max-width: 767px) {
  /* มือถือ: ใช้เมนูแคปซูลเดียวกับ PC (ลิงก์ปัดซ้าย-ขวาได้) */
  .dz-nav { display: flex !important; left: 4% !important; right: 4% !important; top: 10px !important; gap: 8px !important; padding: 5px 6px 5px 12px !important; }
  .dz-nav nav { overflow-x: auto; justify-content: flex-start !important; scrollbar-width: none; gap: 0 !important; font-size: 12.5px !important; }
  .dz-nav nav::-webkit-scrollbar { display: none; }
  .dz-nav nav a { padding: 9px 8px !important; }
  .dz-nav img { height: 18px !important; }
  .dz-nav > a[href*="line"] { font-size: 11.5px !important; padding: 9px 12px !important; gap: 5px !important; }
  .dz-nav > a[href*="line"] svg:last-child { display: none; }
  #mBotBar { display: none !important; } /* เมนูล่างเดิม — เปลี่ยนมาใช้เมนูแคปซูลตาม PC */
  #mobileApp > div:first-child { display: none !important; } /* หัวแอปเดิม (โลโก้/ขอประเมินราคา/ตะกร้า) */

  .dz-cards { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .dz-owlcol { flex: 1 1 100% !important; min-width: 0 !important; height: auto !important; text-align: center; }
  .dz-owlcol img { position: static !important; width: 72% !important; max-width: 300px !important; margin: -6px auto 0; }
  .dz-banner { height: auto !important; }
  .dz-works { grid-template-columns: 1fr !important; }
  .dz-clients { justify-content: flex-start !important; }
  .dz-ctain { padding: 26px 22px !important; }
  #solutions[style] { padding-top: 34px !important; }
}
/* รางโลโก้ลูกค้า (marquee แบบ transform) */
.dz-clients-track { display: flex; align-items: center; gap: 14px; width: max-content; will-change: transform; }
/* FAQ v4: การ์ดสองคอลัมน์ โทนเดียวกับดีไซน์ */
/* 2 คอลัมน์คงที่: เปิดข้อหนึ่ง การ์ดอื่นแค่เลื่อนลงในคอลัมน์เดิม ไม่สลับที่ */
.dz-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.dz-faq-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dz-faq details { background: #fff; border: 1.5px solid rgb(232, 236, 246); border-radius: 16px; padding: 0 18px; transition: box-shadow .25s, border-color .25s; }
.dz-faq details[open] { border-color: rgb(249, 115, 22); box-shadow: rgba(249, 115, 22, 0.1) 0px 10px 24px; }
.dz-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 0; cursor: pointer; font-weight: 700; font-size: 14.5px; color: rgb(23, 48, 107); line-height: 1.5; }
.dz-faq summary::-webkit-details-marker { display: none; }
.dz-faq summary i { flex: 0 0 auto; position: relative; width: 28px; height: 28px; border-radius: 50%; background: rgb(238, 242, 251); color: rgb(30, 63, 174); transition: background .25s, color .25s, transform .3s; }
.dz-faq summary i::before, .dz-faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); }
.dz-faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.dz-faq details[open] summary i { background: rgb(255, 232, 210); color: rgb(249, 115, 22); transform: rotate(45deg); }
.dz-faq details p { margin: 0; padding: 0 0 16px; font-size: 13px; line-height: 1.8; color: rgb(90, 106, 148); }
@media (max-width: 767px) { .dz-faq { grid-template-columns: 1fr; gap: 10px; } .dz-faq-col { gap: 10px; } }
/* FAQ: แอนิเมชันค่อย ๆ เปิด/หุบ (เบราว์เซอร์เก่าที่ไม่รองรับจะเปิดทันทีตามปกติ) */
.dz-faq details { interpolate-size: allow-keywords; }
.dz-faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s cubic-bezier(.22,.61,.36,1), content-visibility .35s allow-discrete; }
.dz-faq details[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) { .dz-faq details::details-content { transition: none; } }
/* เว้นที่ท้าย FAQ ให้นกฮูกบนแถบน้ำเงินโผล่ได้โดยไม่ทับคำถามข้อสุดท้าย */
.dz-keep #faq { padding-bottom: clamp(90px, 11vw, 150px) !important; }
@media (max-width: 767px) { .dz-keep #faq { padding-bottom: 110px !important; } }

/* การ์ดปัญหา: สถานะถูกเลือก + ปุ่มอ่านรายละเอียด */
.dz-cards > a { transition: transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s, border-color .25s; }
.dz-cards > a.sel { border-color: rgb(249, 115, 22) !important; box-shadow: 0 0 0 1px rgb(249, 115, 22), rgba(249, 115, 22, 0.14) 0px 10px 22px !important; background: rgb(255, 247, 239) !important; transform: translateY(-3px); }
.dz-cards > a .dz-read { display: none; }
/* ปุ่มลอยทับท้ายการ์ด ไม่ดันความสูง */
.dz-cards > a.sel .dz-read { display: inline-flex; position: absolute; left: 14px; right: 14px; bottom: 12px; align-items: center; justify-content: center; padding: 9px 14px; border-radius: 999px; background: linear-gradient(rgb(249,115,22), rgb(234,106,10)); color: #fff; font-weight: 700; font-size: 12.5px; box-shadow: 0 6px 14px rgba(249,115,22,0.35); animation: dzReadIn .25s ease; }
.dz-cards > a { position: relative; }
@keyframes dzReadIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.dz-cards > a.sel > span[aria-hidden] { visibility: hidden; } /* ซ่อนลูกศรแต่กันที่ไว้ ความสูงการ์ดไม่ขยับ */

/* หน้ารายละเอียดอ่านก่อนตัดสินใจ (เปิดจากการ์ดปัญหา) */
#dzDetail { position: fixed; inset: 0; z-index: 2500; background: rgba(14, 26, 71, 0.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 18px; animation: dzReadIn .2s ease; }
.dzD-box { position: relative; width: min(460px, 100%); max-height: 86vh; overflow-y: auto; background: #fff; border-radius: 22px; padding: 26px 26px 24px; font-family: Prompt, sans-serif; box-shadow: 0 30px 60px -20px rgba(14,26,71,0.5); }
.dzD-x { position: absolute; right: 14px; top: 14px; width: 32px; height: 32px; border: none; border-radius: 50%; background: #eef2fb; color: #16307b; font-size: 14px; cursor: pointer; }
.dzD-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: #f97316; }
.dzD-box h3 { margin: 0 0 10px; font-size: 20px; font-weight: 800; color: #17306b; line-height: 1.4; }
.dzD-text { margin: 0 0 12px; font-size: 13.5px; line-height: 1.9; color: #44507a; }
.dzD-box ul { list-style: none; margin: 0 0 14px; padding: 12px 0 0; border-top: 1.5px dashed #e4e9f4; display: flex; flex-direction: column; gap: 8px; }
.dzD-box li { position: relative; padding-left: 24px; font-size: 13px; font-weight: 500; color: #17306b; line-height: 1.55; }
.dzD-box li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 17px; height: 17px; border-radius: 50%; background: #ffe8d2; color: #ea580c; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.dzD-price { margin: 0 0 16px; font-size: 13px; color: #5a6a94; }
.dzD-price b { color: #ea580c; }
.dzD-btns { display: flex; flex-direction: column; gap: 9px; }
.dzD-go { display: block; text-align: center; padding: 13px; border-radius: 999px; background: linear-gradient(rgb(249,115,22), rgb(234,106,10)); color: #fff !important; font-weight: 700; font-size: 14px; box-shadow: 0 10px 22px rgba(249,115,22,0.35); }
.dzD-all { display: block; text-align: center; padding: 12px; border-radius: 999px; background: #fff; color: #17306b !important; font-weight: 700; font-size: 13.5px; box-shadow: inset 0 0 0 1.5px #e4e9f4; }
.dzD-all:hover { box-shadow: inset 0 0 0 1.5px #17306b; }

/* พื้นหลังลูกบอล 3D ทุกหน้า "บริการของเรา" (ภาพเดียวกับหน้าแพ็กเกจขั้น 2) */
body.solbg { background: #f6f8fd url('/uploads/dz/pk-bg2.webp') no-repeat top center / 100% auto; }
body.solbg .rd-root { background: transparent; }
body.solbg .rd-hero, body.solbg .rd-sec, body.solbg .rd-sec--paper, body.solbg .rd-foot { background: transparent; }
/* หน้ารวมบริการของเรา: การ์ดแต่ละใบคนละโทนสี อ่านแยกง่ายแม้ตัวหนังสือเยอะ */
body.solbg .rd-bento .rd-case { border: 1.5px solid transparent; }
body.solbg .rd-bento .rd-case:nth-child(1) { background: #fff1e2; border-color: #fcd9b0; }
body.solbg .rd-bento .rd-case:nth-child(2) { background: #e8f0fe; border-color: #c8dafb; }
body.solbg .rd-bento .rd-case:nth-child(3) { background: #e6f6ec; border-color: #bfe6cd; }
body.solbg .rd-bento .rd-case:nth-child(4) { background: #f1ecfd; border-color: #d9cdf7; }
body.solbg .rd-bento .rd-case:nth-child(5) { background: #ffe9e4; border-color: #fcc9bd; }
body.solbg .rd-bento .rd-case:nth-child(6) { background: #e4f4fb; border-color: #bfe3f4; }
body.solbg .rd-bento .rd-case:nth-child(7) { background: #fff6da; border-color: #f3e2a4; }
body.solbg .rd-bento .rd-case:nth-child(1) .rd-case-num { color: #ea580c; }
body.solbg .rd-bento .rd-case:nth-child(2) .rd-case-num { color: #1d4ed8; }
body.solbg .rd-bento .rd-case:nth-child(3) .rd-case-num { color: #15803d; }
body.solbg .rd-bento .rd-case:nth-child(4) .rd-case-num { color: #6d28d9; }
body.solbg .rd-bento .rd-case:nth-child(5) .rd-case-num { color: #dc2626; }
body.solbg .rd-bento .rd-case:nth-child(6) .rd-case-num { color: #0369a1; }
body.solbg .rd-bento .rd-case:nth-child(7) .rd-case-num { color: #b45309; }
/* "วิธีทำงาน" จัดเป็นระบบ: สเต็ปการ์ด + วงเลขบนเส้นประเชื่อมต่อเนื่อง */
body.solbg .rd-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; counter-reset: none; }
body.solbg .rd-step { position: relative; background: #fff; border: 1.5px solid #e8ecf6; border-radius: 18px; padding: 34px 18px 20px; box-shadow: 0 14px 30px -26px rgba(22,37,94,0.4); transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s; }
body.solbg .rd-step:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(249,115,22,0.35); }
body.solbg .rd-step .rd-step-n { position: absolute; top: -22px; left: 18px; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(rgb(249,115,22), rgb(234,106,10)); color: #fff; font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 16px rgba(249,115,22,0.35), 0 0 0 5px #fff; }
body.solbg .rd-step:not(:last-child)::before { content: ''; position: absolute; top: -1px; left: 74px; right: calc(-16px - 18px); border-top: 2px dashed #fdba74; }
body.solbg .rd-step h3 { margin: 4px 0 6px; font-size: 16px; line-height: 1.5; }
body.solbg .rd-step p { font-size: 13px; line-height: 1.75; }
@media (max-width: 900px) {
  body.solbg .rd-steps { grid-template-columns: 1fr; gap: 34px; margin-top: 34px; }
  body.solbg .rd-step:not(:last-child)::before { top: 22px; left: -1px; right: auto; width: 0; height: calc(100% + 34px); border-top: 0; border-left: 2px dashed #fdba74; }
}

/* ลดช่องว่างรอบส่วนวิธีทำงาน (ภาพมีระยะหายใจในตัวแล้ว) */
body.solbg #process { padding: clamp(16px, 2vw, 28px) 0 clamp(8px, 1vw, 16px); }
body.solbg #process + .rd-sec { padding-top: clamp(36px, 4.5vw, 64px); }

/* หน้ารวมบริการของเรา: การ์ดขนาดเท่ากันทุกใบ (2 คอลัมน์) */
body.solbg .rd-bento { grid-template-columns: 1fr 1fr; }
body.solbg .rd-bento .rd-case { grid-column: auto !important; display: flex; flex-direction: column; }
body.solbg .rd-bento .rd-case--full { grid-template-columns: none; gap: 0; }
body.solbg .rd-bento .rd-case-vis { min-height: 0; margin-top: 22px; }
body.solbg .rd-bento .rd-case-vis img { width: 100%; height: 240px; object-fit: cover; object-position: top; border-radius: 14px; box-shadow: 0 18px 38px -24px rgba(14,26,71,0.45); }
@media (max-width: 900px) { body.solbg .rd-bento { grid-template-columns: 1fr; } body.solbg .rd-bento .rd-case-vis img { height: 200px; } }
/* เฟรมหน้าแรกกว้างขึ้น: เมนูลอยจอใหญ่ยังกว้างพอดีเนื้อหา */

/* แถบโลโก้ลูกค้า: กว้างเต็มจอ เลื่อนจากขอบถึงขอบ */
.dz-clients-box { width: 100vw; margin-left: calc(50% - 50vw); border-left: 0; border-right: 0; border-radius: 0; padding: 12px 0 !important; }
.dz-clients-box [data-dzscroll] { display: none !important; } /* เอาปุ่มลูกศรออก โลโก้ไหลชนขอบจอทั้งสองข้าง */

/* เมนูหน้าแรก: กว้างมาตรฐานเท่าหน้าอื่น (830px) ไม่ยืดตามเฟรม 1440 */
.dz-nav { left: 50% !important; right: auto !important; transform: translateX(-50%); width: min(830.5px, calc(100vw - 44px)); box-sizing: border-box; }
@media (max-width: 767px) { .dz-nav { width: 92vw; } }

/* การ์ดปัญหา 6 ใบบนมือถือ: หัวข้อไหลเต็มแถว ไม่หักคำทีละคำ ความสูงเรียบร้อย */
@media (max-width: 767px) {
  .dz-cards > a { padding: 14px 14px 40px !important; gap: 6px !important; }
  .dz-cards > a > span:first-child { align-items: flex-start !important; gap: 8px !important; }
  .dz-cards > a > span:first-child > span:first-child { width: 34px !important; height: 34px !important; border-radius: 10px !important; }
  .dz-cards > a > span:first-child > span:first-child svg { width: 17px; height: 17px; }
  .dz-cards > a > span:first-child > span:last-child { flex: 1 1 0 !important; min-width: 0 !important; font-size: 13.5px !important; line-height: 1.45 !important; }
  .dz-cards > a > span[style*='12.5px'] { font-size: 12px !important; }
  .dz-cards > a.sel .dz-read { left: 10px; right: 10px; bottom: 8px; padding: 8px 10px; font-size: 12px; }
}

/* มือถือ: ปุ่ม Menu กลางแถบ + ลิงก์เลื่อนออกมา (หน้าแรก) */
@media (max-width: 767px) {
  .dz-nav { z-index: 120 !important; } /* ให้เมนูที่กางออกลอยเหนือเนื้อหาส่วนถัดไป */
  .dz-mbtn { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: none; background: none; cursor: pointer; font-family: Prompt, sans-serif; font-size: 13.5px; font-weight: 700; color: rgb(22, 48, 123); padding: 9px 4px; }
  .dz-mbtn svg { width: 15px; height: 15px; transition: transform .3s; }
  .dz-nav.dz-mopen .dz-mbtn svg { transform: rotate(180deg); }
  .dz-nav nav { position: absolute; left: 8px; right: 8px; top: calc(100% + 8px); z-index: 95; flex-direction: column; align-items: stretch; justify-content: flex-start !important; gap: 2px !important; background: #fff; border-radius: 18px; box-shadow: rgba(30, 42, 110, 0.2) 0px 16px 36px; padding: 8px !important; overflow: hidden; opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .3s ease, transform .3s cubic-bezier(.22,.61,.36,1); }
  .dz-nav.dz-mopen nav { opacity: 1; transform: none; pointer-events: auto; }
  .dz-nav nav a { padding: 12px 14px !important; font-size: 14px !important; border-radius: 12px; }
  .dz-nav nav a.dz-on { background: #fff4ec; }
  .dz-nav nav a.dz-on::after { display: none; }
  .dz-nav nav a span[aria-hidden] { display: none; }
}
/* ใบที่ 7 (แฟรนไชส์): การ์ดแนวนอนเต็มแถว ข้อความซ้าย ภาพขวา */
@media (min-width: 901px) {
  body.solbg .rd-bento .rd-case:nth-child(7) { grid-column: 1 / -1 !important; display: grid !important; grid-template-columns: 1fr 1.05fr; gap: 36px; align-items: center; }
  body.solbg .rd-bento .rd-case:nth-child(7) .rd-case-vis { margin-top: 0; }
  body.solbg .rd-bento .rd-case:nth-child(7) .rd-case-vis img { height: 300px; }
}
/* ลดช่องว่างระหว่างการ์ดบริการกับ HOW WE WORK */
body.solbg .rd-sec:has(.rd-bento) { padding-bottom: clamp(16px, 2vw, 28px); }

/* หน้าบริการของเรา: ใช้ฟอนต์ Prompt เหมือนหน้าแรกทั้งหน้า */
body.solbg, body.solbg .rd-root { --rd-display: 'Prompt', sans-serif; --rd-body: 'Prompt', sans-serif; font-family: 'Prompt', sans-serif; }

/* มือถือ: ลิ้นชักเมนูสไลด์จากขวา */
@media (max-width: 767px) {
  .dz-mbtn { display: none !important; }
  .dz-nav nav.dz-drawer { position: fixed !important; left: auto !important; right: 0 !important; top: 0 !important; bottom: 0; height: 100dvh; width: min(250px, 72vw); border-radius: 22px 0 0 22px !important; padding: 14px 14px 18px !important; box-shadow: rgba(14, 26, 71, 0.3) -16px 0 44px !important; transform: translateX(110%) !important; opacity: 1 !important; transition: transform .35s cubic-bezier(.22,.61,.36,1) !important; display: flex !important; flex-direction: column !important; overflow-y: auto; }
  .dz-nav.dz-mopen nav.dz-drawer { transform: translateX(0) !important; pointer-events: auto !important; }
  .dz-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 12px 14px; border-bottom: 1.5px dashed #e8ecf6; margin-bottom: 8px; font-weight: 700; font-size: 14px; color: #16307b; }
  .dz-drawer-x { width: 32px; height: 32px; border: none; border-radius: 50%; background: #eef2fb; color: #16307b; font-size: 13px; cursor: pointer; }
  .dz-drawer-consult { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px !important; border-radius: 999px; background: linear-gradient(rgb(249,115,22), rgb(234,106,10)); color: #fff !important; font-weight: 700; font-size: 14px; box-shadow: 0 8px 18px rgba(249,115,22,0.35); }
}
/* มือถือ: ดันภาพ hero ลงใต้แถบเมนู ไม่ให้เมนูบังหัวภาพ */
@media (max-width: 767px) {
  .dz-hero { padding-top: 66px; background: linear-gradient(180deg, #fff 0%, #fdf3ea 100%); }
}
/* มือถือ: จัดแถบ (โลโก้ซ้าย / Menu ขวา) + ลิ้นชักขนาดพอดีข้อความ */
@media (max-width: 767px) {
  .dz-nav, .dz-nav.dz-nav--fixed { left: 4% !important; right: 4% !important; width: auto !important; transform: none !important; animation: none !important; }
  .dz-nav > a:first-child { margin-right: auto; }
  .dz-nav nav.dz-drawer { top: 12px !important; right: 12px !important; bottom: auto !important; height: auto !important; max-height: calc(100dvh - 24px); width: 210px !important; box-sizing: border-box; border-radius: 22px !important; transform: translateX(calc(100% + 24px)) !important; }
  .dz-nav nav.dz-drawer a { text-align: left; }
  .dz-drawer-consult { margin-top: 10px !important; }
}

/* มือถือ: ซ่อนลิงก์ในแถบ (ย้ายไปอยู่ในลิ้นชักขอบขวาแล้ว) */
@media (max-width: 767px) { .dz-nav nav { display: none !important; } }
/* มือถือ: การ์ดปัญหาสั้นลง — ลูกศรลอยมุมขวาล่าง ไม่กินบรรทัด ปุ่มเพิ่มเติมชิดเนื้อหาขึ้น */
@media (max-width: 767px) {
  .dz-cards > a { padding-bottom: 50px !important; }
  .dz-cards > a > span[aria-hidden] { position: absolute; right: 14px; bottom: 12px; }
  .dz-cards > a.sel .dz-read { bottom: 10px; }
}
/* มือถือ หน้าบริการของเรา: ลดช่องว่างใต้หัวข้อก่อนถึงการ์ด */
@media (max-width: 767px) {
  body.solbg .rd-hero { padding-bottom: 12px !important; }
  body.solbg .rd-hero + .rd-sec { padding-top: 16px !important; }
}
/* หน้ารวมบริการของเรา: ลดช่องว่างใต้หัวข้อก่อนถึงการ์ด (ทุกขนาดจอ) */
body.solbg .rd-hero { padding-bottom: clamp(12px, 2vw, 28px) !important; min-height: 0 !important; }
body.solbg .rd-hero + .rd-sec { padding-top: clamp(12px, 2vw, 28px) !important; }
/* ===== หน้ารายละเอียดบริการ: แยกเนื้อหาเป็นแผงพื้นสี ระยะกระชับ ===== */
main.rd-root:has(.rd-sol-hero) > .rd-hero { padding-bottom: clamp(16px, 2.4vw, 32px) !important; }
main.rd-root:has(.rd-sol-hero) > .rd-sec { padding: clamp(8px, 1vw, 14px) 0 !important; background: transparent !important; }
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(n+2):nth-of-type(-n+5) > .rd-wrap {
  position: relative; max-width: 1140px; border-radius: 28px;
  padding: clamp(26px, 3.4vw, 46px) clamp(22px, 3.6vw, 52px);
  border: 1.5px solid rgba(22,37,94,0.06);
  box-shadow: 0 18px 44px -32px rgba(22,37,94,0.35);
}
/* สลับโทนสีแต่ละแผง */
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(2) > .rd-wrap { background: linear-gradient(135deg, #fff4ea 0%, #ffffff 70%); border-color: #fde3cb; }
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(3) > .rd-wrap { background: linear-gradient(135deg, #eaf1fe 0%, #ffffff 72%); border-color: #d6e3fb; }
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(4) > .rd-wrap { background: #ffffff; }
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(5) > .rd-wrap { background: linear-gradient(135deg, #f1ecfd 0%, #ffffff 72%); border-color: #e2d9f8; }
/* แถบสีเล็กมุมบนซ้ายเป็นตัวแบ่งหมวด */
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(n+2):nth-of-type(-n+5) > .rd-wrap::before { content: ''; position: absolute; left: clamp(22px, 3.6vw, 52px); top: 0; width: 56px; height: 4px; border-radius: 0 0 4px 4px; background: var(--rd-or); }
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(3) > .rd-wrap::before { background: #2a51d4; }
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(5) > .rd-wrap::before { background: #7c3aed; }
/* ระยะภายในแผงให้แน่นขึ้น */
main.rd-root:has(.rd-sol-hero) .rd-two { gap: clamp(20px, 3vw, 48px) !important; align-items: start; }
main.rd-root:has(.rd-sol-hero) .rd-head { margin-bottom: clamp(18px, 2vw, 28px) !important; }
main.rd-root:has(.rd-sol-hero) .rd-h2 { font-size: clamp(26px, 3vw, 38px); }
main.rd-root:has(.rd-sol-hero) .rd-pains li, main.rd-root:has(.rd-sol-hero) .rd-feats li { background: rgba(255,255,255,0.75); }
main.rd-root:has(.rd-sol-hero) .rd-price { margin-top: 18px !important; background: #fff; }
/* การ์ดท้ายหน้า + งานอื่น ๆ ชิดขึ้น */
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(6) { padding-top: clamp(20px, 3vw, 36px) !important; }
/* ===== หน้ารายละเอียดบริการ: ใส่สีตาม DNA Edumi (ขาว · ดำ/กรมท่า · ส้ม · น้ำเงิน) ===== */
/* แผง 1 — ปัญหาที่เจอ: กรมท่าเข้ม ตัวขาว */
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(2) > .rd-wrap { background: linear-gradient(135deg, #16255e 0%, #0e1a47 100%) !important; border-color: #16255e !important; color: #fff; overflow: hidden; }
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(2) > .rd-wrap::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(249,115,22,0.35), transparent 68%); pointer-events: none; }
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(2) .rd-h2 { color: #fff; }
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(2) .rd-eyebrow { color: #fdba74; }
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(2) .rd-pains li { position: relative; z-index: 1; background: rgba(255,255,255,0.08) !important; border: 0 !important; border-radius: 16px; padding: 16px 18px 16px 50px; margin-bottom: 10px; color: #fff; }
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(2) .rd-pains li::before { content: '!'; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: #f97316; color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
/* แผง 2 — เราช่วยได้แบบนี้: ขาว + ขั้นตอนพื้นน้ำเงิน */
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(3) > .rd-wrap { background: #fff !important; border-color: #e3eafc !important; }
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(3) .rd-flow li { background: linear-gradient(160deg, #2a51d4 0%, #1b3aa8 100%); color: #fff; box-shadow: 0 14px 28px -18px rgba(30,63,174,0.7); }
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(3) .rd-flow li::before { color: #fdba74; }
/* แผง 3 — ใส่อะไรได้บ้าง: ส้ม ตัวขาว */
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(4) > .rd-wrap { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important; border-color: #ea580c !important; color: #fff; }
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(4) > .rd-wrap::before { background: #fff !important; }
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(4) .rd-h2, main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(4) .rd-eyebrow { color: #fff; }
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(4) .rd-lead { color: rgba(255,255,255,0.88); }
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(4) .rd-feats li { background: rgba(255,255,255,0.14) !important; border: 0 !important; border-radius: 14px; padding: 13px 16px; margin-bottom: 10px; color: #fff; font-weight: 500; }
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(4) .rd-feats li::before { content: '✓'; color: #fff; font-weight: 800; }
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(4) .rd-feats { gap: 0 12px; }
/* แผง 4 — ก่อนคุยกัน: ขาว + คำถามพื้นฟ้าอ่อน + กล่องราคากรมท่า */
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(5) > .rd-wrap { background: #fff !important; border-color: #e3eafc !important; }
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(5) > .rd-wrap::before { background: #2a51d4 !important; }
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(5) .rd-qs li { background: #eef3fd; }
main.rd-root:has(.rd-sol-hero) > .rd-sec:nth-of-type(5) .rd-qs li::before { background: #f97316; }
main.rd-root:has(.rd-sol-hero) .rd-price { background: linear-gradient(135deg, #16255e 0%, #0e1a47 100%) !important; }
main.rd-root:has(.rd-sol-hero) .rd-price p { color: rgba(255,255,255,0.78); }
main.rd-root:has(.rd-sol-hero) .rd-price b { color: #fff; }
main.rd-root:has(.rd-sol-hero) .rd-price b span[data-price] { color: #fdba74; }
main.rd-root:has(.rd-sol-hero) .rd-price .rd-btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.5); }
.rd-root main.rd-root:has(.rd-sol-hero) .rd-price .rd-btn--ghost:hover, main.rd-root:has(.rd-sol-hero) .rd-price .rd-btn--ghost:hover { color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }

/* ===== หน้ารายละเอียดบริการ: แผงแพ็กเกจที่เหมาะกับงานนี้ ===== */
main.rd-root:has(.rd-sol-hero) > .rd-pks { padding: clamp(8px, 1vw, 14px) 0 !important; background: transparent !important; scroll-margin-top: 90px; }
main.rd-root:has(.rd-sol-hero) > .rd-pks > .rd-wrap { position: relative; max-width: 1140px; border-radius: 28px; padding: clamp(26px, 3.4vw, 46px) clamp(22px, 3.6vw, 52px); background: linear-gradient(135deg, #fff4ea 0%, #ffffff 60%, #eef3fd 100%); border: 1.5px solid #fde3cb; box-shadow: 0 18px 44px -32px rgba(22,37,94,0.35); }
main.rd-root:has(.rd-sol-hero) > .rd-pks > .rd-wrap::before { content: ''; position: absolute; left: clamp(22px, 3.6vw, 52px); top: 0; width: 56px; height: 4px; border-radius: 0 0 4px 4px; background: #f97316; }
.rd-pk-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 18px; align-items: stretch; }
.rd-pk { position: relative; display: flex; flex-direction: column; background: #fff; border: 1.5px solid #e3eafc; border-radius: 24px; padding: 30px 24px 22px; box-shadow: 0 14px 34px -26px rgba(22,37,94,0.35); transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s; }
.rd-pk:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -28px rgba(22,37,94,0.45); }
.rd-pk--rec { border-color: transparent; box-shadow: 0 0 0 2.5px #f97316, 0 22px 44px -24px rgba(249,115,22,0.45); }
.rd-pk--rec:hover { box-shadow: 0 0 0 2.5px #f97316, 0 28px 52px -26px rgba(249,115,22,0.55); }
.rd-pk-badge { position: absolute; top: -13px; left: 22px; padding: 5px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.3; background: #eef3fd; color: #1b3aa8; box-shadow: inset 0 0 0 1.5px #d6e3fb; max-width: calc(100% - 44px); }
.rd-pk--rec .rd-pk-badge { background: linear-gradient(135deg, #f97316, #ea580c); color: #fff; box-shadow: 0 6px 14px -6px rgba(234,88,12,0.6); }
.rd-pk-top { display: flex; gap: 14px; align-items: center; }
.rd-pk-top img { width: 76px; height: 76px; object-fit: contain; flex: 0 0 auto; border-radius: 18px; background: #fdf4e9; }
.rd-pk:not(.rd-pk--rec) .rd-pk-top img { background: #eef3fd; }
.rd-pk-name { margin: 0; font-family: var(--rd-display); font-size: 22px; line-height: 1.25; color: #16255e; }
.rd-pk-tag { margin: 4px 0 0; font-size: 14px; line-height: 1.55; color: var(--rd-muted); }
.rd-pk-list { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1.5px dashed #e3eafc; display: grid; gap: 9px; flex: 1 1 auto; align-content: start; }
.rd-pk-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: #16255e; }
.rd-pk-list svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; color: #2a51d4; }
.rd-pk--rec .rd-pk-list svg { color: #f97316; }
.rd-pk-price { margin: 18px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; font-size: 14px; font-weight: 500; color: #16255e; }
.rd-pk-price b { font-family: var(--rd-display); font-size: 30px; line-height: 1; font-weight: 800; color: #ea580c; }
.rd-pk-price b.rd-pk-quote { font-size: 20px; }
.rd-pk-price small { flex-basis: 100%; font-size: 12.5px; font-weight: 400; color: var(--rd-muted); }
.rd-pk-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.rd-pk-btns .rd-btn { flex: 1 1 auto; justify-content: center; }
.rd-pk-btns .rd-btn--ink { background: #16255e; color: #fff; }
.rd-pk-btns .rd-btn--ink:hover { background: #0e1a47; color: #fff; }
.rd-pk-more { margin: 18px 0 0; text-align: center; }
.rd-pk-more .rd-link { display: inline-flex; }
@media (max-width: 767px) {
  .rd-pk-grid { grid-template-columns: 1fr; gap: 26px; }
  .rd-pk { padding: 28px 18px 18px; }
  .rd-pk-top img { width: 64px; height: 64px; }
  .rd-pk-name { font-size: 20px; }
  .rd-pk-price b { font-size: 26px; }
}

.rd-pk-vis { height: 170px; border-radius: 18px; background: #fdf4e9; display: flex; align-items: center; justify-content: center; overflow: hidden; margin: 0 0 16px; }
.rd-pk:not(.rd-pk--rec) .rd-pk-vis { background: #eef3fd; }
.rd-pk-vis img { width: 100%; height: 100%; object-fit: contain; padding: 10px; box-sizing: border-box; display: block; }
@media (max-width: 767px) { .rd-pk-vis { height: 150px; } }

/* ปุ่ม "เลือกแพ็กเกจนี้" ในการ์ดแพ็กเกจหน้าบริการ: กรมท่า → ส้มเมื่อชี้เมาส์ */
.rd-pk-btns .rd-btn--or { background: #16255e !important; color: #fff !important; box-shadow: 0 8px 18px -6px rgba(22,37,94,0.35) !important; transition: background .25s, transform .25s, box-shadow .25s; }
.rd-pk-btns .rd-btn--or:hover, .rd-pk-btns .rd-btn--or:focus-visible { background: linear-gradient(135deg, #f97316, #ea580c) !important; box-shadow: 0 12px 24px -6px rgba(249,115,22,0.5) !important; transform: translateY(-2px); }
