/* นายน้อยแอร์ — สไตล์หน้าเว็บ (mobile-first) */
:root {
  --navy: #0b2a4a;
  --navy-2: #12385f;
  --blue: #0a6cff;
  --blue-2: #0656d1;
  --ice: #1ec8f0;
  --ice-soft: #e8f7fd;
  --accent: #ffc21a;
  --accent-2: #f5a800;
  --line: #06c755;
  --ink: #142235;
  --muted: #5b6b80;
  --bd: #e3eaf2;
  --bg: #ffffff;
  --tint: #f3f8fc;
  --r: 16px;
  --r-sm: 10px;
  --sh: 0 10px 30px -12px rgba(11, 42, 74, .25);
  --sh-lg: 0 24px 60px -20px rgba(11, 42, 74, .35);
  --hdr: 68px;
  --f-head: 'Prompt', 'Sarabun', system-ui, sans-serif;
  --f-body: 'Sarabun', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--bg); padding-bottom: 64px; }
@media (min-width: 992px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-2); }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.3; color: var(--navy); margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 18px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.mt { margin-top: 28px; }
.fw-n { font-weight: 500 !important; font-size: 1rem !important; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 14px; z-index: 999; }
.skip:focus { left: 8px; }

/* ปุ่ม */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 2px solid transparent; font-family: var(--f-head); font-weight: 500; font-size: 1rem; line-height: 1.2; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s; text-align: center; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn-lg { padding: 14px 26px; font-size: 1.08rem; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--ice)); color: #fff; box-shadow: 0 8px 20px -8px rgba(10, 108, 255, .6); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 26px -8px rgba(10, 108, 255, .7); }
.btn-accent { background: var(--accent); color: var(--navy); box-shadow: 0 8px 22px -8px rgba(255, 194, 26, .8); }
.btn-accent:hover { background: var(--accent-2); color: var(--navy); }
.btn-line { background: var(--line); color: #fff; }
.btn-line:hover { background: #05a548; color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .08); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { color: var(--blue); }

/* แถบบน + หัวเว็บ */
.topbar { background: var(--navy); color: #cfe0f2; font-size: .88rem; display: none; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; margin-left: 18px; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--accent); }
.tb-item { display: inline-flex; gap: 6px; align-items: center; }
@media (min-width: 992px) { .topbar { display: block; } }
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.hdr.scrolled { box-shadow: 0 6px 24px -14px rgba(11, 42, 74, .35); border-color: var(--bd); }
.hdr-in { display: flex; align-items: center; gap: 14px; height: var(--hdr); }
.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); margin-right: auto; }
.logo img { max-height: 48px; width: auto; }
.logo-mark { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--ice)); color: #fff; box-shadow: 0 6px 16px -6px rgba(10, 108, 255, .7); }
.logo-mark .ic { width: 24px; height: 24px; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo-txt b { font-family: var(--f-head); font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.logo-txt small { font-size: .74rem; color: var(--muted); }
.logo-light .logo-txt b { color: #fff; }
.logo-light .logo-txt small { color: #9db4cc; }
.nav { display: none; }
.nav a { font-family: var(--f-head); font-weight: 500; color: var(--ink); padding: 8px 12px; border-radius: 999px; font-size: .98rem; }
.nav a:hover { color: var(--blue); background: var(--ice-soft); }
.nav a.on { color: var(--blue); background: var(--ice-soft); }
.nav-cta { display: none; }
.hdr-call { display: none; }
.burger { margin-left: 4px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--bd); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.burger .ic { width: 24px; height: 24px; }
@media (min-width: 992px) {
  .nav { display: flex; gap: 2px; align-items: center; }
  .hdr-call { display: inline-flex; padding: 10px 18px; }
  .burger { display: none; }
}
@media (max-width: 991px) {
  .nav { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); background: #fff; z-index: 60; padding: 80px 18px 24px; gap: 4px; transform: translateX(100%); transition: transform .25s ease; box-shadow: var(--sh-lg); overflow-y: auto; }
  .nav a { padding: 13px 16px; font-size: 1.05rem; border-radius: 12px; }
  .nav-cta { display: grid; gap: 10px; margin-top: auto; padding-top: 20px; }
  .nav-cta a { padding: 13px; }
  body.nav-open .nav { transform: none; }
  .nav-ov { position: fixed; inset: 0; background: rgba(11, 42, 74, .45); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .25s; }
  body.nav-open .nav-ov { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
}

/* Hero */
.hero { position: relative; color: #fff; background: var(--navy) var(--hero) center/cover no-repeat; isolation: isolate; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 30, 56, .95) 0%, rgba(8, 36, 70, .82) 45%, rgba(10, 108, 255, .35) 100%); z-index: -1; }
.hero::after { content: ''; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(30, 200, 240, .45), transparent 70%); z-index: -1; }
.hero-in { padding: 64px 18px 88px; min-height: min(78vh, 640px); display: flex; align-items: center; }
.hero-txt { max-width: 680px; }
.hero h1 { color: #fff; margin: 18px 0 16px; font-weight: 700; letter-spacing: -.01em; }
.lead { font-size: 1.1rem; color: #d7e6f5; max-width: 600px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); font-size: .9rem; backdrop-filter: blur(4px); }
.pill .ic { color: var(--ice); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #d7e6f5; font-size: .98rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .ic { color: var(--accent); }
@media (max-width: 575px) { .hero-btns .btn { flex: 1 1 100%; } .hero-in { padding-top: 44px; } }

/* แถบบริการด่วนใต้ hero */
.quick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: -48px; position: relative; z-index: 2; }
.quick-item { background: #fff; border-radius: var(--r); padding: 18px 14px; box-shadow: var(--sh); display: flex; align-items: center; gap: 12px; color: var(--navy); font-family: var(--f-head); transition: transform .2s; border: 1px solid var(--bd); }
.quick-item:hover { transform: translateY(-4px); color: var(--blue); }
.qi-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ice-soft); color: var(--blue); flex: none; }
.qi-ic .ic { width: 24px; height: 24px; }
@media (min-width: 768px) { .quick { grid-template-columns: repeat(4, 1fr); gap: 18px; } .quick-item { padding: 22px 20px; } }

/* Section */
.sec { padding: 64px 0; }
.sec-tight { padding: 36px 0 64px; }
.sec-tint { background: var(--tint); }
.sec-dark { background: linear-gradient(160deg, var(--navy), #0d3a68); color: #d7e6f5; }
.sec-dark h2 { color: #fff; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.sec-head p { color: var(--muted); }
.sec-dark .sec-head p { color: #b9cde2; }
.row-head { display: flex; align-items: end; justify-content: space-between; text-align: left; max-width: none; gap: 16px; flex-wrap: wrap; }
.row-head h2 { margin: 0; }
.eyebrow { display: inline-block; font-family: var(--f-head); font-size: .85rem; font-weight: 600; letter-spacing: .06em; color: var(--blue); background: var(--ice-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.sec-dark .eyebrow { background: rgba(30, 200, 240, .15); color: var(--ice); }
@media (min-width: 992px) { .sec { padding: 88px 0; } }

/* การ์ดบริการ */
.svc-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.svc { background: #fff; border: 1px solid var(--bd); border-radius: var(--r); padding: 28px 24px; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.svc::after { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--blue), var(--ice)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.svc:hover { transform: translateY(-5px); box-shadow: var(--sh); border-color: transparent; }
.svc:hover::after { transform: scaleX(1); }
.svc-ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--ice)); color: #fff; margin-bottom: 16px; box-shadow: 0 10px 20px -10px rgba(10, 108, 255, .7); }
.svc-ic .ic { width: 28px; height: 28px; }
.svc p { color: var(--muted); margin: 0; }
@media (max-width: 639px) {
  .svc { display: grid; grid-template-columns: 52px 1fr; gap: 2px 14px; padding: 18px; }
  .svc-ic { width: 52px; height: 52px; margin: 0; grid-row: span 2; }
  .svc h3 { margin: 2px 0 2px; }
  .svc p { font-size: .95rem; }
}

/* ยี่ห้อ */
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.brand { min-width: 128px; padding: 14px 20px; background: #fff; border: 1px solid var(--bd); border-radius: 14px; text-align: center; font-family: var(--f-head); font-weight: 600; color: var(--navy); letter-spacing: .03em; transition: all .2s; display: grid; place-items: center; min-height: 58px; }
.brand img { max-height: 34px; width: auto; }
.brand:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-3px); box-shadow: var(--sh); }
.brand.has { position: relative; }
.brand.has::after { content: ''; position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--line); }

/* split */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 992px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split-rev > :first-child { order: 2; } }
.img-card { display: block; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-lg); }
.price-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0 14px; }
.pc { background: #fff; border: 1px solid var(--bd); border-radius: 14px; padding: 14px 16px; }
.pc small { color: var(--muted); display: block; font-size: .85rem; }
.pc b { font-family: var(--f-head); font-size: 1.7rem; color: var(--blue); line-height: 1.2; }
.pc b span { font-size: .9rem; color: var(--muted); margin-left: 4px; font-weight: 500; }
.incl { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.incl .ic { color: var(--line); margin-top: 4px; }
.prose { font-size: 1.05rem; }
.prose img { border-radius: var(--r-sm); margin: 16px auto; height: auto !important; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.stats div { background: var(--tint); border-radius: 14px; padding: 14px; text-align: center; }
.stats b { display: block; font-family: var(--f-head); font-size: 1.8rem; color: var(--blue); line-height: 1.1; }
.stats span { font-size: .88rem; color: var(--muted); }
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 380px; }
.mosaic a { border-radius: var(--r); overflow: hidden; }
.mosaic a:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mosaic a:hover img { transform: scale(1.06); }
@media (max-width: 575px) { .mosaic { height: 280px; } }

/* แกลเลอรี */
.gal { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .gal { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (max-width: 479px) { .gal-price { grid-template-columns: 1fr; } }
.gi { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: 0 4px 18px -10px rgba(11, 42, 74, .35); border: 1px solid var(--bd); }
.gi img { width: 100%; transition: transform .4s; }
.gal-work .gi img { aspect-ratio: 4/3; object-fit: cover; }
.gal-price .gi img { aspect-ratio: 4/3; object-fit: cover; object-position: top; }
.gi:hover img { transform: scale(1.05); }
.gi-cap { display: block; padding: 10px 14px 12px; font-size: .92rem; color: var(--ink); line-height: 1.45; font-weight: 500; }
.gi-cap em { display: inline-block; font-style: normal; font-size: .75rem; font-weight: 700; color: var(--blue); background: var(--ice-soft); padding: 1px 8px; border-radius: 999px; margin-right: 6px; }
.sec-dark .gi { border-color: rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); }
.sec-dark .gi-cap { color: #e3eef9; }
.gi::after { content: ''; position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2a4a' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center/18px no-repeat; opacity: 0; transition: opacity .2s; }
.gi:hover::after { opacity: 1; }

/* ชิปกรองยี่ห้อ */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: 18px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
@media (min-width: 768px) { .chips { flex-wrap: wrap; overflow: visible; } }
.chip { flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--bd); background: #fff; color: var(--ink); font-family: var(--f-head); font-size: .93rem; font-weight: 500; white-space: nowrap; }
.chip small { color: var(--muted); margin-left: 4px; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip.on small { color: #9db4cc; }

/* หัวหน้าย่อย */
.phero { background: linear-gradient(135deg, var(--navy) 0%, #0d3a68 60%, #0a6cff 140%); color: #cfe0f2; padding: 44px 0 48px; position: relative; overflow: hidden; }
.phero::after { content: ''; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(30, 200, 240, .35), transparent 70%); }
.phero h1 { color: #fff; font-size: clamp(1.7rem, 4.4vw, 2.6rem); margin: 8px 0; }
.phero p { margin: 0; max-width: 720px; }
.phero-sm h1 { font-size: clamp(1.5rem, 3.8vw, 2.2rem); }
.crumb { font-size: .9rem; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.crumb a { color: #9fc2e6; }
.crumb a:hover { color: #fff; }
.crumb .ic { width: 14px; height: 14px; opacity: .6; }

/* ตารางราคา */
.tbl-wrap { background: #fff; border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; border: 1px solid var(--bd); }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { background: var(--navy); color: #fff; font-family: var(--f-head); font-weight: 500; padding: 14px 12px; font-size: .95rem; }
.tbl td { padding: 13px 12px; text-align: center; border-top: 1px solid var(--bd); }
.tbl tbody tr:nth-child(even) td { background: #f8fbfe; }
.tbl td.hl { font-family: var(--f-head); font-weight: 600; color: var(--blue); font-size: 1.15rem; }
.tbl td.free { color: #0a9d4a; font-weight: 700; }
@media (max-width: 767px) {
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr { padding: 10px 14px; border-top: 1px solid var(--bd); }
  .tbl tr:first-child { border-top: 0; }
  .tbl td { display: flex; justify-content: space-between; text-align: right; border: 0; padding: 5px 0; background: none !important; }
  .tbl td::before { content: attr(data-l); color: var(--muted); font-size: .9rem; text-align: left; padding-right: 10px; }
  .tbl td:first-child { font-size: 1.05rem; border-bottom: 1px dashed var(--bd); padding-bottom: 8px; margin-bottom: 4px; }
}

/* ขั้นตอน */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--tint); border-radius: var(--r); padding: 24px; position: relative; }
.steps b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--navy); font-family: var(--f-head); font-size: 1.2rem; margin-bottom: 12px; }
.steps p { color: var(--muted); margin: 0; }

/* บทความ */
.art-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .art-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .art-grid { grid-template-columns: repeat(3, 1fr); } }
.art { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bd); border-radius: var(--r); overflow: hidden; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.art:hover { transform: translateY(-4px); box-shadow: var(--sh); color: var(--ink); }
.art-img { aspect-ratio: 16/9; background: var(--tint); overflow: hidden; }
.art-img img { width: 100%; height: 100%; object-fit: cover; }
.art-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.art-body small { color: var(--muted); }
.art-body b { font-family: var(--f-head); font-weight: 600; font-size: 1.12rem; color: var(--navy); line-height: 1.4; }
.art-body span { color: var(--muted); font-size: .95rem; }
.art-cover { border-radius: var(--r); margin-bottom: 24px; width: 100%; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.pager a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--bd); color: var(--ink); }
.pager a.on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* แท็ก + รายการติดต่อ */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.tags span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--bd); font-size: .93rem; }
.tags .ic { color: var(--blue); width: 14px; height: 14px; }
.tags-dark span { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #cfe0f2; }
.contact-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .ic { color: var(--blue); margin-top: 5px; }
.map { border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-lg); background: var(--bd); min-height: 340px; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ติดต่อ */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 5fr 7fr; align-items: start; } }
.contact-cards { display: grid; gap: 12px; }
.cc { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--bd); border-radius: var(--r); color: var(--ink); transition: all .2s; }
a.cc:hover { border-color: var(--blue); transform: translateX(4px); box-shadow: var(--sh); color: var(--ink); }
.cc-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--ice-soft); color: var(--blue); flex: none; }
.cc-ic .ic { width: 24px; height: 24px; }
.cc small { display: block; color: var(--muted); font-size: .85rem; }
.cc b { font-family: var(--f-head); font-size: 1.2rem; font-weight: 600; color: var(--navy); word-break: break-word; }
.cc-line .cc-ic { background: #e6f9ee; color: var(--line); }
.card { background: #fff; border: 1px solid var(--bd); border-radius: var(--r); padding: 24px; box-shadow: var(--sh); }
.form h2 { font-size: 1.4rem; }
.field { display: block; margin-bottom: 14px; font-weight: 500; font-size: .95rem; }
.field em { color: #e5484d; font-style: normal; }
.field input, .field select, .field textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid var(--bd); border-radius: 12px; font: inherit; font-weight: 400; color: var(--ink); background: #fbfdff; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 108, 255, .12); background: #fff; }
.row2 { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.map-full { position: relative; }
.map-full iframe { width: 100%; height: 420px; border: 0; display: block; }
.map-btn { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); }
.map-btn:hover { transform: translateX(-50%) translateY(-2px); }

/* แจ้งเตือน */
.flash { max-width: 1164px; margin: 16px auto; padding: 14px 18px; border-radius: 12px; font-weight: 500; }
.flash-ok { background: #e6f9ee; color: #0a7a3d; border: 1px solid #b7ebcd; }
.flash-err { background: #fdecec; color: #b42318; border: 1px solid #f7c4c0; }
main > .flash { margin: 16px 18px; }
@media (min-width: 1200px) { main > .flash { margin: 16px auto; } }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); background: var(--tint); border-radius: var(--r); }
.empty .ic { width: 48px; height: 48px; color: #9db4cc; margin: 0 auto 10px; display: block; }

/* แถบ CTA + ท้ายเว็บ */
.cta-band { background: linear-gradient(120deg, var(--blue), var(--ice)); color: #fff; padding: 44px 0; }
.cta-in { display: flex; gap: 22px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-band p { margin: 0; color: #e6f5ff; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 575px) { .cta-btns { width: 100%; } .cta-btns .btn { flex: 1 1 100%; } }
.ftr { background: #071c33; color: #9db4cc; padding: 56px 0 0; font-size: .95rem; }
.ftr h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.ftr a { color: #cfe0f2; }
.ftr a:hover { color: var(--accent); }
.ftr-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .ftr-grid { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; } }
.ftr-about { margin: 14px 0; }
.ftr-social { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); margin-right: 6px; }
.ftr-social .ic { width: 20px; height: 20px; }
.ftr-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ftr-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ftr-contact li { display: flex; gap: 10px; align-items: flex-start; }
.ftr-contact .ic { margin-top: 4px; color: var(--ice); }
.ftr-bottom { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 22px 18px; margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }

/* แถบล่างมือถือ + ปุ่มลอย */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--bd); box-shadow: 0 -8px 24px -12px rgba(11, 42, 74, .3); padding-bottom: env(safe-area-inset-bottom); }
.mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 4px; color: var(--navy); font-size: .78rem; font-weight: 500; min-height: 60px; }
.mbar .ic { width: 22px; height: 22px; }
.mbar .mbar-call { background: linear-gradient(135deg, var(--blue), var(--ice)); color: #fff; }
.mbar .mbar-line { color: var(--line); }
@media (min-width: 992px) { .mbar { display: none; } }
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: none; flex-direction: column; gap: 12px; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--sh-lg); transition: transform .2s; }
.fab a:hover { transform: scale(1.08); color: #fff; }
.fab .ic { width: 28px; height: 28px; }
.fab-line { background: var(--line); }
.fab-call { background: linear-gradient(135deg, var(--blue), var(--ice)); animation: ring 2.4s infinite; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(10, 108, 255, .5); } 50% { box-shadow: 0 0 0 14px rgba(10, 108, 255, 0); } }
@media (min-width: 992px) { .fab { display: flex; } }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(5, 15, 28, .94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 12px 20px; opacity: 0; transition: opacity .2s; touch-action: pan-y; }
.lb.show { opacity: 1; }
.lb img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); background: #fff; }
.lb-cap { color: #e3eef9; margin-top: 14px; text-align: center; max-width: 800px; font-size: .98rem; }
.lb button { position: absolute; background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 26px; line-height: 1; }
.lb button:hover { background: rgba(255, 255, 255, .25); }
.lb-x { top: 12px; right: 12px; }
.lb-p { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-n { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 22px; left: 20px; color: #9db4cc; font-size: .9rem; }

/* แอนิเมชันตอนเลื่อน */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .fab-call { animation: none; } }

/* ปุ่มเข้าสู่ระบบ (เจ้าหน้าที่) */
.tb-login { padding: 3px 12px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; }
.hdr-login { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--bd); display: grid; place-items: center; color: var(--muted); flex: none; }
.hdr-login:hover { color: var(--blue); border-color: var(--blue); }
@media (min-width: 992px) { .hdr-login { display: none; } }
.nav-login { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .92rem !important; color: var(--muted) !important; }
.ftr-bottom a .ic { width: 14px; height: 14px; }

/* การ์ดค่าติดตั้ง */
.promo { position: relative; overflow: hidden; border-radius: 22px; padding: 28px; color: #fff; background: linear-gradient(145deg, #0b2a4a 0%, #0d4a8a 55%, #0a6cff 100%); box-shadow: var(--sh-lg); }
.promo-top { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; position: relative; z-index: 1; }
.promo-ic { width: 60px; height: 60px; border-radius: 18px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; color: var(--accent); flex: none; }
.promo-ic .ic { width: 30px; height: 30px; }
.promo-top small { display: block; color: #b9d4f0; }
.promo-top b { font-family: var(--f-head); font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.2; color: #fff; }
.promo-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: relative; z-index: 1; }
.promo-list li { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; padding: 10px 12px; display: flex; gap: 8px; align-items: center; font-size: .95rem; }
.promo-list .ic { color: #5ef0a0; }
.promo-note { font-size: .92rem; color: #cfe3f7; margin-bottom: 18px; position: relative; z-index: 1; }
.promo-note b { color: var(--accent); }
.promo-btns { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.promo-snow { position: absolute; right: -40px; bottom: -50px; color: rgba(255, 255, 255, .07); }
.promo-snow .ic { width: 240px; height: 240px; }
@media (max-width: 479px) { .promo { padding: 22px; } .promo-list { grid-template-columns: 1fr; } .promo-btns .btn { flex: 1; } }

/* ตัวกรองหน้าราคา */
.filters { position: sticky; top: var(--hdr); z-index: 20; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); margin: 0 -18px 18px; padding: 10px 18px 0; border-bottom: 1px solid var(--bd); }
.filters .chips { margin-bottom: 0; padding-bottom: 10px; }
.chips-sm .chip { padding: 6px 13px; font-size: .88rem; }
.chips-label { flex: none; align-self: center; color: var(--muted); font-size: .88rem; }
button.chip { cursor: pointer; font-family: var(--f-head); }
.chip-check { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.chip-check input { accent-color: var(--blue); }

/* การ์ดรุ่นแอร์ */
.prod-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
.prod { background: #fff; border: 1px solid var(--bd); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; scroll-margin-top: calc(var(--hdr) + 120px); }
.prod:hover { box-shadow: var(--sh); transform: translateY(-3px); }
.prod:target { box-shadow: 0 0 0 3px var(--blue), var(--sh); }
.prod-img { position: relative; background: radial-gradient(120% 90% at 50% 20%, #ffffff 0%, #eef6fd 70%, #e1eefa 100%); padding: 26px 18px 14px; }
.prod-img img { width: 100%; height: auto; aspect-ratio: 900/420; object-fit: contain; mix-blend-mode: multiply; }
.prod-brand { position: absolute; left: 14px; top: 14px; background: var(--navy); color: #fff; font-family: var(--f-head); font-size: .78rem; letter-spacing: .04em; padding: 4px 11px; border-radius: 999px; }
.prod-inv { position: absolute; right: 14px; top: 14px; background: linear-gradient(135deg, var(--blue), var(--ice)); color: #fff; font: 700 .72rem/1 var(--f-head); letter-spacing: .08em; padding: 6px 10px; border-radius: 999px; font-style: italic; }
.prod-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.prod-body h3 { font-size: 1.15rem; margin: 0 0 8px; }
.prod-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.prod-tags span { font-size: .78rem; padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--navy); border: 1px solid var(--bd); font-weight: 500; }
.prod-tags .tag-green { background: #e6f9ee; color: #0a7a3d; border-color: #c4ecd3; }
.prod-war { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; color: var(--ink); margin: 0 0 8px; }
.prod-war .ic { color: var(--line); margin-top: 3px; }
.prod-colors { display: flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); margin: 0 0 8px; }
.prod-colors i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); display: inline-block; }
.prod-desc { color: var(--muted); font-size: .92rem; margin: 0 0 12px; }
.prod-from { font-size: .9rem; color: var(--muted); margin-bottom: 8px; }
.prod-from b { font-family: var(--f-head); font-size: 1.5rem; color: #e5484d; margin: 0 2px; }
.mtbl { width: 100%; border-collapse: collapse; font-size: .9rem; margin-bottom: 16px; }
.mtbl th { text-align: left; font-weight: 500; color: var(--muted); font-size: .8rem; padding: 6px 6px; border-bottom: 2px solid var(--bd); }
.mtbl td { padding: 8px 6px; border-bottom: 1px solid var(--bd); }
.mtbl th:not(:first-child), .mtbl td:not(:first-child) { text-align: right; }
.mtbl td:first-child { font-weight: 500; color: var(--navy); word-break: break-word; }
.mtbl td.price { font-family: var(--f-head); font-weight: 600; color: #e5484d; font-size: 1rem; white-space: nowrap; }
.mtbl tr[hidden] { display: none; }
.stars { color: #f5a800; margin-left: 4px; font-size: .8rem; letter-spacing: -1px; }
.prod-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.prod-cta .btn { padding: 10px 12px; font-size: .92rem; }
@media (max-width: 380px) { .prod-cta { grid-template-columns: 1fr; } }
.prod-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 14px; padding: 12px; background: var(--tint); border-radius: 14px; }
.prod-sum small { display: block; color: var(--muted); font-size: .78rem; }
.prod-sum b { font-family: var(--f-head); font-size: .95rem; color: var(--navy); white-space: nowrap; }
.prod-sum b.price { color: #e5484d; font-size: 1.35rem; }
.prod-sum b span { font-size: .8rem; color: var(--muted); }
.prod-compact .btn-block { margin-top: auto; }
.prod[hidden] { display: none; }
