/* professpbx.com / professip-pbx.com — สีหลักกำหนดใน src/data/site.js (theme) */
:root {
  --ink: #0f1a2e; --text: #2c3a4f; --muted: #5d6b80; --line: #e2e8f0; --bg: #ffffff; --bg-alt: #f6f8fc;
  --line-green: #06c755; --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 26, 46, .06), 0 8px 24px rgba(15, 26, 46, .07);
  --shadow-lg: 0 20px 50px rgba(15, 26, 46, .16);
  --font: 'Sarabun', 'Noto Sans Thai', system-ui, sans-serif;
  --head: 'Kanit', 'Sarabun', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.75; color: var(--text); background: var(--bg); }
img, svg, iframe { max-width: 100%; }
a { color: var(--brand-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; margin: 0 0 .6em; font-family: var(--head); font-weight: 600; }
h1 { font-size: clamp(30px, 4.6vw, 48px); }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3, .h3 { font-size: 20px; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14.5px; }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; }

/* ── ปุ่ม ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px; font: 600 16px/1.3 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 15px; }
.btn-lg { padding: 14px 26px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand-2); color: #fff; }
.btn-primary:hover { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(11, 79, 64, .25); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-ghost-dark { border-color: var(--soft-2); color: var(--brand); background: #fff; }
.btn-ghost-dark:hover { border-color: var(--brand-2); color: var(--brand); }
.btn-outline { border-color: var(--brand-2); color: var(--brand-2); }
.btn-line { background: var(--line-green); color: #fff; }
.btn-line:hover { background: #05b04b; color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ── โลโก้ ── */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 19px; color: var(--ink); }
.logo-text span { font-size: 12.5px; color: var(--muted); letter-spacing: .3px; }
.logo-light .logo-text strong { color: #fff; }
.logo-light .logo-text span { color: #d5def0; }

/* ── หัวเว็บ ── */
.topbar { background: var(--dark); color: #d5def0; font-size: 14px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-r { gap: 18px !important; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(16, 34, 29, .08); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.nav { margin-left: auto; }
.nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a { display: flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; }
.nav a:hover, .nav a[aria-current] { color: var(--brand-2); background: var(--soft); }
.submenu { position: absolute; top: 100%; left: 0; min-width: 260px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.has-menu:hover .submenu, .has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { font-weight: 400; font-size: 15px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px; color: var(--ink); cursor: pointer; }
.drawer { display: none; }

/* ── Hero หน้าแรก ── */
.hero { position: relative; overflow: hidden; background: radial-gradient(1000px 500px at 85% -10%, var(--soft), transparent 60%), linear-gradient(180deg, var(--soft), #fff); padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(30px, 4vw, 44px); }
.hero h1 span { display: block; color: var(--brand-2); font-size: .62em; margin-top: 6px; }
.lead { font-size: 19px; color: var(--text); max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--brand-2); background: var(--soft); border: 1px solid var(--soft-2); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.prov-finder { display: flex; gap: 10px; max-width: 560px; margin-top: 8px; }
.prov-finder.center { margin: 20px auto; }
.prov-finder .input { flex: 1; }
.panel-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 22px; position: relative; }
.panel-card::before { content: ""; position: absolute; inset: 12px -12px -12px 12px; border-radius: 18px; background: var(--soft); z-index: -1; border: 1px solid #efe1bb; }
.panel-head, .desk-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); margin-bottom: 8px; }
.panel-head strong, .desk-head strong { display: block; color: var(--ink); line-height: 1.3; }
.panel-head div span, .desk-head div span { font-size: 13.5px; color: var(--muted); }
.panel-card ul { list-style: none; margin: 0; padding: 0; }
.panel-card li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #f0f4f2; font-size: 15.5px; }
.panel-card b { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.panel-card b.ok { background: var(--soft); color: var(--brand-2); }
.panel-card b.pend { background: var(--soft); color: #8a6512; }
.panel-foot { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); padding-top: 12px; }

.trust { background: var(--dark); color: #d5def0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.trust-grid div { padding: 22px 10px; border-right: 1px solid rgba(255, 255, 255, .1); }
.trust-grid div:last-child { border: 0; }
.trust strong { display: block; font-size: 30px; color: var(--accent-2); line-height: 1.2; }
.trust span { font-size: 14.5px; }

/* ── Section ── */
.section { padding: 72px 0; }
.section-sm { padding: 44px 0; }
.section.alt, .section-sm.alt { background: var(--bg-alt); }
.sec-head { max-width: 760px; margin-bottom: 34px; }
.sec-head p:last-child { color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.two-col.wide-left { grid-template-columns: 1.6fr 1fr; }

.cards { display: grid; gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-5 { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-top: 12px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card.soft { background: var(--soft); border-color: var(--soft-2); box-shadow: none; }
.card.dark { background: var(--dark); color: #d5def0; border: 0; }
.card.dark h3 { color: #fff; }
.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
.card-link:hover { transform: translateY(-3px); border-color: var(--brand-3); }
.card-link .more { margin-top: auto; }
.card-ic { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--soft); color: var(--brand-2); }
.more { display: inline-flex; align-items: center; gap: 4px; color: var(--brand-2); font-weight: 600; font-size: 15px; }
.sector h3 { font-size: 18.5px; }

.check { list-style: none; margin: 0 0 1em; padding: 0; }
.check li { display: flex; gap: 10px; padding: 6px 0; }
.check svg { flex: none; color: var(--brand-3); margin-top: 5px; }
.card.dark .check svg { color: var(--accent-2); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 22px; }
.step-n { position: absolute; top: -14px; left: 20px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; }
.step-ic { color: var(--brand-2); display: block; margin-bottom: 8px; }
.steps h3 { font-size: 18.5px; }
.steps p { color: var(--muted); font-size: 15.5px; margin: 0; }

.regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.region-card { position: relative; overflow: hidden; text-decoration: none; border-radius: var(--radius); padding: 26px; color: #d5def0; background: linear-gradient(150deg, var(--dark), var(--brand-2)); min-height: 210px; display: flex; flex-direction: column; transition: transform .15s; }
.region-card:hover { transform: translateY(-3px); color: #fff; }
.region-card h3 { color: #fff; margin: 4px 0 8px; }
.region-card p { font-size: 15px; }
.region-card .more { color: var(--accent-2); margin-top: auto; }
.rc-en { font: italic 800 13px Inter, sans-serif; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-2); }
.region-card.r-east, .prov-hero.r-east { background: linear-gradient(150deg, #0b4a55, #0f6f7a); }
.region-card.r-west, .prov-hero.r-west { background: linear-gradient(150deg, #3d4a1c, #5d6e2a); }
.region-card.r-north, .prov-hero.r-north { background: linear-gradient(150deg, #193f2c, #2f6b47); }
.region-card.r-northeast, .prov-hero.r-northeast { background: linear-gradient(150deg, #5a3413, #8a5420); }
.region-card.r-south, .prov-hero.r-south { background: linear-gradient(150deg, #0b3a5c, #13628a); }

/* ── ตาราง ── */
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 16px; }
.price-table th { background: var(--brand); color: #fff; text-align: left; padding: 13px 16px; font-weight: 600; }
.price-table td { padding: 13px 16px; border-top: 1px solid var(--line); }
.price-table tr:nth-child(even) td { background: #fafcfb; }
.price-table td:last-child { white-space: nowrap; }
.price-table strong { color: var(--brand-2); font-size: 18px; }
.cal td:last-child { white-space: normal; color: var(--muted); font-size: 15px; }

/* ── FAQ ── */
.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; padding: 15px 48px 15px 18px; font-weight: 600; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--brand-3); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 18px 6px; color: var(--text); }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--soft); border: 1px solid var(--soft-2); color: var(--brand); text-decoration: none; font-size: 15px; }
.chips a:hover { background: var(--brand-2); color: #fff; }

/* ── หัวหน้าภายใน ── */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--dark), var(--brand-2)); color: #d5def0; padding: 34px 0 52px; }
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero .lead { color: #d5def0; margin-bottom: 0; }
.page-hero .eyebrow, .prov-hero .eyebrow { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: var(--accent-2); }
.watermark { position: absolute; right: -10px; bottom: -40px; font-size: clamp(90px, 16vw, 210px); font-weight: 700; line-height: 1; color: rgba(255, 255, 255, .06); white-space: nowrap; pointer-events: none; user-select: none; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 16px; padding: 0; font-size: 14px; }
.crumbs li + li::before { content: "/"; margin: 0 6px 0 2px; opacity: .5; }
.crumbs a { color: inherit; text-decoration: none; opacity: .85; }
.crumbs a:hover { opacity: 1; text-decoration: underline; }
.crumbs [aria-current] { opacity: .65; }

/* ── หน้าจังหวัด ── */
.prov-hero { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--dark), var(--brand-2)); color: #d5def0; padding: 34px 0 60px; }
.prov-hero-grid { position: relative; display: grid; grid-template-columns: 1.3fr .9fr; gap: 48px; align-items: center; }
.prov-hero h1 { color: #fff; font-size: clamp(34px, 5.4vw, 60px); margin-bottom: 14px; }
.prov-hero h1 span { display: block; font-size: .42em; color: var(--accent-2); font-weight: 600; margin-top: 8px; }
.prov-hero .lead { color: #d5def0; }
.prov-hero .lead strong { color: #fff; }
.desk-card { background: #fff; color: var(--text); border-radius: 18px; padding: 22px; box-shadow: var(--shadow-lg); border-top: 5px solid var(--accent); }
.desk-card dl { margin: 0; }
.desk-card dl > div { display: grid; grid-template-columns: 140px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0f4f2; font-size: 15.5px; }
.desk-card dl > div:last-child { border: 0; }
.desk-card dt { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.desk-card dt svg { color: var(--brand-3); }
.desk-card dd { margin: 0; color: var(--ink); font-weight: 500; }

.prov-search { max-width: 560px; margin-bottom: 24px; }
.region-block { margin-bottom: 40px; }
.region-block h2 { font-size: 24px; }
.region-block h2 a { color: var(--ink); text-decoration: none; }
.region-block h2 small { font-size: 15px; color: var(--muted); font-weight: 500; margin-left: 8px; }
.prov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.prov-card { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand-3); border-radius: 12px; padding: 14px 16px; transition: .15s; }
.prov-card:hover { border-color: var(--brand-3); box-shadow: var(--shadow); transform: translateY(-2px); }
.prov-card strong { display: block; color: var(--ink); }
.prov-card span { display: block; font-size: 14px; color: var(--muted); line-height: 1.55; margin-top: 4px; }

/* ── Prose ── */
.prose h2 { margin-top: 1.3em; }
.prose h2:first-child { margin-top: 0; }
.lead-dark { font-size: 18.5px; color: var(--ink); }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { padding: 7px 0; border-bottom: 1px solid var(--soft-2); }
.link-list li:last-child { border: 0; }
.info-list { padding-left: 18px; }
.sticky { position: sticky; top: 100px; }

/* ── CTA ── */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: linear-gradient(130deg, var(--brand), var(--brand-3)); color: #d5def0; border-radius: 20px; padding: 36px 40px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(224, 180, 74, .18); }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }

/* ── ฟอร์ม ── */
.form-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow-lg); border-top: 5px solid var(--brand-3); }
.form-card h2 { font-size: 24px; margin-bottom: 4px; }
.field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 5px; color: var(--ink); }
.req { color: #c2410c; }
.input { width: 100%; font: 16px var(--font); padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.input:focus { outline: none; border-color: var(--brand-3); box-shadow: 0 0 0 4px var(--soft); }
textarea.input { min-height: 96px; resize: vertical; }
.form-status { margin: 10px 0 0; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: var(--brand-2); }
.form-status.err { color: #b91c1c; }
.form-alt { text-align: center; font-size: 15px; color: var(--muted); margin: 14px 0 0; }
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; }
.contact-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list svg { color: var(--brand-3); flex: none; margin-top: 3px; }
.contact-list strong { display: block; color: var(--ink); }
.map { width: 100%; height: 300px; border: 0; border-radius: var(--radius); }

/* ── ท้ายเว็บ ── */
.site-footer { background: var(--dark); color: #d5def0; padding: 60px 0 90px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 16.5px; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #d5def0; text-decoration: none; }
.site-footer a:hover { color: var(--accent-2); }
.footer-areas { margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; line-height: 1.9; }
.footer-areas p { margin: 0 0 8px; }
.footer-areas a { color: #d5def0; }
.fa-region { color: var(--accent-2) !important; font-weight: 600; margin-right: 6px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.fab { display: none; }

/* ── ปุ่มกลับด้านบน (เฉพาะ PC) ── */
.to-top { display: none; }
@media (min-width: 961px) {
  .to-top { display: inline-flex; align-items: center; justify-content: center; position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; background: var(--brand-2); box-shadow: 0 10px 24px -8px rgba(11, 79, 64, .6); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; }
  .to-top.show { opacity: 1; visibility: visible; transform: none; }
  .to-top:hover { background: var(--accent); color: #fff; }
  .to-top:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }
}
@media (prefers-reduced-motion: reduce) { .to-top, .site-header { transition: none; } }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .nav a { padding: 10px 8px; font-size: 15px; }
  .header-cta { display: none; }
}
@media (max-width: 960px) {
  .nav, .topbar span:first-child { display: none; }
  .topbar-inner { justify-content: center; }
  .menu-toggle { display: inline-flex; }
  .header-inner { min-height: 66px; }
  .drawer { display: block; position: fixed; inset: 0; z-index: 49; background: #fff; padding: 120px 20px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .2s; }
  .drawer.open { transform: none; }
  .drawer ul { list-style: none; margin: 0 0 16px; padding: 0; }
  .drawer > ul > li > a { display: block; padding: 12px 4px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
  .drawer .sub { padding-left: 12px; margin: 4px 0 8px; }
  .drawer .sub a { display: block; padding: 6px 4px; color: var(--muted); text-decoration: none; font-size: 15px; }
  .drawer .btn { width: 100%; margin-top: 10px; }
  body.menu-open { overflow: hidden; }
  .hero-grid, .prov-hero-grid, .two-col, .two-col.wide-left, .form-wrap { grid-template-columns: 1fr; gap: 32px; }
  .cards-3, .regions { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sticky { position: static; }
  .fab { display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; }
  .fab .btn { flex: 1; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  .hero { padding: 40px 0 52px; }
  .logo-text strong { font-size: 16.5px; }
    .topbar-r { gap: 12px !important; font-size: 13px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid div:nth-child(2) { border-right: 0; }
  .trust-grid div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .cards-2, .cards-3, .regions, .steps, .field-row, .footer-grid { grid-template-columns: 1fr; }
  .prov-finder { flex-direction: column; }
  .desk-card dl > div { grid-template-columns: 1fr; gap: 2px; }
  .cta-band { padding: 28px 22px; }
  .form-card { padding: 22px 18px; }
  .price-table th, .price-table td { padding: 11px 12px; }
  .cal { display: block; overflow-x: auto; }
  .panel-card::before { display: none; }
}

/* ── เพิ่มเติม: โลโก้ / สินค้า / แพ็กเกจ ── */
.logo-svg { flex: none; border-radius: 12px; }
.logo-text strong { font-family: var(--head); font-weight: 600; font-size: 21px; letter-spacing: .2px; }
.logo-text strong b { color: var(--brand-2); font-weight: 600; }
.logo-light .logo-text strong b { color: var(--accent-2); }
.logo-text span { font-size: 11.5px; letter-spacing: 1.6px; font-weight: 600; }
.panel-card.prod img { display: block; margin: 0 auto 10px; max-height: 200px; width: auto; }
.panel-card li span { display: inline-flex; align-items: center; gap: 8px; }
.cards-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.prod-card { position: relative; }
.prod-card .thumb { display: grid; place-items: center; height: 170px; background: #fff; border-radius: 10px; margin-bottom: 8px; overflow: hidden; }
.prod-card .thumb img { max-height: 160px; width: auto; object-fit: contain; }
.prod-card .ph { color: var(--soft-2); }
.prod-card h3 { font-size: 17.5px; margin-top: 4px; }
.badge { position: absolute; top: 14px; right: 14px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.series { margin-bottom: 44px; }
.series h2 { font-size: 22px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan p { color: var(--muted); font-size: 15.5px; }
.plan .btn { margin-top: auto; }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.plan-tag { align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--brand-2); background: var(--soft); padding: 3px 12px; border-radius: 999px; margin-bottom: 10px; }
.plan.featured .plan-tag { background: var(--accent); color: #fff; }
.price { margin: 4px 0 12px; color: var(--ink) !important; }
.price strong { font-family: var(--head); font-size: 40px; color: var(--brand-2); line-height: 1.1; }
.price span { font-size: 15px; color: var(--muted); }
.tip { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; color: var(--brand-2) !important; background: var(--soft); border-radius: 10px; padding: 10px 12px; margin: 6px 0 0; }
.tip svg { flex: none; margin-top: 4px; }
.table-wrap { overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: 15.5px; margin-bottom: 18px; }
.spec-table th, .spec-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table thead th { background: var(--dark); color: #fff; }
.spec-table thead th a { color: #fff; }
.spec-table tbody th { width: 38%; color: var(--muted); font-weight: 500; background: var(--bg-alt); }
.prod-hero-img { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-align: center; margin-bottom: 24px; }
.prod-hero-img img { max-height: 280px; width: auto; }
.mt-1 { margin-top: 8px; }
.btn-accent:hover { background: var(--accent-2); color: #fff; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } .plan.featured { transform: none; } }
.card.install.featured { border: 2px solid var(--accent); }
.card.install h3 { margin-top: 12px; }
