/* ===== Footer แบบใหม่ (_footer.php) ===== */
#footer.hys-footer{position:relative;background:radial-gradient(1200px 400px at 85% 0%,rgba(247,148,30,.14),transparent 60%),linear-gradient(180deg,#24242a 0%,#18181c 100%);color:#b9b9c0;box-shadow:none;border-top:0;margin-top:70px!important;padding-top:0;font-size:15px;}
#footer.hys-footer p{color:#b9b9c0;}
#footer.hys-footer a{transition:color .2s;}

/* แถบชวนติดต่อ (ลอยทับขอบบน) */
.hys-footer .ft-cta{position:relative;top:-46px;margin-bottom:-14px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px;padding:24px 30px;border-radius:20px;background:linear-gradient(120deg,#FFA94D 0%,#F7941E 45%,#E06A00 100%);box-shadow:0 18px 40px rgba(224,106,0,.35);overflow:hidden;}
.hys-footer .ft-cta::after{content:"";position:absolute;right:-60px;top:-80px;width:240px;height:240px;border-radius:50%;background:rgba(255,255,255,.12);pointer-events:none;}
.hys-footer .ft-cta-title{color:#fff;font-size:1.45rem;font-weight:600;line-height:1.35;}
.hys-footer .ft-cta-sub{color:rgba(255,255,255,.9);margin-top:2px;}
.hys-footer .ft-cta-actions{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:10px;}
.hys-footer .ft-btn{display:inline-flex;align-items:center;gap:8px;padding:11px 22px;border-radius:50px;font-weight:500;text-decoration:none!important;transition:transform .2s,box-shadow .2s;white-space:nowrap;}
.hys-footer .ft-btn:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.18);}
.hys-footer .ft-btn-light{background:#fff;color:#E06A00!important;}
.hys-footer .ft-btn-line{background:#06C755;color:#fff!important;}

/* คอลัมน์ */
.hys-footer .ft-main{padding-top:10px;padding-bottom:10px;}
.hys-footer .ft-logo{display:inline-block;background:#fff;border-radius:14px;padding:8px 14px;margin-bottom:14px;}
.hys-footer .ft-logo img{display:block;height:56px;width:auto;}
.hys-footer .ft-desc{font-size:14px;line-height:1.75!important;margin:0 0 16px!important;}
.hys-footer .ft-title{color:#fff;font-size:1.05rem;font-weight:600;margin-bottom:14px;position:relative;padding-bottom:10px;}
.hys-footer .ft-title::after{content:"";position:absolute;left:0;bottom:0;width:28px;height:3px;border-radius:3px;background:#F7941E;}
.hys-footer .ft-social{display:flex;flex-wrap:wrap;gap:8px;}
.hys-footer .ft-social a{width:38px;height:38px;border-radius:12px;background:rgba(255,255,255,.07);color:#ddd;display:flex;align-items:center;justify-content:center;font-size:16px;transition:background .2s,color .2s,transform .2s;}
.hys-footer .ft-social a:hover{background:#F7941E;color:#fff;transform:translateY(-3px);}
.hys-footer .ft-links,.hys-footer .ft-contact{list-style:none;margin:0;padding:0;}
.hys-footer .ft-links li{margin-bottom:9px;}
.hys-footer .ft-links a{color:#b9b9c0;text-decoration:none;display:inline-flex;align-items:center;gap:8px;}
.hys-footer .ft-links a::before{content:"";width:6px;height:6px;border-radius:50%;background:#555;transition:background .2s,transform .2s;}
.hys-footer .ft-links a:hover{color:#fff;}
.hys-footer .ft-links a:hover::before{background:#F7941E;transform:scale(1.3);}
.hys-footer .ft-contact li{display:flex;gap:10px;align-items:flex-start;margin-bottom:11px;line-height:1.55;word-break:break-word;}
.hys-footer .ft-contact i{color:#F7941E;width:16px;text-align:center;margin-top:4px;flex:none;}
.hys-footer .ft-contact a{color:#ddd;text-decoration:none;}
.hys-footer .ft-contact a:hover{color:#F7941E;}

/* สถิติ */
.hys-footer .ft-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;}
.hys-footer .ft-stat{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.06);border-radius:12px;padding:8px 6px;text-align:center;display:flex;flex-direction:column;}
.hys-footer .ft-stat-num{color:#fff;font-weight:600;font-size:1.05rem;line-height:1.3;}
.hys-footer .ft-stat-label{font-size:12px;color:#9a9aa2;}
.hys-footer .ft-stat.today{background:rgba(247,148,30,.15);border-color:rgba(247,148,30,.35);}
.hys-footer .ft-stat.today .ft-stat-num{color:#FFB15C;}
.hys-footer .ft-stat.today i{color:#2ecc71;font-size:7px;vertical-align:middle;animation:ft-blink 1.6s ease-in-out infinite;}
@keyframes ft-blink{50%{opacity:.25}}
.hys-footer .ft-stat.total{grid-column:1/-1;flex-direction:row;justify-content:space-between;align-items:center;padding:10px 14px;}
.hys-footer .ft-stat.total .ft-stat-num{font-size:1.2rem;color:#FFB15C;}

/* แท็ก */
.hys-footer .ft-tags{border-top:1px solid rgba(255,255,255,.07);padding-top:18px;margin-top:6px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;}
.hys-footer .ft-tags-title{color:#fff;font-weight:500;margin-right:6px;font-size:14px;}
.hys-footer .ft-tags-title i{color:#F7941E;}
.hys-footer .ft-tags .badge{background:rgba(255,255,255,.07)!important;color:#c9c9cf!important;font-weight:400;font-size:13px;padding:6px 12px;border-radius:50px;margin:0!important;transition:background .2s,color .2s;}
.hys-footer .ft-tags .badge:hover{background:#F7941E!important;color:#fff!important;}

/* แถบล่าง */
.hys-footer .ft-bottom{margin-top:24px;border-top:1px solid rgba(255,255,255,.07);background:rgba(0,0,0,.18);}
.hys-footer .ft-bottom-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 20px;padding-top:16px;padding-bottom:16px;font-size:14px;}
.hys-footer .ft-bottom-links{display:flex;flex-wrap:wrap;gap:6px 18px;}
.hys-footer .ft-bottom-links a{color:#9a9aa2;text-decoration:none;}
.hys-footer .ft-bottom-links a:hover{color:#F7941E;}
.hys-footer .ft-top{width:40px;height:40px;border-radius:12px;border:0;background:rgba(255,255,255,.08);color:#fff;cursor:pointer;transition:background .2s,transform .2s;}
.hys-footer .ft-top:hover{background:#F7941E;transform:translateY(-3px);}

/* ปุ่มเลื่อนขึ้นบนของธีมเดิมลอยทับ FAB จึงซ่อนไว้ (ใช้ปุ่มในแถบล่างแทน) */
html .scroll-to-top{display:none!important;}

@media (max-width:991px){
	.hys-footer .ft-cta{padding:22px;}
	.hys-footer .ft-cta-title{font-size:1.25rem;}
}
@media (max-width:575px){
	#footer.hys-footer{margin-top:80px!important;}
	.hys-footer .ft-cta{flex-direction:column;align-items:stretch;text-align:center;}
	.hys-footer .ft-cta-actions{flex-direction:column;}
	.hys-footer .ft-btn{justify-content:center;}
	.hys-footer .ft-contact-col{flex:0 0 100%;max-width:100%;}
	.hys-footer .ft-bottom-inner{flex-direction:column;text-align:center;}
	.hys-footer .ft-bottom-links{justify-content:center;}
}
@media (prefers-reduced-motion:reduce){.hys-footer .ft-stat.today i{animation:none;}}
