/* ==========================================================
   NEXUS COMMERCE - Main Stylesheet
   Paleta: naranja, amarillo, verde, rojo · Alegre y vibrante
   ========================================================== */

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

:root {
  /* Paleta principal */
  --nx-orange:      #F97316;
  --nx-orange-dark: #EA580C;
  --nx-orange-light:#FFF7ED;
  --nx-yellow:      #FBBF24;
  --nx-yellow-dark: #F59E0B;
  --nx-green:       #22C55E;
  --nx-green-dark:  #16A34A;
  --nx-red:         #EF4444;
  --nx-red-dark:    #DC2626;

  /* Neutros */
  --nx-text:        #1F2937;
  --nx-text-med:    #4B5563;
  --nx-text-light:  #9CA3AF;
  --nx-bg:          #FAFAF9;
  --nx-bg-warm:     #FFF7ED;
  --nx-card:        #FFFFFF;
  --nx-border:      #E5E7EB;
  --nx-border-warm: #FED7AA;
  --nx-shadow:      0 4px 24px rgba(249,115,22,0.10);
  --nx-shadow-lg:   0 8px 40px rgba(249,115,22,0.18);
  --nx-radius:      14px;
  --nx-radius-sm:   8px;
}

/* ── BASE ── */
*, *::before, *::after { box-sizing: border-box; }

body.nexus-body {
  background: var(--nx-bg);
  color: var(--nx-text);
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.65;
}

a { color: var(--nx-orange); text-decoration: none; }
a:hover { color: var(--nx-orange-dark); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--nx-bg); }
::-webkit-scrollbar-thumb { background: var(--nx-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--nx-orange); }

/* ── NAVBAR ── */
.nexus-navbar {
  background: #fff;
  border-bottom: 2px solid var(--nx-orange-light);
  padding: 0.35rem 0;
  z-index: 1050;
  box-shadow: 0 2px 16px rgba(249,115,22,0.08);
}

.nexus-brand {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: var(--nx-text) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-icon { color: var(--nx-orange); font-size: 1.4rem; }
.brand-accent { color: var(--nx-orange); }
.nexus-logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 0 0 1.5px rgba(249,115,22,0.25), 0 4px 14px rgba(0,0,0,0.10);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nexus-logo-img:hover {
  transform: scale(1.04);
  box-shadow: 0 0 0 2px rgba(249,115,22,0.45), 0 6px 20px rgba(0,0,0,0.13);
}

.nexus-navbar .nav-link {
  position: relative;
  color: var(--nx-text-med) !important;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 7px 14px !important;
  border-radius: 10px;
  background: transparent;
  transform: translateY(0) scale(1);
  transition: color 0.18s ease, background 0.18s ease,
              transform 0.18s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.18s ease;
}

.nexus-navbar .nav-link:hover {
  color: var(--nx-orange) !important;
  background: rgba(249,115,22,0.08);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 6px 18px rgba(249,115,22,0.22),
              0 2px 6px rgba(0,0,0,0.08),
              inset 0 1px 0 rgba(255,255,255,0.6);
}

.nexus-navbar .nav-link.active {
  color: var(--nx-orange) !important;
  background: rgba(249,115,22,0.08);
  border-radius: 10px;
}

.nexus-navbar .nav-link::after,
.nexus-navbar .nav-link::before {
  display: none;
}

/* Botones principales */
.btn-nexus {
  background: linear-gradient(135deg, var(--nx-orange), var(--nx-orange-dark));
  color: #fff !important;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  padding: 0.5rem 1.3rem;
  transition: all 0.2s;
  box-shadow: 0 3px 14px rgba(249,115,22,0.35);
}
.btn-nexus:hover {
  background: linear-gradient(135deg, var(--nx-orange-dark), #C2410C);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(249,115,22,0.45);
}

.btn-nexus-sm {
  background: var(--nx-orange);
  color: #fff !important;
  border: none;
  border-radius: 7px;
  padding: 0.28rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.2s;
}
.btn-nexus-sm:hover { background: var(--nx-orange-dark); transform: translateY(-1px); }

.btn-nexus-yellow {
  background: linear-gradient(135deg, var(--nx-yellow), var(--nx-yellow-dark));
  color: #1F2937 !important;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  padding: 0.5rem 1.3rem;
  transition: all 0.2s;
  box-shadow: 0 3px 14px rgba(251,191,36,0.35);
}
.btn-nexus-yellow:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(251,191,36,0.5); }

/* Avatar */
.nexus-avatar-sm {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--nx-orange), var(--nx-yellow));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800; color: #fff;
  flex-shrink: 0;
}

/* Dropdown */
.nexus-dropdown {
  background: #fff;
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  box-shadow: var(--nx-shadow-lg);
  min-width: 210px;
}
.nexus-dropdown .dropdown-item {
  color: var(--nx-text);
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 8px;
  margin: 2px 6px;
}
.nexus-dropdown .dropdown-item:hover { background: var(--nx-orange-light); color: var(--nx-orange-dark); }
.nexus-dropdown hr { border-color: var(--nx-border); }

/* ── ALERTS ── */
.nexus-alert {
  border: none;
  border-radius: var(--nx-radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ── CARRUSEL ── */
.nexus-carousel-section {
  width: 100%;
  background: var(--nx-bg-warm);
}
.nexus-carousel {
  width: 100%;
  height: 35vh;
  min-height: 220px;
  max-height: 540px;
  overflow: hidden;
  position: relative;
}
.nexus-carousel .carousel-inner,
.nexus-carousel .carousel-item { height: 100%; }
.carousel-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
}
.carousel-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.45) 100%);
}
.nexus-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.75rem 2.5rem; text-align: left; background: none;
}
.carousel-title {
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  font-weight: 900; color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  margin-bottom: 0.3rem;
}
.carousel-subtitle {
  font-size: clamp(0.8rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.nexus-carousel .carousel-indicators [data-bs-target] {
  width: 28px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.5); border: none; transition: all 0.3s;
}
.nexus-carousel .carousel-indicators .active {
  background: var(--nx-yellow); width: 44px;
}
.nexus-carousel-ctrl {
  width: 44px;
  background: rgba(0,0,0,0.25);
  transition: background 0.2s;
}
.nexus-carousel-ctrl:hover { background: rgba(249,115,22,0.65); }

/* ── HERO ── */
.nexus-hero {
  position: relative;
  background: linear-gradient(135deg, #FFF7ED 0%, #FFFBEB 40%, #F0FDF4 100%);
  overflow: hidden;
  padding: 5rem 0 4rem;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(249,115,22,0.07) 0%, transparent 65%);
}
.min-vh-70 { min-height: 70vh; }

.hero-badge {
  display: inline-flex; align-items: center;
  background: rgba(249,115,22,0.12);
  border: 1.5px solid rgba(249,115,22,0.35);
  color: var(--nx-orange-dark);
  padding: 0.4rem 1.1rem; border-radius: 50px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900; color: var(--nx-text);
  line-height: 1.12; letter-spacing: -0.5px;
}
.text-nexus-accent { color: var(--nx-orange) !important; }

.hero-subtitle {
  font-size: 1.1rem; color: var(--nx-text-med);
  margin-top: 1rem; line-height: 1.75;
}
.trust-item { display: flex; align-items: center; }

/* Dashboard preview (hero) */
.hero-dashboard-preview { perspective: 1000px; }
.preview-card {
  background: #fff;
  border: 1.5px solid var(--nx-border-warm);
  border-radius: 18px; padding: 1.5rem; width: 340px;
  box-shadow: var(--nx-shadow-lg);
  transform: rotateY(-8deg) rotateX(4deg); transition: transform 0.4s;
}
.preview-card:hover { transform: rotateY(0) rotateX(0); }
.preview-header { display: flex; align-items: center; margin-bottom: 1.5rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; }
.dot.red { background: var(--nx-red); }
.dot.yellow { background: var(--nx-yellow); }
.dot.green { background: var(--nx-green); }
.preview-stats { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.preview-stat { flex: 1; }
.stat-val { display: block; font-size: 1.2rem; font-weight: 800; color: var(--nx-text); }
.stat-lbl { font-size: 0.7rem; color: var(--nx-text-light); }
.preview-bars { display: flex; gap: 6px; align-items: flex-end; height: 80px; }
.bar-item { flex: 1; display: flex; align-items: flex-end; }
.bar { width: 100%; background: linear-gradient(to top, var(--nx-orange-light), var(--nx-orange)); border-radius: 4px 4px 0 0; }
.bar.active { background: linear-gradient(to top, var(--nx-yellow), var(--nx-orange)); }

/* Partículas */
.hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute; border-radius: 50%;
  animation: float 6s infinite ease-in-out;
}
.p1 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(249,115,22,0.07), transparent); top: 5%; right: 5%; }
.p2 { width: 200px; height: 200px; background: radial-gradient(circle, rgba(251,191,36,0.09), transparent); bottom: 10%; left: 8%; animation-delay: -3s; }
.p3 { width: 160px; height: 160px; background: radial-gradient(circle, rgba(34,197,94,0.07), transparent); top: 50%; right: 28%; animation-delay: -1.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ── ESTADÍSTICAS ── */
.nexus-stats {
  background: linear-gradient(135deg, var(--nx-orange), var(--nx-yellow-dark));
  padding: 3rem 0;
}
.stat-card { padding: 1.5rem 1rem; }
.stat-icon { font-size: 2rem; color: rgba(255,255,255,0.85); margin-bottom: 0.6rem; }
.stat-number { font-size: 2.5rem; font-weight: 900; color: #fff; line-height: 1; margin-bottom: 0.3rem; }
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* ── SECTION HEADERS ── */
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--nx-text); }
.section-subtitle { color: var(--nx-text-light); font-size: 0.95rem; margin-top: 0.4rem; }

/* ── CATEGORY CARDS ── */
.nexus-category-card {
  display: block;
  background: #fff;
  border: 2px solid var(--nx-border);
  border-radius: var(--nx-radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.25s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.nexus-category-card:hover {
  border-color: var(--nx-orange);
  transform: translateY(-5px);
  box-shadow: var(--nx-shadow);
  background: var(--nx-orange-light);
}
.cat-icon { font-size: 2rem; color: var(--nx-orange); margin-bottom: 0.5rem; }
.cat-name { font-weight: 700; color: var(--nx-text); font-size: 0.875rem; }
.cat-count { color: var(--nx-text-light); font-size: 0.78rem; }

/* ── PRODUCT CARDS ── */
.nexus-product-card {
  background: #fff;
  border: 2px solid var(--nx-border);
  border-radius: var(--nx-radius);
  overflow: hidden;
  transition: all 0.25s;
  position: relative;
  height: 100%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.nexus-product-card:hover {
  border-color: var(--nx-orange);
  transform: translateY(-5px);
  box-shadow: var(--nx-shadow);
}
.product-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: 0.7rem; font-weight: 800; padding: 3px 9px;
  border-radius: 20px; text-transform: uppercase;
}
.product-badge.sale { background: var(--nx-red); color: #fff; }
.product-badge.low-stock { background: var(--nx-yellow); color: var(--nx-text); }
.product-img-wrap { aspect-ratio: 4/3; overflow: hidden; background: var(--nx-orange-light); }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.nexus-product-card:hover .product-img { transform: scale(1.06); }
.product-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--nx-border-warm); font-size: 3rem;
}
.product-body { padding: 1rem; }
.product-category { font-size: 0.7rem; color: var(--nx-orange); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 0.3rem; }
.product-name { font-size: 0.9rem; font-weight: 700; color: var(--nx-text); margin-bottom: 0.5rem; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-price-wrap { display: flex; align-items: baseline; gap: 0.5rem; }
.product-price { font-size: 1.15rem; font-weight: 800; color: var(--nx-green-dark); }
.product-original { font-size: 0.8rem; color: var(--nx-text-light); text-decoration: line-through; }
.product-stock { font-size: 0.75rem; font-weight: 600; }

/* ── MÓDULOS / FEATURES ── */
.nexus-features { background: linear-gradient(135deg, #FFF7ED 0%, #FFFBEB 100%); }
.nexus-module-card {
  background: #fff;
  border: 2px solid var(--nx-border);
  border-radius: var(--nx-radius);
  padding: 1.75rem 1.25rem;
  transition: all 0.25s; height: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.nexus-module-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--nx-shadow);
  border-color: var(--nx-orange);
}
.module-icon { font-size: 2.2rem; margin-bottom: 0.9rem; }
.module-title { font-size: 0.9rem; font-weight: 700; color: var(--nx-text); margin-bottom: 0.4rem; }
.module-desc { color: var(--nx-text-med); font-size: 0.82rem; }

/* ── TIMELINE ── */
.nexus-timeline { padding: 0.5rem; }
.timeline-step {
  display: flex; align-items: flex-start; gap: 1rem;
  opacity: 0.4; transition: opacity 0.3s;
}
.timeline-step.completed, .timeline-step.active { opacity: 1; }
.timeline-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: #fff;
  border: 2px solid var(--nx-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--nx-text-light); font-size: 1rem;
}
.timeline-step.completed .timeline-icon {
  background: rgba(34,197,94,0.1);
  border-color: var(--nx-green);
  color: var(--nx-green);
}
.timeline-step.active .timeline-icon {
  background: rgba(249,115,22,0.1);
  border-color: var(--nx-orange);
  color: var(--nx-orange);
  animation: pulse-icon 2s infinite;
}
@keyframes pulse-icon {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0.35); }
  50% { box-shadow: 0 0 0 8px rgba(249,115,22,0); }
}
.timeline-connector { width: 2px; height: 30px; background: var(--nx-border); margin-left: 21px; margin-top: 2px; margin-bottom: 2px; }
.timeline-title { font-weight: 700; color: var(--nx-text); font-size: 0.9rem; }

/* ── CTA ── */
.nexus-cta {
  background: linear-gradient(135deg, var(--nx-orange) 0%, var(--nx-yellow-dark) 100%);
  padding: 5rem 0;
}
.cta-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; color: #fff; }
.cta-subtitle { color: rgba(255,255,255,0.88); font-size: 1rem; }

/* ── FOOTER ── */
.nexus-footer { background: var(--nx-text); color: #fff; }
.footer-link { color: rgba(255,255,255,0.6) !important; font-size: 0.85rem; transition: color 0.2s; }
.footer-link:hover { color: var(--nx-yellow) !important; }
.nexus-social {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
}
.nexus-social:hover { background: var(--nx-orange); border-color: var(--nx-orange); color: #fff; }

/* ── BG WARM ── */
.bg-dark-subtle { background-color: var(--nx-bg-warm) !important; }

/* ── FORMS ── */
.form-control, .form-select {
  background: #fff;
  border: 1.5px solid var(--nx-border);
  color: var(--nx-text);
  border-radius: var(--nx-radius-sm);
  padding: 0.5rem 0.85rem;
}
.form-control:focus, .form-select:focus {
  background: #fff;
  border-color: var(--nx-orange);
  color: var(--nx-text);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}
.form-control::placeholder { color: var(--nx-text-light); }
.form-label { color: var(--nx-text); font-size: 0.875rem; font-weight: 600; margin-bottom: 0.4rem; }

/* ── CARDS GENÉRICAS ── */
.nexus-card {
  background: #fff;
  border: 1.5px solid var(--nx-border);
  border-radius: var(--nx-radius);
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

/* ── TABLAS ── */
.nexus-table { width: 100%; }
.nexus-table th {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--nx-text-light); padding: 0.75rem 1rem;
  background: var(--nx-bg); border-bottom: 2px solid var(--nx-border);
  font-weight: 700;
}
.nexus-table td {
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--nx-border);
  color: var(--nx-text); font-size: 0.875rem; vertical-align: middle;
}
.nexus-table tr:hover td { background: var(--nx-orange-light); }

/* ── PAGINACIÓN ── */
.pagination .page-link { background: #fff; border-color: var(--nx-border); color: var(--nx-text-med); border-radius: 8px !important; margin: 0 2px; }
.pagination .page-link:hover { background: var(--nx-orange-light); color: var(--nx-orange); border-color: var(--nx-orange); }
.pagination .page-item.active .page-link { background: var(--nx-orange); border-color: var(--nx-orange); color: #fff; }

/* ── BADGES ── */
.badge { font-size: 0.72rem; font-weight: 700; }

/* ── AUTH ── */
.auth-wrapper {
  min-height: 100vh;
  background: linear-gradient(135deg, #FB923C 0%, #F97316 40%, #EA580C 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 1rem;
}
.auth-card {
  background: #fff;
  border: 1.5px solid var(--nx-border-warm);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%; max-width: 450px;
  box-shadow: var(--nx-shadow-lg);
}
.auth-logo { text-align: center; margin-bottom: 2rem; }
.auth-title { font-size: 1.5rem; font-weight: 800; color: var(--nx-text); text-align: center; margin-bottom: 0.4rem; }
.auth-subtitle { color: var(--nx-text-light); text-align: center; font-size: 0.875rem; margin-bottom: 2rem; }

/* Input group en auth */
.input-group-text {
  background: var(--nx-bg);
  border: 1.5px solid var(--nx-border);
  color: var(--nx-text-light);
}

/* ── STATUS BADGES (público) ── */
.status-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.72rem; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.status-pending   { background: rgba(251,191,36,0.15); color: #B45309; border: 1px solid rgba(251,191,36,0.4); }
.status-confirmed { background: rgba(59,130,246,0.12); color: #1D4ED8; border: 1px solid rgba(59,130,246,0.3); }
.status-preparing { background: rgba(168,85,247,0.12); color: #7E22CE; border: 1px solid rgba(168,85,247,0.3); }
.status-shipped   { background: rgba(107,114,128,0.12); color: #4B5563; border: 1px solid rgba(107,114,128,0.3); }
.status-delivered { background: rgba(34,197,94,0.12); color: var(--nx-green-dark); border: 1px solid rgba(34,197,94,0.3); }
.status-cancelled { background: rgba(239,68,68,0.12); color: var(--nx-red-dark); border: 1px solid rgba(239,68,68,0.3); }
.status-refunded  { background: rgba(107,114,128,0.1); color: #6B7280; border: 1px solid rgba(107,114,128,0.2); }

/* ═══════════════════════════════════════════════
   HERO CAROUSEL (10 slides con gradientes)
   ═══════════════════════════════════════════════ */

.hero-cs-section { position: relative; }

.hero-cs {
  height: 68vh;
  min-height: 420px;
  max-height: 780px;
}
.hero-cs .carousel-inner,
.hero-cs .carousel-item { height: 100%; }

/* Gradientes de cada slide */
.hs-1  { background: linear-gradient(135deg, #FF4500 0%, #FF6B35 45%, #F7931E 100%); }
.hs-2  { background: linear-gradient(135deg, #056608 0%, #11998E 55%, #38EF7D 100%); }
.hs-3  { background: linear-gradient(135deg, #4527A0 0%, #667EEA 55%, #8B5CF6 100%); }
.hs-4  { background: linear-gradient(135deg, #C2185B 0%, #FC466B 45%, #F7971E 80%, #FFD200 100%); }
.hs-5  { background: linear-gradient(135deg, #005F73 0%, #0A9396 50%, #14C8B4 100%); }
.hs-6  { background: linear-gradient(135deg, #0D1117 0%, #0F3460 55%, #1A6BAF 100%); }
.hs-7  { background: linear-gradient(135deg, #A50000 0%, #EB3349 50%, #FA8231 100%); }
.hs-8  { background: linear-gradient(135deg, #1B4332 0%, #40916C 50%, #74C69D 100%); }
.hs-9  { background: linear-gradient(135deg, #03045E 0%, #0077B6 55%, #00B4D8 100%); }
.hs-10 { background: linear-gradient(135deg, #E85D04 0%, #F48C06 45%, #FAA307 75%, #FFBA08 100%); }

/* Formas decorativas flotantes */
.hs-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hs-shapes > div {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.hs-s1 { width: 520px; height: 520px; top: -130px; right: -100px; }
.hs-s2 { width: 280px; height: 280px; bottom: -80px; left: 8%; background: rgba(255,255,255,0.07); }
.hs-s3 { width: 160px; height: 160px; top: 30%; left: 22%; background: rgba(255,255,255,0.06); }

/* Contenido */
.hs-body {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 2rem 1rem;
}

.hs-tag {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 0.72rem; font-weight: 800;
  padding: 5px 14px; border-radius: 30px;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hs-icon {
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: rgba(255,255,255,0.92);
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.25));
  animation: hs-float 3.5s ease-in-out infinite;
}
@keyframes hs-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hs-title {
  font-size: clamp(1.8rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
  margin: 0;
}

.hs-sub {
  font-size: clamp(1rem, 2.5vw, 1.7rem);
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  margin-top: 0.2rem; margin-bottom: 0;
}

.hs-btn {
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.6);
  color: #fff !important;
  font-weight: 800; font-size: 1rem;
  padding: 0.65rem 2rem;
  border-radius: 50px;
  margin-top: 1.8rem;
  letter-spacing: 0.3px;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.hs-btn:hover {
  background: rgba(255,255,255,0.38);
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* Indicadores */
.hero-cs-indicators { bottom: 22px; }
.hero-cs-indicators [data-bs-target] {
  width: 30px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.4); border: none;
  transition: all 0.35s; margin: 0 3px;
}
.hero-cs-indicators .active { width: 52px; background: #fff; }

/* Controles */
.hero-cs-ctrl {
  width: 52px !important; height: 52px !important;
  background: rgba(255,255,255,0.18) !important;
  backdrop-filter: blur(8px);
  border-radius: 50% !important;
  top: 50% !important; transform: translateY(-50%) !important;
  transition: all 0.2s !important; opacity: 1 !important;
  z-index: 10 !important;
  pointer-events: auto !important;
}
.hero-cs-ctrl:hover {
  background: rgba(255,255,255,0.38) !important;
  transform: translateY(-50%) scale(1.06) !important;
}
.carousel-control-prev.hero-cs-ctrl { left: 20px; }
.carousel-control-next.hero-cs-ctrl { right: 20px; }

/* Evitar que el contenido del slide bloquee las flechas en mobile */
.hero-slide .container-xl { pointer-events: none; }
.hero-slide .container-xl a,
.hero-slide .container-xl button { pointer-events: auto; }

/* Tira de confianza */
.hero-trust-strip {
  background: #fff;
  border-bottom: 2px solid var(--nx-border-warm);
  padding: 0.7rem 0;
  box-shadow: 0 2px 12px rgba(249,115,22,0.06);
}
.trust-pill { font-size: 0.8rem; font-weight: 700; color: var(--nx-text-med); }
.text-orange { color: var(--nx-orange) !important; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-cs { height: 58vh; min-height: 380px; }
  .hs-s1 { width: 300px; height: 300px; }
  .hs-s2, .hs-s3 { display: none; }
  .stat-number { font-size: 1.9rem; }
  .hero-cs-ctrl { width: 38px !important; height: 38px !important; }
  .carousel-control-prev.hero-cs-ctrl { left: 10px; }
  .carousel-control-next.hero-cs-ctrl { right: 10px; }
}
