/* Página "link en bio". Los colores y fuentes llegan como variables desde links.html. */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-texto), system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.tarjeta {
  width: 100%;
  max-width: 480px;
  padding: 40px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Encabezado */
.encabezado {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(300px, 85%);
  max-height: 120px;
  object-fit: contain;
}

.nombre {
  margin: 12px 0 0;
  font-family: var(--font-titulos), var(--font-texto), system-ui, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.descripcion { margin: 0; font-size: 1rem; }

.zona { margin: 0; font-size: 0.9rem; opacity: 0.85; }

/* Redes */
.redes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.redes a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--text);
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 35%, transparent);
}

/* Botones */
.botones, .acciones {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.acciones { flex-direction: row; }

.acciones .boton { flex: 1 1 0; }

.boton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--btn);
  color: var(--btn-text);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.boton:active { transform: scale(0.98); }

.boton-cta { background: var(--cta); color: var(--cta-text); }

.boton-llamar { background: var(--call); color: var(--call-text); }

.boton svg, .redes svg {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a:focus-visible {
  outline: 3px solid var(--cta);
  outline-offset: 3px;
}

/* Pie */
.pie {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.85;
}

.pie p { margin: 0; }

.pie a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  .boton { transition: none; }
}
