:root {
  /* ── Alineación del texto de redes sociales ── */
  /* Opciones: left | center | right */
  --social-text-align: left;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ededed; /* Fondo gris claro */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.card {
  width: 100%;
  max-width: 420px;
  background: #f7f7f7; /* Caja ligeramente más oscura que el fondo */
  border-radius: 18px;
  padding: 22px 18px;
  color: #000;

  /* Sombra suave */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  gap: 12px;
}

.logo {
  max-width: 220px;
  width: 70%;
  height: auto;
  border-radius: 40px;
}

.empresa-texto {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  text-align: center;
  letter-spacing: 0.02em;
}

.card-text {
  text-align: center;
  margin-bottom: 20px;
}

.card-text h1 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #000;
}

.card-text p {
  margin-top: 4px;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  opacity: 0.7;
  color: #000;
}

.social-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  background: #e6e6e6; /* Botones gris medio */
  padding: 12px 14px;
  border-radius: 12px;
  transition: background 0.2s;
}

.social-item:hover {
  background: #dcdcdc;
}

.social-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;              /* Ocupa el espacio disponible entre icono y flecha */
}

.social-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;              /* El icono nunca se encoge */
}

/* Solo el texto se alinea, el icono siempre queda fijo a la izquierda */
.social-item span {
  color: #000;
  font-size: 1rem;
  flex: 1 1 auto;              /* El texto ocupa el espacio restante */
  text-align: var(--social-text-align);
}

.arrow-icon {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

/* Responsive: tarjeta más compacta en móvil */
@media (max-width: 480px) {
  body {
    align-items: flex-start;
    padding: 26px 26px;
  }

  .card {
    max-width: 100%;
    margin: 0 10px;
    padding: 16px 12px;
    border-radius: 14px;
  }

  .logo {
    max-width: 160px;
    width: 55%;
  }

  .empresa-texto {
    font-size: 0.95rem;
  }

  .card-text h1 {
    font-size: 1.2rem;
  }

  .card-text p {
    font-size: 0.8rem;
  }

  .social-item {
    padding: 10px 12px;
  }

  .social-icon {
    width: 24px;
    height: 24px;
  }
}
