@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');


/* micro animations */
@keyframes toastIn { from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.toast-enter { opacity: 0; transform: translateY(8px); }
.toast-in { animation: toastIn 180ms ease-out forwards; }
.toast-out { opacity: 0; transform: translateY(6px); transition: all 180ms ease-in; }

.line-clamp-1{
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* subtle background grain */
.bg-grain{
  /* textura muy suave (evita "manchas" fuertes) */
  background-image:
    radial-gradient(circle at 18% 12%, rgba(232,64,32,.06), transparent 45%),
    radial-gradient(circle at 85% 18%, rgba(232,64,32,.05), transparent 55%);
}

html { scroll-behavior: smooth; }

/* page transitions */
.page-enter { opacity: 0; transform: translateY(6px); }
.page-ready { opacity: 1; transform: translateY(0); transition: opacity 240ms ease-out, transform 240ms ease-out; }
.page-leave { opacity: 0; transform: translateY(8px); transition: opacity 180ms ease-in, transform 180ms ease-in; }

/* nicer inputs on mobile */
.input-soft{
  width:100%;
  border:1px solid rgba(0,0,0,.12);
  border-radius:14px;
  padding:10px 12px;
  outline:none;
  background: rgba(255,255,255,.92);
  color: #0f172a;
}
.dark .input-soft{
  border-color: rgba(255,255,255,.10);
  background: rgba(15,23,42,.55);
  color: rgba(255,255,255,.92);
}
.input-soft::placeholder{ color: rgba(15,23,42,.55); }
.dark .input-soft::placeholder{ color: rgba(255,255,255,.55); }

.input-soft:focus{
  border-color: rgba(232,64,32,.55);
  box-shadow: 0 0 0 4px rgba(232,64,32,.10);
}

/* micro interactions */
.shadow-soft{
  box-shadow: 0 10px 26px rgba(2,6,23,.08);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.dark .shadow-soft{
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}
.shadow-soft:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(2,6,23,.12);
}
.dark .shadow-soft:hover{
  box-shadow: 0 16px 36px rgba(0,0,0,.45);
}

/* modal */
.modal-backdrop{ background: rgba(0,0,0,.55); }

/* tipografía más "corporativa" */
body{
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
}

/* fondo más limpio y profesional (light/dark) */
.bg-ambient{
  position: fixed;
  inset: 0;
  z-index: -20;
  background:
    radial-gradient(900px circle at 14% 0%, rgba(232,64,32,.10), transparent 60%),
    radial-gradient(780px circle at 88% 10%, rgba(32,136,152,.07), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 60%, #ffffff 100%);
}
.dark .bg-ambient{
  background:
    radial-gradient(900px circle at 14% 0%, rgba(232,64,32,.18), transparent 62%),
    radial-gradient(780px circle at 88% 10%, rgba(248,184,48,.10), transparent 62%),
    linear-gradient(180deg, #0b0f14 0%, #070a0f 100%);
}
