/* Version Desktop */

.footer {
  background-color: #1B1E3C; /* azul oscuro */
  color: #fff;
  padding: 15px 15px;
  font-family: Arial, sans-serif;
}

.footer_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer_left {
  max-width: 50%;
  padding:  0px 20px;
}

.footer_left p {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 15px;
}

 
.footer_logo {
  width: 350px;
}

.footer_right { 
  display: flex; 
  justify-content: flex-end; 
  width: 50%;  
}

.social_cluster{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns: repeat(5, 40px); 
  grid-auto-rows: 45px;                   
  gap: 8px 0px;
  justify-items:center;
  align-items:center;
  justify-content: end;  
  padding: 0px 30px;
}


.footer_social_list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 15px;
  margin: 0;
  padding: 0;
}

/* Tamaño/forma genérica del ícono */
.social_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;   /* tamaño uniforme del "contenedor" */
  height: 60px;
}

.social_icon img {
  width: 100%;       /* se ajusta al ancho del contenedor */
  height: 100%;      /* se ajusta al alto del contenedor */
  object-fit: contain; /* mantiene la proporción, no deforma */
  display: block;
}

/* Posiciones piramidales */
.pos-fb { grid-column: 3; grid-row: 1; } /* arriba, centrado */
.pos-in { grid-column: 2; grid-row: 2; } /* medio-izq */
.pos-ig { grid-column: 4; grid-row: 2; } /* medio-der */
.pos-tk { grid-column: 1; grid-row: 3; } /* abajo-izq */
.pos-x  { grid-column: 3; grid-row: 3; } /* abajo-centro */
.pos-yt { grid-column: 5; grid-row: 3; } /* abajo-der */

/* Colores y formas (pueden ser los que ya tenías) */
.fb { background:#8cc63f; border-radius:50%; }                       /* círculo verde */
.in { background:#f6941d; clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);} /* “sello” hex */
.ig { background:#f6941d; clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);} /* “sello” hex */
.tk { background:#ea5a73; clip-path:polygon(0 20%,100% 20%,100% 80%,0 80%,8% 100%,0 80%,0 20%,8% 0);} /* ticket */
.x  { background:#29abe2; border-radius:50%; }                        /* círculo celeste */
.yt { background:#ed1c24; clip-path:polygon(0 20%,100% 20%,100% 80%,0 80%,8% 100%,0 80%,0 20%,8% 0);} /* ticket rojo */

.footer_bottom {
  margin-top: 20px;
  padding-top: 15px;
}

.footer_line {
  border: none;
  border-top: 1px solid #aaa;
  width: 95%;
  margin: 0 auto 15px;
}

.footer_links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 95%;
  margin: 0 auto;
}

.footer_links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer_links a:hover {
  text-decoration: underline;
}

/* Version Mobile*/

@media (max-width: 600px){
  .footer_top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer_left {
    max-width: 100%;
    padding: 0;
    margin-bottom: 20px;
  }
  /* 
    .footer_logo {
      max-height: 60px;
    }
 */
  .footer_right {
    width: 100%;
    justify-content: center;  /* centrar pirámide */
    margin-top: 20px;
  }

  .social_cluster {
    justify-content: center;
  }

  /* Íconos un poco más chicos para mobile */
  .social_icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  /* Links legales en columna */
  .footer_links {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}


/* Ocultar por defecto */
.texto-desktop,
.texto-mobile {
  display: none;
}

/* Mostrar solo en pantallas grandes (desktop) */
@media (min-width: 769px) {
  .texto-desktop {
    display: block;
  }
}

/* Mostrar solo en pantallas pequeñas (mobile) */
@media (max-width: 768px) {
  .texto-mobile {
    display: block;
  }
}
