/*
 * SIGMAN footer — from sections/footer-group.json: navy background (color1),
 * EXPLORE + SUPPORT menu columns, utilities row (copyright + socials),
 * floating WhatsApp button (ai_gen_block_e1178f7 settings: 48px white pill,
 * green icon, pulse, bottom/right 20px).
 */
.sgm-footer { background: var(--color-primary); color: #fff; margin-top: var(--sgm-space-64); }
.sgm-footer a { color: #fff; text-decoration: none; }
.sgm-footer a:hover { text-decoration: underline; }

.sgm-footer__main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding-block: 22px 30px;
}
.sgm-footer__heading {
  font-size: clamp(20px, 2.5vw, 28px);
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
}
.sgm-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sgm-footer__menu a { font-size: 0.9rem; opacity: 0.92; }

.sgm-footer__utilities {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-block: 20px 48px;
}
.sgm-footer__copyright { font-size: 0.75rem; margin: 0; opacity: 0.85; }
.sgm-footer__socials {
  display: flex; gap: 16px;
  list-style: none; margin: 0; padding: 0;
}
.sgm-footer__socials svg { width: 18px; height: 18px; fill: currentColor; }

/* ── CodeN agency credit (always LTR, hidden in print) ── */
.sgm-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1.35;
  color: inherit;
  text-decoration: none;
  opacity: 0.75;
  unicode-bidi: isolate;
  text-align: left;
  border-radius: 4px;
  transition: color 0.15s ease, opacity 0.15s ease;
}
.sgm-credit__logo { flex: 0 0 24px; width: 24px; height: 24px; object-fit: contain; }
.sgm-credit__text { display: grid; }
.sgm-credit__name { font-weight: 600; letter-spacing: -0.01em; }
.sgm-credit__slogan { font-size: 10px; letter-spacing: 0.04em; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; opacity: 0.75; }
a.sgm-credit:hover, a.sgm-credit:focus-visible { color: #8a0e19; opacity: 1; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .sgm-credit { transition: none; } }
@media print { .no-print { display: none !important; } }

/* ── Floating WhatsApp button ── */
.sgm-whatsapp {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 90;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.sgm-whatsapp svg { width: 26px; height: 26px; fill: #25d366; }
.sgm-whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  /* Three pulses after the page settles, then still — a forever-loop competed with price and CTA. */
  .sgm-whatsapp::after { animation: sgm-wa-pulse 2.4s 4s 3; }
}
@keyframes sgm-wa-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}
