:root{
  --bg:#f6f8fc;
  --card:#ffffff;
  --text:#0b1220;
  --muted:#5c6b84;
  --line:#06c755;

  --accent:#0b4bff;
  --accent2:#00b7ff;
  --border:rgba(12, 25, 52, .10);
  --shadow: 0 16px 45px rgba(10, 20, 40, .12);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:"Noto Sans Thai", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  background:
    radial-gradient(1100px 700px at 70% -10%, rgba(11,75,255,.12), transparent 55%),
    radial-gradient(900px 600px at 10% 0%, rgba(0,183,255,.10), transparent 55%),
    linear-gradient(180deg, #ffffff, var(--bg));
  color:var(--text);
}

a{color:inherit;text-decoration:none}
.container{max-width:1160px;margin:0 auto;padding:0 18px}

/* Topbar */
.topbar{
  position:sticky;top:0;z-index:50;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner{display:flex;align-items:center;justify-content:space-between;padding:12px 0;gap:12px}
.topbar-left{display:flex;align-items:center;gap:12px}
.brand-logo{height:38px;width:auto;display:block}
.topbar-title{font-weight:900;line-height:1.1}
.topbar-sub{color:var(--muted);font-weight:700;font-size:12px;margin-top:2px}

.topbar-right{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.toplink{color:var(--muted);font-weight:800}
.toplink:hover{color:var(--text)}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:8px;
  padding:10px 14px;border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(10, 20, 40, .10);
  font-weight:900;
}
.btn:hover{transform: translateY(-1px); transition: .18s ease}
.btn-primary{
  border: 1px solid rgba(11,75,255,.35);
  background: linear-gradient(135deg, rgba(11,75,255,.95), rgba(0,183,255,.75));
  color:#fff;
}
.btn-ghost{background:transparent}
.btn-line{
  border: 1px solid rgba(6,199,85,.35);
  background: rgba(6,199,85,.10);
}

/* Hero */
.hero{padding:40px 0 14px}
.hero-grid{display:grid;grid-template-columns: 1.2fr .9fr; gap:22px; align-items:stretch}
.kicker{color:var(--muted);font-weight:900;margin:0 0 10px}
h1{font-size:44px;line-height:1.06;margin:0 0 12px}
.grad{
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.sub{color:var(--muted);margin:0 0 18px;font-size:16px;line-height:1.65}
.cta-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}

.hero-stats{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.stat{
  padding:12px 14px;border-radius:16px;
  background: rgba(255,255,255,.94);
  border:1px solid var(--border);
  box-shadow: 0 10px 24px rgba(10, 20, 40, .08);
}
.stat-num{font-weight:900}
.stat-label{color:var(--muted);font-weight:800;font-size:13px}

.quick-card{
  margin-top:10px;
  padding:14px;border-radius:18px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 28px rgba(10, 20, 40, .08);
}
.quick-title{font-weight:900;margin-bottom:6px}
.quick-text{color:var(--muted);font-weight:800;line-height:1.5}
.quick-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}

/* Hero card */
.hero-card{
  border-radius:22px;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.72));
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero-card-inner{display:flex;flex-direction:column;height:100%}
.hero-img{
  height:260px;
  background: url("assets/hero.jpg") center/cover no-repeat;
  position: relative;
}
.hero-img::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.22));
}
.hero-card-content{padding:16px}
.pill{
  display:inline-flex;padding:6px 10px;border-radius:999px;
  background: rgba(11,75,255,.08);
  border:1px solid rgba(11,75,255,.16);
  color:rgba(11, 18, 32, .82);
  font-weight:900;font-size:12px;
}
h3{margin:10px 0 6px}
.muted{color:var(--muted)}
.mini-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}

/* Strip */
.strip{padding:18px 0 0}
.strip-grid{display:grid;grid-template-columns: repeat(3,1fr);gap:12px}
.strip-item{
  display:flex;gap:12px;align-items:center;
  padding:14px;border-radius:18px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 24px rgba(10, 20, 40, .06);
}
.icon{font-size:22px}
.strip-title{font-weight:900}
.strip-desc{color:var(--muted);font-weight:800;font-size:13px}

/* Sections */
.section{padding:44px 0}
.section-alt{background: rgba(255,255,255,.55); border-top:1px solid var(--border); border-bottom:1px solid var(--border)}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:14px}
h2{margin:0 0 6px;font-size:28px}

.search input{
  width:min(420px, 88vw);
  padding:12px 14px;border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.96);
  color:var(--text);
  outline:none;
  box-shadow: 0 10px 24px rgba(10, 20, 40, .06);
}
.search input::placeholder{color:rgba(92,107,132,.75)}

/* Cards + grid */
.grid{display:grid;grid-template-columns: repeat(4, 1fr); gap:12px}
.card{
  background: rgba(255,255,255,.96);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding:16px;
}
.pcard{padding:0; overflow:hidden}
.pimg{
  height:170px;
  background: linear-gradient(135deg, #ffffff, #eef4ff);
  position:relative;
}
.pimg img{
  width:100%;height:100%;
  object-fit:cover;
  display:block;
}
.pbody{padding:14px}
.ptitle{font-weight:900;margin:10px 0 6px}
.pmeta{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}
.tag{
  padding:6px 10px;border-radius:999px;
  border:1px solid rgba(11,75,255,.16);
  background: rgba(11,75,255,.06);
  color:rgba(11, 18, 32, .82);
  font-weight:900;font-size:12px;
}
.sku{
  color:rgba(92,107,132,.85);
  font-weight:900;
  font-size:12px;
}
.pactions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}

.note{
  margin-top:14px;
  padding:14px;border-radius:16px;
  border:1px dashed rgba(12, 25, 52, .20);
  color:var(--muted);
  background: rgba(255,255,255,.86);
}

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin-top:10px;
}
.gimg{
  width:100%;
  height:190px;
  object-fit:cover;
  border-radius:16px;
  border:1px solid var(--border);
  box-shadow: 0 12px 28px rgba(10, 20, 40, .10);
}

/* Two col + contact */
.two-col{display:grid;grid-template-columns: 1fr 1fr; gap:12px}
.bullets{margin:12px 0 0; padding-left:18px; color:var(--muted); font-weight:800}
.small{font-size:12px}

.contact-list{display:grid;gap:10px;margin-top:12px}
.contact-item{display:grid;grid-template-columns: 120px 1fr; gap:10px; align-items:start}
.label{color:var(--muted);font-weight:900}
.value a{text-decoration:underline}

/* Footer */
.footer{padding:26px 0 40px}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.footer-brand{font-weight:900}
.footer-links{display:flex;gap:14px;color:var(--muted);font-weight:900}
.footer-links a:hover{color:var(--text)}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .strip-grid{grid-template-columns:1fr}
  .grid{grid-template-columns: repeat(2,1fr)}
  .two-col{grid-template-columns:1fr}
  .gallery{grid-template-columns: repeat(2, 1fr)}
  h1{font-size:36px}
}
@media (max-width: 520px){
  .grid{grid-template-columns:1fr}
  .gallery{grid-template-columns: 1fr}
  .gimg{height:210px}
}


/* --- Map Embed --- */
.map-embed{
  width:100%;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  background:#fff;
}
.map-embed iframe{
  width:100%;
  height:360px;
  border:0;
  display:block;
}
.small{font-size:.92rem;}
