/* ============================================================
   LifeHaki — golden brush-stroke footer, site-wide.
   Self-contained: defines its own design tokens on .lhh-footer so
   it works on every page (not just the .lhh homepage). Fonts are
   loaded site-wide by templates/layout.php.
   ============================================================ */
.lhh-footer {
  --ink: #15171c;
  --red: #ca2128;
  --gold: #fdc949;
  --f-disp: 'Fraunces', Georgia, serif;
  --f-cond: 'Barlow Condensed', sans-serif;
  --f-mono: 'DM Mono', ui-monospace, monospace;
  position: relative; background: var(--gold); color: var(--ink); overflow: hidden;
  font-family: 'Urbanist', system-ui, sans-serif;
}
.lhh-footer *, .lhh-footer *::before, .lhh-footer *::after { box-sizing: border-box; }
.lhh-footer img { display: block; max-width: 100%; }

.lhh-footer-wave { position: absolute; top: -1px; left: 0; width: 100%; height: 158px; display: block; pointer-events: none; }
.lhh-footer-main { position: relative; max-width: 1200px; margin: 0 auto; padding: 158px 40px 62px; }
.lhh-footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; }
.lhh-footer-brand { max-width: 330px; }
.lhh-footer-brand img { height: 70px; margin-bottom: 22px; }
.lhh-footer-brand p { font-family: var(--f-disp); font-weight: 600; font-size: 22px; line-height: 1.32; letter-spacing: -.01em; color: var(--ink); margin: 0; }
.lhh-foot-head {
  display: inline-block; font-family: var(--f-cond); font-weight: 700; font-size: 15px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  border-bottom: 2.5px solid var(--red); padding-bottom: 9px; margin-bottom: 22px;
}
.lhh-foot-links { display: flex; flex-direction: column; gap: 13px; }
.lhh-foot-links a { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; transition: color 120ms; }
.lhh-foot-links a:hover { color: var(--red); }
.lhh-foot-social { display: flex; gap: 11px; margin-bottom: 28px; }
.lhh-foot-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px; color: var(--gold);
  text-decoration: none; background: #e0454b; transition: transform 120ms, background 120ms, color 120ms;
}
.lhh-foot-social a:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.lhh-foot-email { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.lhh-foot-email:hover { color: var(--red); }
.lhh-footer-bottom { position: relative; background: var(--gold); padding: 18px 40px 26px; border-top: 1px solid rgba(21,23,28,.12); }
.lhh-footer-bottom .inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lhh-footer-bottom .c { font-family: var(--f-mono); font-size: 13px; color: rgba(21,23,28,.72); }
.lhh-footer-bottom .h { font-family: var(--f-mono); font-size: 13px; color: var(--red); }

@media (max-width: 768px) {
  .lhh-footer { overflow: visible; } /* stops the 1px gold sliver the clip left at the wave edge */
  .lhh-footer-wave { height: 80px; }
  .lhh-footer-main { padding: 88px 22px 40px; }
  .lhh-footer-brand { grid-column: 1 / -1; } /* full width so the logo keeps its aspect ratio */
  .lhh-footer-brand img { height: 58px; width: auto; margin-bottom: 18px; }
  .lhh-footer-brand p { font-size: 18px; margin-bottom: 32px; }
  .lhh-footer-cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .lhh-footer-find { grid-column: 1 / -1; }
  .lhh-footer-bottom { padding: 8px 22px 28px; border-top: 0; }
  .lhh-footer-bottom .inner { flex-direction: column; gap: 6px; text-align: center; }
  .lhh-footer-bottom .c, .lhh-footer-bottom .h { font-size: 11px; }
}
