/* ====================================================================
   LA BÓVEDA · Escuela de La Ecuación 3
   Estilos globales — "Orange Aura & Liquid Glass"
   ==================================================================== */

:root {
  --base-light: #FAF8F5;
  --base-dark: #0B0C0E;
  --fg-light: #111214;
  --fg-dark: #FFFFFF;
  --muted-light: #6B7280;
  --muted-dark: #9CA3AF;
  --orange: #FF5000;
  --amber: #FF9D66;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', 'SF Pro Display', system-ui, sans-serif;
  background-color: var(--base-dark);
  color: var(--fg-dark);
  overflow-x: hidden;
}

.font-heading { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.font-serif-accent { font-family: 'Playfair Display', Georgia, serif; }

/* ---------- Superficies de vidrio ---------- */
.glass {
  background: rgba(19, 21, 26, 0.40);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.glass-strong {
  background: rgba(23, 27, 38, 0.62);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

/* ---------- Auras de fondo ---------- */
.aura {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
  background: radial-gradient(circle, #FF5000, #FF9D66);
  filter: blur(110px);
  opacity: 0.20;
  z-index: 0;
}

/* ---------- Animaciones ---------- */
@keyframes slowFloat {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-10px); }
}
.animate-slow-float { animation: slowFloat 6s ease-in-out infinite; }

@keyframes auraPulse {
  0%, 100% { opacity: 0.14; }
  50%      { opacity: 0.28; }
}
.animate-aura-pulse { animation: auraPulse 10s ease-in-out infinite; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.6s ease-out forwards; }
.fade-in-delayed { opacity: 0; animation: fadeIn 0.6s ease-out forwards; }
.delay-1 { animation-delay: 0.10s; }
.delay-2 { animation-delay: 0.20s; }
.delay-3 { animation-delay: 0.30s; }
.delay-4 { animation-delay: 0.40s; }

@keyframes spin360 { to { transform: rotate(360deg); } }
.spinner {
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--orange);
  border-radius: 9999px;
  animation: spin360 0.8s linear infinite;
}

/* ---------- Scrollbar fina ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 80, 0, 0.45); }

/* ---------- Inputs de vidrio ---------- */
.input-glass {
  background: rgba(17, 18, 20, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  color: #fff;
  width: 100%;
  transition: all 0.2s ease;
}
.input-glass::placeholder { color: #6B7280; }
.input-glass:focus {
  outline: none;
  border-color: rgba(255, 80, 0, 0.6);
  box-shadow: 0 0 0 4px rgba(255, 80, 0, 0.10);
}

/* ---------- Botones ---------- */
.btn-primary {
  background: #FFFFFF;
  color: #111214;
  border-radius: 9999px;
  padding: 0.85rem 2rem;
  font-weight: 700;
  transition: all 0.2s ease;
}
.btn-primary:hover { transform: scale(1.02); }
.btn-primary:active { transform: scale(0.98); }

.btn-orange {
  background: linear-gradient(135deg, #FF5000, #FF9D66);
  color: #fff;
  border-radius: 9999px;
  padding: 0.85rem 2rem;
  font-weight: 700;
  box-shadow: 0 16px 48px -12px rgba(255, 80, 0, 0.45);
  transition: all 0.2s ease;
}
.btn-orange:hover { transform: scale(1.02); }
.btn-orange:active { transform: scale(0.98); }

.btn-glass {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(12px);
  border-radius: 9999px;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.20); }

/* ---------- Utilidades ---------- */
.shadow-aura { box-shadow: 0 16px 48px -12px rgba(255, 80, 0, 0.18); }
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
