/* header เดียวกับหน้าแรก (landing.css) — scope ด้วย #landing-header เพื่อไม่ชนกับ site.css */
#landing-header { --blue: #2999c9; --font-body: Sarabun, Tahoma, Verdana, sans-serif; position: sticky; top: 0; z-index: 50; font-family: var(--font-body); }
#landing-header * { box-sizing: border-box; }
#landing-header a { text-decoration: none; }
#landing-header .header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  min-height: 68px;
  padding: 0 max(24px, calc((100% - 1200px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid #edf1f3;
  background: #eef0f3;
}
#landing-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
#landing-header .wordmark b { font-weight: 700; }
#landing-header .wordmark {
  letter-spacing: -0.04em;
  color: var(--blue);
  font-family: var(--font-body, Sarabun, Tahoma, Verdana, sans-serif);
  font-size: 23px;
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
}
#landing-header .brandMark {
  width: 36px;
  height: 36px;
  flex: none;
  color: var(--blue);
}
#landing-header .headerActions {
  display: flex;
  align-items: center;
  gap: 25px;
}
#landing-header .loginLink {
  color: #465b68;
  font-size: 15px;
  white-space: nowrap;
}
#landing-header .loginLink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
#landing-header .loginLink svg { color: var(--blue); flex: none; }
#landing-header .loginLink:hover { color: var(--blue); }
#landing-header .headerCta { background: var(--blue); }
#landing-header .headerCta:hover { background: #2185b2; transform: translateY(-1px); }
@media (max-width: 980px) { #landing-header .header { gap: 14px; } #landing-header .nav { gap: 16px; } #landing-header .headerActions { gap: 14px; } #landing-header .headerCta { padding: 0 18px; min-height: 44px; } }
@media (max-width: 760px) { #landing-header .nav { display: none; } #landing-header .loginLink span { display: none; } #landing-header .wordmark { font-size: 19px; } }
@media (max-width: 480px) { #landing-header .header { min-height: 58px; padding: 0 12px; gap: 8px; } #landing-header .wordmark { font-size: 15px; } #landing-header .brandMark { width: 28px; height: 28px; } #landing-header .headerCta { display: none; } }
/* กัน site.css ทับ: เมนูหลัก/ปุ่มสมัครต้องหน้าตาเหมือนหน้าแรก */
#landing-header .nav { position: static; background: none; border: 0; padding: 0; height: auto; box-shadow: none; display: flex; align-items: center; gap: 25px; }
#landing-header .nav a { display: inline; padding: 0; background: none; color: #465b68; font-size: 15px; white-space: nowrap; }
#landing-header .nav a:hover { color: var(--blue); }
#landing-header .loginLink { color: #465b68; }
#landing-header .headerCta { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 6px; background: var(--blue); color: #fff; font-size: 16px; font-weight: 600; white-space: nowrap; }
#landing-header .headerCta:hover { background: #2185b2; }
#landing-header a:hover { text-decoration: none; }

/* footer เดียวกับหน้าแรก — scope ด้วย #landing-footer */
#landing-footer { font-family: Sarabun, Tahoma, Verdana, sans-serif; }
#landing-footer * { box-sizing: border-box; }
#landing-footer a { color: inherit; text-decoration: none; }
#landing-footer .footer { padding: 0 max(24px, calc((100% - 1120px) / 2)); background: linear-gradient(160deg, #4f9fc8, #62b1d8 60%, #86cbe8); color: #fff; }
#landing-footer .footerMain { padding: 16px 0 8px; display: flex; justify-content: flex-start; align-items: flex-start; gap: 40px; }
#landing-footer .footerContact { max-width: 440px; display: flex; flex-direction: column; gap: 4px; font-style: normal; font-size: 14px; line-height: 1.35; }
#landing-footer .footerContact > b { font-size: 15px; font-weight: 600; line-height: 1.3; }
#landing-footer .contactRow { display: flex; align-items: flex-start; gap: 10px; color: #fff; }
#landing-footer .contactRow { gap: 8px; }
#landing-footer .contactRow svg { flex: none; width: 16px; height: 16px; margin-top: 2px; }
#landing-footer a.contactRow:hover { text-decoration: underline; }
#landing-footer .footerCopy { padding: 10px max(24px, calc((100% - 1120px) / 2)); background: #eef0f3; color: #000; font-size: 12.5px; line-height: 1.5; }
#landing-footer address, #landing-footer p { margin: 0; }
@media (max-width: 760px) { #landing-footer .footer { padding: 0 18px; } #landing-footer .footerMain { flex-direction: column; gap: 8px; padding: 14px 0 6px; } #landing-footer .footerCopy { padding: 10px 18px; } }

/* ปุ่มโทรติดต่อฝ่ายขาย (เหมือนหน้าแรก) */
#landing-header .headerActions { display: flex; align-items: center; gap: 25px; }
#landing-header .phoneChip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 12px; background: #fff; box-shadow: 0 4px 16px rgba(31, 55, 70, 0.12); color: #465b68; font-size: 15px; white-space: nowrap; }
#landing-header .phoneChip svg { color: #22a85a; flex: none; }
#landing-header .phoneChip b { font-weight: 500; }
#landing-header .phoneChip:hover { color: var(--blue); }
@media (max-width: 980px) { #landing-header .phoneChip span { display: none; } #landing-header .phoneChip { padding: 10px; background: #22a85a; box-shadow: 0 4px 12px rgba(34, 168, 90, 0.35); } #landing-header .phoneChip svg { color: #fff; } #landing-header .phoneChip:hover { background: #1b9250; color: #fff; } }
@media (max-width: 480px) { #landing-header .phoneChip { padding: 8px; } }

#landing-header .phoneChip.fbChip svg { color: #1877f2; }
@media (max-width: 980px) {
  #landing-header .phoneChip.fbChip svg { color: #fff; }
  #landing-header .phoneChip.fbChip { background: #1877f2; box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35); }
  #landing-header .phoneChip.fbChip:hover { background: #1466d1; color: #fff; }
}

#landing-header .phoneChip.lineChip svg { color: #06c755; }
@media (max-width: 980px) {
  #landing-header .phoneChip.lineChip svg { color: #fff; }
  #landing-header .phoneChip.lineChip { background: #06c755; box-shadow: 0 4px 12px rgba(6, 199, 85, 0.35); }
  #landing-header .phoneChip.lineChip:hover { background: #05a647; color: #fff; }
}

/* เมนูหลักอยู่กึ่งกลางหน้าจอ (จอกว้างพอ) — chip Facebook/LINE เหลือแค่ไอคอนเพื่อให้พอที่ */
@media (min-width: 1600px) {
  #landing-header .header { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; padding: 0 max(24px, calc((100% - 1800px) / 2)); }
  #landing-header .header > .brand { justify-self: start; }
  #landing-header .header > .nav { justify-self: center; }
  #landing-header .header > .headerActions { justify-self: end; gap: 14px; }
  #landing-header .phoneChip.fbChip span, #landing-header .phoneChip.lineChip span { display: none; }
  #landing-header .phoneChip.fbChip, #landing-header .phoneChip.lineChip { padding: 10px; }
}

/* tablet: เมนูหลักเหลือแค่ "แพ็กเกจ/ราคา" */
@media (min-width: 761px) and (max-width: 1024px) {
  #landing-header .nav a:not([href$="#pricing"]) { display: none; }
}
