  :root {
            --primary: #25D366;
            --secondary: #1e293b;
            --accent: #3b82f6;
            --bg: #f8fafc;
            --white: #ffffff;
            --text-main: #334155;
            --text-muted: #64748b;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
        body { background-color: var(--bg); color: var(--text-main); }

        .main-container {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 1fr 350px;
            gap: 2rem;
            align-items: start;
        }

        /* --- TARJETA DE SERVICIO ACTUALIZADA --- */
        .card-servicio {
            background: var(--white);
            border-radius: 16px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
            border: 1px solid #e2e8f0;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        /* Encabezado: Foto y Datos Básicos */
        .perfil-header {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .foto-perfil {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--primary);
        }

        .info-basica h3 { font-size: 1.1rem; color: var(--secondary); }
        .rating-mini { color: #fbbf24; font-size: 0.85rem; font-weight: bold; }

        /* Sección de Tarifas y Horarios */
        .detalles-servicio {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            background: #f1f5f9;
            padding: 1rem;
            border-radius: 12px;
        }

        .detalle-item { display: flex; flex-direction: column; gap: 4px; }
        .detalle-label { font-size: 0.7rem; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
        .detalle-valor { font-size: 0.9rem; font-weight: 600; color: var(--secondary); }

        .tarifa-badge {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.75rem;
            background: #dcfce7;
            color: #166534;
        }

        /* Horarios */
        .horarios-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-top: 0.5rem;
        }

        .tag-hora {
            font-size: 0.75rem;
            background: #e2e8f0;
            padding: 3px 10px;
            border-radius: 20px;
            color: var(--secondary);
        }
   aside{
 /* Configuración para hacerlo fijo al scroll */
    position: -webkit-sticky; /* Soporte para Safari */
    position: sticky;
    top: 100px; /* Distancia desde el borde superior de la pantalla */
    
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
   }
        /* Sidebar */
      .sidebar-card {
    background: var(--secondary);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    
   
}
        .btn-registro {
            display: block;
            background: var(--primary);
            color: white;
            padding: 12px;
            border-radius: 10px;
            text-decoration: none;
            font-weight: 700;
            margin-top: 1.5rem;
            transition: 0.3s;
        }

        .btn-registro:hover { transform: translateY(-3px); box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.3); }

        @media (max-width: 850px) {
            .main-container { grid-template-columns: 1fr; }
            .detalles-servicio { grid-template-columns: 1fr; }
        }