/* =========================================================
   SPRINT 13 — AJUSTES VISUALES FINALES
   ========================================================= */

/* HAMBURGUESA */
.menu-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px !important;
  width: 44px;
  height: 44px;
  padding: 0;
}

.menu-btn span {
  display: block;
  width: 25px !important;
  height: 2.5px !important;
  min-height: 2.5px !important;
  margin: 0 !important;
  border-radius: 999px;
  background: #071c12 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform-origin: center;
}

.menu-btn.is-open span:nth-child(1),
.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.menu-btn.is-open span:nth-child(2),
.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0 !important;
}

.menu-btn.is-open span:nth-child(3),
.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}


/* BOTÓN HAZTE SOCIO */
.cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.cta-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.cta .cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  min-width: 164px !important;
  max-width: none !important;

  height: 54px !important;
  min-height: 54px !important;

  padding: 0 28px !important;

  border: 1.5px solid #ffffff !important;
  border-radius: 999px !important;

  background: #ffffff !important;
  color: #08783f !important;

  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1 !important;

  text-align: center !important;
  text-decoration: none !important;
  white-space: nowrap !important;

  aspect-ratio: auto !important;
}

.cta .cta-btn:hover {
  background: #f4fbf7 !important;
  color: #056534 !important;
  transform: translateY(-2px);
}


/* REDES SOCIALES DEL FOOTER */
.footer-social-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-socials {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap;
  gap: 12px !important;
  margin-top: 16px;
}

.footer-socials .footer-social {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;

  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;

  padding: 0 !important;
  overflow: hidden !important;

  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  border-radius: 50% !important;

  background: #ffffff !important;
  text-decoration: none !important;
  line-height: 0 !important;
  box-sizing: border-box !important;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-socials .footer-social:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

/* ESTA REGLA EVITA LOS ÍCONOS GIGANTES */
.footer-socials .footer-social svg {
  display: block !important;

  width: 23px !important;
  min-width: 23px !important;
  max-width: 23px !important;

  height: 23px !important;
  min-height: 23px !important;
  max-height: 23px !important;

  flex: 0 0 23px !important;
  overflow: visible !important;
}

.footer-social--facebook {
  color: #1877f2 !important;
}

.footer-social--youtube {
  color: #ff0000 !important;
}


/* PARTE INFERIOR DEL FOOTER */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}


/* OCULTAR FOOTER ANTIGUO, SI TODAVÍA EXISTIERA */
body > footer:not(.footer-premium) {
  display: none !important;
}


/* RESPONSIVE */
@media (max-width: 768px) {

  .menu-btn {
    gap: 3px !important;
    width: 42px;
    height: 42px;
  }

  .menu-btn span {
    width: 23px !important;
    height: 2.3px !important;
    min-height: 2.3px !important;
  }

  .cta-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .cta-action {
    width: 100%;
    justify-content: flex-start;
  }

  .cta .cta-btn {
    min-width: 164px !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 26px !important;
  }

  .footer-socials .footer-social {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;

    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
  }

  .footer-socials .footer-social svg {
    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;

    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;

    flex-basis: 22px !important;
  }
}