:root {
  --paper: #f3f5f7;
  --surface: #ffffff;
  --ink: #0d1726;
  --muted: #6d7580;
  --line: #dfe4e9;
  --blue: #0057ff;
  --blue-soft: #eaf5ff;
  --whatsapp: #25d366;
  --font: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
body { min-width: 20rem; min-height: 100vh; margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); }
a { color: inherit; }
svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }

.links-page { min-height: 100vh; padding: 1rem; display: grid; place-items: center; }
.links-card { width: min(100%, 30rem); padding: clamp(1.5rem, 7vw, 2.5rem); background: var(--surface); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 1rem; box-shadow: 0 1.25rem 3rem rgba(22, 47, 83, 0.1); animation: enter 500ms ease both; }
.profile { text-align: center; }
.brand-logo { width: min(100%, 13rem); height: auto; }
.profile p { margin: 0.85rem 0 0; color: var(--muted); font-size: 0.82rem; font-weight: 700; }

.social-links { margin: 1.5rem 0 1.75rem; display: flex; justify-content: center; gap: 0.65rem; }
.social-links a { width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.social-links a:hover { transform: translateY(-0.15rem); color: var(--blue); border-color: rgba(0, 87, 255, 0.28); box-shadow: 0 0.5rem 1.25rem rgba(0, 87, 255, 0.12); }

.link-list { display: grid; gap: 0.7rem; }
.link-button { min-height: 3.5rem; padding: 0.45rem 1rem; display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) 2.2rem; align-items: center; border: 1px solid var(--line); border-radius: 0.8rem; background: var(--surface); color: var(--ink); font-size: 0.9rem; font-weight: 800; text-align: center; text-decoration: none; transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease; }
.link-button > span:last-child { grid-column: 2; }
.link-icon { width: 2.15rem; height: 2.15rem; grid-column: 1; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue); transition: transform 200ms ease, background 200ms ease; }
.link-button:hover { transform: translateY(-0.15rem); border-color: rgba(0, 87, 255, 0.28); box-shadow: 0 0.55rem 1.2rem rgba(22, 47, 83, 0.08); }
.link-button:hover .link-icon { transform: rotate(-7deg) scale(1.04); background: #dceeff; }

.whatsapp { color: #fff; background: var(--whatsapp); border-color: var(--whatsapp); box-shadow: 0 0.55rem 1.2rem rgba(37, 211, 102, 0.2); }
.whatsapp .link-icon { background: rgba(255, 255, 255, 0.18); color: #fff; }
.whatsapp:hover { border-color: #1ebc59; background: #1fbe59; box-shadow: 0 0.7rem 1.5rem rgba(37, 211, 102, 0.28); }
.whatsapp:hover .link-icon { background: rgba(255, 255, 255, 0.25); }

footer { margin-top: 1.6rem; color: var(--muted); font-size: 0.7rem; font-weight: 700; text-align: center; }
a:focus-visible { outline: 3px solid rgba(0, 87, 255, 0.28); outline-offset: 3px; }

@keyframes enter { from { opacity: 0; transform: translateY(0.8rem); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 640px) {
  body { background: var(--surface); }
  .links-page { min-height: 100dvh; padding: 0; place-items: stretch; }
  .links-card { width: 100%; min-height: 100dvh; padding: 2.25rem 1.25rem 1.5rem; border: 0; border-radius: 0; box-shadow: none; }
  footer { padding-bottom: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
