/* S01 nav · S02 hero (ข้อความกลาง · การ์ดกลุ่มลูกค้าอยู่ 60-audience) · S03 marquee — v2/v2.1 (T-049) · ไฟล์นี้เหมือนกันทั้ง website และ website-pt */

/* ---------- S01 nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--navbg); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid var(--line); }
.nav-in { position: relative; height: 72px; display: flex; align-items: center; gap: 24px; }
.nav-l { flex: 1; display: flex; justify-content: center; gap: 4px; }
.nav-l a { font-size: 15px; color: var(--mut); padding: 8px 14px; border-radius: 99px; }
.nav-l a:hover { color: var(--ink); background: var(--bg2); }
.nav-r { display: flex; align-items: center; gap: 18px; }
.lang { display: inline-flex; padding: 3px; border-radius: 99px; background: var(--bg2); font-size: 12.5px; font-weight: 600; }
.lang a { min-width: 36px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 99px; color: var(--mut2); }
.lang a[aria-current="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.nav-login { font-size: 15px; font-weight: 500; }
.nav-m { display: none; }
.nav-m summary { list-style: none; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.nav-m summary::-webkit-details-marker { display: none; }
.nav-m .ic-x { display: none; }
.nav-m[open] .ic-x { display: block; }
.nav-m[open] .ic-m { display: none; }
.nav-sheet { position: absolute; left: 12px; right: 12px; top: 68px; background: var(--bg); border-radius: 24px; box-shadow: var(--sh-2), var(--sh-1); padding: 12px; display: grid; }
.nav-sheet > a { padding: 14px; font-size: 17px; font-weight: 500; border-radius: 12px; }
.nav-sheet-b { display: grid; gap: 8px; margin-top: 8px; }
.nav-sheet-b .btn { height: 52px; }
.nav-note { text-align: center; font-size: 13px; color: var(--mut2); padding: 12px 0 4px; }

/* ---------- S02 hero ---------- */
.hero { padding: clamp(48px, 6vw, 84px) 0 0; overflow: hidden; }
.hero-bg { position: absolute; inset: -120px 0 auto; height: 820px; background: radial-gradient(48% 52% at 22% 8%, color-mix(in srgb, var(--p) 18%, transparent), transparent 70%), radial-gradient(42% 46% at 82% 4%, color-mix(in srgb, var(--g2) 18%, transparent), transparent 70%); pointer-events: none; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(60% 60% at 50% 30%, #000, transparent); }
.hero-c { position: relative; text-align: center; max-width: 980px; margin: 0 auto; }
.badge { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 16px 0 7px; border-radius: 99px; background: var(--card); box-shadow: var(--sh-1); font-size: 14px; color: var(--mut); }
.avs { display: inline-flex; }
.avs img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ring); margin-left: -8px; }
.avs img:first-child { margin-left: 0; }
.hero h1 { margin-top: 26px; }
.h-p { color: var(--p); }
.h-s { color: var(--s); }
.hero .lead { margin: 24px auto 0; max-width: 680px; font-size: clamp(16.5px, 1.45vw, 19.5px); line-height: 1.7; color: var(--mut); }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.launch { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--txp); }

/* ---------- S03 marquee ---------- */
.mq { padding: 28px 0 8px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-t { display: flex; width: max-content; animation: mq 46s linear infinite; }
.mq:hover .mq-t { animation-play-state: paused; }
.mq ul { display: flex; gap: 12px; padding-right: 12px; }
.mq li { display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 22px 0 10px; border-radius: 99px; background: var(--bg2); font-size: 17px; font-weight: 600; white-space: nowrap; }
.mq li img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.mq li i { width: 40px; height: 40px; border-radius: 50%; background: var(--p1); color: var(--txp); display: inline-flex; align-items: center; justify-content: center; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mq-t { animation: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-l a { padding: 8px 9px; }
}
@media (max-width: 860px) {
  .nav-l, .nav-r { display: none; }
  .nav-m { display: block; margin-left: auto; }
  .nav-in { height: 64px; position: static; }
}
@media (max-width: 640px) {
  .hero { padding-top: 40px; }
  .hero h1 { font-size: clamp(34px, 9.6vw, 44px); }
  .badge { height: auto; min-height: 38px; padding: 6px 14px 6px 7px; border-radius: 20px; text-align: left; line-height: 1.4; font-size: 13px; }
}
