/* ============================================================================
   COMPONENTS · LOT 3 — shell (header/footer) · home · price · entity ·
                        solution detail · case detail · article
   โหลดหลัง components.css และ components-lot2.css
   ลำดับ: 9 Shell · 10 Home · 11 Price · 12 Entity · 13 Detail · 14 Article · 15 Responsive
   ========================================================================== */

/* ==========================================================================
   9. SHELL — header · เมนู · ลิ้นชักมือถือ · footer
   ที่มา: header/footer ที่อนุมัติแล้วใน "Aritco Thailand Homepage.dc.html"
   (header ~บรรทัด 129–154 · footer ~1285–1314) — ค่าทุกตัวถอดมาจากดีไซน์นั้น
   ========================================================================== */

.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--c-bg); border-bottom: 1px solid var(--c-line);
}
.site-header__inner {
  max-width: var(--wrap); margin-inline: auto; padding: 0 var(--sp-8);
  min-height: 88px;                       /* ค่าตามดีไซน์ต้นทาง — ผูกกับ --scroll-offset */
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-6); flex-wrap: wrap;
}

/* --- 9.1 โลโก้ + ตราครบรอบ 13 ปี -------------------------------------- */
.brand { flex: 0 0 auto; display: flex; align-items: center; gap: 18px; padding: 14px 0; }
.brand__logo { display: block; height: 52px; width: auto; }
.brand__div { width: 1px; height: 42px; background: var(--c-line); display: block; }
.brand__seal { display: block; height: 56px; width: auto; }

/* --- 9.2 เมนูหลัก: จัดกลาง · 11px uppercase · ขีดทองตอน hover ---------- */
.mainnav {
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 26px;
}
.nav-link {
  white-space: nowrap; color: var(--c-ink);
  font-size: var(--fs-eyebrow); font-weight: var(--fw-semi);
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 8px 0; border-bottom: 1px solid transparent;
}
.nav-link:hover, .nav-link.is-on { color: var(--c-gold); border-bottom-color: var(--c-gold); }
/* ปุ่ม "สร้างลิฟต์ของคุณ" — ทอง มีเส้นใต้ตลอด (ลิงก์ออก LiftGuide) */
.nav-link--accent { color: var(--c-gold); font-weight: var(--fw-bold); border-bottom-color: var(--c-gold); }
.nav-link--accent:hover { color: var(--c-ink); border-bottom-color: var(--c-ink); }

/* --- 9.3 แถบขวา: TH | EN + ปุ่มทองนัดชมโชว์รูม ------------------------- */
.site-header__cta { flex: 0 0 auto; display: flex; align-items: center; gap: 18px; padding: 12px 0; }
.langsw { display: flex; align-items: center; gap: 8px; font-size: var(--fs-label); font-weight: var(--fw-semi); letter-spacing: 0.12em; }
.langsw__btn { background: none; border: none; padding: 0; font: inherit; color: var(--c-text-4); }
.langsw__btn.is-on { color: var(--c-ink); }
.langsw__btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.langsw__sep { color: #d6d1ca; }
.header-cta {
  white-space: nowrap; background: var(--c-gold); color: var(--c-text-invert);
  font-size: var(--fs-eyebrow); font-weight: var(--fw-bold);
  letter-spacing: 0.12em; text-transform: uppercase; padding: 15px 24px;
}
.header-cta:hover { background: var(--c-ink); color: var(--c-text-invert); }

/* --- 9.4 ปุ่มแฮมเบอร์เกอร์ + ลิ้นชัก (ส่วนขยายของ Lot 3 · โชว์เฉพาะ ≤1279)
   ของเดิมเป็นเว็บเดสก์ท็อป เมนู 10 หัวข้อยาวเกินจอแคบ จึงเพิ่มลิ้นชักที่ใช้ NAV ชุดเดิม
   ---------------------------------------------------------------------- */
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--c-line); background: none; padding: 0; }
.burger i { display: block; width: 20px; height: 1px; background: var(--c-ink); margin: 4px auto; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.burger.is-open i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open i:nth-child(2) { opacity: 0; }
.burger.is-open i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.drawer { border-top: 1px solid var(--c-line); background: var(--c-bg); max-height: calc(100vh - 88px); overflow-y: auto; padding: var(--sp-4) var(--gutter) var(--sp-8); }
.drawer__list { display: grid; }
.drawer__link {
  display: block; padding: 15px 0; border-bottom: 1px solid var(--c-line);
  font-size: var(--fs-caption); font-weight: var(--fw-semi);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-ink);
}
.drawer__link:hover, .drawer__link.is-on { color: var(--c-gold); }
.drawer__link.nav-link--accent { color: var(--c-gold); }
.drawer__cta { display: grid; gap: var(--sp-3); margin-top: var(--sp-6); }

/* --- 9.5 FOOTER: 4 คอลัมน์ + คอลัมน์ QR 260px + แถวล่างโลโก้/ตรา ------- */
.site-footer { background: var(--c-ink); color: var(--c-text-invert); border-top: 2px solid var(--c-gold); padding: var(--sp-20) 48px var(--sp-10); }
.site-footer__inner {
  max-width: var(--wrap); margin-inline: auto;
  display: grid; grid-template-columns: repeat(4, 1fr) 260px; gap: var(--sp-12);
  padding-bottom: 60px;
}
.site-footer__h { font-size: var(--fs-eyebrow); font-weight: var(--fw-bold); letter-spacing: var(--ls-eyebrow-x); text-transform: uppercase; color: var(--c-gold); margin: 0 0 22px; }
.site-footer__links { display: grid; gap: 12px; }
.site-footer__links a { color: var(--c-text-4); font-size: var(--fs-meta); }
.site-footer__links a:hover { color: #fff; }
.site-footer__qr img { width: 128px; height: 128px; object-fit: contain; background: #fff; }
.site-footer__qr p { font-size: var(--fs-caption); color: var(--c-text-4); margin: 16px 0 0; line-height: 1.8; }
.site-footer__legal {
  max-width: var(--wrap); margin-inline: auto;
  border-top: 1px solid #262626; padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-6); flex-wrap: wrap;
  font-size: var(--fs-label); color: #6e6a66; letter-spacing: 0.08em;
}
.site-footer__marks { display: flex; align-items: center; gap: 22px; }
.site-footer__logo { display: block; height: 92px; width: auto; }
.site-footer__div { width: 1px; height: 60px; background: #262626; display: block; }
.site-footer__badge { display: block; height: 76px; width: auto; background: #fff; padding: 10px 14px; }

/* ==========================================================================
   10. HOME — ถอดจากดีไซน์ที่อนุมัติแล้ว "Aritco Thailand Homepage.dc.html"
   ========================================================================== */

/* --- 10.1 BrandBanner (แถบแบรนด์จัดกลาง เหนือ hero) -------------------- */
.banner { background: var(--c-bg); border-bottom: 1px solid var(--c-line); padding: 42px var(--gutter) 37px; text-align: center; }
.banner__eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 22px;
  font-size: 10px; font-weight: var(--fw-bold); letter-spacing: 0.34em; text-transform: uppercase; color: var(--c-gold);
}
.banner__eyebrow span { height: 1px; width: 70px; background: var(--c-line-2); }
.banner__brand { font-size: clamp(42px, 5.2vw, 76px); font-weight: var(--fw-bold); letter-spacing: -0.01em; line-height: 1.16; margin: 0 auto 14px; max-width: 22ch; }
.banner__rule { width: min(420px, 70%); height: 2px; background: var(--c-line); margin: 0 auto 18px; }
.banner__tagline { font-family: var(--font-serif); font-style: italic; font-size: 20px; letter-spacing: 0.02em; color: var(--c-gold); margin-bottom: 20px; }
.banner__body { font-size: 21px; line-height: 1.85; color: var(--c-text-3); margin: 0 auto; max-width: 74ch; text-wrap: pretty; }

/* --- 10.2 HeroRotator (สูง 574px · ภาพ 6 ใบไล่ opacity 48s) ------------- */
.hero-rot { position: relative; height: 574px; background: var(--c-ink-deep); overflow: hidden; }
.hero-rot__slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; animation: aritcoHeroFade 48s ease-in-out infinite; will-change: opacity;
}
.hero-rot__scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; pointer-events: none;
  background: linear-gradient(to top, rgba(17,17,17,0.9) 6%, rgba(17,17,17,0.5) 46%, rgba(17,17,17,0) 100%); }
.hero-rot__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) 44px; max-width: var(--wrap); margin-inline: auto; }
.hero__kicker { font-family: var(--font-serif); font-style: italic; font-size: 20px; color: #F0E3CD; margin: 16px 0 12px; }
.hero__h1 { font-size: 46px; line-height: 1.22; font-weight: var(--fw-bold); letter-spacing: -0.01em; color: #fff; margin: 0; max-width: 30ch; text-wrap: pretty; }
.hero__body { font-size: 17px; line-height: 1.7; font-weight: var(--fw-bold); color: #fff; margin: 18px 0 0; max-width: 60ch; text-wrap: pretty; text-shadow: 0 2px 14px rgba(0,0,0,0.45); }
.hero__links { display: flex; align-items: center; gap: 26px; margin-top: 18px; flex-wrap: wrap; }
.hero__links a {
  color: #fff; font-size: var(--fs-label); font-weight: var(--fw-semi); letter-spacing: 0.1em;
  text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.35); padding-bottom: 4px; white-space: nowrap;
}
.hero__links a:hover { color: var(--c-gold-soft); border-bottom-color: var(--c-gold-soft); }

/* --- 10.3 StatStrip (7 ช่อง คั่นด้วยเส้นซ้าย) -------------------------- */
.stat-strip {
  background: var(--c-bg); border-bottom: 1px solid var(--c-line); padding: 54px 40px;
  display: flex; flex-wrap: wrap; row-gap: 32px; max-width: var(--wrap); margin-inline: auto;
}
.stat-strip--flat { border-bottom: none; padding: 0; background: transparent; }
.statx { flex: 1 1 190px; min-width: 0; padding: 14px 22px 16px; border-left: 1px solid var(--c-line); }
.statx__v { font-size: clamp(30px, 2.6vw, 42px); line-height: 1.15; font-weight: var(--fw-bold); letter-spacing: -0.01em; color: var(--c-gold); white-space: nowrap; }
.statx__l { font-size: var(--fs-label); font-weight: var(--fw-medium); line-height: 1.65; letter-spacing: 0.1em; color: var(--c-text-3); margin-top: 12px; text-wrap: pretty; }
.on-dark .statx { border-left-color: var(--c-line-invert); }
.on-dark .statx__l { color: var(--c-text-invert-4); }

/* --- 10.4 Value (พื้นดำ + 3 เสาหลักแบบการ์ดกระจก) --------------------- */
.value-sec { padding-block: var(--sp-24) var(--sp-22); }
.value-sec__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.34; }
.value-sec__scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(12,12,12,0.96) 0%, rgba(12,12,12,0.82) 46%, rgba(12,12,12,0.62) 100%); }
.vpillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vpillar {
  min-width: 0; background: rgba(255,255,255,0.055); border: 1px solid rgba(255,255,255,0.13);
  padding: 44px 40px 48px; transition: border-color 0.35s ease, transform 0.35s ease, background 0.35s ease;
}
.vpillar:hover { border-color: rgba(165,148,131,0.75); transform: translateY(-6px); background: rgba(255,255,255,0.085); }
.vpillar__top { display: flex; align-items: baseline; gap: 16px; margin-bottom: 26px; }
.vpillar__no { font-family: var(--font-serif); font-size: 44px; line-height: 1; color: var(--c-gold); }
.vpillar__top i { flex: 1; height: 1px; background: rgba(255,255,255,0.16); }
.vpillar__th { font-size: 26px; font-weight: var(--fw-bold); line-height: 1.28; margin-bottom: 8px; text-wrap: pretty; }
.vpillar__en { font-size: var(--fs-label); font-weight: var(--fw-semi); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-gold); margin-bottom: 30px; }
.vpillar__items { display: grid; gap: 24px; }
.vpillar__item { display: grid; gap: 7px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); }
.vpillar__k { font-size: 17px; font-weight: var(--fw-bold); color: #fff; line-height: 1.4; }
.vpillar__v { font-size: var(--fs-body-sm); line-height: 1.75; color: var(--c-text-4); text-wrap: pretty; }
.value-sec__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 44px; margin-top: 52px; padding-top: 38px; border-top: 1px solid var(--c-line-invert); }

/* --- 10.5 DesignSplit (ครีมซ้าย · ภาพขวา) ----------------------------- */
.dsplit { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); min-height: 640px; }
.dsplit__text { background: var(--c-bg-cream-2); padding: 90px 76px; display: flex; flex-direction: column; justify-content: center; }
.dsplit__media { position: relative; overflow: hidden; background: var(--c-bg-cream-3); }
.dsplit__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dsplit__person { display: flex; align-items: center; gap: 18px; margin-top: 32px; }
.dsplit__person img { flex: 0 0 auto; width: 96px; height: 110px; object-fit: cover; object-position: center 22%; border: 1px solid var(--c-line-2); background: #fff; }
.dsplit__name { font-size: var(--fs-meta); font-weight: var(--fw-bold); letter-spacing: 0.04em; margin-bottom: 5px; }

/* --- 10.5b DesignWall (พื้นดำ · แถบลายเลื่อน + แผงงานจริง) -------------
   .marquee / .marquee__track / .marquee__fade มาจาก components.css (Lot 1)
   ---------------------------------------------------------------------- */
.dw { background: var(--c-ink-deep); color: var(--c-text-invert); padding: 67px 0 56px; overflow: hidden; }
.dw__head { max-width: var(--wrap); margin: 0 auto 44px; padding: 0 48px; display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; flex-wrap: wrap; }
.dw__wrap { max-width: var(--wrap); margin: 52px auto 0; padding: 0 48px; }
.dw__panel { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); border: 1px solid var(--c-line-invert-2); }
.dw__media { position: relative; min-height: 460px; background: var(--c-ink); overflow: hidden; margin: 0; }
.dw__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: aritcoDwFade 15s linear infinite; }
.dw__text { padding: 44px 44px 46px; display: flex; flex-direction: column; justify-content: center; }
.dw__h3 { font-size: 29px; font-weight: var(--fw-bold); line-height: 1.24; letter-spacing: -0.01em; margin-bottom: 18px; max-width: 22ch; text-wrap: pretty; }
.dw .marquee { background: var(--c-ink-deep); }
.dw .t-body-sm { color: var(--c-text-4); }

/* --- 10.6 Awards ------------------------------------------------------- */
.award { display: flex; flex-direction: column; }
.award__media { position: relative; height: 220px; background: var(--c-bg-cream-3); }
.award__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.award__body { padding: 26px var(--sp-6) 30px; display: grid; gap: 10px; }
.award__meta { font-size: var(--fs-tag); font-weight: var(--fw-bold); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--c-gold); }
.award__title { font-size: 18px; font-weight: var(--fw-bold); line-height: 1.35; text-wrap: pretty; }

/* --- 10.7 Factory (ภาพเต็มพื้นหลัง) ----------------------------------- */
.factory { position: relative; background: var(--c-ink-deep); overflow: hidden; min-height: 520px; display: grid; align-items: end; }
.factory > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.factory__scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(12,12,12,0.8) 0%, rgba(12,12,12,0.56) 40%, rgba(12,12,12,0.86) 100%); }
.factory__body { position: relative; max-width: var(--wrap); margin-inline: auto; width: 100%; padding: var(--sp-16) var(--gutter) var(--sp-14); }

/* --- 10.8 Solution tiles (ทางเข้า 6 โจทย์บนหน้าแรก) ------------------- */
.soltiles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--hairline); background: var(--c-line); border: 1px solid var(--c-line); }
.soltile { background: var(--c-bg); padding: 30px var(--sp-6) 34px; display: grid; gap: 10px; align-content: start; }
.soltile:hover { background: var(--c-bg-zebra); }
.soltile__no { font-family: var(--font-serif); font-size: 30px; line-height: 1; color: var(--c-gold); }
.soltile__t { font-size: 19px; font-weight: var(--fw-bold); line-height: 1.35; }
.soltile__b { font-size: var(--fs-meta); line-height: 1.7; color: var(--c-text-3); text-wrap: pretty; }

/* --- 10.8b แกลเลอรีผลงานบนหน้าแรก: ตัวกรอง dropdown + ตัวนับ ---------- */
.gal-filters {
  background: var(--c-bg-cream); border: 1px solid var(--c-line);
  padding: 24px 28px; display: flex; align-items: center; gap: 20px 32px; flex-wrap: wrap; margin-bottom: 28px;
}
.gal-filters label { display: flex; align-items: center; gap: 14px; min-width: 0; }
.gal-filters label > span { font-size: var(--fs-eyebrow); font-weight: var(--fw-bold); letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.gal-filters select { font-size: var(--fs-meta); color: var(--c-ink); background: var(--c-bg); border: 1px solid #dcd6ce; padding: 13px 16px; min-width: 200px; }
.gal-count { display: flex; align-items: baseline; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; }
.gal-count__n { font-family: var(--font-serif); font-size: 30px; font-style: italic; color: var(--c-gold); }
.gal-count__l { font-size: var(--fs-caption); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-text-4); }
.gal-count a { font-size: var(--fs-eyebrow); font-weight: var(--fw-bold); letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 1px solid var(--c-gold); padding-bottom: 3px; }

/* --- 10.9 Why pillars (5 เสาหลัก) ------------------------------------- */
.wpillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--hairline); background: var(--c-line); border: 1px solid var(--c-line); }
.wpillar { background: var(--c-bg); padding: 34px var(--sp-8) 38px; }
.wpillar__num { font-family: var(--font-serif); font-size: 34px; line-height: 1; color: var(--c-gold); margin-bottom: var(--sp-4); }
.wpillar__t { font-size: 20px; font-weight: var(--fw-bold); line-height: 1.35; margin-bottom: var(--sp-4); text-wrap: pretty; }
.wpillar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wpillar li { font-size: var(--fs-body-sm); line-height: 1.75; color: var(--c-text-2); padding-left: 18px; position: relative; text-wrap: pretty; }
.wpillar li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; background: var(--c-gold); }

/* --- 10.10 Hilight cards (คลิปแนะนำบริษัท) --------------------------- */
.hilight { display: flex; flex-direction: column; color: var(--c-text); }
.hilight:hover { background: var(--c-bg-zebra); }
.hilight__media { position: relative; height: 230px; background: var(--c-bg-cream-3); overflow: hidden; }
.hilight__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hilight__body { padding: 24px var(--sp-6) 30px; display: grid; gap: 10px; }
.hilight__t { font-size: 19px; font-weight: var(--fw-bold); line-height: 1.4; }

/* --- 10.11 Press row -------------------------------------------------- */
.press-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--hairline); background: var(--c-line); border: 1px solid var(--c-line); }
.press { background: var(--c-bg); padding: 26px var(--sp-6); display: grid; gap: 8px; }
.press:hover { background: var(--c-bg-zebra); }
.press__n { font-size: var(--fs-caption); font-weight: var(--fw-bold); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; }
.press__note { font-size: var(--fs-meta); line-height: 1.65; color: var(--c-text-3); text-wrap: pretty; }

/* fact-row ยังใช้ในหน้าเคสฉบับเต็ม (BLOCK 1) */
.fact-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--sp-8); padding-top: var(--sp-8); margin-top: var(--sp-10); border-top: 1px solid var(--c-line-invert); }
.fact__n { font-size: 30px; font-weight: var(--fw-bold); letter-spacing: var(--ls-tight); }
.fact__l { font-size: var(--fs-meta); color: var(--c-text-invert-4); margin-top: 6px; line-height: 1.6; }

/* ==========================================================================
   11. PRICE
   ========================================================================== */
.tabs-row { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--c-line); margin-bottom: var(--sp-10); }
.tab-btn {
  border: 1px solid var(--c-line); border-bottom: none; background: var(--c-bg);
  font-size: var(--fs-caption); font-weight: var(--fw-semi); letter-spacing: 0.04em;
  padding: 15px 24px; color: var(--c-text-2); margin-bottom: -1px;
}
.tab-btn.is-on { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }

.price-table { border: 1px solid var(--c-line); }
.price-table__row { display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(0, 1fr)); }
.price-table__head { background: var(--c-bg-cream-2); border-bottom: 1px solid var(--c-line-2); }
.price-table__head > div { font-size: var(--fs-eyebrow); font-weight: var(--fw-bold); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-gold-ink); padding: 16px 20px; }
.price-table__row + .price-table__row { border-top: 1px solid var(--c-line); }
.price-table__row > div { padding: 20px; }
.price-table__model { font-size: var(--fs-body); font-weight: var(--fw-semi); }
.price-table__sub { font-size: var(--fs-caption); color: var(--c-text-4); margin-top: 4px; }
.price-table__v { font-size: var(--fs-body-sm); font-weight: var(--fw-medium); line-height: 1.6; }

.kv-box { border: 1px solid var(--c-line-2); background: var(--c-bg); }
.kv-box__h { font-size: var(--fs-eyebrow); font-weight: var(--fw-bold); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--c-gold); padding: 20px 26px 0; }
.kv-box__row { display: flex; justify-content: space-between; gap: var(--sp-6); padding: 16px 26px; border-bottom: 1px solid var(--c-line); font-size: var(--fs-body-sm); }
.kv-box__row:last-child { border-bottom: none; }
.kv-box__row b { font-weight: var(--fw-semi); white-space: nowrap; }

.list-check { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
.list-check li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--sp-3); font-size: var(--fs-body-sm); line-height: 1.7; color: var(--c-text-2); }
.list-check svg { width: 16px; height: 16px; margin-top: 5px; fill: var(--c-gold); }
.list-x svg { fill: var(--c-text-4); }

/* ==========================================================================
   12. ENTITY (/aritco-in-thailand/) — ตารางเกณฑ์ 3 คอลัมน์
   ห้ามเอ่ยชื่อคู่แข่ง — คอลัมน์ขวาเป็น "สิ่งที่ควรขอดูจากผู้ขายรายอื่น"
   ========================================================================== */
.crit-table { border: 1px solid var(--c-line); }
.crit-table__row { display: grid; grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1.5fr) minmax(0, 1.3fr); }
.crit-table__head { background: var(--c-ink); color: #fff; }
.crit-table__head > div { padding: 20px 24px; font-size: var(--fs-caption); font-weight: var(--fw-bold); letter-spacing: var(--ls-wide); text-transform: uppercase; }
.crit-table__head > div + div { border-left: 1px solid rgba(255,255,255,0.14); }
.crit-table__head .is-us { background: var(--c-gold-tint-strong); }
.crit-table__row + .crit-table__row { border-top: 1px solid var(--c-line); }
.crit-table__row:nth-child(even) { background: var(--c-bg-zebra); }
.crit-table__k { padding: 20px 24px; font-size: var(--fs-body-sm); font-weight: var(--fw-semi); color: var(--c-text-2); }
.crit-table__us { padding: 20px 24px; font-size: var(--fs-body-sm); line-height: 1.75; background: var(--c-gold-tint); border-left: 1px solid var(--c-line); text-wrap: pretty; }
.crit-table__ask { padding: 20px 24px; font-size: var(--fs-meta); line-height: 1.75; color: var(--c-text-3); border-left: 1px solid var(--c-line); text-wrap: pretty; }
.crit-table__label { display: none; }

.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--hairline); background: var(--c-line-invert); }
.step { background: var(--c-ink); padding: 30px var(--sp-6) 34px; }
.step__n { font-size: var(--fs-tag); font-weight: var(--fw-bold); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--c-gold); margin-bottom: var(--sp-3); }
.step__t { font-size: 18px; font-weight: var(--fw-bold); line-height: 1.35; margin-bottom: 10px; }

/* ==========================================================================
   13. DETAIL PAGE (solution detail · case detail)
   ========================================================================== */
.crumb { display: flex; gap: 10px; flex-wrap: wrap; font-size: var(--fs-caption); color: var(--c-text-4); margin-bottom: var(--sp-6); }
.crumb a { color: var(--c-text-3); }
.crumb span { color: var(--c-text-4); }

.detail-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; background: var(--c-ink-deep); }
.detail-hero__body { padding: var(--sp-20) var(--sp-16); color: var(--c-text-invert); }
.detail-hero__media { position: relative; min-height: 520px; background: #1a1a1a; }
.detail-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--hairline); background: var(--c-line); border: 1px solid var(--c-line); }
.pain { background: var(--c-bg); padding: 30px var(--sp-6) 34px; }
.pain__t { font-size: 18px; font-weight: var(--fw-bold); line-height: 1.4; margin-bottom: 10px; text-wrap: pretty; }
.pain--answer { background: var(--c-bg-cream-2); }
.pain--answer .pain__t { color: var(--c-ink); }
.pain__mark { font-size: var(--fs-tag); font-weight: var(--fw-bold); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--c-gold); margin-bottom: var(--sp-3); }

.spec-list { border-top: 1px solid var(--c-line); }
.spec-list__row { display: grid; grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1fr); gap: var(--sp-6); padding: 18px 0; border-bottom: 1px solid var(--c-line); }
.spec-list__k { font-size: var(--fs-meta); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--c-text-4); }
.spec-list__v { font-size: var(--fs-body-sm); line-height: 1.7; text-wrap: pretty; }

.gal-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--hairline); background: var(--c-line); }
.gal-2 figure { position: relative; height: 420px; overflow: hidden; background: var(--c-bg-cream-3); }
.gal-2 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gal-2 figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 22px; background: linear-gradient(to top, rgba(12,12,12,0.88), rgba(12,12,12,0)); font-size: var(--fs-caption); line-height: 1.65; color: var(--c-text-invert-2); }

.pullquote { font-family: var(--font-serif); font-style: italic; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.5; color: var(--c-ink); border-left: 2px solid var(--c-gold); padding-left: var(--sp-8); max-width: 66ch; text-wrap: pretty; }

.next-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--hairline); background: var(--c-line); border: 1px solid var(--c-line); }
.next-row a { background: var(--c-bg); padding: 26px var(--sp-6); display: grid; gap: 8px; }
.next-row a:hover { background: var(--c-bg-zebra); }
.next-row__k { font-size: var(--fs-tag); font-weight: var(--fw-bold); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--c-gold); }
.next-row__t { font-size: var(--fs-body); font-weight: var(--fw-semi); line-height: 1.45; }

/* ==========================================================================
   14. ARTICLE TEMPLATE
   ========================================================================== */
.article-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--sp-16); align-items: start; }
.toc { position: sticky; top: calc(76px + var(--sp-6)); border-left: 1px solid var(--c-line); padding-left: var(--sp-5); }
.toc__h { font-size: var(--fs-tag); font-weight: var(--fw-bold); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--c-gold); margin-bottom: var(--sp-4); }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.toc a { font-size: var(--fs-meta); line-height: 1.5; color: var(--c-text-3); }
.toc a.is-current { color: var(--c-ink); font-weight: var(--fw-semi); }

.prose { max-width: 78ch; }
.prose h2 { font-size: var(--fs-h3); font-weight: var(--fw-bold); line-height: 1.28; letter-spacing: -0.01em; margin: var(--sp-14) 0 var(--sp-5); text-wrap: pretty; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 17px; line-height: var(--lh-loose); color: var(--c-text-2); margin-bottom: var(--sp-5); text-wrap: pretty; }
.prose table { width: 100%; border-collapse: collapse; margin: var(--sp-6) 0; border: 1px solid var(--c-line); }
.prose th { background: var(--c-bg-cream-2); font-size: var(--fs-label); font-weight: var(--fw-bold); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--c-gold-ink); text-align: left; padding: 14px 16px; }
.prose td { font-size: var(--fs-body-sm); padding: 14px 16px; border-top: 1px solid var(--c-line); }
.prose tr:nth-child(even) td { background: var(--c-bg-zebra); }

.byline { display: flex; gap: var(--sp-4) var(--sp-6); flex-wrap: wrap; align-items: center; font-size: var(--fs-meta); color: var(--c-text-3); padding: var(--sp-5) 0; border-block: 1px solid var(--c-line); }
.takeaways { background: var(--c-bg-cream); padding: var(--sp-8) var(--sp-8) var(--sp-10); }
.takeaways ol { margin: 0; padding-left: 22px; display: grid; gap: 12px; }
.takeaways li { font-size: var(--fs-body-sm); line-height: 1.7; color: var(--c-text-2); }
.author-box { border: 1px solid var(--c-line); padding: var(--sp-6) var(--sp-8); }
.sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sources li { font-size: var(--fs-meta); color: var(--c-text-3); }

/* ==========================================================================
   15. RESPONSIVE
   ========================================================================== */

/* 15.1 ≤1279 — เมนูเต็มไม่พอกว้าง: ซ่อนเมนูหลัก ใช้ลิ้นชักแทน */
@media (max-width: 1279px) {
  .mainnav { display: none; }
  .burger { display: block; }
  .site-footer__inner { grid-template-columns: repeat(2, 1fr) 260px; }
  .article-layout { grid-template-columns: 220px minmax(0, 1fr); gap: var(--sp-10); }
}

/* 15.2 ≤1023 */
@media (max-width: 1023px) {
  .detail-hero { grid-template-columns: minmax(0, 1fr); }
  .detail-hero__body { padding: var(--sp-14) var(--gutter); }
  .detail-hero__media { min-height: 340px; order: -1; }
  .vpillars { grid-template-columns: minmax(0, 1fr); }
  .dsplit { grid-template-columns: minmax(0, 1fr); }
  .dsplit__text { padding: var(--sp-14) var(--gutter); }
  .dsplit__media { min-height: 380px; }
  .soltiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dw__panel { grid-template-columns: minmax(0, 1fr); }
  .dw__media { min-height: 340px; }
  .dw__head, .dw__wrap { padding-inline: var(--gutter); }
  .hero-rot { height: auto; min-height: 560px; }
  .hero__h1 { font-size: 36px; }
  .banner__body { font-size: 18px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; border-left: none; border-top: 1px solid var(--c-line); padding: var(--sp-5) 0 0; }
  .toc ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal-2 figure { height: 320px; }
  .price-table__row { grid-template-columns: minmax(160px, 1.2fr) repeat(3, minmax(0, 1fr)); }
  .price-table__row > div { padding: 16px; }
}

/* 15.3 ≤899 — ตารางเกณฑ์ยุบเป็นการ์ด (3 คอลัมน์อ่านไม่ได้บนจอแคบ) */
@media (max-width: 899px) {
  .crit-table__row { grid-template-columns: minmax(0, 1fr); }
  .crit-table__head { display: none; }
  .crit-table__row + .crit-table__row { border-top: 8px solid var(--c-bg-cream); }
  .crit-table__k { font-size: var(--fs-body); font-weight: var(--fw-bold); color: var(--c-ink); padding-bottom: 4px; }
  .crit-table__us, .crit-table__ask { border-left: none; padding-top: 10px; }
  .crit-table__label { display: block; font-size: var(--fs-tag); font-weight: var(--fw-bold); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--c-gold); margin-bottom: 6px; }
  .next-row { grid-template-columns: minmax(0, 1fr); }
}

/* 15.4 มือถือ <768 */
@media (max-width: 767px) {
  .site-header__inner { min-height: 72px; gap: var(--sp-4); padding: 0 var(--gutter); }
  .brand__logo { height: 38px; }
  .brand__seal { height: 40px; }
  .brand__div { height: 32px; }
  .brand { gap: 12px; padding: 10px 0; }
  .langsw { display: none; }                  /* เฟส 1 ยังไม่มีหน้า /en/ */
  .header-cta { padding: 13px 16px; font-size: var(--fs-tag); }
  .drawer { max-height: calc(100vh - 72px); }
  .site-footer { padding-inline: var(--gutter); }
  .site-footer__logo { height: 64px; }
  .site-footer__badge { height: 56px; }
  .site-footer__legal { flex-direction: column; align-items: flex-start; }

  .hero-rot { min-height: 520px; }
  .hero-rot__body { padding-bottom: var(--sp-8); }
  .hero__h1 { font-size: 30px; }
  .hero__body { font-size: 15px; }
  .banner { padding: var(--sp-8) var(--gutter) var(--sp-6); }
  .banner__eyebrow span { width: 28px; }
  .banner__body { font-size: 16px; }
  .stat-strip { padding: var(--sp-8) var(--sp-4); }
  .statx { flex-basis: 45%; padding: 10px 14px; }
  .vpillar { padding: var(--sp-8) var(--sp-6); }
  .soltiles { grid-template-columns: minmax(0, 1fr); }
  .gal-filters { padding: var(--sp-5); gap: var(--sp-4); }
  .gal-filters label { flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; }
  .gal-filters select { width: 100%; min-width: 0; }
  .factory { min-height: 420px; }
  .dw__text { padding: var(--sp-8) var(--sp-6); }
  .dw__h3 { font-size: 24px; }
  .award__media { height: 190px; }
  .fact__n { font-size: 26px; }

  .tabs-row { gap: 6px; }
  .tab-btn { padding: 12px 16px; }
  .price-table__row { grid-template-columns: minmax(0, 1fr); }
  .price-table__head { display: none; }
  .price-table__row + .price-table__row { border-top: 8px solid var(--c-bg-cream); }
  .price-table__row > div { padding: 8px 16px; }
  .price-table__row > div:first-child { padding-top: 16px; }
  .price-table__row > div:last-child { padding-bottom: 16px; }

  .gal-2 { grid-template-columns: minmax(0, 1fr); }
  .gal-2 figure { height: 260px; }
  .pullquote { padding-left: var(--sp-5); }
  .toc ul { grid-template-columns: minmax(0, 1fr); }
  .prose p { font-size: 16px; }
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); gap: var(--sp-8); padding-bottom: var(--sp-10); }
  .site-footer { padding-top: var(--sp-14); }
}

/* ==========================================================================
   16. KEYFRAMES ที่เพิ่มใน Lot 3 (ที่เหลืออยู่ใน base.css)
   ========================================================================== */
/* hero 6 ใบ: แต่ละใบสว่างอยู่ ~8 วินาทีในรอบ 48 วินาที (ค่าตามดีไซน์ต้นทาง) */
@keyframes aritcoHeroFade {
  0%      { opacity: 0; }
  4%      { opacity: 1; }
  14.5%   { opacity: 1; }
  18.5%   { opacity: 0; }
  100%    { opacity: 0; }
}

/* ภาพงานจริงใน DesignWall 3 ใบ: สว่างสลับกันทุก 5 วินาทีในรอบ 15 วินาที */
@keyframes aritcoDwFade {
  0%    { opacity: 1; }
  27%   { opacity: 1; }
  33%   { opacity: 0; }
  94%   { opacity: 0; }
  100%  { opacity: 1; }
}
