/* ==========================================================================
   Footer — franja CTA naranja, columnas, QR y barra legal
   ========================================================================== */

.footer-wrap { padding-inline: clamp(8px, 1vw, 18px); background: var(--gbm-surface); }

.footer-cta {
  background: var(--gbm-orange);
  color: #fff;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.footer-cta__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: clamp(.7rem, .45rem + .7vw, 1.1rem) clamp(1rem, .5rem + 1.6vw, 2.5rem);
  flex-wrap: wrap;
}
.footer-cta__claim { display: inline-flex; align-items: center; gap: .9rem; font-weight: 700; font-size: clamp(.95rem, .85rem + .35vw, 1.25rem); margin: 0; }
.footer-cta__right { display: inline-flex; align-items: center; gap: .9rem; }

/* Círculo punteado girando en loop */
.dial { position: relative; width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 auto; }
.dial::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, .9);
  animation: dialSpin 9s linear infinite;
}
.dial svg { width: 20px; height: 20px; fill: #fff; }
@keyframes dialSpin { to { transform: rotate(360deg); } }

.footer-cta__phone {
  position: relative; background: var(--gbm-black); color: #fff;
  border-radius: 15px; padding: .6rem 1.1rem;
  font-weight: 700; font-size: clamp(.85rem, .78rem + .3vw, 1.05rem);
  transition: background var(--dur) var(--ease);
}
.footer-cta__phone::after {
  content: ""; position: absolute; top: -3px; right: -3px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--gbm-orange-300); border: 2px solid var(--gbm-orange);
}
.footer-cta__phone:hover { background: #222; color: #fff; }

/* ---------- Cuerpo ---------- */
.site-footer {
  background: var(--gbm-navy-900); color: rgba(255, 255, 255, .6);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding-inline: clamp(1rem, .5rem + 1.6vw, 2.5rem);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.15fr) repeat(3, minmax(140px, 1fr));
  gap: clamp(1.5rem, .8rem + 2vw, 3rem);
  padding-block: clamp(2.25rem, 1.4rem + 2.6vw, 3.75rem);
}
.footer-brand__logo { width: 148px; height: auto; margin-bottom: 1.25rem; }
.footer-brand p { font-size: .8rem;
    line-height: 1.5; margin-bottom: 1rem; color: rgba(255, 255, 255, .6); }
.footer-brand__qr { width: 110.4px; height: 110.4px; border-radius: 2px; background: #fff; padding: 0; margin-top: .5rem; }
.footer-brand__qr img { display: block; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }

.footer-col__title { color: #fff; font-size: .60rem; font-weight: 700; /* margin-bottom: 1.1rem;*/ }
.footer-col ul li + li { margin-top: .55rem; }
.footer-col a { font-size: .85rem; color: rgba(255, 255, 255, .6); transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease); display: inline-block; }
.footer-col a:hover, .footer-col a:focus-visible { color: var(--gbm-orange-300); padding-left: 4px; }
.footer-col__sep { display: block; height: 1px; background: rgba(255, 255, 255, .1); margin: 1.4rem 0; }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-block: .9rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .9rem; color: rgba(255, 255, 255, .45);
}
.footer-legal a { color: inherit; }
.footer-legal a:hover { color: var(--gbm-orange-300); }
.footer-legal__powered { display: inline-flex; align-items: center; gap: .35rem; }

@media (max-width: 991.98px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .footer-cta__inner { justify-content: center; text-align: center; }
  .footer-legal { justify-content: center; text-align: center; }
}
