@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)); }
.antetitulo { margin: 0; font: 500 10px/1.5 var(--etiqueta); letter-spacing: .26em; text-transform: uppercase; color: var(--dorado); }

/* 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; }
.enlace:hover { border-color: #e0993b99; background: var(--panel-hover); }
.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); }
.nuevo { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 20px; background: var(--dorado); color: var(--fondo); font: 600 9px/1.6 var(--etiqueta); letter-spacing: .14em; text-transform: uppercase; vertical-align: 2px; }
.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); }
.destacado:hover { background: linear-gradient(135deg, #e0993b33, var(--panel-hover) 62%); }

/* Arma tu propio agente: el pase a Takoraa. */
.agente { margin-top: 40px; padding: 24px 20px 20px; border: 1px solid #e0993b59; border-radius: 18px; background: radial-gradient(120% 90% at 100% 0%, #e0993b2b, transparent 60%), var(--panel); }
.agente h2 { margin: 10px 0 0; font: 300 27px/1.15 var(--titulo); letter-spacing: -.02em; }
.agente h2 em { color: var(--dorado); font-weight: 400; }
.agente p:not(.antetitulo) { margin: 10px 0 18px; font-size: 14px; line-height: 1.6; color: var(--tenue); }
.boton { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border: 1px solid var(--dorado); border-radius: 40px; background: var(--dorado); color: var(--fondo); font: 600 15px/1.2 var(--etiqueta); text-align: center; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: background .2s, transform .15s; }
.boton:hover { background: var(--dorado-claro); border-color: var(--dorado-claro); }
.boton:active { transform: scale(.98); }
.boton svg { width: 18px; height: 18px; flex: none; }

.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; }

/* Portfolio */
.pagina.ancha { max-width: 640px; }
.volver { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 500 13px/1 var(--etiqueta); text-decoration: none; }
.volver svg { width: 16px; height: 16px; transform: scaleX(-1); }
.portada { margin-top: 18px; }
.portada h1 { margin: 14px 0 0; font: 300 clamp(40px, 11vw, 56px)/1.04 var(--titulo); letter-spacing: -.03em; }
.portada h1 em { display: block; color: var(--dorado); font-weight: 400; }
.bajada { margin: 18px 0 0; color: var(--tenue); font-size: 15px; line-height: 1.7; }
.ciudades { margin: 16px 0 0; font: 500 11px/1.7 var(--etiqueta); letter-spacing: .16em; text-transform: uppercase; color: var(--dorado-claro); }

.proyectos { display: grid; gap: 12px; margin-top: 36px; }
.proyecto { padding: 20px; border: 1px solid var(--linea); border-radius: 16px; background: var(--panel); overflow: hidden; }
.proyecto h2 { margin: 6px 0 0; font: 400 26px/1.15 var(--titulo); letter-spacing: -.02em; }
.proyecto p:not(.meta) { margin: 8px 0 0; color: var(--tenue); font-size: 14px; line-height: 1.65; }
.meta { margin: 0; font: 500 10px/1.5 var(--etiqueta); letter-spacing: .22em; text-transform: uppercase; color: var(--dorado); }
/* Fotos y videos de cada proyecto: una tira que se desliza de costado. */
.medios { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 8px; margin: -20px -20px 18px; padding: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.medios::-webkit-scrollbar { display: none; }
.medios:has(> :only-child) { grid-auto-columns: 100%; }
.medios img, .medios video { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #000; scroll-snap-align: start; }

.cierre { margin-top: 40px; padding: 28px 20px 22px; border: 1px solid #e0993b59; border-radius: 18px; background: radial-gradient(120% 90% at 50% 0%, #e0993b26, transparent 62%), var(--panel); text-align: center; }
.cierre h2 { margin: 0; font: 300 30px/1.15 var(--titulo); letter-spacing: -.02em; }
.cierre h2 em { color: var(--dorado); font-weight: 400; }
.cierre > p { margin: 10px auto 20px; max-width: 34ch; color: var(--tenue); font-size: 14px; }
.acciones { display: grid; gap: 10px; }
.boton.secundario { background: transparent; color: var(--dorado-claro); border-color: #e0993b99; }
.boton.secundario:hover { background: #e0993b1a; }
@media (min-width: 560px) {
  .acciones { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .perfil, .enlaces li, .agente, .portada, .proyecto { 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; }
  .enlaces li:nth-child(6) { animation-delay: .2s; }
  .agente { animation-delay: .24s; }
}
@keyframes entrar { from { opacity: 0; transform: translateY(8px); } }
