/* =========================================================
   GM Furniture — footer.css
   "Get in touch" footer and floating chat button
   (markup: _src/partials/footer.js)
   ========================================================= */

/* ---------- Footer ---------- */
.ftr { border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 120px); background: var(--white); }

.git { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.git h2 { font-size: clamp(46px, 8.4vw, 150px); line-height: .9; font-weight: 300; text-transform: uppercase; letter-spacing: -.04em; }
.git h2 .it { text-transform: none; font-size: 1.04em; }
.git h2 .git-th { display: block; font-size: clamp(15px, 1.2vw, 18px); letter-spacing: 0; text-transform: none; color: var(--c-muted); margin-top: 18px; line-height: 1.4; }
.git-media { width: clamp(140px, 15vw, 240px); aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel); }
.git-media img { width: 100%; height: 100%; object-fit: cover; }

.ftr-grid { display: grid; grid-template-columns: repeat(2, max-content); gap: 32px clamp(64px, 10vw, 160px); margin-top: clamp(36px, 4vw, 60px); padding-top: 28px; border-top: 1px solid var(--line); font-size: 13.5px; }
.ftr-grid .label { font-size: var(--fs-small); letter-spacing: .02em; color: var(--c-muted); margin-bottom: 14px; }
.ftr-links { display: grid; gap: 4px; }
.ftr-links a:hover { color: var(--gold-d); }

.ftr-end { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 90px); padding-bottom: 84px; }
.ftr-social { display: flex; gap: 22px; font-size: var(--fs-small); color: var(--c-text); flex-wrap: wrap; }
.ftr-social a:hover { color: var(--gold-d); }
.ftr-end .logo { color: var(--ink); gap: 14px; }
.ftr-end .logo-mark { width: 64px; height: 64px; }
.ftr-end .logo b { font-size: 44px; }
.ftr-end .logo small { font-size: 19.6px; }

@media (max-width: 900px) {
  .ftr-grid { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .git { grid-template-columns: 1fr; }
  .git-media { display: none; }
}

/* ---------- Floating chat ---------- */
.fchat { position: fixed; right: 16px; bottom: 16px; z-index: 70; display: grid; justify-items: end; gap: 8px; }
.fchat-menu { display: grid; gap: 6px; transform-origin: bottom right; transform: translateY(10px) scale(.96); opacity: 0; visibility: hidden; transition: all .45s var(--ease); }
.fchat.is-open .fchat-menu { transform: none; opacity: 1; visibility: visible; }
.fchat-menu a { display: flex; align-items: center; gap: 10px; background: var(--white); color: var(--ink); padding: 11px 18px; border-radius: 999px; font-size: 13px; box-shadow: 0 14px 34px -16px rgba(40,30,15,.35); transition: background .3s, color .3s; }
.fchat-menu a:hover { background: var(--gold); color: #fff; }
.fchat-menu svg { width: 17px; height: 17px; }
.fchat-btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; box-shadow: 0 14px 34px -14px rgba(40,30,15,.45); }
.fchat-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(184,149,90,.7); } 70% { box-shadow: 0 0 0 10px rgba(184,149,90,0); } 100% { box-shadow: 0 0 0 0 rgba(184,149,90,0); } }
@media (max-width: 600px) {
  .fchat { right: 12px; bottom: 12px; }
  .fchat-btn { width: 50px; height: 50px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .fchat-btn .dot { width: 12px; height: 12px; }
}
