:root {
  --yellow: #ffc400;
  --yellow-2: #ffdd3c;
  --orange: #f5a300;
  --black: #0d0d0d;
  --dark: #161616;
  --navy: #0b1d3a;
  --line: #06b316;
  --fb: #1565d8;
  --text: #222;
  --muted: #555;
  --bg: #ffffff;
  --bg-soft: #f3f3f3;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Prompt', 'Kanit', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1280px, 100% - 32px); margin-inline: auto; }

/* ---------- Logo ---------- */
.logo { display: flex; align-items: center; gap: 8px; }
.logo img { width: 72px; height: 72px; border-radius: 50%; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong, .logo-text em {
  font-family: 'Kanit', sans-serif; font-style: italic; font-weight: 900;
  background: linear-gradient(180deg, #fff27a 0%, var(--yellow) 55%, var(--orange) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(2px 2px 0 #000);
}
.logo-text strong { font-size: 34px; letter-spacing: -.5px; }
.logo-text em { font-size: 19px; margin-top: 4px; text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #050505; border-bottom: 2px solid #222; transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.6); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > a, .has-sub > a { font-family: 'Kanit'; font-weight: 500; color: #fff; padding: 6px 16px; border-radius: 4px; font-size: 16px; transition: .2s; display: inline-flex; gap: 6px; align-items: center; }
.main-nav a i { font-size: 10px; }
.main-nav > a:hover, .has-sub > a:hover { color: var(--yellow); }
.main-nav > a.active { background: var(--yellow); color: #000; font-weight: 700; }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: 0; min-width: 210px; background: #111; border-top: 3px solid var(--yellow); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; box-shadow: 0 10px 25px rgba(0,0,0,.5); }
.sub a { display: block; padding: 8px 18px; color: #ddd; font-size: 15px; }
.sub a:hover { background: var(--yellow); color: #000; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav-toggle { display: none; background: var(--yellow); border: 0; width: 44px; height: 44px; border-radius: 6px; font-size: 20px; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: 'Kanit'; font-weight: 700; border-radius: 14px; padding: 10px 22px; transition: transform .2s, box-shadow .2s; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(0,0,0,.35); line-height: 1.1; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.45); }
.btn i { font-size: 30px; }
.btn small { display: block; font-size: 14px; font-weight: 500; }
.btn-call { background: linear-gradient(180deg, var(--yellow-2), var(--yellow)); color: #000; font-size: 26px; border-color: #fff3b0; }
.btn-line { background: linear-gradient(180deg, #19c62a, #069b13); color: #fff; font-size: 21px; }
.btn-fb { background: linear-gradient(180deg, #2a7cf0, #0d4fbf); color: #fff; font-size: 21px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: url('../img/hero.jpg') center right / cover no-repeat; min-height: 600px; display: flex; align-items: center; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,15,35,.88) 0%, rgba(5,15,35,.6) 40%, rgba(0,0,0,0) 65%); }
.hero-inner { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "text badge" "cta cta"; padding: 50px 0 34px; gap: 20px; }
.hero-text { grid-area: text; }
.hero h1 { font-family: 'Kanit'; font-style: italic; font-weight: 900; line-height: 1.05; font-size: clamp(40px, 6.2vw, 78px); }
.hero h1 span { display: block; filter: drop-shadow(3px 4px 0 rgba(0,0,0,.85)); }
.hero h1 .yellow { background: linear-gradient(180deg, #fff27a, var(--yellow) 60%, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .white { background: linear-gradient(180deg, #fff, #cfd6e0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-ribbon { display: inline-block; margin: 14px 0 18px; background: var(--yellow); color: #000; font-family: 'Kanit'; font-style: italic; font-weight: 800; font-size: clamp(18px, 2.3vw, 26px); padding: 6px 40px 6px 22px; clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%); }
.check-list { list-style: none; display: grid; gap: 6px; }
.check-list li { position: relative; padding-left: 34px; font-size: 19px; font-family: 'Kanit'; font-weight: 400; text-shadow: 0 2px 4px rgba(0,0,0,.6); }
.check-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); color: #000; font-size: 13px; display: grid; place-items: center; }
.check-list.dark li { text-shadow: none; font-size: 16px; color: #111; }
.check-list.dark li::before { background: #111; color: var(--yellow); width: 20px; height: 20px; font-size: 11px; top: 3px; }
.hero-badge { grid-area: badge; align-self: end; justify-self: end; margin-right: 40px; background: rgba(11,29,58,.82); border: 2px solid var(--yellow); border-radius: 16px; padding: 18px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; transform: rotate(-3deg); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.hero-badge strong { font-family: 'Kanit'; font-style: italic; font-weight: 900; color: var(--yellow); font-size: 26px; line-height: 1; }
.hero-badge em { font-family: 'Kanit'; font-style: italic; font-weight: 700; color: var(--yellow); }
.hero-badge span { font-family: 'Kanit'; font-weight: 700; font-size: 22px; color: var(--yellow); }
.hero-cta { grid-area: cta; display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Features ---------- */
.features { background: #070707; color: #fff; border-top: 3px solid var(--yellow); }
.features-inner { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.feat { display: flex; align-items: center; gap: 14px; padding: 18px 14px; border-right: 1px solid #333; }
.feat:last-child { border-right: 0; }
.feat i { font-size: 36px; color: var(--yellow); flex: none; }
.feat b { display: block; font-family: 'Kanit'; font-size: 17px; font-weight: 600; }
.feat span { font-size: 13px; color: #bbb; display: block; line-height: 1.35; }

/* ---------- Section titles ---------- */
.title-center, .title-left { font-family: 'Kanit'; font-style: italic; font-weight: 900; color: #111; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.2; }
.title-center { display: flex; justify-content: center; align-items: center; gap: 18px; text-align: center; }
.slash { width: 80px; height: 16px; flex: none; background: repeating-linear-gradient(-60deg, var(--yellow) 0 18px, transparent 18px 26px); }
.stripes { display: inline-block; vertical-align: middle; width: 70px; height: 16px; background: repeating-linear-gradient(-60deg, var(--yellow) 0 18px, transparent 18px 26px); }
.subtitle { text-align: center; font-family: 'Kanit'; font-size: 18px; color: #222; margin: 4px 0 26px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1.05fr 0.95fr; align-items: center; gap: 30px; background: linear-gradient(180deg, #fff, #f1f1f1); padding: 0 0 0 0; }
.about-img { align-self: stretch; clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); }
.about-img img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.about-text { padding: 30px 0; }
.about-text p { margin-top: 12px; font-size: 16px; color: #333; }
.why { align-self: stretch; background: linear-gradient(135deg, var(--yellow-2), var(--yellow) 60%, var(--orange)); padding: 30px 32px 30px 48px; clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.why::after { content: ''; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; background: radial-gradient(circle, rgba(255,255,255,.75), rgba(255,180,0,0) 60%); }
.why h3 { font-family: 'Kanit'; font-style: italic; font-weight: 900; font-size: 27px; color: #111; margin-bottom: 10px; }

/* ---------- Services ---------- */
.services { padding: 60px 0 40px; background: #f7f7f7; }
.service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.service-card { position: relative; border-radius: 8px; overflow: hidden; background: #000; box-shadow: 0 6px 16px rgba(0,0,0,.18); aspect-ratio: 4 / 4; }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover img { transform: scale(1.08); }
.service-label { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.88); color: #fff; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-top: 3px solid var(--yellow); }
.service-label i { color: var(--yellow); font-size: 24px; flex: none; }
.service-label b { display: block; font-family: 'Kanit'; font-size: 15px; font-weight: 600; line-height: 1.2; }
.service-label span { font-size: 12px; color: #ccc; }

/* ---------- Works ---------- */
.works { padding: 30px 0 40px; background: #f7f7f7; }
.work-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 16px 0 24px; }
.tab { font-family: 'Kanit'; font-size: 15px; padding: 6px 22px; border-radius: 999px; border: 1px solid #ccc; background: #fff; cursor: pointer; transition: .2s; color: #222; }
.tab:hover { border-color: var(--yellow); }
.tab.active { background: var(--yellow); border-color: var(--yellow); font-weight: 600; }
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; }
.work { grid-column: span 2; position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.work.big { grid-column: span 3; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.work:hover img { transform: scale(1.08); }
.work figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 8px; background: linear-gradient(transparent, rgba(0,0,0,.85)); color: #fff; font-family: 'Kanit'; font-size: 14px; opacity: 0; transform: translateY(10px); transition: .3s; }
.work:hover figcaption { opacity: 1; transform: none; }
.work.hide { display: none; }

/* ---------- Steps + Area ---------- */
.steps-area { background: #fff; padding: 20px 0 0; overflow: hidden; }
.steps-area-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: stretch; }
.steps h3, .area h3 { font-family: 'Kanit'; font-style: italic; font-weight: 800; font-size: 22px; color: #111; }
.steps ol { list-style: none; display: flex; justify-content: space-between; gap: 6px; margin: 16px 0 24px; }
.steps li { flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; position: relative; font-size: 13px; }
.steps li:not(:last-child)::after { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: -8px; top: 14px; font-size: 20px; color: #222; }
.steps li i { width: 50px; height: 50px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--yellow-2), var(--orange)); display: grid; place-items: center; font-size: 22px; color: #111; margin-bottom: 8px; box-shadow: 0 4px 10px rgba(245,163,0,.4); }
.steps li b { font-family: 'Kanit'; font-weight: 600; font-size: 14px; }
.steps li span { color: #444; }
.area { border-left: 2px solid #ddd; padding: 0 0 0 30px; background: linear-gradient(90deg, #fff 30%, rgba(255,255,255,.2)), url('../img/city.jpg') right bottom / cover no-repeat; min-height: 140px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.area h3 i { color: var(--yellow); -webkit-text-stroke: 1px #000; font-size: 26px; }
.area-pill { align-self: flex-start; background: linear-gradient(180deg, var(--yellow-2), var(--yellow)); font-family: 'Kanit'; font-style: italic; font-weight: 900; font-size: clamp(20px, 2.4vw, 28px); padding: 8px 26px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,.25); }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(90deg, rgba(0,0,0,.92) 35%, rgba(0,0,0,.6)), url('../img/hero.jpg') center / cover; color: #fff; padding: 28px 0; border-top: 3px solid var(--yellow); }
.cta-inner { display: flex; align-items: center; gap: 30px; }
.cta .logo { padding-right: 30px; border-right: 2px solid #555; }
.logo-lg img { width: 96px; height: 96px; }
.logo-lg .logo-text strong { font-size: 42px; }
.logo-lg .logo-text em { font-size: 24px; }
.cta-body h2 { font-family: 'Kanit'; font-style: italic; font-weight: 900; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.15; color: #fff; }
.cta-body h2 span { display: block; color: var(--yellow); }
.cta-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; }
.cta-btns .btn { font-size: 21px; padding: 8px 22px; border-radius: 999px; }
.cta-btns .btn i { font-size: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: #0a0a0a; color: #ddd; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: auto 1.2fr 1.2fr 1.3fr; gap: 30px; padding: 26px 0; align-items: start; }
.footer-inner > div, .f-about { padding-left: 24px; border-left: 1px solid #333; }
.footer-inner > .f-brand { border: 0; padding: 0; }
.logo-text-only img { display: none; }
.f-about { align-self: center; }
.site-footer h4 { font-family: 'Kanit'; color: var(--yellow); font-size: 16px; margin-bottom: 6px; }
.f-contact a { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; word-break: break-all; }
.f-contact i { width: 18px; color: #fff; }
.f-menu .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 30px; }
.site-footer a:hover { color: var(--yellow); }
.copy { text-align: center; padding: 12px 16px 80px; border-top: 1px solid #222; color: #888; font-size: 13px; }

/* ---------- Floating buttons ---------- */
.float-btns { position: fixed; right: 18px; bottom: 22px; z-index: 100; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fb-btn { position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 26px; box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: transform .2s; border: 3px solid #fff; }
.fb-btn:hover { transform: scale(1.1); }
.fb-btn span { position: absolute; right: 70px; white-space: nowrap; background: #111; color: #fff; font-family: 'Kanit'; font-size: 14px; padding: 4px 12px; border-radius: 6px; opacity: 0; pointer-events: none; transition: .2s; }
.fb-btn:hover span { opacity: 1; }
.f-call { background: var(--yellow); color: #000; animation: ring 1.6s infinite; }
.f-call::before { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--yellow); animation: pulse 1.6s infinite; }
.f-line { background: var(--line); font-size: 32px; }
.f-fb { background: var(--fb); }
.f-top { width: 46px; height: 46px; font-size: 18px; background: #222; opacity: 0; visibility: hidden; transition: .3s; }
.f-top.show { opacity: 1; visibility: visible; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
@keyframes ring { 0%, 50%, 100% { rotate: 0deg; } 10%, 30% { rotate: -14deg; } 20%, 40% { rotate: 14deg; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .features-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feat:nth-child(3) { border-right: 0; }
  .about { grid-template-columns: 1fr 1fr; }
  .why { grid-column: 1 / -1; clip-path: none; padding: 30px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > div, .f-about { border: 0; padding: 0; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #0a0a0a; flex-direction: column; align-items: stretch; padding: 10px 16px 20px; gap: 2px; display: none; border-top: 2px solid var(--yellow); }
  .main-nav.open { display: flex; }
  .main-nav > a, .has-sub > a { padding: 10px 12px; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; background: #151515; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .main-nav a i { display: none; }
  .hero-inner { grid-template-columns: 1fr; grid-template-areas: "text" "cta"; }
  .hero-badge { display: none; }
  .hero-cta { justify-content: flex-start; }
  .hero::before { background: linear-gradient(90deg, rgba(5,15,35,.9), rgba(5,15,35,.55)); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work, .work.big { grid-column: span 1; }
  .work figcaption { opacity: 1; transform: none; }
  .steps-area-inner { grid-template-columns: 1fr; }
  .area { border-left: 0; padding: 20px 0 30px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta .logo { border: 0; padding: 0; }
  .cta-btns { justify-content: center; }
}
@media (max-width: 600px) {
  .logo img { width: 54px; height: 54px; }
  .logo-text strong { font-size: 26px; }
  .logo-text em { font-size: 15px; }
  .hero { min-height: 0; }
  .check-list li { font-size: 16px; }
  .btn { font-size: 20px; padding: 8px 16px; }
  .btn-line, .btn-fb { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .features-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat { padding: 14px 8px; gap: 10px; }
  .feat i { font-size: 28px; }
  .feat b { font-size: 15px; }
  .feat { border-right: 0; border-bottom: 1px solid #222; }
  .about { grid-template-columns: 1fr; gap: 0; }
  .about-img { clip-path: none; }
  .about-text { padding: 24px 16px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .title-center { gap: 10px; }
  .slash { width: 40px; }
  .steps ol { flex-wrap: wrap; justify-content: center; }
  .steps li { flex: 0 0 30%; margin-bottom: 10px; }
  .steps li::after { display: none; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-inner .logo { justify-content: center; }
  .f-contact a { justify-content: center; }
  .f-menu .cols { justify-items: center; }
  .service-card { aspect-ratio: 4 / 5; }
  .service-label { padding: 8px; gap: 8px; }
  .service-label i { font-size: 18px; }
  .service-label b { font-size: 14px; }
  .service-label span { font-size: 11px; line-height: 1.3; display: block; }
  .logo-lg img { width: 64px; height: 64px; }
  .logo-lg .logo-text strong { font-size: 32px; }
  .logo-lg .logo-text em { font-size: 18px; }
  .cta-btns .btn { flex: 1 1 100%; justify-content: center; font-size: 19px; }
  .hero-ribbon { padding: 6px 22px 6px 16px; }

  /* ปุ่มลอยบนมือถือ: เป็นแถบล่างเต็มความกว้าง ไม่บังเนื้อหา */
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .copy { padding-bottom: 16px; }
  .float-btns { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; align-items: stretch; padding-bottom: env(safe-area-inset-bottom); background: #000; box-shadow: 0 -4px 14px rgba(0,0,0,.35); }
  .fb-btn { flex: 1; width: auto; height: 58px; border-radius: 0; border: 0; box-shadow: none; display: flex; justify-content: center; gap: 8px; font-size: 20px; animation: none; }
  .fb-btn:hover { transform: none; }
  .fb-btn span { position: static; opacity: 1; background: none; padding: 0; color: inherit; font-size: 15px; font-weight: 600; }
  .f-call::before { display: none; }
  .f-call i { animation: ring 1.6s infinite; }
  .f-line { font-size: 24px; }
  .f-top { position: fixed; right: 12px; bottom: calc(70px + env(safe-area-inset-bottom)); flex: none; width: 42px; height: 42px; border-radius: 50%; border: 2px solid #fff; font-size: 16px; }
}
@media (max-width: 360px) {
  .logo-text strong { font-size: 22px; }
  .logo-text em { font-size: 13px; }
  .logo img { width: 46px; height: 46px; }
  .fb-btn span { font-size: 13px; }
  .feat b { font-size: 14px; }
  .feat span { font-size: 12px; }
}

/* =====================================================
   หน้าย่อย (Multi-page)
   ===================================================== */
.has-sub > a.active { background: var(--yellow); color: #000; font-weight: 700; }

/* Page banner */
.page-banner { position: relative; isolation: isolate; color: #fff; padding: 56px 0 50px; background: url('../img/hero.jpg') center 30% / cover no-repeat; border-bottom: 4px solid var(--yellow); overflow: hidden; }
.page-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,12,28,.94) 0%, rgba(5,12,28,.78) 55%, rgba(5,12,28,.45)); }
.page-banner::after { content: ''; position: absolute; right: -40px; bottom: 0; width: 260px; height: 18px; background: repeating-linear-gradient(-60deg, var(--yellow) 0 22px, transparent 22px 34px); }
.page-banner h1 { font-family: 'Kanit'; font-style: italic; font-weight: 900; font-size: clamp(32px, 5vw, 56px); line-height: 1.15; background: linear-gradient(180deg, #fff27a, var(--yellow) 60%, var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(2px 3px 0 rgba(0,0,0,.8)); max-width: 900px; }
.page-banner p { font-size: clamp(16px, 2vw, 20px); color: #e6e6e6; margin-top: 6px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: #bbb; margin-bottom: 10px; }
.crumbs i.fa-chevron-right { font-size: 10px; color: var(--yellow); }
.crumbs a:hover { color: var(--yellow); }
.crumbs span { color: #fff; }

/* Generic blocks */
.block { padding: 70px 0; background: #fff; }
.block-soft { background: #f5f5f5; }
.block-dark { background: #0c0c0c; color: #fff; }
.title-center.light { color: #fff; margin-bottom: 34px; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.split.reverse .split-img { order: 2; }
.split-img { position: relative; }
.split-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.framed::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 4px solid var(--yellow); border-radius: 12px; z-index: 0; }
.framed img { position: relative; z-index: 1; box-shadow: 0 14px 34px rgba(0,0,0,.22); }
.split.reverse .framed::before { inset: 18px 18px -18px -18px; }
.split-img .num { position: absolute; z-index: 2; left: -14px; top: -18px; font-family: 'Kanit'; font-style: italic; font-weight: 900; font-size: 54px; line-height: 1; color: var(--yellow); -webkit-text-stroke: 2px #000; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: 'Kanit'; font-weight: 600; font-size: 14px; letter-spacing: .5px; color: #000; background: var(--yellow); padding: 3px 14px; border-radius: 999px; margin-bottom: 10px; }
.split-text .title-left { margin-bottom: 12px; }
.lead { font-size: 18px; color: #222; margin-bottom: 12px; }
.split-text p { margin-bottom: 14px; color: #444; }
.split-text .check-list { margin: 6px 0 22px; }
.check-list.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.btn-sm { font-size: 18px; padding: 8px 20px; border-radius: 999px; border-width: 2px; }
.btn-sm i { font-size: 18px; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; font-family: 'Kanit'; font-weight: 600; padding: 8px 22px; border: 2px solid #111; border-radius: 999px; color: #111; transition: .2s; }
.btn-outline:hover { background: #111; color: var(--yellow); }
.btn-outline.full { width: 100%; justify-content: center; margin-top: 10px; }
.row-btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.link-more { display: inline-flex; gap: 8px; align-items: center; margin-top: 12px; font-family: 'Kanit'; font-weight: 600; color: #111; border-bottom: 3px solid var(--yellow); }
.link-more:hover { color: var(--orange); }
.center-btn { text-align: center; margin-top: 26px; }

/* About values */
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.value { background: #161616; border: 1px solid #2a2a2a; border-top: 4px solid var(--yellow); border-radius: 10px; padding: 28px 22px; text-align: center; transition: transform .25s; }
.value:hover { transform: translateY(-6px); }
.value i { font-size: 40px; color: var(--yellow); margin-bottom: 12px; }
.value h3 { font-family: 'Kanit'; font-size: 20px; margin-bottom: 6px; }
.value p { color: #bbb; font-size: 15px; }
.why-card { background: linear-gradient(135deg, var(--yellow-2), var(--yellow) 60%, var(--orange)); padding: 36px; border-radius: 12px; box-shadow: 0 14px 34px rgba(245,163,0,.3); }
.why-card h2 { font-family: 'Kanit'; font-style: italic; font-weight: 900; font-size: 32px; margin-bottom: 14px; color: #111; }
.why-card .check-list li { font-size: 18px; }

/* Services page */
.service-jump { background: #111; border-bottom: 1px solid #222; }
.service-jump .container { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.service-jump a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px; color: #ddd; font-family: 'Kanit'; font-size: 15px; text-align: center; border-right: 1px solid #222; transition: .2s; }
.service-jump a:last-child { border-right: 0; }
.service-jump a i { font-size: 26px; color: var(--yellow); }
.service-jump a:hover { background: var(--yellow); color: #000; }
.service-jump a:hover i { color: #000; }
.service-row.alt { background: #f5f5f5; }

/* Works page + lightbox */
.works-page { padding: 50px 0 70px; }
.work-grid.zoomable .work { cursor: zoom-in; }
.zoom-ico { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: #000; display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: .25s; }
.work:hover .zoom-ico { opacity: 1; transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; padding: 20px 70px; }
.lightbox.open { display: flex; }
.lightbox figure { max-width: 1100px; width: 100%; text-align: center; }
.lightbox img { max-width: 100%; max-height: 78vh; margin: 0 auto; border-radius: 6px; object-fit: contain; }
.lb-cap { color: #fff; font-family: 'Kanit'; font-size: 18px; margin-top: 12px; }
.lightbox button { position: absolute; border: 0; cursor: pointer; width: 50px; height: 50px; border-radius: 50%; background: var(--yellow); color: #000; font-size: 22px; display: grid; place-items: center; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; translate: 0 -50%; }
.lb-next { right: 12px; top: 50%; translate: 0 -50%; }

/* Articles */
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.article-card { display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.1); transition: transform .25s, box-shadow .25s; }
.article-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0,0,0,.16); }
.ac-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.ac-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.article-card:hover .ac-img img { transform: scale(1.06); }
.ac-tag { position: absolute; left: 12px; top: 12px; background: var(--yellow); color: #000; font-family: 'Kanit'; font-weight: 600; font-size: 13px; padding: 2px 12px; border-radius: 999px; }
.ac-tag.static { position: static; display: inline-block; margin: 18px 0 6px; }
.ac-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.ac-body h3 { font-family: 'Kanit'; font-size: 19px; line-height: 1.35; color: #111; margin-bottom: 8px; }
.ac-body p { color: #555; font-size: 15px; flex: 1; }
.ac-more { margin-top: 12px; font-family: 'Kanit'; font-weight: 600; color: #111; display: inline-flex; gap: 6px; align-items: center; }
.article-card:hover .ac-more { color: var(--orange); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.article-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.article-body { font-size: 17px; color: #333; }
.article-body p { margin: 0 0 16px; }
.article-body h3 { font-family: 'Kanit'; font-size: 24px; color: #111; margin: 26px 0 10px; padding-left: 14px; border-left: 5px solid var(--yellow); }
.article-body ul { margin: 0 0 16px 22px; display: grid; gap: 6px; }
.article-body li::marker { color: var(--orange); }
.article-cta { margin-top: 30px; padding: 20px 24px; border-radius: 12px; background: #111; color: #fff; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.article-side { position: sticky; top: 96px; background: #f5f5f5; border-radius: 12px; padding: 20px; }
.article-side h3 { font-family: 'Kanit'; font-style: italic; font-weight: 800; font-size: 20px; margin-bottom: 12px; }
.side-item { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #ddd; font-family: 'Kanit'; font-size: 15px; line-height: 1.35; }
.side-item img { width: 84px; height: 62px; object-fit: cover; border-radius: 6px; }
.side-item:hover { color: var(--orange); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact-card { border-radius: 14px; padding: 34px 20px; text-align: center; color: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.18); transition: transform .25s; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.contact-card:hover { transform: translateY(-6px); }
.contact-card i { width: 74px; height: 74px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 34px; margin-bottom: 8px; }
.contact-card h3 { font-family: 'Kanit'; font-size: 22px; }
.contact-card p { font-family: 'Kanit'; font-weight: 700; font-size: 24px; }
.contact-card span { font-size: 14px; opacity: .85; }
.c-call { background: linear-gradient(135deg, var(--yellow-2), var(--orange)); color: #000; }
.c-call i { background: rgba(0,0,0,.1); }
.c-line { background: linear-gradient(135deg, #19c62a, #058a10); }
.c-fb { background: linear-gradient(135deg, #2a7cf0, #0b45a8); }
.area-card { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.area-card img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.area-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; }
.area-card-body h3 { font-family: 'Kanit'; font-style: italic; font-weight: 800; font-size: 22px; }
.area-card-body h3 i { color: var(--orange); }
.area-card-body p { color: #555; }

@media (max-width: 1100px) {
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; }
}
@media (max-width: 900px) {
  .block { padding: 50px 0; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split.reverse .split-img { order: 0; }
  .split-img { margin-right: 18px; }
  .split.reverse .split-img { margin: 0 0 0 18px; }
  .service-jump .container { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-jump a:nth-child(3) { border-right: 0; }
  .service-jump a { border-bottom: 1px solid #222; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-side { position: static; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .contact-card { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 16px; row-gap: 0; align-items: center; text-align: left; padding: 18px 20px; }
  .contact-card i { grid-row: 1 / 4; width: 58px; height: 58px; font-size: 26px; margin: 0; }
  .contact-card h3 { font-size: 18px; }
  .contact-card p { font-size: 20px; }
}
@media (max-width: 600px) {
  .page-banner { padding: 34px 0 32px; }
  .page-banner::after { width: 140px; height: 12px; }
  .block { padding: 40px 0; }
  .lead { font-size: 16px; }
  .check-list.two-col { grid-template-columns: minmax(0, 1fr); }
  .framed::before { inset: 10px -10px -10px 10px; border-width: 3px; }
  .split.reverse .framed::before { inset: 10px 10px -10px -10px; }
  .split-img { margin-right: 10px; }
  .split.reverse .split-img { margin: 0 0 0 10px; }
  .split-img .num { font-size: 40px; left: -6px; top: -14px; }
  .value-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .value { padding: 22px 18px; }
  .why-card { padding: 24px 20px; }
  .why-card h2 { font-size: 26px; }
  .why-card .check-list li { font-size: 16px; }
  .service-jump .container { width: 100%; }
  .service-jump a { font-size: 13px; padding: 12px 4px; }
  .service-jump a i { font-size: 22px; }
  .article-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .article-body { font-size: 16px; }
  .article-body h3 { font-size: 20px; }
  .article-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .article-cta .btn { justify-content: center; }
  .row-btns .btn, .row-btns .btn-outline { flex: 1 1 auto; justify-content: center; }
  .lightbox { padding: 60px 10px 90px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; translate: none; }
  .lb-prev { left: calc(50% - 62px); }
  .lb-next { right: calc(50% - 62px); }
}

/* ตารางผลงานขนาดเท่ากัน (หน้าผลงาน และตอนกรองหมวด) */
.works-page .work-grid, .work-grid.filtered { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.works-page .work, .works-page .work.big, .work-grid.filtered .work, .work-grid.filtered .work.big { grid-column: auto; }
@media (max-width: 900px) {
  .works-page .work-grid, .work-grid.filtered { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
