@font-face{font-family:'GM Fraunces';font-style:normal;font-weight:300 600;font-display:swap;src:url('fuentes/fraunces-normal-latin.woff2') format('woff2')}
@font-face{font-family:'GM Fraunces';font-style:italic;font-weight:400;font-display:swap;src:url('fuentes/fraunces-italic-latin.woff2') format('woff2')}
@font-face{font-family:'GM Space Grotesk';font-weight:400 700;font-display:swap;src:url('fuentes/space-grotesk-normal-latin.woff2') format('woff2')}
@font-face{font-family:'GM Inter';font-weight:400 500;font-display:swap;src:url('fuentes/inter-normal-latin.woff2') format('woff2')}

:root {
  --fondo: #0a1620;
  --panel: #0d1d29;
  --panel-hover: #122636;
  --dorado: #e0993b;
  --dorado-claro: #f2cf92;
  --texto: #eceff3;
  --tenue: #a5b0bd;
  --linea: #e0993b38;
  --titulo: 'GM Fraunces', Georgia, serif;
  --etiqueta: 'GM Space Grotesk', Arial, sans-serif;
  --cuerpo: 'GM Inter', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* El resplandor de arriba es el atardecer de la marca. */
body { margin: 0; min-height: 100vh; min-height: 100dvh; background: radial-gradient(140% 50% at 50% -6%, #e0993b26, #e0993b08 50%, transparent 72%) no-repeat, var(--fondo); color: var(--texto); font: 400 16px/1.6 var(--cuerpo); }
a { color: var(--dorado-claro); }
a:focus-visible { outline: 2px solid var(--dorado); outline-offset: 3px; }

.pagina { max-width: 480px; margin: 0 auto; padding: max(44px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }

/* Perfil */
.perfil { text-align: center; }
.avatar { width: 96px; height: 96px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 50% 75%, #e0993b2e, var(--panel) 72%); border: 1px solid #e0993b73; box-shadow: 0 0 0 7px #e0993b0f; }
.avatar img { display: block; width: 60px; height: 38px; }
.perfil h1 { margin: 20px 0 0; font: 300 36px/1.1 var(--titulo); letter-spacing: -.025em; }
.cargo { margin: 10px 0 0; font: 500 11px/1.5 var(--etiqueta); letter-spacing: .22em; text-transform: uppercase; color: var(--tenue); }
.lema { margin: 16px auto 0; max-width: 30ch; font: italic 400 17px/1.5 var(--titulo); color: var(--dorado-claro); }

/* Enlaces */
.enlaces { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 10px; }
.enlace { display: flex; align-items: center; gap: 14px; min-height: 70px; padding: 14px 16px; border: 1px solid var(--linea); border-radius: 14px; background: var(--panel); color: var(--texto); text-decoration: none; -webkit-tap-highlight-color: transparent; transition: border-color .2s, background .2s, transform .15s; }
a.enlace:hover { border-color: #e0993b99; background: var(--panel-hover); }
a.enlace:active { transform: scale(.985); }
.icono { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #e0993b17; color: var(--dorado); }
.icono svg { width: 20px; height: 20px; }
.texto { flex: 1; min-width: 0; display: grid; gap: 2px; }
.texto b { font: 500 16px/1.3 var(--etiqueta); }
.texto small { font-size: 13px; line-height: 1.45; color: var(--tenue); overflow-wrap: anywhere; }
.texto .direccion { margin-top: 2px; font: 500 12px/1.4 var(--etiqueta); color: var(--dorado-claro); }
.flecha { flex: none; width: 18px; height: 18px; color: var(--dorado-claro); opacity: .6; transition: transform .2s, opacity .2s; }
.enlace:hover .flecha { transform: translateX(3px); opacity: 1; }
.destacado { border-color: #e0993bb3; background: linear-gradient(135deg, #e0993b26, var(--panel) 62%); }
.destacado .icono { background: var(--dorado); color: var(--fondo); }
a.destacado:hover { background: linear-gradient(135deg, #e0993b33, var(--panel-hover) 62%); }
/* Lo que todavía no está: figura, pero no se toca. */
.inactivo { border-style: dashed; background: transparent; }
.inactivo .icono { background: #a5b0bd14; color: var(--tenue); }
.inactivo b { color: var(--tenue); }
.pastilla { display: inline-block; margin-left: 6px; padding: 2px 8px; border: 1px solid #e0993b99; border-radius: 20px; color: var(--dorado-claro); font: 600 9px/1.6 var(--etiqueta); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; vertical-align: 2px; }

.pie { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 40px; font: 500 10px/1.5 var(--etiqueta); letter-spacing: .2em; text-transform: uppercase; color: var(--tenue); }
.pie img { width: 26px; height: 16px; }

@media (prefers-reduced-motion: no-preference) {
  .perfil, .enlaces li { animation: entrar .6s cubic-bezier(.2, .7, .2, 1) both; }
  .enlaces li:nth-child(2) { animation-delay: .04s; }
  .enlaces li:nth-child(3) { animation-delay: .08s; }
  .enlaces li:nth-child(4) { animation-delay: .12s; }
  .enlaces li:nth-child(5) { animation-delay: .16s; }
}
@keyframes entrar { from { opacity: 0; transform: translateY(8px); } }
