/* NET44 Estudio Creativo — estilos globales */
:root {
  --accent: #EC4A0C;
  --bg: #F0E9DD;
  --ink: #0E0E0E;
  --ivory: #F4F3EF;
  --muted: #5E5D58;
  --body: #3A3935;
  --line: #CFCDC6;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--muted); }
.accent { color: var(--accent); }

/* Banda en movimiento (home) */
@keyframes n44-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.n44-track { display: flex; width: max-content; animation: n44-marquee 100s linear infinite; }
.n44-track:hover { animation-play-state: paused; }
.n44-card {
  position: relative; flex: none; width: 200px; height: 260px; margin-right: 16px; border-radius: 16px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.n44-card:hover { transform: translateY(-10px); box-shadow: 0 14px 32px rgba(0,0,0,.45); }
.n44-card img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.n44-card span {
  position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px;
  background: rgba(14,14,14,.8); color: var(--ivory); font-size: 11px; font-weight: 600; letter-spacing: .04em;
}

/* Imágenes del portafolio con zoom */
.n44-shot img { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
a:hover .n44-shot img, .n44-shot:hover img { transform: scale(1.04); }

/* Filtros del portafolio */
.n44-filter {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px;
  font: 500 15px Inter, system-ui, sans-serif; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
}
.n44-filter span { opacity: .6; font-weight: 500; }
.n44-filter.is-active { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
[data-cat][hidden] { display: none; }

/* Botón volver arriba */
.n44-totop {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 999px;
  background: var(--accent); color: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,.25);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease;
}
.n44-totop.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.n44-totop.is-visible:hover { transform: translateY(-3px); color: var(--ink); }

/* Móvil */
@media (max-width: 640px) {
  .n44-header, .n44-header nav { justify-content: center !important; }
  .n44-header { flex-direction: column; }
  .n44-chips { justify-content: center !important; }
  .n44-contact { gap: 20px !important; margin-top: 48px !important; padding-top: 28px !important; }
  .n44-contact p { margin-bottom: 2px !important; }
  .n44-foot { margin-top: 56px !important; }
  .n44-foot-center { flex-direction: column; margin-top: 64px !important; }
  .n44-foot-center, .n44-foot-center > span { justify-content: center !important; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .n44-track { animation: none !important; }
  .n44-card, .n44-shot img, .n44-totop { transition: none; }
}
