/* ==========================================================================
   Tukangpoles.id — FOOTER (struktur baru, terang & gelap, HP & desktop)
   Markup: tools/partials/footer.html. Dimuat paling akhir (lewat tools/layout.js) agar menang atas CSS footer lama.
   Warna teks: terang = #4B5563, gelap = warna teks isi beranda (var --pg-tx dari tp-tema.css).
   Judul kolom: gelap #FFA500, terang #E69500.
   ========================================================================== */
footer{--ft-tx:#4B5563;--ft-h:#E69500;--ft-ico:#111111;--ft-play:#111111;--ft-bg:#F8F9FA;--ft-line:#E5E7EB;--ft-hov:#B45309}
html[data-tema="dark"] footer{--ft-tx:var(--pg-tx,#CBD5E1);--ft-h:#FFA500;--ft-ico:#D4D4D8;--ft-play:#A1A1AA;--ft-bg:#09090b;--ft-line:#292929;--ft-hov:#FFA500}

html footer{padding:26px 0 88px;margin-top:0}
html footer .wrap.ft-wrap{display:block;width:min(1120px,calc(100% - 32px));margin:0 auto}
html footer .wrap .ft-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:24px;row-gap:22px}
html footer .wrap .ft-about,html footer .wrap .ft-contact{grid-column:1/-1}

/* merek */
html footer .wrap .ft-brand{display:flex;align-items:center;gap:10px;min-width:0;flex:0 0 auto}
html footer .wrap .ft-brand img{width:40px;height:40px;object-fit:contain;flex:0 0 40px}
html footer .wrap .ft-brand strong{display:block;font-size:1.05rem;line-height:1.15;font-weight:800;font-style:normal}
html:not([data-tema="dark"]) footer .wrap .ft-brand .brand-accent{color:#E69500!important}
html footer .wrap .ft-brand .brand-accent{font-style:normal}
html footer .wrap .ft-tag{display:block;margin-top:2px;font-size:.74rem;line-height:1.2;color:var(--ft-tx)}
html footer .wrap .ft-desc{max-width:36ch;margin:12px 0 0;font-size:.92rem;line-height:1.5;color:var(--ft-tx)}

/* media sosial: tema terang = ikon asli (.si-w), tema gelap = ikon abu-abu (.si-g) */
html footer .wrap .ft-social{margin-top:14px}
html footer .wrap .ft-social-t{margin:0 0 8px;font-size:.95rem;font-weight:600;color:var(--ft-tx)}
html footer .wrap .social-icon svg.si-g{display:none!important}
html[data-tema="dark"] footer .wrap .social-icon svg.si-w{display:none!important}
html[data-tema="dark"] footer .wrap .social-icon svg.si-g{display:block!important;width:34px!important;height:34px!important}
html[data-tema="dark"] footer .wrap .social-icon{width:34px!important;height:34px!important;border-radius:10px!important}
html footer .wrap .social-icons{display:flex;flex-wrap:wrap;gap:10px}

/* judul kolom */
html footer .wrap .ft-h{margin:0 0 8px;font-size:1.15rem;font-weight:700;line-height:1.3;color:var(--ft-h)}

/* daftar tautan */
html footer .wrap .ft-list{list-style:none;margin:0;padding:0;display:grid;gap:0}
html footer .wrap .ft-list a{display:inline-flex;align-items:center;gap:10px;min-height:32px;font-size:.92rem;line-height:1.3;color:var(--ft-tx);text-decoration:none}
html footer .wrap .ft-list a:hover,html footer .wrap .ft-list a:focus-visible{color:var(--ft-hov)}
html footer .wrap .ft-play a::before{content:"";flex:0 0 9px;width:9px;height:11px;background:var(--ft-play);clip-path:polygon(0 0,100% 50%,0 100%)}

/* kontak */
html footer .wrap .ft-info{list-style:none;margin:0;padding:0;display:grid;gap:10px}
html footer .wrap .ft-info li{display:flex;align-items:flex-start;gap:12px;font-size:.92rem;line-height:1.45;color:var(--ft-tx)}
html footer .wrap .ft-info a{color:var(--ft-tx);text-decoration:none}
html footer .wrap .ft-info a:hover,html footer .wrap .ft-info a:focus-visible{color:var(--ft-hov)}
html footer .wrap .ft-ic{flex:0 0 22px;width:22px;height:22px;margin-top:1px;fill:var(--ft-ico)}
html footer .wrap .ft-ic .ft-hand{stroke:var(--ft-bg)}

/* baris bawah */
html footer .wrap .ft-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin-top:22px;padding-top:14px;border-top:1px solid var(--ft-line)}
html footer .wrap .ft-copy,html footer .wrap .ft-legal{margin:0;font-size:.82rem;line-height:1.5;color:var(--ft-tx)}
html footer .wrap .ft-legal{display:inline-flex;align-items:center;gap:8px}
html footer .wrap .ft-legal i::before{content:"•";font-style:normal}

@media(min-width:900px){
  html footer{padding:34px 0 84px}
  html footer .wrap .ft-grid{grid-template-columns:1.5fr .9fr .9fr 1.4fr;column-gap:48px}
  html footer .wrap .ft-about,html footer .wrap .ft-contact{grid-column:auto}
    html footer .wrap .ft-desc{max-width:34ch}
  html footer .wrap .ft-bottom{margin-top:28px}
  html footer .wrap .ft-legal i::before{content:"|"}
}

/* Beranda: dua tombol di bawah testimoni (Beri ulasan di Google + Lihat Testimoni Lainnya) selalu satu baris.
   Ditaruh di sini karena file ini dimuat paling akhir dan menang atas ukuran font tombol di tp-type.css. */
.tp-tst-foot .tst-aksi{display:flex;flex-wrap:nowrap;gap:8px;flex:1 1 100%}
.tp-tst-foot .tst-aksi .tp-pill-link{flex:1 1 0;min-width:0;justify-content:center;text-align:center;white-space:normal;line-height:1.25;padding:10px 8px;gap:6px}
@media(max-width:600px){html body .tp-tst-foot .tst-aksi .tp-pill-link{font-size:.78rem!important}}
@media(min-width:601px){.tp-tst-foot .tst-aksi{flex:0 0 auto}.tp-tst-foot .tst-aksi .tp-pill-link{flex:0 0 auto;white-space:nowrap;padding:9px 16px}}

html footer .wrap .ft-nw{white-space:nowrap}
