/* footer.css — ท้ายเว็บทรงสามแถวนอน (คลังทรง 01)
   พื้นเมืองกรุงเทพจางขอบล่าง แสงทองมุมซ้าย ต่อกับจอแรก · สีลิงก์ระบุรายกลุ่ม ห้าม .ft a { color: inherit } (กินสีปุ่ม LINE กับเบอร์โทร) */

.ft { position: relative; color: #CFC7B6; font-size: 13px; font-family: var(--f-th); border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, rgba(201, 165, 92, 0), #C9A55C 35%, #F2D58F 60%, rgba(201, 165, 92, 0)) 1;
  background: radial-gradient(ellipse 50% 70% at 0% 0%, rgba(201, 165, 92, .14), transparent 70%),
    linear-gradient(180deg, rgba(11, 10, 8, .96) 0%, rgba(11, 10, 8, .88) 55%, rgba(11, 10, 8, .72) 100%),
    url(/assets/images/city-bkk-dark.svg) center bottom / max(1400px, 100%) auto no-repeat, var(--black); }

/* แถว 1 โลโก้ | เบอร์โทร ปุ่ม LINE | โซเชียล */
.ft-row { display: flex; align-items: center; justify-content: space-between; gap: 22px 30px; flex-wrap: wrap; padding-block: 36px 26px; }

.soc { display: flex; gap: 8px; flex-wrap: wrap; }
.soc a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: #EDE6D6; border: 1px solid var(--line-d); transition: border-color .2s, color .2s, transform .2s; }
.soc a:active { background: var(--ink3); }
.soc svg { width: 20px; height: 20px; }
/* ตราสีจริงของแบรนด์ เต็มวงในกรอบ TikTok เป็นโน้ตบนพื้นดำ */
.soc .soc-c-fb svg, .soc .soc-c-line svg, .soc .soc-c-wa svg { width: 30px; height: 30px; }
.soc .soc-c-tt svg { width: 19px; height: 19px; }

.ft-call { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; margin-inline: auto; }
.ft-tel { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; color: #fff; text-decoration: none; font-family: var(--f-body); font-size: 18px; font-weight: 600; letter-spacing: .02em; font-variant-numeric: tabular-nums; white-space: nowrap; transition: color .2s; }
.ft-tel svg { width: 30px; height: 30px; padding: 7px; flex: none; border-radius: 50%; background: linear-gradient(180deg, #E3C88E, #C49A4E); color: #17120A; }
.ft-tel:active { opacity: .8; }
.ft-call .btn { min-height: 46px; font-size: 14px; text-transform: none; letter-spacing: 0; font-family: var(--f-th); white-space: nowrap; }

/* แถว 2 ลิงก์ 5 หมวด มีหัวข้อสีทอง */
.ft-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 28px; padding: 26px 0 22px; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.ft-col { display: grid; align-content: start; justify-items: start; gap: 0; }
.ft-col h2 { margin: 0 0 6px; font-family: var(--f-body); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-l); }
.lang-th .ft-col h2, .lang-my .ft-col h2 { font-family: var(--f-th); font-size: 13.5px; letter-spacing: .02em; }
.ft-col a { display: inline-block; padding: 9px 0; color: #C9C1B0; text-decoration: none; font-size: 14px; line-height: 1.35; transition: color .2s; }

/* แถว 3 ลิขสิทธิ์ สาขา อย. | ภาษา ช่องทางชำระเงิน */
.ft-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-block: 16px 18px; color: #A9A192; font-size: 12.5px; }
.ft-bl { display: grid; gap: 8px; justify-items: start; }
.ft-br { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; justify-content: flex-end; }
.ft-fda { display: inline-flex; align-items: center; gap: 8px; color: #CFC7B6; }
.ft-fda img { width: 26px; height: 26px; }
.ft-fda b { color: #EDE6D6; font-family: var(--f-body); font-weight: 600; letter-spacing: .03em; }
.ft-lang { display: inline-flex; align-items: baseline; gap: 0 16px; }
.ft-lang > svg { width: 16px; height: 16px; color: var(--gold-l); align-self: center; }
/* ทุกภาษาวางบนเส้นฐานเดียวกัน (เดิมตัวพม่าลอยต่ำกว่าไทย/อังกฤษ เพราะฟอนต์คนละความสูง) */
.ft-lang a { display: inline-block; padding: 13px 0; line-height: 1.2; color: #A9A192; text-decoration: none; transition: color .2s; }
.ft-lang a[lang="my"] { font-size: 13.5px; }
.ft-lang a[aria-current="true"] { color: var(--gold-l); }
.pay { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pay em { font-style: normal; }
.pay span { color: #EDE6D6; border: 1px solid rgba(201, 165, 92, .55); border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 600; }

@media (hover: hover) and (pointer: fine) {
  .ft-col a:hover, .ft-lang a:hover, .ft-tel:hover { color: var(--gold-l); }
  .soc a:hover { border-color: var(--gold); color: var(--gold-l); transform: translateY(-2px); }
}

/* แท็บเล็ต 3 คอลัมน์ · มือถือ 2 คอลัมน์ ทุกแถวเรียงลงชิดซ้าย ปุ่ม LINE เต็มแถว */
@media (max-width: 1000px) { .ft-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .ft-row { flex-direction: column; align-items: flex-start; gap: 14px; padding-block: 30px 20px; }
  .ft-call { margin-inline: 0; width: 100%; }
  .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
  .ft-call .btn { width: 100%; justify-content: center; }
  .ft-bottom { flex-direction: column; align-items: flex-start; }
  .ft-br { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .ft-bottom { padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
}
