/* ============================================================
   Portal Victoria — Estilos Principales
   Paleta: Verde esmeralda + Azul profundo + Gris moderno
   ============================================================ */

/* Variables */
:root {
  --primary:       #1e3a8a;
  --primary-light: #2563eb;
  --primary-soft:  #eff6ff;
  --accent:        #f97316;
  --danger:        #ef4444;
  --dark:          #1e293b;
  --dark-2:        #334155;
  --gray:          #64748b;
  --gray-light:    #f1f5f9;
  --white:         #ffffff;
  --whatsapp:      #25d366;
  --whatsapp-dark: #128c7e;
  --olive:         #65a30d;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:     0 8px 32px rgba(0,0,0,.14);
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    all .22s ease;
}

/* Reset / Base */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f8fafc;
  color: var(--dark);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content { flex: 1; }

h1,h2,h3,h4,h5,h6 { font-weight: 700; color: var(--dark); }

.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }
.x-small { font-size: 0.72rem; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--dark);
  font-size: 12px;
}
.hover-white:hover { color: white !important; transition: var(--transition); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar { border-bottom: 1px solid #e2e8f0; }

.brand-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.3rem;
  flex-shrink: 0;
}
.brand-icon-sm { width: 34px; height: 34px; border-radius: 8px; font-size: 1rem; }

.brand-name { font-size: 1.2rem; font-weight: 800; color: var(--dark); line-height: 1.1; }
.brand-sub  { font-size: 0.65rem; color: var(--gray); font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }

.search-bar-nav .form-control {
  border-radius: 8px 0 0 8px;
  border: 1.5px solid #e2e8f0;
  font-size: 14px;
}
.search-bar-nav .btn { border-radius: 0 8px 8px 0; }
.search-bar-nav .form-control:focus { border-color: var(--primary); box-shadow: none; }

.dropdown-menu-categorias {
  min-width: 240px;
  max-height: 60vh;
  overflow-y: auto;
  border-radius: var(--radius) !important;
  padding: 8px;
}

/* Scrollbar para el menú de rubros */
.dropdown-menu-categorias::-webkit-scrollbar {
  width: 6px;
}
.dropdown-menu-categorias::-webkit-scrollbar-track {
  background: transparent;
}
.dropdown-menu-categorias::-webkit-scrollbar-thumb {
  background-color: var(--gray);
  border-radius: 10px;
}
.dropdown-menu-categorias::-webkit-scrollbar-thumb:hover {
  background-color: var(--dark);
}
.dropdown-menu-categorias .dropdown-item {
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  transition: var(--transition);
}
.dropdown-menu-categorias .dropdown-item:hover { background: var(--primary-soft); color: var(--primary); }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  min-height: 460px;
  display: flex;
  align-items: center;
}
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: 100%;
}
.hero-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; }

.badge-hero {
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.3);
  color: white;
  border-radius: 50px;
}
.hero-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: white;
  line-height: 1.2;
}
.text-gradient {
  background: linear-gradient(90deg, #f59e0b, #fde68a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,.82); max-width: 540px; margin: 0 auto; }

.hero-search { max-width: 640px; }
.hero-search .input-group { border-radius: 50px; overflow: hidden; }
.hero-search .form-control { font-size: 16px; }
.hero-search .btn { border-radius: 0 50px 50px 0 !important; font-size: 15px; }

.hero-stats { gap: 32px !important; }
.hero-stat { text-align: center; }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.25); align-self: center; }

/* ============================================================
   SECCIONES
   ============================================================ */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  position: relative;
}

/* ============================================================
   CATEGORÍAS
   ============================================================ */
.categoria-card {
  background: white;
  border-radius: var(--radius);
  padding: 20px 12px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid transparent;
  transition: var(--transition);
  color: var(--dark);
}
.categoria-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: var(--primary);
}
.categoria-icon {
  width: 52px; height: 52px;
  background: var(--primary-soft);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0 auto;
  transition: var(--transition);
}
.categoria-card:hover .categoria-icon { background: var(--primary); color: white; }
.categoria-nombre { font-size: 12px; font-weight: 600; color: inherit; }

/* ============================================================
   CARDS DE NEGOCIOS
   ============================================================ */
.negocio-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid #e8edf2;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex; flex-direction: column;
}
.negocio-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  transform: translateY(-4px);
}
.negocio-badge-destacado {
  position: absolute; top: 20px; right: -30px; z-index: 2;
  background: linear-gradient(135deg, var(--accent), #f97316);
  color: white; font-size: 10px; font-weight: 800;
  padding: 5px 35px; border-radius: 0;
  text-transform: uppercase; letter-spacing: 1px;
  transform: rotate(45deg);
  box-shadow: 0 4px 10px rgba(249,115,22,0.3);
}
.negocio-logo-wrap {
  height: 130px;
  background: var(--gray-light);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.negocio-logo { max-height: 110px; max-width: 90%; object-fit: contain; }
.negocio-body { flex-grow: 1; background: white; }
.negocio-categoria { font-size: 11px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .5px; }
.negocio-nombre { font-size: 15px; font-weight: 700; color: var(--dark); }
.negocio-direccion { color: var(--gray); }
.negocio-desc { color: var(--gray); }
.negocio-footer { margin-top: auto; background: white; border-top: 1px solid var(--gray-light) !important; }

/* ============================================================
   BOTÓN WHATSAPP
   ============================================================ */
.btn-whatsapp {
  background: var(--whatsapp);
  color: white;
  border: none;
  font-weight: 600;
  transition: var(--transition);
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); color: white; transform: translateY(-1px); }
.btn-social { width: 42px; height: 42px; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 1.1rem; }

/* ============================================================
   BOTONES Y ACCIONES EXTRA
   ============================================================ */
.btn-accent {
  background: var(--accent);
  color: white;
  border: none;
  font-weight: 700;
  transition: var(--transition);
}
.btn-accent:hover {
  background: #ea580c;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary-brand {
  background-color: var(--primary) !important;
  color: var(--white) !important;
  border: none;
  font-weight: 600;
  transition: var(--transition);
}
.btn-primary-brand:hover {
  background-color: var(--primary-light) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   PROMOCIONES
   ============================================================ */
.bg-gradient-promo {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
}
.promo-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  overflow: hidden;
  color: white;
  transition: var(--transition);
}
.promo-card:hover { transform: translateY(-3px); border-color: var(--primary-light); }
.promo-img { height: 160px; object-fit: cover; width: 100%; }
.promo-img-placeholder {
  height: 160px; background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: rgba(255,255,255,.3);
}
.promo-titulo { font-weight: 700; font-size: 15px; color: white; }
.promo-desc { color: rgba(255,255,255,.65); }
.promo-negocio a { color: var(--primary-light) !important; }
.promo-card.mini {
  background: white; color: var(--dark); border: 1.5px solid #e8edf2;
}
.promo-card.mini .promo-titulo { color: var(--dark); }

/* ============================================================
   CTA
   ============================================================ */
.cta-section { background: var(--gray-light); }
.cta-box {
  max-width: 600px;
  background: white;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid #e2e8f0;
}

/* ============================================================
   CIUDAD PAGE
   ============================================================ */
.ciudad-banner {
  background: linear-gradient(135deg, var(--gray-light), white);
  border-bottom: 1px solid #e2e8f0;
}
.ciudad-titulo { font-size: 2rem; }

/* Sidebar */
.sidebar-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid #e8edf2;
  padding: 16px;
  overflow: hidden;
}
.sidebar-heading {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; color: var(--gray); margin-bottom: 12px;
  padding-bottom: 8px; border-bottom: 1px solid #f1f5f9;
}
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-radius: 8px; font-size: 13px; font-weight: 500;
  color: var(--dark); text-decoration: none; transition: var(--transition);
}
.sidebar-link:hover, .sidebar-link.active {
  background: var(--primary-soft); color: var(--primary);
}
.sidebar-link .badge { background: var(--primary-soft); color: var(--primary); font-size: 11px; }
.sidebar-negocio-mini:hover { background: var(--gray-light); }
.sidebar-mini-logo { width: 36px; height: 36px; object-fit: contain; border-radius: 6px; background: var(--gray-light); flex-shrink: 0; }

/* Paginación */
.pagination-portal .page-link {
  border-radius: 8px !important; margin: 0 2px;
  color: var(--primary); border-color: #e2e8f0;
  font-weight: 500;
}
.pagination-portal .page-item.active .page-link { background: var(--primary); border-color: var(--primary); }

/* ============================================================
   NEGOCIO PAGE
   ============================================================ */
.negocio-header-card {
  background: white; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); border: 1.5px solid #e8edf2;
}
.negocio-logo-grande { width: 120px; height: 120px; flex-shrink: 0; }
.negocio-logo-grande img { width: 100%; height: 100%; object-fit: contain; background: var(--gray-light); }
.badge.bg-primary-soft { background: var(--primary-soft) !important; }

/* Productos */
.producto-card {
  background: white; border-radius: var(--radius);
  border: 1.5px solid #e8edf2; box-shadow: var(--shadow-sm);
  overflow: hidden; transition: var(--transition);
  display: flex; flex-direction: column;
}
.producto-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary); transform: translateY(-2px); }
.producto-img-wrap { height: 160px; overflow: hidden; background: var(--gray-light); }
.producto-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.producto-img:hover { transform: scale(1.05); }
.producto-img-placeholder {
  height: 160px; background: var(--gray-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #cbd5e1;
}
.producto-body { flex-grow: 1; }
.producto-nombre { font-size: 14px; font-weight: 700; color: var(--dark); }
.producto-desc { font-size: 12px; }
.producto-precio { font-size: 1.1rem; font-weight: 800; color: var(--primary); }
.producto-footer { margin-top: auto; }

/* Galería */
.galeria-thumb {
  position: relative; overflow: hidden;
  border-radius: 8px; cursor: pointer;
  aspect-ratio: 1;
}
.galeria-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.galeria-thumb:hover img { transform: scale(1.1); }
.galeria-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.4);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.5rem;
  opacity: 0; transition: var(--transition);
}
.galeria-thumb:hover .galeria-overlay { opacity: 1; }

/* Info card */
.info-card .info-item {
  display: flex; gap: 12px; align-items: center;
  padding: 8px 0; border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
}
.info-card .info-item:last-of-type { border: none; }
.info-card .info-item i { font-size: 1rem; flex-shrink: 0; }
.info-card .info-item a { color: var(--dark); text-decoration: none; }
.info-card .info-item a:hover { color: var(--primary); }
.mapa-container { height: 220px; }
.mapa-container iframe { width: 100%; height: 100%; border: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #0f1c2d; }
.footer-top { border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-heading { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-list a, .footer-list span { font-size: 13px; color: rgba(255,255,255,.55); text-decoration: none; transition: var(--transition); }
.footer-list a:hover { color: var(--primary-light); }
.text-muted-footer { color: rgba(255,255,255,.45) !important; }
.text-primary { color: var(--primary) !important; }
.text-primary-light { color: var(--primary-light) !important; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 1rem; transition: var(--transition);
}
.social-btn:hover { background: var(--primary); color: white; }
.footer-bottom { background: rgba(0,0,0,.2); border-top: 1px solid rgba(255,255,255,.06); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { font-size: 13px; }
.breadcrumb-item a { color: var(--primary); text-decoration: none; }
.breadcrumb-item a:hover { text-decoration: underline; }

/* ============================================================
   ADMIN — estilos básicos compartidos
   ============================================================ */
.admin-topbar {
  height: 60px;
  background: white;
  border-bottom: 1px solid #e2e8f0;
  display: flex; align-items: center;
  padding: 0 24px; position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.admin-sidebar {
  width: 260px; min-height: 100vh;
  background: var(--dark);
  position: fixed; left: 0; top: 0; bottom: 0;
  overflow-y: auto; z-index: 200;
  padding-top: 0;
  transition: transform .3s ease;
}
.admin-sidebar-header {
  height: 60px; display: flex; align-items: center;
  padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.2);
}
.admin-nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; color: rgba(255,255,255,.65);
  text-decoration: none; font-size: 14px; font-weight: 500;
  transition: var(--transition); border-left: 3px solid transparent;
}
.admin-nav-link:hover, .admin-nav-link.active {
  color: white; background: rgba(255,255,255,.08);
  border-left-color: var(--primary-light);
}
.admin-nav-link i { font-size: 1.1rem; width: 20px; text-align: center; }
.admin-main {
  margin-left: 260px;
  padding: 24px;
  min-height: 100vh;
  background: #f8fafc;
}
.admin-card {
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid #e2e8f0;
  padding: 24px; margin-bottom: 24px;
}
.admin-stat {
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid #e2e8f0;
  padding: 20px 24px;
  display: flex; align-items: center; gap: 16px;
}
.admin-stat-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.admin-table { font-size: 14px; }
.admin-table th { background: var(--gray-light); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }
.admin-table tbody tr:hover { background: #f8fafc; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.show { transform: translateX(0); }
  .admin-main { margin-left: 0; padding: 16px; }
  .hero-section { padding: 50px 0 70px; }
}
@media (max-width: 767px) {
  .hero-title { font-size: 1.8rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-stats { gap: 16px !important; }
  .negocio-logo-grande { width: 80px; height: 80px; }
  .ciudad-titulo { font-size: 1.5rem; }
  .section-title { font-size: 1.25rem; }
}

/* Carousel de destacados */
.carousel-control-custom {
  background: white;
  color: var(--primary);
  width: 44px; height: 44px;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  opacity: 1;
  position: absolute;
}
.carousel-control-prev.carousel-control-custom { left: -22px; }
.carousel-control-next.carousel-control-custom { right: -22px; }
.carousel-control-custom:hover { background: var(--primary); color: white; }

/* Utilities */
.bg-primary-soft { background: var(--primary-soft) !important; }

/* =========================================
   EXTRACTED INLINE STYLES
   ========================================= */

/* --- Extracted from templates/header.php --- */
/* The green background was removed because it was causing display issues */


/* --- Extracted from templates/card_negocio.php --- */

        .negocio-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
        }
        .negocio-badge-destacado {
            position: absolute; top: 20px; right: -30px; z-index: 2;
            background: linear-gradient(135deg, var(--accent), #ea580c);
            color: white; font-size: 10px; font-weight: 800;
            padding: 5px 35px; border-radius: 0;
            box-shadow: 0 4px 10px rgba(249,115,22,0.3);
            text-transform: uppercase; letter-spacing: 1px;
            transform: rotate(45deg);
        }
        .negocio-logo-wrap {
            height: 140px;
            background: #ffffff;
            border-bottom: 1px solid var(--gray-light);
        }
        .negocio-logo-wrap img {
            max-height: 100px; max-width: 85%;
        }
    

/* --- Extracted from admin/login.php --- */

        body.login-page {
            background: linear-gradient(135deg, #0f3d28 0%, #1a6b4a 60%, #1e293b 100%);
            min-height: 100vh;
        }

        .login-card {
            max-width: 420px;
            width: 100%;
            margin: auto;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
        }

        .login-logo {
            width: 64px;
            height: 64px;
            background: linear-gradient(135deg, #1a6b4a, #26a069);
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: white;
            margin: 0 auto 16px;
        }
    

/* --- Extracted from pages/home.php --- */

    /* ---------- Variables dark ---------- */
    :root {
        --home-dark-bg:    #0f172a;
        --home-dark-2:     #1e293b;
        --home-dark-3:     #334155;
        --home-blue:       #3b82f6;
        --home-blue-deep:  #1d4ed8;
        --home-orange:     #f97316;
        --home-slate-300:  #cbd5e1;
        --home-slate-400:  #94a3b8;
        --home-slate-500:  #64748b;
        --home-slate-700:  #334155;
        --home-slate-800:  #1e293b;
        --home-slate-900:  #0f172a;
    }

    /* ---------- Reset global de la sección ---------- */
    .home-dark-root {
        font-family: 'Manrope', 'Inter', sans-serif;
        background: var(--home-dark-bg);
        color: #f1f5f9;
    }
    .home-dark-root h1,
    .home-dark-root h2,
    .home-dark-root h3,
    .home-dark-root h4,
    .home-dark-root h5 {
        font-family: 'Plus Jakarta Sans', sans-serif;
        color: #f1f5f9;
    }

    /* ---------- Scroll-reveal ---------- */
    .hd-reveal {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1), transform 0.75s cubic-bezier(0.4,0,0.2,1);
    }
    .hd-reveal.active { opacity: 1; transform: translateY(0); }
    .hd-delay-1 { transition-delay: 100ms; }
    .hd-delay-2 { transition-delay: 200ms; }
    .hd-delay-3 { transition-delay: 300ms; }
    .hd-delay-4 { transition-delay: 400ms; }
    .hd-delay-5 { transition-delay: 500ms; }
    .hd-delay-6 { transition-delay: 600ms; }

    /* ---------- Shimmer texto hero ---------- */
    .hd-shimmer {
        background: linear-gradient(90deg, #ffffff 0%, #94a3b8 50%, #ffffff 100%);
        background-size: 200% auto;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        animation: hdShimmer 4s linear infinite;
    }
    @keyframes hdShimmer {
        0%   { background-position: -200% 0; }
        100% { background-position:  200% 0; }
    }

    /* ---------- HERO ---------- */
    .hd-hero {
        position: relative;
        min-height: 92vh;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--home-dark-bg);
    }
    .hd-hero-carousel {
        position: absolute;
        inset: 0;
        z-index: 0;
        overflow: hidden;
    }
    .hd-hero-carousel .carousel-inner,
    .hd-hero-carousel .carousel-item {
        height: 100%;
        min-height: 92vh;
    }
    .hd-hero-carousel img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.05);
        animation: hdKenBurns 12s ease-in-out infinite alternate;
    }
    @keyframes hdKenBurns {
        0%   { transform: scale(1.05) translate(0, 0); }
        100% { transform: scale(1.12) translate(-1%, -1%); }
    }
    .hd-hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(15,23,42,.45) 0%, rgba(15,23,42,.78) 60%, #0f172a 100%);
        z-index: 1;
    }
    .hd-hero-content {
        position: relative;
        z-index: 2;
        text-align: center;
        padding: 2rem 1rem;
        width: 80%;
    }
    .hd-hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(255,255,255,.12);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255,255,255,.22);
        color: white;
        padding: 6px 20px;
        border-radius: 50px;
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 1.2rem;
        letter-spacing: .5px;
    }
    .hd-hero-title {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: clamp(2.6rem, 7vw, 5.5rem);
        font-weight: 300;
        line-height: 1.1;
        letter-spacing: -1.5px;
        margin-bottom: 1.2rem;
    }
    .hd-hero-subtitle {
        font-size: clamp(1rem, 2.5vw, 1.3rem);
        color: var(--home-slate-300);
        max-width: 560px;
        margin: 0 auto 2.5rem;
        line-height: 1.6;
    }

    /* Buscador glassmorphism */
    .hd-search-bar {
        width: min(100%, 680px);
        max-width: 680px;
        margin: 0 auto;
        background: rgba(30,41,59,.55);
        backdrop-filter: blur(14px);
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 9999px;
        display: flex;
        align-items: center;
        padding: 6px 6px 6px 20px;
        box-shadow: 0 25px 50px -12px rgba(0,0,0,.45);
        transition: box-shadow .3s ease, border-color .3s ease;
    }
    .hd-search-bar:focus-within {
        border-color: rgba(59,130,246,.5);
        box-shadow: 0 0 0 3px rgba(59,130,246,.15), 0 25px 50px -12px rgba(0,0,0,.45);
    }
    .hd-search-bar i { color: var(--home-blue); font-size: 1.2rem; margin-right: 10px; flex-shrink: 0; }
    .hd-search-bar input {
        background: transparent;
        border: none;
        color: white;
        font-size: 15px;
        flex: 1;
        outline: none;
    }
    .hd-search-bar input::placeholder { color: var(--home-slate-500); }
    .hd-search-btn {
        background: linear-gradient(135deg, var(--home-blue-deep), var(--home-blue));
        color: white;
        border: none;
        border-radius: 9999px;
        padding: 12px 28px;
        font-weight: 700;
        font-size: 14px;
        cursor: pointer;
        transition: transform .2s ease, box-shadow .2s ease;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .hd-search-btn:hover { transform: scale(1.04); box-shadow: 0 8px 24px rgba(59,130,246,.35); }
     @media (max-width: 576px) {
        .hd-search-bar {
            margin-top: 20px;
            flex-direction: column;
            align-items: stretch;
            gap: 10px;
            padding: 10px;
            border-radius: 22px;
        }
        .hd-search-bar i {
            display: none;
        }
        .hd-search-bar input {
            width: 100%;
            padding: 4px 2px;
            font-size: 14px;
        }
        .hd-search-btn {
            width: 100%;
            padding: 12px 16px;
        }
    }


    /* Hero stats */
    .hd-hero-stats {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 40px;
        margin-top: 3rem;
        flex-wrap: wrap;
    }
    .hd-hero-stat { text-align: center; }
    .hd-hero-stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: white; font-family: 'Plus Jakarta Sans', sans-serif; }
    .hd-hero-stat small { font-size: 12px; color: var(--home-slate-400); text-transform: uppercase; letter-spacing: .8px; font-weight: 600; }
    .hd-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.15); }

    /* ---------- Secciones compartidas ---------- */
    .hd-section { padding: 80px 0; }
    .hd-section-dark  { background: var(--home-dark-bg); }
    .hd-section-dark2 { background: var(--home-dark-2); }
    .hd-section-title {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: clamp(1.6rem, 3vw, 2.4rem);
        font-weight: 800;
        color: #f1f5f9;
        margin-bottom: .5rem;
    }
    .hd-section-subtitle { color: var(--home-slate-400); font-size: 15px; margin-bottom: 0; }
    .hd-link-more {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: var(--home-orange);
        font-weight: 700;
        font-size: 14px;
        text-decoration: none;
        transition: gap .2s ease;
    }
    .hd-link-more:hover { gap: 10px; color: var(--home-orange); }

    /* ---------- CATEGORÍAS dark ---------- */
    .hd-cat-card {
        background: rgba(30,41,59,.7);
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 20px;
        padding: 14px 8px;
        text-align: center;
        cursor: pointer;
        text-decoration: none;
        color: #f1f5f9;
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: all .4s cubic-bezier(0.4,0,0.2,1);
    }
    .hd-cat-card:hover {
        background: rgba(30,41,59,.95);
        border-color: rgba(59,130,246,.45);
        transform: translateY(-8px);
        box-shadow: 0 20px 40px -15px rgba(59,130,246,.3);
        color: #f1f5f9;
        text-decoration: none;
    }
    .hd-cat-icon {
        width: 42px; height: 42px;
        border-radius: 12px;
        background: rgba(255,255,255,.05);
        border: 1px solid rgba(255,255,255,.08);
        display: flex; align-items: center; justify-content: center;
        font-size: 1.2rem;
        color: var(--home-blue);
        margin-bottom: 6px;
        transition: all .4s cubic-bezier(0.4,0,0.2,1);
    }
    .hd-cat-card:hover .hd-cat-icon {
        background: rgba(59,130,246,.15);
        border-color: rgba(59,130,246,.35);
        transform: scale(1.1) rotate(4deg);
    }
    .hd-cat-name { font-size: 11.5px; font-weight: 700; letter-spacing: .3px; }

    /* ---------- MÉTRICAS ---------- */
    .hd-metric { text-align: center; cursor: default; transition: transform .3s ease; }
    .hd-metric:hover { transform: scale(1.05); }
    .hd-metric-num {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: clamp(2rem, 6vw, 3rem);
        font-weight: 900;
        color: var(--home-blue);
        text-shadow: 0 0 30px rgba(59,130,246,.35);
        line-height: 1;
        margin-bottom: .5rem;
    }
    .hd-metric-num.orange { color: var(--home-orange); text-shadow: 0 0 30px rgba(249,115,22,.35); }
    .hd-metric-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--home-slate-400); }

    /* ---------- CARRUSELES dark ---------- */
    .hd-carousel-wrap {
        position: relative;
        /* Espacio lateral para que las flechas no queden pegadas al borde */
        padding: 0 8px;
    }
    .hd-carousel {
        display: flex;
        gap: 20px;
        /* Scroll nativo: las cards nunca se cortan */
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 8px 4px 16px;
        cursor: grab;
        user-select: none;
        /* Ocultar scrollbar visualmente */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .hd-carousel::-webkit-scrollbar { display: none; }
    .hd-carousel.grabbing { cursor: grabbing; }
    .hd-carousel .hd-scroll-card {
        flex: 0 0 300px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
    @media (max-width: 576px) {
        .hd-carousel .hd-scroll-card { flex: 0 0 82vw; }
    }

    /* Sin fade lateral: las cards se muestran de borde a borde */
    .hd-carousel-wrap::after,
    .hd-carousel-wrap::before { display: none; }

    .hd-sc-btn {
        position: absolute; top: 50%; transform: translateY(-60%); z-index: 10;
        width: 44px; height: 44px;
        background: rgba(30,41,59,.95);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 50%;
        color: white; font-size: 1rem;
        display: flex; align-items: center; justify-content: center;
        cursor: pointer;
        /* Transición para aparecer/desaparecer suavemente */
        transition: opacity .25s ease, visibility .25s ease,
                    background .2s ease, transform .2s ease,
                    box-shadow .2s ease;
        opacity: 1;
        visibility: visible;
        box-shadow: 0 4px 18px rgba(0,0,0,.45);
    }
    .hd-sc-btn:hover {
        background: var(--home-blue);
        border-color: var(--home-blue);
        transform: translateY(-60%) scale(1.12);
        box-shadow: 0 6px 22px rgba(59,130,246,.4);
    }
    /* Flecha oculta: invisible pero sin saltar de posición */
    .hd-sc-btn--hidden {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    .hd-sc-btn-prev { left: -14px; }
    .hd-sc-btn-next { right: -14px; }

    /* Negocio card dark */
    .hd-negocio-card {
        background: rgba(30,41,59,.8);
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 16px;
        overflow: hidden;
        transition: all .35s cubic-bezier(0.4,0,0.2,1);
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .hd-negocio-card:hover {
        border-color: rgba(59,130,246,.4);
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0,0,0,.3), 0 0 0 1px rgba(59,130,246,.15);
    }
    .hd-negocio-logo-wrap {
        height: 130px;
        background: rgba(15,23,42,.5);
        display: flex; align-items: center; justify-content: center;
        overflow: hidden;
    }
    .hd-negocio-logo { max-height: 110px; max-width: 90%; object-fit: contain; }
    .hd-negocio-body { flex-grow: 1; padding: 14px 16px; }
    .hd-negocio-categoria { font-size: 11px; font-weight: 700; color: var(--home-blue); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
    .hd-negocio-nombre { font-size: 14.5px; font-weight: 700; color: #f1f5f9; margin-bottom: 4px; }
    .hd-negocio-direccion { font-size: 12px; color: var(--home-slate-400); }
    .hd-negocio-footer { padding: 10px 16px 14px; margin-top: auto; }
    .hd-badge-dest {
        position: absolute; top: 20px; right: -30px; z-index: 2;
        background: linear-gradient(135deg, #ea580c, var(--home-orange));
        color: white; font-size: 10px; font-weight: 800;
        padding: 5px 35px; border-radius: 0;
        text-transform: uppercase; letter-spacing: 1px;
        transform: rotate(45deg);
        box-shadow: 0 4px 10px rgba(249,115,22,0.3);
    }

    /* Promo card dark */
    .hd-promo-card {
        background: rgba(30,41,59,.8);
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 16px;
        overflow: hidden;
        transition: all .35s cubic-bezier(0.4,0,0.2,1);
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .hd-promo-card:hover {
        border-color: rgba(249,115,22,.35);
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0,0,0,.3);
    }
    .hd-promo-img { height: 160px; object-fit: cover; width: 100%; }
    .hd-promo-placeholder {
        height: 160px;
        background: rgba(15,23,42,.5);
        display: flex; align-items: center; justify-content: center;
        font-size: 2.5rem; color: rgba(255,255,255,.2);
    }
    .hd-promo-body { padding: 14px 16px; flex-grow: 1; display: flex; flex-direction: column; }
    .hd-promo-titulo {
        font-size: 13.5px;
        font-weight: 800;
        color: #ffffff;
        background: linear-gradient(135deg, #dc2626, #ef4444);
        margin: -14px -16px 12px -16px;
        padding: 8px 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .hd-promo-desc { font-size: 12px; color: var(--home-slate-400); flex-grow: 1; margin-bottom: 10px; }
    .hd-promo-negocio { font-size: 12px; color: var(--home-blue); margin-bottom: 8px; text-decoration: none; font-weight: 600; }
    .hd-promo-negocio:hover { color: #93c5fd; }
    .hd-badge-desc {
        display: inline-block;
        background: linear-gradient(135deg, #dc2626, #ef4444);
        color: white; font-size: 10.5px; font-weight: 700;
        padding: 2px 10px; border-radius: 20px;
        margin-bottom: 8px;
    }

    /* ---------- CTA section ---------- */
    .hd-cta-section {
        padding: 80px 0;
        background: var(--home-dark-bg);
    }
    .hd-cta-box {
        border-radius: 40px;
        overflow: hidden;
        position: relative;
        border: 1px solid rgba(255,255,255,.1);
        box-shadow: 0 30px 60px rgba(0,0,0,.4);
    }
    .hd-cta-bg {
        position: absolute; inset: 0;
        background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #1e3a8a 100%);
    }
    .hd-cta-inner {
        position: relative; z-index: 2;
        padding: 60px 48px;
        display: flex; align-items: center; justify-content: space-between;
        gap: 48px; flex-wrap: wrap;
    }
    .hd-cta-title {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: clamp(1.8rem, 4vw, 2.6rem);
        font-weight: 800;
        color: white;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    .hd-cta-subtitle { color: rgba(219,234,254,.85); font-size: 16px; margin-bottom: 1.8rem; line-height: 1.6; }
    .hd-cta-btn-primary {
        background: white;
        color: #1e40af;
        border: none;
        border-radius: 9999px;
        padding: 14px 36px;
        font-weight: 800;
        font-size: 15px;
        cursor: pointer;
        transition: transform .2s ease, box-shadow .2s ease;
        text-decoration: none;
        display: inline-block;
    }
    .hd-cta-btn-primary:hover { transform: scale(1.04); box-shadow: 0 12px 28px rgba(255,255,255,.2); color: #1e40af; text-decoration: none; }
    .hd-cta-features {
        background: rgba(255,255,255,.08);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255,255,255,.15);
        border-radius: 24px;
        padding: 28px 32px;
        display: flex;
        flex-direction: column;
        gap: 18px;
        min-width: 260px;
        flex-shrink: 0;
    }
    .hd-cta-feature { display: flex; align-items: center; gap: 14px; }
    .hd-cta-feature-icon {
        width: 40px; height: 40px;
        background: rgba(255,255,255,.1);
        border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        color: white; font-size: 1.1rem;
        flex-shrink: 0;
        transition: all .2s ease;
    }
    .hd-cta-feature:hover .hd-cta-feature-icon { background: rgba(59,130,246,.35); }
    .hd-cta-feature span { color: white; font-weight: 600; font-size: 14px; }

    /* Glow decorativo */
    .hd-glow-orb {
        position: absolute;
        border-radius: 50%;
        filter: blur(80px);
        pointer-events: none;
        opacity: .15;
    }

    /* Bloque de sección: header con línea decorativa */
    .hd-section-header {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .hd-section-header-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        flex-wrap: wrap;
        gap: 16px;
        margin-bottom: 32px;
    }
    .hd-badge-section {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 4px 14px;
        border-radius: 20px;
        font-size: 11.5px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .6px;
        margin-bottom: 6px;
    }
    .hd-badge-orange { background: rgba(249,115,22,.15); color: var(--home-orange); border: 1px solid rgba(249,115,22,.25); }
    .hd-badge-blue   { background: rgba(59,130,246,.15);  color: var(--home-blue);   border: 1px solid rgba(59,130,246,.25); }
    .hd-badge-green  { background: rgba(34,197,94,.12);   color: #4ade80;             border: 1px solid rgba(34,197,94,.2); }

    /* Botón "Ver todos" pill dark */
    .hd-btn-outline {
        display: inline-flex; align-items: center; gap: 6px;
        padding: 8px 20px;
        border: 1px solid rgba(255,255,255,.15);
        border-radius: 9999px;
        font-size: 13px; font-weight: 600; color: #f1f5f9;
        text-decoration: none;
        transition: all .2s ease;
        background: transparent;
    }
    .hd-btn-outline:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); color: white; text-decoration: none; }

    /* WhatsApp button dark */
    .hd-btn-wa {
        display: inline-flex; align-items: center; justify-content: center; gap: 6px;
        background: #25d366;
        color: white; border: none; border-radius: 10px;
        padding: 9px 14px; font-size: 13px; font-weight: 700;
        text-decoration: none; width: 100%;
        transition: background .2s ease, transform .2s ease;
    }
    .hd-btn-wa:hover { background: #128c7e; color: white; text-decoration: none; transform: translateY(-1px); }

    /* Btn ver negocio */
    .hd-btn-negocio {
        display: inline-flex; align-items: center; justify-content: center; gap: 6px;
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.12);
        color: #f1f5f9; border-radius: 10px;
        padding: 9px 14px; font-size: 13px; font-weight: 600;
        text-decoration: none; width: 100%;
        transition: all .2s ease;
    }
    .hd-btn-negocio:hover { background: rgba(59,130,246,.15); border-color: rgba(59,130,246,.35); color: white; text-decoration: none; }

    @media (max-width: 767px) {
        .hd-cta-inner { padding: 40px 24px; }
        .hd-hero { min-height: 100svh; }
        .hd-section { padding: 56px 0; }
        .hd-cta-features { min-width: auto; width: 100%; }
        .hd-hero-stats { gap: 20px; }
    }



        

/* --- Extracted from pages/negocio.php --- */

    /* ──────────────────────────────────────────
       Variables & Reset
    ────────────────────────────────────────── */
    :root {
        --np-bg:          #1e2d45;
        --np-surface:     #263655;
        --np-surface-low: #2c3f64;
        --np-surface-mid: #334a75;
        --np-primary:     #3b82f6;
        --np-primary-lt:  #60a5fa;
        --np-accent:      #f97316;
        --np-green:       #22c55e;
        --np-wa:          #25d366;
        --np-wa-dk:       #128c7e;
        --np-text:        #e2e8f0;
        --np-muted:       #94a3b8;
        --np-border:      rgba(255,255,255,.07);
        --np-radius:      16px;
        --np-radius-lg:   24px;
        --np-radius-xl:   36px;
        --np-shadow-sm:   0 2px 12px rgba(0,0,0,.25);
        --np-shadow-md:   0 8px 28px rgba(0,0,0,.35);
        --np-shadow-lg:   0 20px 50px rgba(0,0,0,.5);
        --np-glass:       rgba(22,27,39,.75);
        --np-glass-blur:  blur(20px);
        --np-transition:  all .28s cubic-bezier(0.4,0,0.2,1);
    }

    /* Scope: sólo dentro de .np-root */
    .np-root {
        font-family: 'Be Vietnam Pro', 'Inter', sans-serif;
        background:
            radial-gradient(ellipse at 10%  0%,  rgba(99,155,255,.22) 0%, transparent 50%),
            radial-gradient(ellipse at 90% 100%,  rgba(249,115,22,.14) 0%, transparent 50%),
            radial-gradient(ellipse at 60%  50%,  rgba(56,100,180,.08) 0%, transparent 60%),
            linear-gradient(155deg, #253555 0%, #1e2d45 35%, #243050 65%, #1b2a42 100%);
        background-attachment: fixed;
        color: var(--np-text);
        min-height: 100vh;
    }
    .np-root h1, .np-root h2, .np-root h3, .np-root h4 {
        font-family: 'Plus Jakarta Sans', sans-serif;
        color: #f1f5f9;
    }

    /* ──────────────────────────────────────────
       MOTIVOS DECORATIVOS DE FONDO
    ────────────────────────────────────────── */

    /* Contenedor general: fijo, detrás de todo */
    .np-deco {
        position: fixed;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        overflow: hidden;
    }

    /* --- 1. Grid de puntos --- */
    .np-deco-dots {
        position: absolute;
        inset: 0;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='1' cy='1' r='1.2' fill='rgba(99%2C155%2C255%2C0.14)'/%3E%3C/svg%3E");
        background-size: 40px 40px;
    }

    /* --- 2. Líneas diagonales --- */
    .np-deco-lines {
        position: absolute;
        inset: -50%;
        background-image: repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 60px,
            rgba(99,155,255,.028) 60px,
            rgba(99,155,255,.028) 61px
        );
        animation: npLinesShift 40s linear infinite;
    }
    @keyframes npLinesShift {
        0%   { transform: translate(0,0); }
        100% { transform: translate(84px,84px); }
    }

    /* --- 3. Burbujas flotantes --- */
    .np-bubbles-wrap { position: absolute; inset: 0; }
    .np-bubble {
        position: absolute;
        border-radius: 50%;
        border: 1px solid rgba(99,155,255,.15);
        background: radial-gradient(circle at 35% 35%, rgba(99,155,255,.07), transparent 70%);
        animation: npBubbleFloat linear infinite;
    }
    @keyframes npBubbleFloat {
        0%   { transform: translateY(0) scale(1);    opacity: 0; }
        10%  { opacity: 1; }
        90%  { opacity: 1; }
        100% { transform: translateY(-110vh) scale(1.08); opacity: 0; }
    }
    .np-bubbles-wrap .np-bubble:nth-child(1) { width:55px;  height:55px;  left:7%;  bottom:-80px;  animation-duration:18s; animation-delay:0s; }
    .np-bubbles-wrap .np-bubble:nth-child(2) { width:85px;  height:85px;  left:17%; bottom:-110px; animation-duration:22s; animation-delay:3s; }
    .np-bubbles-wrap .np-bubble:nth-child(3) { width:38px;  height:38px;  left:29%; bottom:-55px;  animation-duration:16s; animation-delay:6s; }
    .np-bubbles-wrap .np-bubble:nth-child(4) { width:110px; height:110px; left:41%; bottom:-140px; animation-duration:26s; animation-delay:1s;
        border-color:rgba(249,115,22,.1); background:radial-gradient(circle at 35% 35%,rgba(249,115,22,.05),transparent 70%); }
    .np-bubbles-wrap .np-bubble:nth-child(5) { width:50px;  height:50px;  left:55%; bottom:-70px;  animation-duration:20s; animation-delay:9s; }
    .np-bubbles-wrap .np-bubble:nth-child(6) { width:75px;  height:75px;  left:67%; bottom:-100px; animation-duration:24s; animation-delay:4s; }
    .np-bubbles-wrap .np-bubble:nth-child(7) { width:32px;  height:32px;  left:77%; bottom:-48px;  animation-duration:15s; animation-delay:12s; }
    .np-bubbles-wrap .np-bubble:nth-child(8) { width:95px;  height:95px;  left:87%; bottom:-120px; animation-duration:28s; animation-delay:2s;
        border-color:rgba(249,115,22,.08); background:radial-gradient(circle at 35% 35%,rgba(249,115,22,.04),transparent 70%); }

    /* --- 4. SVG: Anillos + Rombos --- */
    .np-svg-deco {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }
    .np-svg-ring {
        fill: none;
        stroke: rgba(99,155,255,.18);
        stroke-width: 1.5;
        animation: npRingFloat ease-in-out infinite;
        transform-origin: center;
    }
    .np-svg-ring.orange { stroke: rgba(249,115,22,.14); }
    @keyframes npRingFloat {
        0%,100% { transform: translateY(0);    opacity:.55; }
        50%      { transform: translateY(-22px); opacity:1;  }
    }
    .np-svg-diamond {
        fill: none;
        stroke: rgba(99,155,255,.3);
        stroke-width: 1.5;
        animation: npDiamondSpin ease-in-out infinite alternate;
        transform-origin: center;
    }
    .np-svg-diamond.orange { stroke: rgba(249,115,22,.28); }
    @keyframes npDiamondSpin {
        0%   { transform: rotate(45deg) scale(1);    opacity:.3; }
        100% { transform: rotate(225deg) scale(1.5); opacity:.8; }
    }

    /* ──────────────────────────────────────────
       COVER
    ────────────────────────────────────────── */
    .np-cover {
        position: relative;
        height: 280px;
        background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #1d4ed8 100%);
        overflow: hidden;
    }
    @media (min-width: 768px) { .np-cover { height: 360px; } }

    .np-cover img {
        width: 100%; height: 100%;
        object-fit: cover;
        transition: transform 8s ease;
    }
    .np-cover:hover img { transform: scale(1.04); }

    .np-cover-overlay {
        position: absolute; inset: 0;
        background: linear-gradient(to top, rgba(15,23,42,.55) 0%, rgba(15,23,42,.1) 60%, transparent 100%);
    }

    /* Cover placeholder (sin imagen) */
    .np-cover-placeholder {
        width: 100%; height: 100%;
        display: flex; align-items: center; justify-content: center;
        font-size: 6rem; color: rgba(255,255,255,.15);
    }

    /* ──────────────────────────────────────────
       PROFILE HEADER
    ────────────────────────────────────────── */
    .np-profile-bar {
        position: relative;
        padding: 0 24px 24px;
        background: rgba(30,45,69,.88);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    @media (min-width: 768px) {
        .np-profile-bar {
            flex-direction: row;
            align-items: flex-end;
            justify-content: space-between;
            padding: 0 32px 28px;
        }
    }

    /* Logo circular */
    .np-logo-wrap {
        width: 110px; height: 110px;
        border-radius: 50%;
        border: 5px solid var(--np-bg);
        overflow: hidden;
        background: var(--np-surface);
        box-shadow: var(--np-shadow-md);
        margin-top: -15px;
        flex-shrink: 0;
        position: relative;
        z-index: 2;
    }
    @media (min-width: 768px) {
        .np-logo-wrap { width: 150px; height: 150px; margin-top: -20px; border-width: 6px; }
    }
    .np-logo-wrap img { width: 100%; height: 100%; object-fit: cover; padding: 0; }
    .np-logo-placeholder {
        width: 100%; height: 100%;
        display: flex; align-items: center; justify-content: center;
        font-size: 3rem; color: var(--np-primary);
        background: var(--np-surface-low);
    }

    .np-profile-info { flex-grow: 1; padding: 8px 0 0 16px; }
    .np-profile-info h1 {
        font-size: clamp(1.5rem, 4vw, 2.4rem);
        font-weight: 900;
        letter-spacing: -0.5px;
        margin-bottom: 4px;
    }
    .np-profile-category {
        display: inline-flex; align-items: center; gap: 6px;
        background: rgba(59,130,246,.12);
        color: var(--np-primary-lt);
        border: 1px solid rgba(59,130,246,.2);
        padding: 3px 12px; border-radius: 9999px;
        font-size: 11.5px; font-weight: 700;
        text-transform: uppercase; letter-spacing: .6px;
        margin-bottom: 8px;
    }
    .np-profile-desc { color: #94a3b8; font-size: 14.5px; line-height: 1.65; max-width: 580px; }

    /* Action buttons */
    .np-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; flex-shrink: 0; }

    .np-btn-wa {
        display: inline-flex; align-items: center; gap: 8px;
        background: var(--np-wa);
        color: white; font-weight: 700; font-size: 14px;
        padding: 12px 24px; border-radius: 12px;
        text-decoration: none; border: none;
        box-shadow: 0 4px 16px rgba(37,211,102,.3);
        transition: var(--np-transition);
    }
    .np-btn-wa:hover { background: var(--np-wa-dk); color: white; text-decoration: none; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.35); }

    .np-btn-icon {
        display: inline-flex; align-items: center; justify-content: center;
        width: 46px; height: 46px;
        border-radius: 12px;
        border: 1.5px solid var(--np-border);
        background: var(--np-surface);
        color: var(--np-muted);
        text-decoration: none; font-size: 1.1rem;
        transition: var(--np-transition);
        flex-shrink: 0;
    }
    .np-btn-icon:hover { border-color: var(--np-primary); color: var(--np-primary); background: rgba(30,58,138,.05); transform: translateY(-2px); box-shadow: var(--np-shadow-sm); }

    /* ──────────────────────────────────────────
       LAYOUT
    ────────────────────────────────────────── */
    .np-body {
        display: flex;
        flex-direction: column;
        gap: 28px;
        padding: 0 24px 60px;
    }
    /* En mobile, el sidebar va debajo del contenido principal */
    @media (max-width: 991px) {
        .np-body { flex-direction: column-reverse; }
    }
    @media (min-width: 992px) {
        .np-body {
            display: grid;
            grid-template-columns: 300px 1fr;
            align-items: start;
            padding: 28px 32px 80px;
        }
    }

    /* Sidebar sticky en desktop */
    .np-sidebar-sticky {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    @media (min-width: 992px) {
        .np-sidebar-sticky {
            position: sticky;
            top: 80px; /* debajo del navbar */
        }
    }

    /* ──────────────────────────────────────────
       CARDS GENÉRICAS
    ────────────────────────────────────────── */
    .np-card {
        background: var(--np-surface);
        border-radius: var(--np-radius-lg);
        box-shadow: var(--np-shadow-sm);
        border: 1px solid var(--np-border);
        overflow: hidden;
    }
    .np-card-header {
        padding: 20px 24px 16px;
        display: flex; align-items: center; gap: 10px;
        border-bottom: 1px solid var(--np-border);
    }
    .np-card-header h2 {
        font-size: 15px; font-weight: 800;
        color: var(--np-text); margin: 0;
    }
    .np-card-stripe {
        width: 4px; height: 22px;
        background: linear-gradient(to bottom, var(--np-primary), var(--np-primary-lt));
        border-radius: 4px;
        flex-shrink: 0;
    }
    .np-card-body { padding: 20px 24px; }

    /* ──────────────────────────────────────────
       INFO ITEMS (sidebar)
    ────────────────────────────────────────── */
    .np-info-item {
        display: flex; gap: 14px; align-items: flex-start;
        padding: 14px 0;
        border-bottom: 1px solid var(--np-border);
    }
    .np-info-item:last-child { border-bottom: none; padding-bottom: 0; }
    .np-info-icon {
        width: 38px; height: 38px; flex-shrink: 0;
        border-radius: 10px;
        background: rgba(59,130,246,.12);
        display: flex; align-items: center; justify-content: center;
        font-size: 1rem; color: var(--np-primary);
        margin-top: 2px;
    }
    .np-info-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--np-muted); margin-bottom: 2px; }
    .np-info-value { font-size: 14px; font-weight: 600; color: var(--np-text); line-height: 1.5; }
    .np-info-value a { color: var(--np-text); text-decoration: none; transition: color .2s; }
    .np-info-value a:hover { color: var(--np-primary); }

    /* ──────────────────────────────────────────
       MAPA
    ────────────────────────────────────────── */
    .np-map-wrap {
        border-radius: 12px;
        overflow: hidden;
        height: 200px;
        box-shadow: var(--np-shadow-sm);
    }
    .np-map-wrap iframe { width: 100%; height: 100%; border: 0; }

    /* ──────────────────────────────────────────
       DESCRIPCIÓN (historia)
    ────────────────────────────────────────── */
    .np-story {
        background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 60%, #1e3a8a 100%);
        border-radius: var(--np-radius-xl);
        padding: 36px 40px;
        color: white;
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(59,130,246,.2);
        box-shadow: 0 0 40px rgba(59,130,246,.12);
    }
    .np-story::before {
        content: '';
        position: absolute; top: -60px; right: -60px;
        width: 220px; height: 220px;
        border-radius: 50%;
        background: rgba(255,255,255,.05);
    }
    .np-story::after {
        content: '';
        position: absolute; bottom: -40px; left: 30%;
        width: 160px; height: 160px;
        border-radius: 50%;
        background: rgba(249,115,22,.08);
    }
    .np-story-tag {
        display: inline-block;
        background: rgba(255,255,255,.2);
        color: rgba(255,255,255,.9);
        padding: 3px 12px; border-radius: 9999px;
        font-size: 10.5px; font-weight: 700;
        text-transform: uppercase; letter-spacing: 1px;
        margin-bottom: 12px;
    }
    .np-story h2 {
        font-size: clamp(1.4rem, 3vw, 2rem);
        font-weight: 900; color: white;
        margin-bottom: 12px; line-height: 1.2;
    }
    .np-story p { color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.7; margin-bottom: 0; position: relative; z-index: 1; }

    /* ──────────────────────────────────────────
       PRODUCTOS / CATÁLOGO
    ────────────────────────────────────────── */
    .np-catalog-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 280px));
        gap: 20px;
        justify-content: start;
    }
    @media (min-width: 576px) {
        .np-catalog-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 280px)); }
    }

    .np-product-card {
        background: var(--np-surface);
        border: 1px solid var(--np-border);
        border-radius: var(--np-radius-lg);
        overflow: hidden;
        transition: var(--np-transition);
        display: flex; flex-direction: column;
    }
    .np-product-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--np-shadow-md), 0 0 0 1px rgba(59,130,246,.2);
        border-color: rgba(59,130,246,.3);
    }

    .np-product-img-wrap {
        height: 200px; overflow: hidden;
        background: var(--np-surface-mid);
        position: relative;
    }
    .np-product-img {
        width: 100%; height: 100%;
        object-fit: cover;
        transition: transform .6s ease;
        cursor: pointer;
    }
    .np-product-card:hover .np-product-img { transform: scale(1.06); }
    .np-promo-ribbons-container {
        position: absolute;
        top: 12px;
        left: -8px;
        z-index: 10;
        display: flex;
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }
    .np-promo-ribbon {
        position: relative;
        background: linear-gradient(135deg, #dc2626, #ef4444);
        color: white;
        font-size: 11px;
        font-weight: 800;
        padding: 4px 12px;
        border-radius: 4px 8px 8px 0;
        box-shadow: 0 4px 12px rgba(220,38,38,0.4);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transform: translateX(-5px);
        animation: slideRibbon 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    }
    .np-promo-ribbon::after {
        content: '';
        position: absolute;
        bottom: -6px;
        left: 0;
        border-top: 6px solid #991b1b;
        border-left: 8px solid transparent;
    }
    @keyframes slideRibbon {
        from { transform: translateX(-20px); opacity: 0; }
        to { transform: translateX(0); opacity: 1; }
    }
    .np-product-placeholder {
        height: 200px;
        background: var(--np-surface-mid);
        display: flex; align-items: center; justify-content: center;
        font-size: 3rem; color: rgba(255,255,255,.15);
    }

    .np-product-body { padding: 16px 18px; flex-grow: 1; }
    .np-product-name { font-size: 15px; font-weight: 700; color: var(--np-text); margin-bottom: 6px; }
    .np-product-desc { font-size: 12.5px; color: var(--np-muted); margin-bottom: 10px; line-height: 1.55; }
    .np-product-price { font-size: 1.2rem; font-weight: 900; color: var(--np-primary); font-family: 'Plus Jakarta Sans', sans-serif; }

    .np-product-footer { padding: 12px 18px; border-top: 1px solid rgba(255,255,255,.06); margin-top: auto; }

    .np-btn-product-wa {
        display: flex; align-items: center; justify-content: center; gap: 7px;
        width: 100%; padding: 10px;
        background: var(--np-wa);
        color: white; font-weight: 700; font-size: 13px;
        border-radius: 10px; text-decoration: none; border: none;
        transition: var(--np-transition);
    }
    .np-btn-product-wa:hover { background: var(--np-wa-dk); color: white; text-decoration: none; }



    /* ──────────────────────────────────────────
       GALERÍA
    ────────────────────────────────────────── */
    .np-gallery-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    @media (min-width: 576px) { .np-gallery-grid { grid-template-columns: repeat(4, 1fr); } }

    .np-gallery-thumb {
        aspect-ratio: 1;
        border-radius: 12px;
        overflow: hidden;
        cursor: pointer;
        position: relative;
    }
    .np-gallery-thumb img {
        width: 100%; height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
    }
    .np-gallery-thumb:hover img { transform: scale(1.1); }
    .np-gallery-overlay {
        position: absolute; inset: 0;
        background: rgba(30,58,138,.35);
        display: flex; align-items: center; justify-content: center;
        color: white; font-size: 1.4rem;
        opacity: 0; transition: opacity .3s ease;
    }
    .np-gallery-thumb:hover .np-gallery-overlay { opacity: 1; }

    /* ──────────────────────────────────────────
       PROMOCIONES
    ────────────────────────────────────────── */
    .np-promo-card {
        background: var(--np-surface);
        border: 1.5px solid var(--np-border);
        border-radius: var(--np-radius);
        padding: 16px 18px;
        transition: var(--np-transition);
        overflow: hidden;
    }
    .np-promo-card:hover { border-color: var(--np-accent); transform: translateY(-2px); box-shadow: 0 0 20px rgba(249,115,22,.1); }
    .np-promo-title {
        font-size: 13.5px;
        font-weight: 800;
        color: #ffffff;
        background: linear-gradient(135deg, #dc2626, #ef4444);
        margin: -16px -18px 12px -18px;
        padding: 8px 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        border-top-left-radius: var(--np-radius);
        border-top-right-radius: var(--np-radius);
    }
    .np-promo-desc { font-size: 13px; color: var(--np-muted); line-height: 1.55; }
    .np-badge-promo {
        display: inline-block;
        background: linear-gradient(135deg, #dc2626, #ef4444);
        color: white; font-size: 11px; font-weight: 700;
        padding: 2px 10px; border-radius: 9999px; margin-bottom: 8px;
    }

    /* ──────────────────────────────────────────
       REDES SOCIALES (sidebar)
    ────────────────────────────────────────── */
    .np-social-btn {
        display: flex; align-items: center; gap: 10px;
        padding: 10px 14px;
        border-radius: 10px;
        border: 1px solid var(--np-border);
        background: var(--np-surface-low);
        color: var(--np-text); font-weight: 600; font-size: 14px;
        text-decoration: none;
        transition: var(--np-transition);
    }
    .np-social-btn:hover { background: var(--np-surface-mid); color: #f1f5f9; text-decoration: none; transform: translateX(4px); }
    .np-social-btn i { font-size: 1.15rem; }
    .np-social-btn.facebook i { color: #1877f2; }
    .np-social-btn.instagram i { color: #e1306c; }
    .np-social-btn.tiktok i { color: #f1f5f9; }
    .np-social-btn.website i  { color: var(--np-primary); }

    /* ──────────────────────────────────────────
       BREADCRUMB custom
    ────────────────────────────────────────── */
    .np-breadcrumb {
        padding: 14px 24px;
        display: flex; align-items: center; gap: 6px;
        font-size: 12.5px; color: var(--np-muted);
        background: rgba(30,45,69,.7);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--np-border);
    }
    @media (min-width: 768px) { .np-breadcrumb { padding: 14px 32px; } }
    .np-breadcrumb a { color: var(--np-muted); text-decoration: none; transition: color .2s; }
    .np-breadcrumb a:hover { color: var(--np-primary); }
    .np-breadcrumb sep { margin: 0 4px; opacity: .4; }
    .np-breadcrumb .current { color: var(--np-text); font-weight: 600; }

    /* ──────────────────────────────────────────
       MODAL LIGHTBOX
    ────────────────────────────────────────── */
    #npModalImg .modal-content {
        background: rgba(15,23,42,.92);
        backdrop-filter: blur(20px);
        border: none;
    }

    /* ──────────────────────────────────────────
       SECTION LABEL
    ────────────────────────────────────────── */
    .np-section-label {
        display: inline-flex; align-items: center; gap: 6px;
        background: rgba(59,130,246,.1);
        color: var(--np-primary-lt);
        border: 1px solid rgba(59,130,246,.2);
        padding: 3px 12px; border-radius: 9999px;
        font-size: 10.5px; font-weight: 800;
        text-transform: uppercase; letter-spacing: .8px;
        margin-bottom: 8px;
    }
    .np-section-label.orange {
        background: rgba(249,115,22,.1);
        color: #fb923c;
        font-size: 10.5px; font-weight: 700;
        text-transform: uppercase; letter-spacing: 1px;
        margin-bottom: 12px;
    }
    .np-story h2 {
        font-size: clamp(1.4rem, 3vw, 2rem);
        font-weight: 900; color: white;
        margin-bottom: 12px; line-height: 1.2;
    }
    .np-story p { color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.7; margin-bottom: 0; position: relative; z-index: 1; }

    /* ──────────────────────────────────────────
       PRODUCTOS / CATÁLOGO
    ────────────────────────────────────────── */
    .np-catalog-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    @media (min-width: 576px) { .np-catalog-grid { grid-template-columns: repeat(2, 1fr); } }

    .np-product-card {
        background: var(--np-surface);
        border: 1px solid var(--np-border);
        border-radius: var(--np-radius-lg);
        overflow: hidden;
        transition: var(--np-transition);
        display: flex; flex-direction: column;
    }
    .np-product-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--np-shadow-md), 0 0 0 1px rgba(59,130,246,.2);
        border-color: rgba(59,130,246,.3);
    }

    .np-product-img-wrap {
        height: 200px; overflow: hidden;
        background: var(--np-surface-mid);
        position: relative;
    }
    .np-product-img {
        width: 100%; height: 100%;
        object-fit: cover;
        transition: transform .6s ease;
        cursor: pointer;
    }
    .np-product-card:hover .np-product-img { transform: scale(1.06); }
    .np-promo-ribbons-container {
        position: absolute;
        top: 12px;
        left: -8px;
        z-index: 10;
        display: flex;
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }
    .np-promo-ribbon {
        position: relative;
        background: linear-gradient(135deg, #dc2626, #ef4444);
        color: white;
        font-size: 11px;
        font-weight: 800;
        padding: 4px 12px;
        border-radius: 4px 8px 8px 0;
        box-shadow: 0 4px 12px rgba(220,38,38,0.4);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transform: translateX(-5px);
        animation: slideRibbon 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    }
    .np-promo-ribbon::after {
        content: '';
        position: absolute;
        bottom: -6px;
        left: 0;
        border-top: 6px solid #991b1b;
        border-left: 8px solid transparent;
    }
    .np-product-placeholder {
        height: 200px;
        background: var(--np-surface-mid);
        display: flex; align-items: center; justify-content: center;
        font-size: 3rem; color: rgba(255,255,255,.15);
    }

    .np-product-body { padding: 16px 18px; flex-grow: 1; }
    .np-product-name { font-size: 15px; font-weight: 700; color: var(--np-text); margin-bottom: 6px; }
    .np-product-desc { font-size: 12.5px; color: var(--np-muted); margin-bottom: 10px; line-height: 1.55; }
    .np-product-price { font-size: 1.2rem; font-weight: 900; color: var(--np-primary); font-family: 'Plus Jakarta Sans', sans-serif; }

    .np-product-footer { padding: 12px 18px; border-top: 1px solid rgba(255,255,255,.06); margin-top: auto; }

    .np-btn-product-wa {
        display: flex; align-items: center; justify-content: center; gap: 7px;
        width: 100%; padding: 10px;
        background: var(--np-wa);
        color: white; font-weight: 700; font-size: 13px;
        border-radius: 10px; text-decoration: none; border: none;
        transition: var(--np-transition);
    }
    .np-btn-product-wa:hover { background: var(--np-wa-dk); color: white; text-decoration: none; }

    /* Producto wide (md:col-span-2) */
    .np-product-wide {
        grid-column: 1 / -1;
        display: flex; flex-direction: column;
    }
    @media (min-width: 576px) {
        .np-product-wide { flex-direction: row; }
        .np-product-wide .np-product-img-wrap { height: auto; min-height: 200px; width: 45%; flex-shrink: 0; }
        .np-product-wide .np-product-placeholder { width: 45%; height: auto; }
    }

    /* ──────────────────────────────────────────
       GALERÍA
    ────────────────────────────────────────── */
    .np-gallery-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    @media (min-width: 576px) { .np-gallery-grid { grid-template-columns: repeat(4, 1fr); } }

    .np-gallery-thumb {
        aspect-ratio: 1;
        border-radius: 12px;
        overflow: hidden;
        cursor: pointer;
        position: relative;
    }
    .np-gallery-thumb img {
        width: 100%; height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
    }
    .np-gallery-thumb:hover img { transform: scale(1.1); }
    .np-gallery-overlay {
        position: absolute; inset: 0;
        background: rgba(30,58,138,.35);
        display: flex; align-items: center; justify-content: center;
        color: white; font-size: 1.4rem;
        opacity: 0; transition: opacity .3s ease;
    }
    .np-gallery-thumb:hover .np-gallery-overlay { opacity: 1; }

    /* ──────────────────────────────────────────
       PROMOCIONES
    ────────────────────────────────────────── */
    .np-promo-card {
        background: var(--np-surface);
        border: 1.5px solid var(--np-border);
        border-radius: var(--np-radius);
        padding: 16px 18px;
        transition: var(--np-transition);
        overflow: hidden;
    }
    .np-promo-card:hover { border-color: var(--np-accent); transform: translateY(-2px); box-shadow: 0 0 20px rgba(249,115,22,.1); }
    .np-promo-title {
        font-size: 13.5px;
        font-weight: 800;
        color: #ffffff;
        background: linear-gradient(135deg, #dc2626, #ef4444);
        margin: -16px -18px 12px -18px;
        padding: 8px 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        border-top-left-radius: var(--np-radius);
        border-top-right-radius: var(--np-radius);
    }
    .np-promo-desc { font-size: 13px; color: var(--np-muted); line-height: 1.55; }
    .np-badge-promo {
        display: inline-block;
        background: linear-gradient(135deg, #dc2626, #ef4444);
        color: white; font-size: 11px; font-weight: 700;
        padding: 2px 10px; border-radius: 9999px; margin-bottom: 8px;
    }

    /* ──────────────────────────────────────────
       REDES SOCIALES (sidebar)
    ────────────────────────────────────────── */
    .np-social-btn {
        display: flex; align-items: center; gap: 10px;
        padding: 10px 14px;
        border-radius: 10px;
        border: 1px solid var(--np-border);
        background: var(--np-surface-low);
        color: var(--np-text); font-weight: 600; font-size: 14px;
        text-decoration: none;
        transition: var(--np-transition);
    }
    .np-social-btn:hover { background: var(--np-surface-mid); color: #f1f5f9; text-decoration: none; transform: translateX(4px); }
    .np-social-btn i { font-size: 1.15rem; }
    .np-social-btn.facebook i { color: #1877f2; }
    .np-social-btn.instagram i { color: #e1306c; }
    .np-social-btn.tiktok i { color: #f1f5f9; }
    .np-social-btn.website i  { color: var(--np-primary); }

    /* ──────────────────────────────────────────
       BREADCRUMB custom
    ────────────────────────────────────────── */
    .np-breadcrumb {
        padding: 14px 24px;
        display: flex; align-items: center; gap: 6px;
        font-size: 12.5px; color: var(--np-muted);
        background: rgba(30,45,69,.7);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--np-border);
    }
    @media (min-width: 768px) { .np-breadcrumb { padding: 14px 32px; } }
    .np-breadcrumb a { color: var(--np-muted); text-decoration: none; transition: color .2s; }
    .np-breadcrumb a:hover { color: var(--np-primary); }
    .np-breadcrumb sep { margin: 0 4px; opacity: .4; }
    .np-breadcrumb .current { color: var(--np-text); font-weight: 600; }

    /* ──────────────────────────────────────────
       MODAL LIGHTBOX
    ────────────────────────────────────────── */
    #npModalImg .modal-content {
        background: rgba(15,23,42,.92);
        backdrop-filter: blur(20px);
        border: none;
    }

    /* ──────────────────────────────────────────
       SECTION LABEL
    ────────────────────────────────────────── */
    .np-section-label {
        display: inline-flex; align-items: center; gap: 6px;
        background: rgba(59,130,246,.1);
        color: var(--np-primary-lt);
        border: 1px solid rgba(59,130,246,.2);
        padding: 3px 12px; border-radius: 9999px;
        font-size: 10.5px; font-weight: 800;
        text-transform: uppercase; letter-spacing: .8px;
        margin-bottom: 8px;
    }
    .np-section-label.orange {
        background: rgba(249,115,22,.1);
        color: #fb923c;
        border-color: rgba(249,115,22,.2);
    }
    .np-section-label.green {
        background: rgba(34,197,94,.1);
        color: #4ade80;
        border-color: rgba(34,197,94,.2);
    }
    .np-section-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 20px; }

    /* Sticky sidebar */
    @media (min-width: 992px) {
        .np-sidebar-sticky { position: sticky; top: 90px; }
    }

    /* ──────────────────────────────────────────
       CIUDAD PAGE — DARK THEME ADAPTATION
       ────────────────────────────────────────── */
    .np-root .sidebar-link {
        color: var(--np-text);
    }
    .np-root .sidebar-link:hover, 
    .np-root .sidebar-link.active {
        background: rgba(255, 255, 255, 0.05);
        color: var(--np-primary-lt);
    }
    .np-root .sidebar-link .badge {
        background: rgba(255, 255, 255, 0.08);
        color: var(--np-muted);
    }
    .np-root .sidebar-negocio-mini {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid var(--np-border);
        transition: var(--np-transition);
    }
    .np-root .sidebar-negocio-mini:hover {
        background: rgba(255, 255, 255, 0.06);
        transform: translateY(-2px);
    }
    .np-root .sidebar-mini-logo {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--np-border);
    }
    .np-root .pagination-portal .page-link {
        background: var(--np-surface);
        border-color: var(--np-border);
        color: var(--np-text);
        transition: var(--np-transition);
    }
    .np-root .pagination-portal .page-link:hover {
        background: rgba(255, 255, 255, 0.06);
        border-color: var(--np-primary);
        color: #fff;
    }
    .np-root .pagination-portal .page-item.active .page-link {
        background: var(--np-primary);
        border-color: var(--np-primary);
        color: #fff;
    }
    .np-root .pagination-portal .page-item.disabled .page-link {
        background: rgba(255, 255, 255, 0.02);
        border-color: var(--np-border);
        color: var(--np-muted);
        opacity: 0.5;
    }

    /* Tarjetas de negocio oscuras */
    .np-root .negocio-card {
        background: var(--np-surface);
        border: 1px solid var(--np-border);
        box-shadow: var(--np-shadow-sm);
        color: var(--np-text);
    }
    .np-root .negocio-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--np-shadow-md), 0 0 0 1px rgba(59,130,246,.2);
        border-color: rgba(59,130,246,.3);
    }
    .np-root .negocio-logo-wrap {
        background: rgba(255, 255, 255, 0.03);
        border-bottom: 1px solid var(--np-border);
    }
    .np-root .negocio-body {
        background: transparent;
    }
    .np-root .negocio-nombre {
        color: var(--np-text);
    }
    .np-root .negocio-direccion,
    .np-root .negocio-desc {
        color: var(--np-muted) !important;
    }
    .np-root .negocio-footer {
        background: transparent;
        border-top: 1px solid var(--np-border) !important;
    }
    .np-root .negocio-card .btn-outline-primary {
        border-color: var(--np-border);
        color: var(--np-muted);
    }
    .np-root .negocio-card .btn-outline-primary:hover {
        border-color: var(--np-primary);
        color: #fff;
        background: var(--np-primary);
    }

/* Autocomplete suggestions */
.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #ffffff;
    color: #1e293b;
    text-align: left;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 4px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.suggestion-item {
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}
.suggestion-item:last-child {
    border-bottom: none;
}
.suggestion-item:hover {
    background: #eff6ff;
}

/* --- Animación y estilo de confeti para la sección Argentina --- */
@keyframes flotarAliento {
    0% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(-12px) scale(1.03);
    }
}

@keyframes pulsoLogo {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}