/* ==============================================
   Alpujarra Tech Solution — Design System v1
   ============================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&family=Share+Tech+Mono&display=swap');

/* ── Tipografía ── */
body {
  font-family: 'Exo 2', sans-serif !important;
}
code, pre, .font-mono {
  font-family: 'Share Tech Mono', monospace !important;
}

/* ── Variables de color (sobrescriben colors.blade.php) ── */
:root, .dark {
  --color-background:           0 0% 2%;
  --color-background-secondary: 0 0% 5%;
  --color-primary:              25 100% 50%;
  --color-neutral:              0 0% 15%;
  --color-base:                 0 0% 96%;
  --color-muted:                0 0% 55%;
  --color-inverted:             0 0% 100%;
}

/* ── Tarjetas con glow ── */
.ats-card {
  border-radius: 1rem !important;
  border: 1px solid rgba(255,107,0,0.15) !important;
  background: #0d0d0d !important;
  padding: 1.5rem !important;
  gap: 0.875rem !important;
  display: flex !important;
  flex-direction: column !important;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.25s ease !important;
}
.ats-card:hover {
  box-shadow: 0 0 22px rgba(255,107,0,0.28), 0 6px 24px rgba(0,0,0,0.5) !important;
  border-color: rgba(255,107,0,0.55) !important;
  transform: translateY(-3px) !important;
}
.ats-card h2,
.ats-card h3 {
  margin: 0 !important;
  line-height: 1.3 !important;
}
.ats-card article {
  margin-top: 0 !important;
  line-height: 1.7 !important;
  color: rgba(245,245,245,0.7) !important;
}
.ats-card a:last-child,
.ats-card > div:last-child {
  margin-top: auto !important;
  padding-top: 0.25rem !important;
}

/* ── Hero banner ── */
.ats-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0800 100%) !important;
  border-bottom: 1px solid rgba(255,107,0,0.2) !important;
  position: relative;
  overflow: hidden;
}
.ats-hero::before {
  content: '';
  position: absolute;
  top: -60%; left: -40%;
  width: 180%; height: 220%;
  background: radial-gradient(ellipse at 50% 40%, rgba(255,107,0,0.07) 0%, transparent 65%);
  pointer-events: none;
}

/* ── Título de sección ── */
.ats-section-title {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FF6B00 !important;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}
.ats-section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 2px;
  background: #FF6B00;
  box-shadow: 0 0 8px rgba(255,107,0,0.7);
}

/* ── Sidebar de categorías ── */
.ats-sidebar {
  border-radius: 1rem !important;
  border: 1px solid rgba(255,107,0,0.2) !important;
  background: #0d0d0d !important;
}
.ats-sidebar a {
  transition: color 0.2s ease !important;
}
.ats-sidebar a:hover {
  color: #FF6B00 !important;
}

/* ── Resumen de pedido ── */
.ats-summary {
  border-radius: 1rem !important;
  border: 1px solid rgba(255,107,0,0.35) !important;
  background: #0d0d0d !important;
  padding: 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}
.ats-summary h2 {
  margin: 0 0 0.5rem 0 !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 1px solid rgba(255,107,0,0.2) !important;
  font-size: 1.25rem !important;
}
.ats-summary > div {
  padding: 0.125rem 0 !important;
}
.ats-summary > div:last-child {
  margin-top: 0.5rem !important;
  padding-top: 0.75rem !important;
  border-top: 1px solid rgba(255,107,0,0.15) !important;
}

/* ── Glow en botón primario ── */
.ats-btn-glow {
  transition: box-shadow 0.25s ease !important;
}
.ats-btn-glow:hover {
  box-shadow: 0 0 18px rgba(255,107,0,0.55) !important;
}
