
   @import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:wght@300;400;500&display=swap');
 
.scroll-cards {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.descripcion-corta{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*-------------------------------------------------------------------------------------------------*/
 
  

    /* ── SECCIÓN CARRUSEL*/
    .seccion-servicios {
      position: relative;
      padding: 36px 28px 32px;
       }
    .scroll-cards::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 10px;
}
 
    /* ── HEADER ── */
    .seccion-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-bottom: 24px;
      position: relative;
      z-index: 1;
     
    }
 
    .seccion-titulo-wrap {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
 
    .seccion-eyebrow {
      font-size: 10px;
      font-weight: 500;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: #ffffff;
      opacity: 0.8;
    }
 
    .seccion-titulo {
      font-family: 'Russo One', sans-serif;
      font-size: 26px;
      font-weight: 800;
      color: #326ce9;
      line-height: 1.1;
      letter-spacing: 0.5px;
    }
 
    .seccion-titulo span {
      color: #eeb10b;
    }
 
    .seccion-badge {
      display: flex;
      align-items: center;
      gap: 6px;
      background: rgba(37, 211, 102, 0.1);
      border: 1px solid rgba(0, 253, 93, 0.25);
      border-radius: 20px;
      padding: 6px 14px;
      font-size: 12px;
      color: #e6dbdb;
      font-weight: 500;
      white-space: nowrap;
    }
 
    .badge-dot {
      width: 7px;
      height: 7px;
      background: #25D366;
      border-radius: 50%;
      animation: pulse 2s infinite;
    }
 
    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50%       { opacity: 0.4; transform: scale(0.7); }
    }
 
    /* ── SCROLL CARDS ── */
    .scroll-cards {
      display: flex;
      flex-nowrap: nowrap;
      flex-wrap: nowrap;
      overflow-x: auto;
      gap: 16px;
      padding-bottom: 8px;
      position: relative;
      z-index: 2;
      scrollbar-width: thin;
      scrollbar-color: rgba(37,211,102,0.3) transparent;
    }
 
    .scroll-cards::-webkit-scrollbar {
      height: 4px;
    }
    .scroll-cards::-webkit-scrollbar-track { background: transparent; }
    .scroll-cards::-webkit-scrollbar-thumb {
      background: rgba(37,211,102,0.3);
      border-radius: 4px;
    }
 
    /* ── CARD ── */
.negocio-card {
    min-width: 200px;
    max-width: 200px;
    background: #ffffff;
    border: 1px solid #e8e8e8;      /* ✅ borde visible en fondo claro */
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
    position: relative;             /* ✅ necesario para card-badge-premium */
    animation: fadeSlide 0.35s ease both;
}

.negocio-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 211, 102, 0.4);
    box-shadow: 0 12px 32px rgba(37,211,102,0.12);
}

.negocio-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ✅ Corregido: de blanco (#f0faf4) a oscuro legible */
.card-nombre {
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #272525;
    line-height: 1.3;
}

/* ✅ Corregido: de blanco transparente a gris legible */
.card-detalle {
    font-size: 12px;
    color: #666666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-acciones {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

/* ✅ Corregido: colores visibles en fondo claro */
.btn-perfil {
    flex: 1;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid #cccccc;
    background: transparent;
    color: rgb(0, 132, 255);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
}

.btn-perfil:hover {
    border-color: #25D366;
    color: #25D366;
}

.btn-whatsapp {
    flex: 1;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    background: #25D366;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
}

.btn-whatsapp:hover {
    background: #1fb855;
    transform: scale(1.03);
    color: #fff;
}




/* ── CHIP ACTIVO ── */
.categoria-chip.activo {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
}

.categoria-chip.activo i {
    color: #fff;
}

/* ── ANIMACIÓN ── */
@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

    /*cards estilos preemium --------------------------------------------------------------------------------*/
    /* ── CATEGORÍAS ── */
.seccion-categorias {
    padding: 28px 20px;
    margin-bottom: 8px;
}

.categorias-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.categoria-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.2);
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.categoria-chip i {
    font-size: 15px;
    color: #25D366;
}

.categoria-chip:hover {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37,211,102,0.25);
}

.categoria-chip:hover i {
    color: #fff;
}
