/* footer.css */
/* ── Wrapper que contiene footer + persona ── */
.footer-wrap {
  position: relative;        /* ← el absolute de la persona se ancla aquí */
  width: 100%;
}

/* ── Persona flotante ── */
.persona-flotante {
  position: absolute;
  right: -10%;
  bottom: 0;                 /* ← ajustá este valor */
  width: clamp(600px, 22vw, 380px);
  z-index: 99;
  pointer-events: none;
}


.persona-flotante img {
  width: 100%;
  height: auto;
  display: block;
}


/* ── Botones flotantes — fijos en pantalla siempre ── */
.btn-flotante {
  position: fixed;
  left: 20px;
  z-index: 999;
  cursor: pointer;
  transition: transform .2s;
}
.btn-flotante:hover { transform: scale(1.1); }

.btn-flotante img {
  width: clamp(48px, 4vw, 64px);
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.3));
}

/* ── Posición vertical de cada botón ── */
.btn-flotante-1 {
  bottom: 120px;             /* ← botón superior */
}

.btn-flotante-2 {
  bottom: 50px;              /* ← botón inferior */
}



/*===================== FOOTER ================ */
/* ===================== FOOTER ===================== */
/* ===================== FOOTER ===================== */
footer {
  background: #FFC900;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
}

.footer-inner {
  width: 76%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

/* ── Col 1: copyright ── */
.footer-col.copy {
  font-size: 12px;
  font-weight: 600;
  color: #003087;
  white-space: nowrap;
  line-height: 1;
  flex: 0 0 auto;            /* ← no se estira ni encoge */
  margin-left: -10%;        /* ← empuja todo lo demás a la derecha */
}



/* ── Col 2 y 3: links ── */

.footer-links {
  display: flex;
  gap: 70px;
  align-items: center;
  justify-content: center;
  flex: 1;                   /* ← ocupa el espacio del medio */
}

.footer-links a {
  
  font-size: 13px;
  font-weight: 600;
  color: #003087;
  text-decoration: none;
  white-space: nowrap;
}
.footer-links a:hover { text-decoration: underline; }

/* ── Col 4: redes sociales ── */
.footer-col.social {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform .2s;
  background: none;          /* ← sin círculo */
  border-radius: 0;
  width: auto;
  height: auto;
}
.social-icon:hover { transform: scale(1.15); }

.social-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  filter: brightness(0) saturate(100%) invert(11%) sepia(70%) saturate(1200%) hue-rotate(200deg) brightness(90%);
  /* ← tiñe los íconos de azul oscuro #003087 */
}



/* ── Tablet ── */
@media (max-width: 1024px) {
  .persona-flotante {
    width: clamp(300px, 30vw, 400px);
    right: 0;
  }
  .persona-flotante { display: none; }
  .footer-inner { width: 90%; }
  .footer-col.copy { margin-left: 0; }
}
@media (max-width: 1630px) {
.persona-flotante { display: none; }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .persona-flotante { display: none; }

  footer {
    height: auto !important;       /* ← sobreescribe cualquier height fijo */
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
  }

  .footer-inner {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
    padding: 4px 0;
  }

  .footer-col.copy {
    font-size: 11px;
    white-space: normal;           /* ← permite que el texto haga salto */
    line-height: 1.4;
  }

  .footer-links {
    gap: 16px;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }

   .footer-links {
    flex-direction: column;      /* ← columna en mobile */
    gap: 6px;
    justify-content: flex-start;
    align-items: flex-start;     /* ← alinea a la izquierda */
    width: 100%;
  }

  .footer-links a {
    font-size: 12px;
    padding: 2px 0;
    display: block;              /* ← cada link ocupa su línea */
  }

  .footer-col.social {
    gap: 12px;
    flex-wrap: wrap;
  }

  .btn-flotante-1 { bottom: 100px; }
  .btn-flotante-2 { bottom: 40px; }
}

/* ── Mobile pequeño ── */
@media (max-width: 480px) {
  footer { padding: 14px 16px; }
  .footer-links {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }
  .footer-links a { font-size: 11px; }

  .social-icon img { width: 18px; height: 18px; }
  .footer-col.copy { font-size: 10px; }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .btn-flotante-1 { bottom: 180px; }
  .btn-flotante-2 { bottom: 110px; }
}

@media (max-width: 480px) {
  .btn-flotante-1 { bottom: 200px; }
  .btn-flotante-2 { bottom: 130px; }
}