/* ============================================================
   Di Động An Phát — Footer (NỀN SÁNG) — dùng với shortcode .dap-footer
   ============================================================ */
.dap-footer{ --dfr:#ff4149; --dink:#ffffff; --dmut:#9aa4b2; --dbd:rgba(255,255,255,.1); }
section.dap-footer{ background:#191d26 !important; }
/* Lớp nội dung full-size — tô nền tối trực tiếp (chắc ăn, phủ kín) */
.dap-footer .section-content{ background:#191d26 !important; }
/* Lớp nền Flatsome: ép absolute phủ kín + tối màu (dự phòng) */
.dap-footer > .section-bg, .dap-footer .section-bg.fill{ background:#191d26 !important; background-image:none !important; position:absolute !important; left:0; top:0; right:0; bottom:0; width:100% !important; height:100% !important; }
.dap-footer .row{ max-width:1200px; }

/* Cột trên */
.dap-footer-main .col{ padding-bottom:10px; }
.dap-footer .dap-foot-logo img,
.dap-footer .logo img{ max-height:50px; width:auto; }
.dap-foot-desc{ color:var(--dmut); font-size:14px; line-height:1.75; margin:16px 0 18px; max-width:330px; }

/* Tiêu đề cột */
.dap-foot-title{ color:var(--dink); font-size:15px; font-weight:700; text-transform:uppercase; letter-spacing:.02em; margin:0 0 18px; padding-bottom:10px; position:relative; }
.dap-foot-title::after{ content:""; position:absolute; left:0; bottom:0; width:34px; height:2px; background:var(--dfr); }

/* Link list */
.dap-foot-links{ list-style:none; margin:0; padding:0; }
.dap-foot-links li{ margin:0 0 10px !important; }
.dap-foot-links a{ color:var(--dmut); font-size:14px; line-height:1.5; transition:color .2s ease, padding-left .2s ease; }
.dap-foot-links a:hover{ color:var(--dfr); padding-left:5px; }

/* Liên hệ */
.dap-foot-contact{ list-style:none; margin:0 0 16px; padding:0; }
.dap-foot-contact li{ display:flex; gap:11px; align-items:flex-start; margin:0 0 12px !important; color:var(--dmut); font-size:14px; line-height:1.6; }
.dap-foot-contact li i{ color:var(--dfr); margin-top:3px; width:16px; text-align:center; flex:0 0 auto; font-size:14px; }
.dap-foot-contact a{ color:var(--dink); }
.dap-foot-contact a:hover{ color:var(--dfr); }

/* Social */
.dap-foot-social{ display:flex; gap:10px; }
.dap-foot-social a{ width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.08); color:var(--dink); display:inline-flex; align-items:center; justify-content:center; font-size:15px; font-weight:600; transition:background .2s ease, color .2s ease, transform .2s ease; }
.dap-foot-social a:hover{ background:var(--dfr); color:#fff; transform:translateY(-2px); }

/* Nút gọi */
.dap-footer .dap-foot-btn.button{ background:var(--dfr); border-color:var(--dfr); color:#fff; border-radius:8px; font-weight:600; margin:2px 0 0; box-shadow:none; }
.dap-footer .dap-foot-btn.button:hover{ opacity:.92; }

/* Thanh dưới */
.dap-footer-bottom{ border-top:1px solid var(--dbd); margin-top:6px; }
.dap-foot-copy{ color:var(--dmut); font-size:13px; margin:0; }

/* Ẩn "absolute footer" tối mặc định của Flatsome (footer mới đã có dòng copyright riêng) */
.absolute-footer{ display:none !important; }

/* Responsive */
@media (max-width:849px){
  .dap-foot-title{ margin-bottom:12px; }
  .dap-foot-desc{ max-width:none; }
  .dap-footer-main .col{ padding-bottom:22px; }
}

/* ============================================================
   Bottom contact bar (mobile) — phẳng/hiện đại (icon Font Awesome)
   ============================================================ */
.bottom-contact{ background:#fff !important; box-shadow:0 -2px 14px rgba(0,0,0,.08) !important; border-top:1px solid #f0f1f2; }
.bottom-contact ul{ display:flex !important; align-items:stretch; margin:0; padding:0; list-style:none; }
.bottom-contact li{ flex:1 1 0; margin:0 !important; padding:0; text-align:center; border:0 !important; border-radius:0 !important; }
.bottom-contact a{ display:flex !important; flex-direction:column; align-items:center; justify-content:center; gap:4px; padding:7px 2px 6px; color:#4b5563; line-height:1; }
.bottom-contact a img{ display:none !important; }
.bottom-contact a br{ display:none; }
.bottom-contact a::before{ font-family:"Font Awesome 6 Free"; font-weight:900; font-size:20px; line-height:1; display:inline-block; }
.bottom-contact li:nth-child(1) a::before{ content:"\f015"; }              /* Trang chủ */
.bottom-contact li:nth-child(2) a::before{ content:"\f0c9"; }              /* Menu */
.bottom-contact li:nth-child(3) a::before{ content:"\f095"; color:#16a34a; }  /* Gọi điện */
.bottom-contact li:nth-child(4) a::before{ content:"\f4ad"; color:#0084ff; }  /* Messenger */
.bottom-contact li:nth-child(5) a::before{ content:"\f086"; color:#2962ff; }  /* Chat Zalo */
.bottom-contact a span{ font-size:10.5px; font-weight:500; color:#4b5563; margin:0; }
.bottom-contact a:active{ opacity:.55; }
/* Đang ở trang chủ → Trang chủ nổi bật (pill đỏ nhạt) */
.home .bottom-contact li:nth-child(1) a::before{ background:#fdecec; color:#ed1c24; padding:5px 15px; border-radius:11px; }
.home .bottom-contact li:nth-child(1) a span{ color:#ed1c24; font-weight:600; }
