/* Sun On Sound: พื้นขาว กรมท่าคู่แดง สินค้าในกรอบเทามุมมน แดงใช้กับปุ่มหลักและแถบบนสุด
   มีธีมเดียวโดยตั้งใจ */
:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #10162b;
  --navy: #0b1430;
  --muted: #555d70;
  --red: #b5121f;
  --red-deep: #860c16;
  --blue: #2b4aa8;
  --sky: #f2f3f5;
  --sky-deep: #e0e3ea;
  --r: 12px;
  --font: 'Noto Sans Thai', 'Leelawadee UI', 'Thonburi', sans-serif;
  --small: 0.9375rem;
  --body: 1.0625rem;
  --lead: clamp(1.1875rem, 1.1rem + 0.4vw, 1.4375rem);
  --head: clamp(1.75rem, 1.4rem + 1.5vw, 2.625rem);
  --gutter-l: max(clamp(16px, 5vw, 88px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 5vw, 88px), env(safe-area-inset-right, 0px));
  --gap: clamp(72px, 8vw, 120px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--body)/1.65 var(--font); overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; border-radius: 0; }
[hidden] { display: none !important; }
h1, h2, .big { font-weight: 700; font-stretch: 88%; line-height: 1.3; letter-spacing: -0.01em; }
h2 { font-size: var(--head); text-wrap: balance; }
h3 { font-size: var(--lead); font-weight: 700; line-height: 1.4; }
small { font-size: var(--small); font-weight: 400; }
.num { font-variant-numeric: tabular-nums; }
.nb { white-space: nowrap; }
.in { padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--navy); color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 10px 28px; border: 0; border-radius: 8px; background: var(--red); color: #fff; font-weight: 700; line-height: 1.35; text-decoration: none; text-align: center; cursor: pointer; transition: background-color .18s ease, transform .14s var(--ease); }
.btn:hover { background: var(--red-deep); }
.btn:active { transform: scale(.98); }
.btn:disabled { background: var(--sky-deep); color: var(--muted); cursor: default; }
.btn.soft { background: var(--sky-deep); color: var(--ink); }
.btn.soft:hover { background: #cdd2dd; }
.link { color: var(--blue); font-weight: 700; text-underline-offset: 6px; transition: color .18s ease; }
.link:hover { color: var(--ink); }

.top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; }
.mark { display: flex; align-items: center; gap: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.mark img { width: 60px; }
.top nav { display: flex; gap: clamp(20px, 3vw, 44px); }
.top nav a { text-decoration: none; padding-block: 8px; white-space: nowrap; }
.top nav a:hover { color: var(--blue); }

/* หน้าแรก */
.strip { background: var(--red); color: #fff; font-weight: 600; }
.strip .in, .strip.in { display: flex; justify-content: space-between; gap: 4px 24px; flex-wrap: wrap; padding-block: 8px; font-size: var(--small); }
.strip a { text-underline-offset: 4px; }
.ban { --c: var(--navy); display: grid; overflow: hidden; border-radius: var(--r); color: #fff; background: var(--c); }
.ban > div { display: grid; gap: 18px; align-content: center; justify-items: start; padding: clamp(24px, 4vw, 64px); }
.ban figure { overflow: hidden; min-height: 240px; position: relative; }
.ban img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* ขอบรูปจางเข้ากับสีพื้น: มือถือจางลงล่าง จอใหญ่จางไปทางซ้าย */
.ban figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(var(--to, to top), var(--c) 0, color-mix(in srgb, var(--c) 70%, transparent) 8%, color-mix(in srgb, var(--c) 26%, transparent) 18%, transparent 34%); }
.hero { display: grid; gap: 12px; padding-top: 4px; }
.hero h1 { font-size: clamp(2.75rem, 1.7rem + 4vw, 5rem); font-weight: 800; line-height: 1.24; }
.hero h1 span { display: block; white-space: nowrap; }
.hero .main p { font-size: var(--lead); line-height: 1.6; }
.hero .main > div > * { animation: up .8s var(--ease) both; }
@keyframes up { from { transform: translateY(24px); } }
.hero .main img { object-position: 4% 40%; animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.06); } }
.duo { display: grid; gap: 12px; }
.duo .ban > div { padding: clamp(22px, 2.6vw, 40px); gap: 12px; }
.duo h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); }
.duo .ban:first-child { --c: var(--blue); }
.duo .ban:last-child { --c: #17181d; }
.duo .btn { background: #fff; color: var(--ink); min-height: 48px; padding: 8px 20px; margin-top: 4px; }
.duo .btn:hover { background: var(--sky-deep); }

.part { padding-top: var(--gap); display: grid; gap: clamp(28px, 3vw, 44px); }
.part-head { display: grid; gap: 6px; text-align: center; justify-items: center; }
.packs { display: grid; gap: 44px; }
.pack { display: flex; flex-direction: column; gap: 10px; }
.pack .big { font-size: var(--head); font-weight: 800; line-height: 1.25; }
.pack .big small { font-size: var(--body); }
.pack ul { line-height: 1.6; }
.pack .btn { margin-top: auto; width: 100%; }
.frame { height: 430px; background: var(--sky); border-radius: var(--r); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; overflow: hidden; margin-bottom: 8px; transition: background-color .18s ease; }
.pack:hover .frame { background: var(--sky-deep); }
.frame .foh { width: 100%; flex: 1; min-height: 0; object-fit: cover; }
.frame .stage { height: 100%; padding: 14px 14px 22px; }
.lamps .frame { height: 250px; }
.rigpic { display: flex; align-items: flex-end; justify-content: space-between; gap: 4%; width: 262px; }
.rigpic .st { display: grid; justify-items: center; width: 31%; }
.rigpic .mon { display: flex; align-items: flex-end; gap: 4px; width: 34%; }
.rigpic .mon img { width: 50%; min-width: 0; }
.rigpic .lay { position: relative; width: 50%; aspect-ratio: 521 / 300; }
.rigpic .lay img { position: absolute; left: 50%; top: 50%; width: 57.6%; max-width: none; transform: translate(-50%, -50%) rotate(90deg); }
.flip { transform: scaleX(-1); }
.kit { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; max-width: 372px; padding: 18px 16px 20px; }
.kit img { min-width: 0; flex: none; }
.kit .k-wing { width: 29%; } .kit .k-mic { width: 10%; } .kit .k-iem { width: 18%; } .kit .k-drum { width: 22%; } .kit .k-91a { width: 8%; }

.how ol { display: grid; gap: 24px; background: var(--sky); border-radius: var(--r); padding: clamp(24px, 3vw, 44px); }
.how li { display: grid; gap: 4px; align-content: start; }

.info { width: 100%; max-width: 900px; margin-inline: auto; }
.info details { background: var(--sky); border-radius: var(--r); margin-bottom: 8px; overflow: hidden; }
.info summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 62px; padding: 12px 24px; font-weight: 700; cursor: pointer; list-style: none; transition: background-color .18s ease; }
.info summary::-webkit-details-marker { display: none; }
.info summary:hover { background: var(--sky-deep); }
.info summary::after { content: '+'; font-size: var(--lead); line-height: 1; color: var(--red); }
.info details[open] summary::after { content: '-'; }
.info ul { padding: 4px 24px 22px; display: grid; gap: 8px; line-height: 1.55; }

footer { margin-top: var(--gap); background: var(--navy); color: #fff; padding-top: clamp(44px, 5vw, 72px); }
.bye { display: grid; gap: 32px; padding-bottom: clamp(40px, 5vw, 64px); }
.bye > div { display: grid; gap: 6px; align-content: start; justify-items: start; }
.bye img { width: 140px; margin-bottom: 10px; }
.bye h2 { font-size: var(--lead); }
.bye .tel { font-size: var(--head); font-weight: 800; font-stretch: 88%; text-decoration: none; line-height: 1.3; }
.bye .btn { margin-top: 6px; }
.credit { background: var(--blue); padding-block: 14px; font-size: var(--small); }

/* ภาพเวทีจาก sos.js */
.stage { width: 100%; height: auto; --lit: #ffffff; --glow: #8ea6e6; }
.stage .glow { fill: var(--glow); }
.ink { fill: var(--navy); }
.lit { fill: var(--lit, #ffffff); }

/* หน้าขอใบเสนอราคา */
.q-head .in:last-child { padding-block: 20px 36px; }
.q-head h1 { font-size: var(--head); }
.q-head p { color: var(--muted); }
.q { display: grid; gap: 48px; padding-bottom: 48px; }
.q-form { display: grid; gap: 64px; min-width: 0; align-content: start; }
.sec { display: grid; gap: 18px; min-width: 0; }
.sec h2, .paper h2 { font-size: var(--lead); line-height: 1.4; }
.sec > p { color: var(--muted); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg { display: grid; gap: 6px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seg label { position: relative; cursor: pointer; display: grid; }
.seg input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: grid; align-content: center; min-height: 80px; padding: 10px 14px; background: var(--sky); border-radius: 8px; line-height: 1.35; transition: background-color .18s ease, color .18s ease; }
.seg b { font-size: var(--lead); }
.seg label:hover span { background: var(--sky-deep); }
.seg input:checked + span { background: var(--navy); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.lines { display: grid; gap: 14px; padding-top: 6px; }
.line { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.line .pic { height: 48px; display: grid; place-items: center; }
.line .pic img { max-width: 52px; max-height: 46px; width: auto; }
.line .pic svg { width: 52px; height: 38px; }
.line p { line-height: 1.35; font-weight: 700; }
.line small { display: block; color: var(--muted); }
.step { display: grid; grid-template-columns: 44px minmax(34px, auto) 44px; align-items: stretch; }
.step button { min-height: 44px; border: 0; border-radius: 8px; background: var(--sky-deep); font-size: var(--lead); font-weight: 700; line-height: 1; cursor: pointer; transition: background-color .18s ease, color .18s ease, transform .14s var(--ease); }
.step button:hover:enabled { background: var(--navy); color: #fff; }
.step button:active:enabled { transform: scale(.94); }
.step button:disabled { background: var(--sky); color: #626a7e; cursor: default; }
.step output { display: grid; place-items: center; font-weight: 700; padding: 0 8px; white-space: nowrap; }
.fields { display: grid; gap: 18px; }
.fields label { display: grid; gap: 6px; font-weight: 700; align-content: start; }
.fields input, .fields textarea { width: 100%; min-width: 0; min-height: 52px; padding: 10px 16px; border: 0; border-radius: 8px; background: var(--sky); font-weight: 400; appearance: none; -webkit-appearance: none; }
.fields textarea { min-height: 104px; resize: vertical; }
.fields ::placeholder { color: #5b6375; opacity: 1; }
.hours { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; }
.km { display: grid; gap: 6px; align-content: start; }
.km a { font-size: var(--small); color: var(--blue); }
.early { border-radius: 8px; background: var(--sky-deep); padding: 12px 16px; font-weight: 700; }
.q-side { min-width: 0; align-content: start; background: var(--sky); border-radius: var(--r); }
.view .pic { padding: 20px 20px 0; }
.paper { padding: 24px clamp(20px, 2.4vw, 32px); display: grid; gap: 16px; }
.paper header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.paper header img { width: 64px; }
.paper .who, .fine { color: var(--muted); font-size: var(--small); line-height: 1.55; }
.fine h3 { font-size: var(--small); color: var(--ink); }
.fine ul { display: grid; gap: 2px; list-style: disc; padding-left: 1.1em; }
.paper table { width: 100%; border-collapse: collapse; line-height: 1.45; }
.paper th { text-align: left; font-weight: 700; padding: 6px 12px 6px 0; vertical-align: top; }
.paper th small { display: block; color: var(--muted); }
.paper td { text-align: right; padding: 6px 0; vertical-align: top; white-space: nowrap; }
.paper .tot { display: flex; align-items: baseline; justify-content: space-between; gap: 0 16px; }
.paper .tot .big { font-size: var(--head); line-height: 1.3; white-space: nowrap; }
.acts2 { display: grid; gap: 6px; padding: 0 clamp(20px, 2.4vw, 32px) 20px; }
.acts2 summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; font-size: var(--small); color: var(--muted); }
.status { font-weight: 700; }
.status:empty { display: none; }
#msg { width: 100%; height: 240px; padding: 14px 16px; border: 0; background: var(--paper); line-height: 1.5; resize: vertical; }
.bar { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--sky-deep); padding-block: 10px calc(10px + env(safe-area-inset-bottom, 0px)); }
.bar .big { font-size: 1.5rem; line-height: 1.2; }
.bar p { line-height: 1.2; font-size: var(--small); }
.bar .btn { min-height: 50px; padding: 8px 18px; }

.rv.go { animation: rv .8s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 75ms); }
@keyframes rv { from { transform: translateY(28px); } }

@media (max-width: 859px) {
  .top nav a:not(.keep) { display: none; }
  .hero .main .btn { width: 100%; }
  .ban figure { order: -1; }
}
@media (min-width: 560px) {
  .fields.two { grid-template-columns: 1fr 1fr; }
  .fields .full { grid-column: 1 / -1; }
  .seg.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 560px) and (max-width: 859px) {
  .how ol { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 860px) {
  .ban { --to: to right; grid-template-columns: 1fr 1fr; }
  .ban > div { position: relative; z-index: 1; }
  .ban figure { margin-left: -14%; }
  .hero .main { min-height: 500px; }
  .duo { grid-template-columns: 1fr 1fr; }
  .packs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
  .how ol { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bye { grid-template-columns: 5fr 4fr 3fr; }
}
@media (min-width: 960px) {
  .q { grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
  .q-side { position: sticky; bottom: 0; align-self: end; }
  .bar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  @page { margin: 14mm; }
  body { font-size: 12pt; }
  .q-head, .q-form, .view, .acts2, .bar { display: none !important; }
  .q { display: block; padding: 0; }
  .q-side { position: static; background: none; }
  .paper { padding: 0; }
}
