:root{
  --bg: #ffffff;
  --text: #0b0b0b;
  --muted: rgba(0,0,0,.70);

  --card: #ffffff;
  --stroke: rgba(0,0,0,.10);

  /* Primary: #0066FF -> White */
  --primary: #0066FF;
  --primary-2: #ffffff;

  --shadow: 0 18px 55px rgba(0,0,0,.10);
  --radius: 18px;
  --container: 1100px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:"Prompt", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

.container{
  width:min(var(--container), calc(100% - 40px));
  margin:0 auto;
}

/* NAV */
.nav{
  position:sticky;
  top:0;
  z-index:50;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-2) 100%);
  box-shadow: 0 10px 25px rgba(0,102,255,.18);
}
.nav::before,
.nav::after{
  content:"";
  display:block;
  height:6px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-2) 100%);
}
.nav-inner{
  height: 88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{ display:flex; align-items:center; gap:12px; }
.brand-logo{
  height: 78px; /* ✅ ใหญ่ขึ้น ~2 เท่า */
  width:auto;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,.22));
}

.nav-links{
  display:flex;
  align-items:center;
  gap:16px;
}
.nav-links a{
  font-weight:700;
  color: rgba(0,0,0,.92);
  padding:10px 12px;
  border-radius: 12px;
  transition: .2s ease;
}
.nav-links a:hover{
  background: rgba(255,255,255,.45);
}

.nav-toggle{
  display:none;
  border:1px solid rgba(0,0,0,.20);
  background: rgba(255,255,255,.35);
  border-radius: 12px;
  padding:10px 10px;
}
.nav-toggle span{
  display:block;
  width:22px;
  height:2px;
  background:#111;
  margin:5px 0;
}

/* FULL-WIDTH BANNER IMAGE (แทรกภาพ HEW.jpg) */
.banner{
  background:#fff;
}
.banner img{
  width:100%;
  height: 420px;
  object-fit: cover;
  display:block;
}
@media (max-width: 760px){
  .banner img{ height: 240px; }
}

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0,102,255,.35);
  background: linear-gradient(90deg, var(--primary) 0%, #003aa6 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0,102,255,.22);
  font-weight:800;
  transition: transform .15s ease, filter .2s ease;
}
.btn:hover{ transform: translateY(-1px); filter: brightness(1.02); }
.btn:active{ transform: translateY(0); }

.btn-small{ padding:10px 12px; border-radius: 12px; }
.btn-ghost{
  background: #ffffff;
  color: #000;
  border: 1px solid rgba(0,0,0,.18);
  box-shadow: none;
}
.w-100{ width:100%; }

/* HERO (พื้นหลัง #0066FF -> ขาว, ตัวหนังสือดำทั้งหมด) */
.hero{
  position:relative;
  padding: 58px 0 70px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-2) 100%);
}

.hero-content{
  max-width: 920px;
}

.hero-kicker{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom: 14px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius: 999px;
  font-weight:700;
  color:#000;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.10);
  backdrop-filter: blur(10px);
}
.pill--soft{
  background: rgba(255,255,255,.35);
}

.hero h1{
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 46px);
  line-height:1.12;
  color:#000;
}
.hero-sub{
  margin:0 0 18px;
  color: rgba(0,0,0,.78);
  font-size: 16px;
  line-height:1.8;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin: 10px 0 22px;
}

.hero-stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}
.stat{
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.55);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}
.stat-num{
  font-size: 24px;
  font-weight: 900;
  color:#000;
}
.stat-label{
  margin-top: 4px;
  color: rgba(0,0,0,.70);
  font-weight: 600;
  font-size: 13px;
}

/* SECTIONS */
.section{
  padding: 70px 0;
}
.section-alt{
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.section-head{
  margin-bottom: 24px;
}
.section-head h2{
  margin:0 0 8px;
  font-size: clamp(22px, 3vw, 32px);
  color:#000;
}
.lead{
  margin:0;
  color: rgba(0,0,0,.70);
  line-height:1.7;
}

/* CARDS */
.grid-4{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.card{
  border: 1px solid var(--stroke);
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.card-icon{
  width:44px;
  height:44px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: rgba(0,102,255,.10);
  border: 1px solid rgba(0,102,255,.18);
  color: #001a4d;
  margin-bottom: 10px;
}
.card-icon svg{ width:22px; height:22px; }
.card h3{
  margin: 0 0 8px;
  font-size: 16px;
  color:#000;
}
.card p{
  margin:0 0 10px;
  color: rgba(0,0,0,.70);
  line-height:1.65;
  font-size: 14px;
}
.bullets{
  margin:0;
  padding-left: 18px;
  color: rgba(0,0,0,.72);
  font-size: 13px;
  line-height:1.7;
}
.bullets li{ margin: 4px 0; }

/* SHOWCASE STACK */
.stack{
  display:flex;
  flex-direction:column;
  gap: 18px;
}
.showcase{
  margin:0;
  border-radius: 20px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  box-shadow: var(--shadow);
}
.showcase img{ width:100%; height:auto; }
.showcase figcaption{
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.showcase h3{
  margin:0 0 6px;
  font-size: 16px;
  color:#000;
}
.showcase p{
  margin:0;
  color: rgba(0,0,0,.70);
  line-height:1.7;
  font-size: 14px;
}

/* TIMELINE */
.timeline{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.step{
  display:flex;
  gap:12px;
  align-items:flex-start;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}
.step-no{
  width:42px;
  height:42px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  font-weight:900;
  color:#000;
  background: rgba(0,102,255,.12);
  border: 1px solid rgba(0,102,255,.22);
}
.step-body h3{
  margin:0 0 6px;
  font-size: 16px;
  color:#000;
}
.step-body p{
  margin:0;
  color: rgba(0,0,0,.70);
  line-height:1.7;
  font-size: 14px;
}

/* CONTACT */
.contact-wrap{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items:start;
}
.contact-cards{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}
.mini-card{
  display:flex;
  gap:12px;
  align-items:center;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
}
.mini-ic{
  width:40px;
  height:40px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: rgba(0,102,255,.10);
  border: 1px solid rgba(0,102,255,.18);
  color: #001a4d;
}
.mini-ic svg{ width:20px; height:20px; }
.mini-title{ font-weight:800; color:#000; }

.muted{ color: rgba(0,0,0,.70); font-size: 13px; }

.map{
  margin-top: 14px;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: var(--shadow);
}
.map iframe{
  width:100%;
  height: 280px;
  border:0;
  display:block;
}

/* FOOTER */
.footer{
  padding: 18px 0 22px;
  background: linear-gradient(90deg, #0066FF 0%, #ffffff 100%);
  border-top: 6px solid #0066FF;
}

.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding-top: 12px;
}

.footer .muted{
  color: rgba(0,0,0,.75);
}

.footer-links{
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
  color: rgba(0,0,0,.85);
}

.footer-links a{
  padding: 8px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.footer-links a:hover{
  background: rgba(0,102,255,.12);
}

/* ปรับโลโก้ใน footer ให้ชัดบนพื้นหลังไล่สี */
.footer-brand img{
  height:68px;
  width:auto;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.25));
}



/* REVEAL ANIMATION */
.reveal{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.in{
  opacity:1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 980px){
  .grid-4{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline{ grid-template-columns: 1fr; }
  .contact-wrap{ grid-template-columns: 1fr; }
  .hero-stats{ grid-template-columns: 1fr; }
}
@media (max-width: 760px){
  .nav-toggle{ display:block; }
  .nav-links{
    position:absolute;
    top: 88px;
    left:0;
    right:0;
    display:none;
    flex-direction:column;
    gap: 6px;
    padding: 12px 20px 16px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0,0,0,.08);
  }
  .nav-links.open{ display:flex; }
  .nav-links a{ width:100%; }
}
/* CONTACT FORM (Fix) */
.contact-form{
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.70);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.field{ margin-bottom: 12px; }

.contact-form label{
  display:block;
  font-size: 13px;
  font-weight: 700;
  color: rgba(0,0,0,.85);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.14);
  background: #ffffff;
  color: #000;
  outline:none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .12s ease;
}

.contact-form textarea{ resize: vertical; }

.contact-form input::placeholder,
.contact-form textarea::placeholder{
  color: rgba(0,0,0,.45);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  border-color: rgba(0,102,255,.55);
  box-shadow: 0 0 0 4px rgba(0,102,255,.14);
}

.contact-form button.btn{
  margin-top: 6px;
}

.form-note{
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(0,0,0,.60);
}

/* HERO VISUAL (Image 2 Replacement) */
.hero-visual{
  width: 100%;
  background: linear-gradient(90deg, #0066FF 0%, #ffffff 100%);
  padding: 32px 0;
}

.hero-visual-inner{
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
}

/* ภาพพื้นหลังหลัก */
.hero-bg-img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;   /* ไม่แตก ไม่ยืด */
  background: linear-gradient(90deg, #0066FF 0%, #ffffff 100%);
}

/* โลโก้ตรงกลาง */
.hero-center-logo{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 180px; /* ≈ 3 เท่าของโลโก้เมนู (60px → 180px) */
  width: auto;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.35));
}

/* Responsive */
@media (max-width: 768px){
  .hero-center-logo{
    height: 120px;
  }
}


.contact-qr{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
  min-height: 360px;
}

.qr-img{
  width: min(320px, 100%);
  height: auto;
  border-radius: 12px;
}

.qr-text{
  margin: 0;
  color: rgba(0,0,0,.7);
  font-size: 14px;
  line-height: 1.6;
}
