/* BAKI FITNESS · V33
   Embellece el footer, centra mejor el logo y ajusta el CTA telefónico. */

.footer.footer-v27 {
  position: relative;
}

.footer-v27 .footer-grid-v27 {
  align-items: stretch;
}

.footer-v27 .footer-grid-v27 > div {
  position: relative;
  min-height: 100%;
  padding: clamp(22px, 2.3vw, 28px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255,255,255,0.024), rgba(255,255,255,0.012));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035), 0 16px 38px rgba(0,0,0,0.16);
}

.footer-v27 .footer-grid-v27 > div:hover {
  border-color: rgba(255, 122, 27, 0.18);
}

.footer-v27 .footer-brand-column-v27 {
  display: flex;
  flex-direction: column;
  max-width: 430px;
}

.footer-v27 .footer-brand-column-v27 .footer-brand {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 2px 0 18px;
}

.footer-v27 .footer-brand-column-v27 .footer-brand img {
  width: clamp(132px, 13vw, 174px);
  height: auto;
}

.footer-v27 .footer-brand-column-v27 p {
  max-width: 32ch;
  margin: 0 0 22px;
  line-height: 1.75;
}

.footer-v27 .footer-socials-v27 {
  margin-top: auto;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-v27 .footer-socials-v27 a {
  min-width: 0;
  padding-inline: 18px;
  border-radius: 999px;
  background: rgba(255,122,27,0.08);
  border: 1px solid rgba(255,122,27,0.24);
}

.footer-v27 .footer-links-group {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer-v27 .footer-links-group h4 {
  margin-bottom: 18px;
}

.footer-v27 .footer-links-group p:last-child {
  margin-bottom: 0;
  color: #b8b4ae;
  line-height: 1.7;
}

.footer-v27 .footer-links-group > a.footer-link-cta {
  min-height: 46px;
  padding: 10px 18px;
  font-size: clamp(15px, 1.18vw, 18px);
  letter-spacing: .015em;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(255,122,27,0.08);
}

.footer-v27 .footer-links-group > a.footer-link-cta:hover {
  box-shadow: 0 12px 24px rgba(255,122,27,0.12);
}

.footer-v27 .footer-links-group a:not(.footer-link-cta) {
  width: fit-content;
}

.footer-v27 .footer-bottom-v27 {
  color: #9f9a92;
}

@media (max-width: 1100px) {
  .footer-v27 .footer-brand-column-v27 {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .footer-v27 .footer-grid-v27 > div {
    padding: 22px 20px;
  }

  .footer-v27 .footer-brand-column-v27 .footer-brand {
    justify-content: flex-start;
  }

  .footer-v27 .footer-brand-column-v27 p {
    max-width: none;
  }

  .footer-v27 .footer-links-group > a.footer-link-cta {
    font-size: 17px;
    min-height: 44px;
    padding: 10px 16px;
  }
}

@media (max-width: 520px) {
  .footer-v27 .footer-grid-v27 > div {
    border-radius: 20px;
  }

  .footer-v27 .footer-brand-column-v27 .footer-brand {
    justify-content: center;
  }

  .footer-v27 .footer-socials-v27 a {
    width: auto;
    min-width: calc(50% - 6px);
    text-align: center;
  }

  .footer-v27 .footer-links-group > a.footer-link-cta {
    font-size: 16px;
  }
}
