/* ==========================================================================
   PTCARGO หน้าแรก
   ไฟล์เดียวจบ ไม่ต้องพึ่ง autoptimize.css กับ jQuery อีกแล้ว
   ของเดิมหน้านี้โหลด css 352 KB กับ jQuery 88 KB ก่อนจะวาดอะไรได้เลย
   ========================================================================== */

:root{
  /* พื้นและตัวหนังสือ  เทาอมอุ่นให้เข้ากับสีส้มของแบรนด์ ไม่ใช่เทากลางที่ดูไม่ได้ตั้งใจ */
  --ink:#17140f;
  --ink-2:#413a31;
  --muted:#7a7168;
  --bg:#faf8f5;
  --surface:#fff;
  --surface-2:#f4f1ec;
  --line:#e6e0d7;
  --line-2:#d2c9bc;

  --brand:#ff5c00;
  --brand-ink:#c43f00;
  --brand-deep:#8f2f00;
  --brand-wash:#fff2e9;
  --brand-line:#ffd4b8;

  --ok:#12674a;
  --ok-wash:#e4f4ec;

  --sans:"IBM Plex Sans Thai","IBM Plex Sans",-apple-system,"Segoe UI",Tahoma,sans-serif;
  --head:"Kanit",var(--sans);
  --mono:"IBM Plex Mono",ui-monospace,Menlo,Consolas,monospace;

  --wrap:1180px;
  --r:14px;
  --shadow:0 1px 2px rgba(23,20,15,.05),0 16px 40px -24px rgba(23,20,15,.35);
}

@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --ink:#f2ede6; --ink-2:#d6cfc5; --muted:#a49a8e;
    --bg:#14120f; --surface:#1c1917; --surface-2:#252017;
    --line:#332d26; --line-2:#453d33;
    --brand-ink:#ff9250; --brand-deep:#ffb184; --brand-wash:#2c1a0e; --brand-line:#4a2c17;
    --ok:#5fc79b; --ok-wash:#12271f;
    --shadow:0 1px 2px rgba(0,0,0,.4),0 16px 40px -24px rgba(0,0,0,.8);
  }
}
[data-theme="dark"]{
  --ink:#f2ede6; --ink-2:#d6cfc5; --muted:#a49a8e;
  --bg:#14120f; --surface:#1c1917; --surface-2:#252017;
  --line:#332d26; --line-2:#453d33;
  --brand-ink:#ff9250; --brand-deep:#ffb184; --brand-wash:#2c1a0e; --brand-line:#4a2c17;
  --ok:#5fc79b; --ok-wash:#12271f;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} }

body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:var(--sans);font-size:16px;line-height:1.75;
  -webkit-font-smoothing:antialiased
}
img{max-width:100%;height:auto;display:block}
a{color:var(--brand-ink);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{font-family:var(--head);font-weight:600;line-height:1.28;margin:0;text-wrap:balance}
p{margin:0}
:focus-visible{outline:2px solid var(--brand);outline-offset:3px;border-radius:4px}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ic{width:1em;height:1em;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;
    stroke-linecap:round;stroke-linejoin:round}

/* ---------- ปุ่ม ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  height:50px;padding:0 26px;border-radius:11px;cursor:pointer;border:1px solid transparent;
  font-family:var(--sans);font-size:15.5px;font-weight:600;text-decoration:none;
  transition:transform .15s ease,background .15s ease,border-color .15s ease
}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn .ic{width:19px;height:19px}
.btn-go{background:var(--brand);color:#fff;box-shadow:0 10px 24px -12px rgba(255,92,0,.9)}
.btn-go:hover{background:var(--brand-ink);color:#fff}
.btn-line{background:var(--surface);border-color:var(--line-2);color:var(--ink)}
.btn-line:hover{border-color:var(--brand);color:var(--brand-ink)}
.btn-sm{height:42px;padding:0 18px;font-size:14px;border-radius:9px}

/* ==========================================================================
   แถบบนสุดและเมนู
   ========================================================================== */
.top{
  background:var(--ink);color:#e9e2d8;font-size:13px;
  border-bottom:1px solid rgba(255,255,255,.08)
}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;
           min-height:40px;flex-wrap:wrap}
.top-l,.top-r{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.top a{color:#e9e2d8;display:inline-flex;align-items:center;gap:7px}
.top a:hover{color:#fff}
.top span{display:inline-flex;align-items:center;gap:7px;color:#b8ad9f}
.top .ic{width:15px;height:15px}
.dot{width:7px;height:7px;border-radius:50%;background:#4ade80;flex:none;
     box-shadow:0 0 0 3px rgba(74,222,128,.2)}
@media (max-width:720px){ .top-l{display:none} .top .wrap{justify-content:center} }

.nav{
  position:sticky;top:0;z-index:60;background:var(--surface);
  border-bottom:1px solid var(--line)
}
.nav.is-stuck{box-shadow:0 6px 22px -16px rgba(23,20,15,.5)}
.nav .wrap{display:flex;align-items:center;gap:10px;min-height:70px}
.brand{display:flex;align-items:center;gap:11px;flex:none;text-decoration:none}
.brand img{width:46px;height:auto}
.brand b{font-family:var(--head);font-size:20px;font-weight:600;color:var(--ink);letter-spacing:-.01em}
.brand em{display:block;font-style:normal;font-size:10.5px;color:var(--muted);
          letter-spacing:.1em;text-transform:uppercase;line-height:1.2;font-family:var(--sans)}
.brand:hover{text-decoration:none}

.menu{display:flex;align-items:center;gap:2px;margin-left:auto}
.menu > a,.menu-t{
  display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 13px;border-radius:9px;
  border:0;background:none;cursor:pointer;color:var(--ink-2);
  font-family:var(--sans);font-size:14.5px;font-weight:500;text-decoration:none;white-space:nowrap
}
.menu > a:hover,.menu-t:hover{background:var(--surface-2);color:var(--brand-ink);text-decoration:none}
.menu .ic{width:16px;height:16px}

.drop{position:relative}
.drop-m{
  position:absolute;top:calc(100% + 8px);left:0;min-width:266px;padding:7px;
  background:var(--surface);border:1px solid var(--line);border-radius:12px;
  box-shadow:var(--shadow);display:none;z-index:5
}
.drop:hover .drop-m,.drop:focus-within .drop-m{display:block}
.drop-m a{
  display:block;padding:9px 12px;border-radius:8px;
  font-size:14px;color:var(--ink-2);text-decoration:none
}
.drop-m a:hover{background:var(--brand-wash);color:var(--brand-ink);text-decoration:none}
.menu-t .ic:last-child{width:13px;height:13px;opacity:.6}

.nav-in{border:1px solid var(--line-2);color:var(--ink)}
.nav-up{background:var(--brand);color:#fff !important;padding:0 18px}
.nav-up:hover{background:var(--brand-ink);color:#fff !important}

.burger{
  display:none;margin-left:auto;width:44px;height:44px;border-radius:10px;
  border:1px solid var(--line-2);background:var(--surface);color:var(--ink);
  align-items:center;justify-content:center;cursor:pointer
}
.burger .ic{width:22px;height:22px}

@media (max-width:1040px){
  .burger{display:inline-flex}
  .menu{
    position:absolute;top:100%;left:0;right:0;margin:0;
    flex-direction:column;align-items:stretch;gap:2px;padding:12px 20px 18px;
    background:var(--surface);border-bottom:1px solid var(--line);
    box-shadow:var(--shadow);display:none
  }
  .menu.is-open{display:flex}
  .menu > a,.menu-t{height:46px;justify-content:flex-start;width:100%}
  .drop-m{position:static;display:block;border:0;box-shadow:none;padding:0 0 0 14px;min-width:0}
  .drop-m a{padding:8px 10px;font-size:13.5px}
  .nav-up{justify-content:center}
}

/* ==========================================================================
   ฮีโร่
   ========================================================================== */
.hero{position:relative;overflow:hidden;padding:64px 0 72px;background:var(--bg)}
.hero::before{
  content:"";position:absolute;inset:-40% -20% auto -20%;height:78%;z-index:0;
  background:radial-gradient(60% 60% at 30% 40%,rgba(255,92,0,.14),transparent 70%),
             radial-gradient(50% 50% at 78% 20%,rgba(255,150,60,.12),transparent 70%);
  pointer-events:none
}
.hero .wrap{position:relative;z-index:1;display:grid;
            grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:52px;align-items:center}

.kick{
  display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 14px;
  border-radius:99px;font-size:12.5px;font-weight:600;letter-spacing:.02em;
  background:var(--brand-wash);color:var(--brand-ink);border:1px solid var(--brand-line)
}
.kick .ic{width:15px;height:15px}

.hero h1{
  margin:18px 0 0;font-size:clamp(34px,4.6vw,54px);font-weight:600;letter-spacing:-.02em;line-height:1.16
}
.hero h1 span{color:var(--brand)}
.hero-lead{margin:18px 0 0;font-size:17px;line-height:1.85;color:var(--ink-2);max-width:34em}
.hero-do{display:flex;gap:11px;flex-wrap:wrap;margin-top:28px}

.hero-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:26px}
.tag{
  display:inline-flex;align-items:center;gap:7px;padding:6px 13px;border-radius:99px;
  background:var(--surface);border:1px solid var(--line);
  font-size:13px;font-weight:500;color:var(--ink-2)
}
.tag .ic{width:15px;height:15px;color:var(--brand)}

/* ---------- การ์ดสาธิตการค้นหา ---------- */
.demo{
  background:var(--surface);border:1px solid var(--line);border-radius:20px;
  box-shadow:var(--shadow);overflow:hidden
}
.demo-bar{
  display:flex;align-items:center;gap:7px;padding:12px 16px;
  background:var(--surface-2);border-bottom:1px solid var(--line)
}
.demo-bar i{width:10px;height:10px;border-radius:50%;background:var(--line-2);flex:none}
.demo-bar b{
  margin-left:8px;font-family:var(--mono);font-size:11.5px;font-weight:500;color:var(--muted);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
.demo-bd{padding:18px}
.demo-in{
  display:flex;align-items:center;gap:10px;padding:0 14px;height:48px;border-radius:11px;
  border:1px solid var(--brand-line);background:var(--brand-wash)
}
.demo-in .ic{width:19px;height:19px;color:var(--brand)}
.demo-in span{
  flex:1;min-width:0;font-size:15px;color:var(--ink);
  overflow:hidden;white-space:nowrap
}
.demo-in span::after{
  content:"";display:inline-block;width:2px;height:17px;margin-left:2px;
  background:var(--brand);vertical-align:-3px;animation:cursor 1.05s step-end infinite
}
@keyframes cursor{0%,100%{opacity:1}50%{opacity:0}}
@media (prefers-reduced-motion:reduce){ .demo-in span::after{animation:none} }

.demo-arrow{
  display:flex;align-items:center;gap:9px;margin:13px 2px 12px;
  font-size:12.5px;color:var(--muted)
}
.demo-arrow .ic{width:15px;height:15px;color:var(--brand)}
.demo-arrow b{font-family:var(--mono);font-size:13px;color:var(--ink);font-weight:600}

.demo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.demo-card{border:1px solid var(--line);border-radius:11px;overflow:hidden;background:var(--surface)}
.demo-card .ph{
  aspect-ratio:1/1;background:var(--surface-2);position:relative;overflow:hidden
}
.demo-card .ph img{width:100%;height:100%;object-fit:cover}
.demo-card .ph::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%);
  background-size:250% 100%;animation:sheen 2.4s ease-in-out infinite
}
@keyframes sheen{0%{background-position:180% 0}100%{background-position:-80% 0}}
@media (prefers-reduced-motion:reduce){ .demo-card .ph::after{animation:none;opacity:0} }
.demo-card .tx{padding:8px 9px}
.demo-card .tx i{display:block;height:8px;border-radius:4px;background:var(--surface-2)}
.demo-card .tx i + i{margin-top:5px;width:62%}
.demo-card .tx b{
  display:block;margin-top:7px;font-family:var(--mono);font-size:12.5px;
  font-weight:600;color:var(--brand-ink)
}

.demo-foot{
  display:flex;align-items:center;gap:8px;margin-top:14px;padding-top:13px;
  border-top:1px dashed var(--line);font-size:12.5px;color:var(--muted)
}
.demo-foot .ic{width:15px;height:15px;color:var(--ok)}

@media (max-width:960px){
  .hero{padding:44px 0 52px}
  .hero .wrap{grid-template-columns:1fr;gap:34px}
}

/* ==========================================================================
   แถบเรทวันนี้
   ========================================================================== */
.rates{background:var(--ink);color:#f2ede6;padding:22px 0}
.rates .wrap{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:space-between}
.rates-t{display:flex;align-items:center;gap:10px;font-size:13.5px;color:#b8ad9f}
.rates-t .ic{width:18px;height:18px;color:var(--brand)}
.rates-l{display:flex;gap:10px;flex-wrap:wrap}
.rate{
  display:flex;align-items:baseline;gap:9px;padding:9px 16px;border-radius:11px;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1)
}
.rate span{font-size:12.5px;color:#c4b9aa}
.rate b{font-family:var(--mono);font-size:20px;font-weight:600;color:#fff;
        font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.rate em{font-style:normal;font-size:11px;color:#9d9186}
@media (max-width:760px){
  .rates .wrap{justify-content:center;text-align:center}
  .rates-l{justify-content:center;width:100%}
  .rate{flex:1 1 150px;justify-content:center}
}

/* ==========================================================================
   หัวข้อของแต่ละหมวด
   ========================================================================== */
.sec{padding:76px 0}
.sec-alt{background:var(--surface)}
.sec-h{max-width:760px;margin:0 auto 44px;text-align:center}
.sec-h .kick{margin-bottom:16px}
.sec-h h2{font-size:clamp(26px,3.2vw,38px);letter-spacing:-.02em}
.sec-h p{margin-top:14px;font-size:16px;line-height:1.85;color:var(--ink-2)}
.sec-h-l{text-align:left;margin-left:0}

/* ==========================================================================
   จุดเด่นสองอย่างที่เพิ่งทำใหม่
   ========================================================================== */
.spot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.spot-c{
  background:var(--surface);border:1px solid var(--line);border-radius:18px;
  overflow:hidden;display:flex;flex-direction:column
}
.sec-alt .spot-c{background:var(--bg)}
/* พื้นหลังลายเฉียงจาง ๆ ไว้รองรับตอนที่ยังไม่มีรูป หรือรูปโหลดไม่ขึ้น
   กรอบจะได้ดูเหมือนตั้งใจออกแบบไว้ ไม่ใช่ช่องว่างเปล่า ๆ */
.spot-fig,.ship-fig{
  position:relative;overflow:hidden;background:var(--surface-2);
  background-image:repeating-linear-gradient(135deg,
    rgba(255,92,0,.05) 0 12px,transparent 12px 24px)
}
.spot-fig{aspect-ratio:16/9;border-bottom:1px solid var(--line)}
.spot-fig img{width:100%;height:100%;object-fit:cover;position:relative}
.spot-tx{padding:26px 26px 28px}
.spot-tx h3{font-size:21px;letter-spacing:-.01em}
.spot-tx p{margin-top:11px;font-size:15px;line-height:1.85;color:var(--ink-2)}
.spot-tx ul{margin:16px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:9px}
.spot-tx li{display:flex;align-items:flex-start;gap:10px;font-size:14.5px;color:var(--ink-2)}
.spot-tx li .ic{width:18px;height:18px;color:var(--brand);margin-top:4px}
@media (max-width:860px){ .spot{grid-template-columns:1fr} }

/* ==========================================================================
   บริการ
   ========================================================================== */
.svc{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.svc-c{
  position:relative;display:block;padding:28px 26px 26px;border-radius:16px;
  background:var(--surface);border:1px solid var(--line);color:var(--ink);
  text-decoration:none;transition:border-color .15s ease,transform .15s ease
}
.sec-alt .svc-c{background:var(--bg)}
.svc-c:hover{border-color:var(--brand);transform:translateY(-3px);text-decoration:none;color:var(--ink)}
.svc-ic{
  width:48px;height:48px;border-radius:13px;margin-bottom:16px;
  display:flex;align-items:center;justify-content:center;
  background:var(--brand-wash);border:1px solid var(--brand-line);color:var(--brand-ink)
}
.svc-ic .ic{width:24px;height:24px}
.svc-c h3{font-size:18px}
.svc-c p{margin-top:9px;font-size:14.5px;line-height:1.8;color:var(--ink-2)}
.svc-go{
  display:inline-flex;align-items:center;gap:6px;margin-top:15px;
  font-size:13.5px;font-weight:600;color:var(--brand-ink)
}
.svc-go .ic{width:15px;height:15px;transition:transform .15s ease}
.svc-c:hover .svc-go .ic{transform:translateX(3px)}
@media (max-width:960px){ .svc{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:600px){ .svc{grid-template-columns:1fr} }

/* ==========================================================================
   ขั้นตอน
   ========================================================================== */
.steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;counter-reset:st}
.step{position:relative;padding-top:52px}
.step::before{
  counter-increment:st;content:counter(st);
  position:absolute;top:0;left:0;width:40px;height:40px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-size:16px;font-weight:600;
  background:var(--brand);color:#fff
}
.step::after{
  content:"";position:absolute;top:20px;left:52px;right:-20px;height:1px;
  background:repeating-linear-gradient(90deg,var(--line-2) 0 6px,transparent 6px 12px)
}
.step:last-child::after{display:none}
.step h3{font-size:17px}
.step p{margin-top:9px;font-size:14.5px;line-height:1.8;color:var(--ink-2)}
@media (max-width:900px){
  .steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
  .step:nth-child(2)::after{display:none}
}
@media (max-width:520px){
  .steps{grid-template-columns:1fr}
  .step::after{display:none}
}

/* ==========================================================================
   ทำไมต้องเรา
   ========================================================================== */
.why{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.why-c{
  padding:26px 24px;border-radius:16px;background:var(--surface);border:1px solid var(--line)
}
.sec-alt .why-c{background:var(--bg)}
.why-c .ic{width:26px;height:26px;color:var(--brand);margin-bottom:14px}
.why-c h3{font-size:17px}
.why-c p{margin-top:9px;font-size:14.5px;line-height:1.8;color:var(--ink-2)}
@media (max-width:900px){ .why{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:560px){ .why{grid-template-columns:1fr} }

/* ==========================================================================
   ตัวเลข
   ========================================================================== */
.nums{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;
  border-radius:18px;overflow:hidden;background:var(--line)
}
.num{padding:30px 22px;text-align:center;background:var(--surface)}
.sec-alt .num{background:var(--bg)}
.num b{
  display:block;font-family:var(--head);font-size:clamp(28px,3.4vw,40px);font-weight:600;
  color:var(--brand);letter-spacing:-.02em;line-height:1.1
}
.num span{display:block;margin-top:6px;font-size:13.5px;color:var(--ink-2)}
@media (max-width:760px){ .nums{grid-template-columns:repeat(2,minmax(0,1fr))} }

/* ==========================================================================
   ค่าขนส่ง
   ========================================================================== */
.ship{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ship-c{
  border-radius:18px;overflow:hidden;background:var(--surface);
  border:1px solid var(--line);display:flex;flex-direction:column
}
.sec-alt .ship-c{background:var(--bg)}
.ship-fig{aspect-ratio:3/2}
.ship-fig img{width:100%;height:100%;object-fit:cover;position:relative}
.ship-bd{padding:22px 22px 24px;flex:1;display:flex;flex-direction:column}
.ship-bd h3{font-size:18px}
.ship-eta{
  display:inline-flex;align-items:center;gap:7px;margin-top:9px;padding:3px 11px;
  border-radius:99px;font-size:12.5px;font-weight:600;
  background:var(--ok-wash);color:var(--ok)
}
.ship-eta .ic{width:14px;height:14px}
.ship-bd p{margin-top:12px;font-size:14.5px;line-height:1.8;color:var(--ink-2)}
.ship-bd ul{margin:14px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:7px}
.ship-bd li{display:flex;align-items:flex-start;gap:9px;font-size:13.5px;color:var(--ink-2)}
.ship-bd li .ic{width:16px;height:16px;color:var(--brand);margin-top:3px}
@media (max-width:900px){ .ship{grid-template-columns:1fr} }

/* ==========================================================================
   คำถามที่พบบ่อย
   ========================================================================== */
.faq{max-width:820px;margin:0 auto}
.faq details{
  background:var(--surface);border:1px solid var(--line);border-radius:13px;
  margin-bottom:11px;overflow:hidden
}
.sec-alt .faq details{background:var(--bg)}
.faq summary{
  display:flex;align-items:center;gap:13px;padding:17px 20px;cursor:pointer;
  font-family:var(--head);font-size:16px;font-weight:500;list-style:none
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"";margin-left:auto;width:10px;height:10px;flex:none;
  border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);
  transform:rotate(45deg) translate(-2px,-2px);transition:transform .18s ease
}
.faq details[open] summary::after{transform:rotate(225deg) translate(-3px,-3px)}
.faq summary:hover{color:var(--brand-ink)}
.faq p{padding:0 20px 19px;font-size:15px;line-height:1.9;color:var(--ink-2)}

/* ==========================================================================
   แกลเลอรี
   ========================================================================== */
.gal{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.gal figure{margin:0;border-radius:13px;overflow:hidden;background:var(--surface-2);
            border:1px solid var(--line);aspect-ratio:4/3}
.gal img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.gal figure:hover img{transform:scale(1.05)}
@media (max-width:860px){ .gal{grid-template-columns:repeat(2,minmax(0,1fr))} }

/* ==========================================================================
   ชวนสมัคร
   ========================================================================== */
.cta{padding:0 0 76px}
.cta-in{
  position:relative;overflow:hidden;border-radius:24px;padding:56px 44px;text-align:center;
  background:linear-gradient(135deg,var(--brand-deep),var(--brand));color:#fff
}
.cta-in::before{
  content:"";position:absolute;inset:auto -10% -60% -10%;height:100%;
  background:radial-gradient(50% 60% at 50% 0,rgba(255,255,255,.22),transparent 70%)
}
.cta-in > *{position:relative}
.cta-in h2{font-size:clamp(25px,3.2vw,36px);color:#fff;letter-spacing:-.02em}
.cta-in p{margin:14px auto 0;max-width:44em;font-size:16px;line-height:1.85;color:rgba(255,255,255,.92)}
.cta-do{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:28px}
.cta-do .btn-go{background:#fff;color:var(--brand-deep);box-shadow:0 12px 28px -14px rgba(0,0,0,.5)}
.cta-do .btn-go:hover{background:#fff5ee;color:var(--brand-deep)}
.cta-do .btn-line{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.38);color:#fff}
.cta-do .btn-line:hover{background:rgba(255,255,255,.2);border-color:#fff;color:#fff}
.cta-note{margin-top:18px;font-size:13px;color:rgba(255,255,255,.8)}
@media (max-width:600px){ .cta-in{padding:40px 22px} }

/* ==========================================================================
   ท้ายเว็บ
   ========================================================================== */
.foot{background:var(--ink);color:#c4b9aa;padding:56px 0 0;font-size:14.5px}
.foot-g{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr));gap:34px}
.foot h4{
  font-family:var(--sans);font-size:11.5px;font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;color:#8d8175;margin-bottom:15px
}
.foot ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.foot a{color:#c4b9aa}
.foot a:hover{color:#fff}
.foot-b{display:flex;align-items:center;gap:11px;margin-bottom:15px}
.foot-b img{width:44px}
.foot-b b{font-family:var(--head);font-size:19px;color:#fff;font-weight:600}
.foot-ab{max-width:34em;line-height:1.85;color:#a2968a}
.foot-cta{
  display:inline-flex;align-items:center;gap:11px;margin-top:18px;padding:11px 17px;
  border-radius:12px;background:#06c755;color:#fff !important;font-weight:600
}
.foot-cta:hover{filter:brightness(.93);text-decoration:none}
.foot-cta .ic{width:20px;height:20px}
.foot-end{
  margin-top:48px;padding:20px 0;border-top:1px solid rgba(255,255,255,.1);
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  font-size:13px;color:#8d8175
}
@media (max-width:860px){ .foot-g{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px} }
@media (max-width:520px){ .foot-g{grid-template-columns:1fr} }

/* ---------- ปุ่มขึ้นบนสุด ---------- */
.up{
  position:fixed;right:18px;bottom:18px;z-index:50;width:46px;height:46px;border-radius:50%;
  display:none;align-items:center;justify-content:center;cursor:pointer;
  border:1px solid var(--line);background:var(--surface);color:var(--ink);
  box-shadow:var(--shadow)
}
.up.is-on{display:flex}
.up .ic{width:20px;height:20px}
.up:hover{border-color:var(--brand);color:var(--brand)}

@media print{
  .top,.nav,.up,.cta{display:none !important}
  body{background:#fff;color:#000}
}

/* ==========================================================================
   หน้าเช็คสถานะพัสดุ   .tk-
   ใช้ตัวแปรสีชุดเดียวกับหน้าแรก จึงไม่ต้องประกาศสีใหม่
   ========================================================================== */
.tk-top{
  position:relative;overflow:hidden;padding:52px 0 42px;background:var(--bg);
  border-bottom:1px solid var(--line);text-align:center
}
.tk-top::before{
  content:"";position:absolute;inset:-60% -20% auto -20%;height:100%;z-index:0;
  background:radial-gradient(55% 55% at 50% 45%,rgba(255,92,0,.13),transparent 70%);
  pointer-events:none
}
.tk-top .wrap{position:relative;z-index:1;max-width:760px}
.tk-top h1{
  margin:16px 0 0;font-size:clamp(28px,4vw,42px);font-weight:600;letter-spacing:-.02em
}
.tk-lead{margin:12px auto 0;max-width:34em;font-size:16px;line-height:1.8;color:var(--ink-2)}

/* ---------- ช่องกรอก ---------- */
.tk-form{display:flex;gap:10px;margin:26px auto 0;max-width:620px}
.tk-in{
  flex:1;min-width:0;display:flex;align-items:center;gap:11px;
  height:54px;padding:0 16px;border-radius:13px;
  background:var(--surface);border:1px solid var(--line-2);
  transition:border-color .15s ease,box-shadow .15s ease
}
.tk-in:focus-within{border-color:var(--brand);box-shadow:0 0 0 4px var(--brand-wash)}
.tk-in .ic{width:20px;height:20px;color:var(--muted);flex:none}
.tk-in:focus-within .ic{color:var(--brand)}
.tk-in input{
  flex:1;min-width:0;border:0;background:none;outline:none;color:var(--ink);
  font-family:var(--mono);font-size:16px;letter-spacing:.01em
}
.tk-in input::placeholder{font-family:var(--sans);letter-spacing:0;color:var(--muted)}
.tk-form .btn{height:54px;flex:none}
.tk-form .btn[disabled]{opacity:.6;pointer-events:none}
.tk-hint{margin:12px 0 0;font-size:12.5px;color:var(--muted)}

@media (max-width:600px){
  .tk-top{padding:34px 0 30px}
  .tk-form{flex-direction:column}
  .tk-form .btn{width:100%}
}

/* ---------- พื้นที่ผลลัพธ์ ---------- */
.tk-body{padding:34px 0 70px;background:var(--surface)}
.tk-body .wrap{max-width:820px}

.tk-count{
  margin:0 0 14px;font-size:13px;color:var(--muted);
  padding-bottom:12px;border-bottom:1px solid var(--line)
}

.tk-note{
  padding:16px 18px;border-radius:var(--r);font-size:14.5px;line-height:1.85;
  background:var(--bg);border:1px solid var(--line);color:var(--ink-2)
}
.tk-note.is-warn{background:#fff8ee;border-color:#f5d9b4;color:#8a5200}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .tk-note.is-warn{background:#2a2211;border-color:#4a3a1a;color:#e0b155}
}

/* ---------- การ์ดพัสดุ ---------- */
.tk-card{
  border:1px solid var(--line);border-radius:var(--r);overflow:hidden;
  background:var(--surface);margin-bottom:16px;
  box-shadow:0 1px 2px rgba(23,20,15,.04)
}
.tk-h{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;
  padding:15px 18px;background:var(--bg);border-bottom:1px solid var(--line)
}
.tk-h > div{flex:1;min-width:0}
.tk-h b{
  display:block;font-family:var(--mono);font-size:17px;font-weight:600;
  letter-spacing:-.01em;overflow-wrap:anywhere
}
.tk-h span{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.tk-st{
  flex:none;padding:4px 13px;border-radius:99px;font-size:12.5px;font-weight:600;white-space:nowrap
}
.tk-st.is-ok{background:#e4f4ec;color:#12674a}
.tk-st.is-go{background:var(--brand-wash);color:var(--brand-ink)}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .tk-st.is-ok{background:#12271f;color:#5fc79b}
}

/* ---------- ตัวเลขของพัสดุ ---------- */
.tk-spec{
  margin:0;padding:16px 18px;border-bottom:1px solid var(--line);
  display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:14px 20px
}
.tk-spec > div{min-width:0}
.tk-spec dt{font-size:11.5px;color:var(--muted);margin-bottom:3px}
.tk-spec dd{
  margin:0;font-family:var(--mono);font-size:15px;font-weight:600;
  font-variant-numeric:tabular-nums;overflow-wrap:anywhere
}

/* ---------- ไทม์ไลน์ ---------- */
.tk-tl{list-style:none;margin:0;padding:18px 18px 20px}
.tk-tl li{position:relative;display:flex;gap:14px;padding:0 0 18px}
.tk-tl li:last-child{padding-bottom:0}
.tk-dot{
  flex:0 0 13px;width:13px;height:13px;border-radius:50%;margin-top:5px;position:relative;
  background:#12674a;box-shadow:0 0 0 4px #e4f4ec
}
.tk-tl li:not(:last-child) .tk-dot::after{
  content:"";position:absolute;left:50%;top:17px;width:2px;height:calc(100% + 16px);
  transform:translateX(-50%);background:var(--line)
}
.tk-tl li.is-wait .tk-dot{background:#c07a00;box-shadow:0 0 0 4px #fff3dc}
.tk-tl li.is-todo .tk-dot{background:var(--brand);box-shadow:0 0 0 4px var(--brand-wash)}
.tk-tl li > div{flex:1;min-width:0}
.tk-tl time{
  display:block;font-family:var(--mono);font-size:12.5px;font-weight:600;color:var(--muted)
}
.tk-tl p{margin:2px 0 0;font-size:15px;line-height:1.7;overflow-wrap:anywhere}
.tk-tl a{color:var(--brand-ink);font-weight:600}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .tk-dot{background:#5fc79b;box-shadow:0 0 0 4px #12271f}
  :root:not([data-theme="light"]) .tk-tl li.is-wait .tk-dot{background:#e0b155;box-shadow:0 0 0 4px #2a2211}
}

/* ---------- โครงตอนกำลังค้นหา ---------- */
.tk-sk{display:flex;flex-direction:column;gap:12px}
.tk-sk i{
  display:block;height:20px;border-radius:8px;background:var(--bg);
  border:1px solid var(--line);animation:tk-sk 1.2s ease-in-out infinite
}
.tk-sk i:nth-child(1){height:56px}
.tk-sk i:nth-child(2){width:82%;animation-delay:.1s}
.tk-sk i:nth-child(3){width:64%;animation-delay:.2s}
.tk-sk i:nth-child(4){width:45%;animation-delay:.3s}
@keyframes tk-sk{0%,100%{opacity:.55}50%{opacity:1}}
@media (prefers-reduced-motion:reduce){ .tk-sk i{animation:none} }

/* ---------- คำอธิบายตอนยังไม่ได้ค้น ---------- */
.tk-guide h2{font-size:19px;margin-bottom:16px}
.tk-guide-g{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px
}
.tk-guide-g > div{
  padding:18px 18px 19px;border-radius:var(--r);
  background:var(--bg);border:1px solid var(--line)
}
.tk-guide-g b{display:block;font-size:15px;font-weight:600;margin-bottom:7px}
.tk-guide-g p{margin:0;font-size:13.5px;line-height:1.8;color:var(--ink-2)}

.tk-cta{
  display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;
  margin-top:22px;padding:22px 24px;border-radius:var(--r);
  background:var(--brand-wash);border:1px solid var(--brand-line)
}
.tk-cta > div{flex:1;min-width:220px}
.tk-cta b{display:block;font-family:var(--head);font-size:17px;font-weight:600;color:var(--brand-ink)}
.tk-cta span{display:block;margin-top:5px;font-size:13.5px;line-height:1.75;color:var(--ink-2)}
@media (max-width:560px){
  .tk-cta{padding:18px}
  .tk-cta .btn{width:100%}
}
