/* ==========================================================================
   SIRIPHAT PRINTING — about-new.css
   About Us: รูปซ้าย (มีป้ายเล็กมุมล่าง) / ข้อความขวา มีรายการติ๊กถูก + ปุ่ม
   (ใช้คลาส .ab ทั้งหมด ไม่ปนกับ .about-modern เดิม)
   ========================================================================== */
.ab { padding-block: 72px; }
/* พื้นหลังขาวล้วน ต่อเนื่องไปถึง "สินค้าของเรา" (ไม่มีรอยตัดสี) — ใต้ hero สีเข้ม */
#about.ab { background: #fff; }
.ab__grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.1fr);
  gap: 56px;
  align-items: stretch;
}

/* --- รูป + ป้ายเล็กมุมล่างซ้าย --- */
.ab__photo { position: relative; overflow: hidden; min-height: 360px; margin: 0; border-radius: 14px; background: #e3edf5; }
/* รูปสูงเท่ากรอบข้อความ: ขอบบนตรงกับ ABOUT US ขอบล่างตรงกับปุ่ม */
.ab__photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ab__photo:hover img { transform: scale(1.04); }
.ab__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--c-navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 4px 14px rgba(11,42,91,.14);
}
.ab__badge svg { width: 18px; height: 18px; color: #1f9d55; }

/* --- เอฟเฟกต์ตอนเลื่อนมาถึง: รูปเลื่อนเข้าจากซ้าย ข้อความจากขวา รายการติ๊กถูกทยอยขึ้นทีละข้อ --- */
.ab__photo.reveal { transform: translateX(-40px); transition-duration: .8s; }
.ab__copy.reveal { transform: translateX(40px); transition-duration: .8s; transition-delay: .12s; }
.ab__photo.reveal.is-visible,.ab__copy.reveal.is-visible { transform: none; }
.ab__list li { opacity: 0; transform: translateX(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.ab__copy.is-visible .ab__list li { opacity: 1; transform: none; }
.ab__copy.is-visible .ab__list li:nth-child(1) { transition-delay: .4s; }
.ab__copy.is-visible .ab__list li:nth-child(2) { transition-delay: .5s; }
.ab__copy.is-visible .ab__list li:nth-child(3) { transition-delay: .6s; }
.ab__copy.is-visible .ab__list li:nth-child(4) { transition-delay: .7s; }
.no-js .ab__photo.reveal,.no-js .ab__copy.reveal { transform: none; }
.no-js .ab__list li { opacity: 1; transform: none; }
/* --- ข้อความ --- */
.ab .eyebrow { margin-bottom: 4px; }
.ab__copy h2 { margin: 6px 0 14px; font-size: clamp(28px,3vw,38px); line-height: 1.3; }
.ab__copy p { margin: 0 0 20px; color: var(--c-muted); font-size: 16px; line-height: 1.8; }

.ab__list { display: grid; gap: 10px; margin: 0 0 28px; }
.ab__list li { display: flex; align-items: center; gap: 12px; color: var(--c-text); font-size: 16px; line-height: 1.5; }
.ab__list svg { width: 22px; height: 22px; color: var(--c-primary); }

.ab__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 28px;
  border-radius: 8px;
  background: var(--c-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  transition: background .2s, transform .2s;
}
.ab__btn:hover { background: var(--c-primary-hover); color: #fff; transform: translateY(-2px); }

@media (max-width: 1023px) {
  .ab { padding-block: 60px; }
  .ab__grid { grid-template-columns: 1fr; gap: 44px; }
  .ab__photo { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 767px) {
  .ab { padding-block: 48px; }
  .ab__photo { aspect-ratio: 4 / 3; }
  .ab__btn { width: 100%; }
}

/* ปุ่มใน hero: LINE กับ Facebook กว้างเท่ากัน */
.hero-type__actions .btn { flex: 0 0 250px; width: 250px; min-width: 0; }
@media (max-width: 767px) {
  .hero-type__actions .btn { flex: 1 1 100%; width: 100%; max-width: 340px; }
}

/* ปุ่มสินค้า: ข้อความยาวขึ้นให้ขึ้นบรรทัดใหม่ได้ ไม่ถูกตัด / มือถือเรียงเป็นแถวเดียว */
.product-showcase__top .prod__cta .btn { white-space: normal; text-align: center; line-height: 1.3; }
@media (max-width: 767px) {
  .product-showcase__top .prod__cta { grid-template-columns: 1fr; }
}


/* ---------- สั่งงานพิมพ์ 4 ขั้นตอน: เอฟเฟกต์เล็กน้อย ----------
   เส้นเชื่อมวาดจากซ้ายไปขวา · ขั้นตอนขึ้นทีละขั้น · ไอคอนเด้งเล็กน้อย · เอาเมาส์ชี้แล้วไอคอนเปลี่ยนสี */
#process .step:nth-child(2) { transition-delay: .15s; }
#process .step:nth-child(3) { transition-delay: .3s; }
#process .step:nth-child(4) { transition-delay: .45s; }
@supports selector(:has(*)) {
  #process .steps::before { transform: scaleX(0); transform-origin: left center; transition: transform 1.3s var(--ease) .2s; }
  #process .steps:has(.step.is-visible)::before { transform: scaleX(1); }
}
.no-js #process .steps::before { transform: none; }

#process .step__icon { transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s; }
#process .step__icon b { transition: background .3s, color .3s; }
#process .step.is-visible .step__icon { animation: step-pop .6s var(--ease) backwards; }
#process .step.is-visible .step__icon b { animation: step-badge .5s var(--ease) backwards; }
#process .step:nth-child(1).is-visible .step__icon { animation-delay: .2s; }
#process .step:nth-child(2).is-visible .step__icon { animation-delay: .35s; }
#process .step:nth-child(3).is-visible .step__icon { animation-delay: .5s; }
#process .step:nth-child(4).is-visible .step__icon { animation-delay: .65s; }
#process .step:nth-child(1).is-visible .step__icon b { animation-delay: .45s; }
#process .step:nth-child(2).is-visible .step__icon b { animation-delay: .6s; }
#process .step:nth-child(3).is-visible .step__icon b { animation-delay: .75s; }
#process .step:nth-child(4).is-visible .step__icon b { animation-delay: .9s; }
@keyframes step-pop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes step-badge { 0% { transform: scale(0); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }

#process .step:hover .step__icon { transform: translateY(-5px); background: var(--c-primary); color: #fff; box-shadow: 0 14px 26px rgba(22,86,184,.28); }
#process .step:hover .step__icon b { background: #fff; color: var(--c-primary); }